ukaea / ukaea/PROCESS

Move constants from availability.py to constants.py

Open Beginner friendly
#4,525 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

papercut
Dominant language
Python
Stars
71
Forks
27
Avg merge
2d 18h
Merged PRs (30d)
33

Description

These constants are currently in availability.py:

https://github.com/ukaea/PROCESS/blob/feb7ef36e5e1ade1358fba1368289dfcdc528c95/process/models/availability.py#L53-L60

They should be moved to constants.py

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting the constants in process/models/availability.py at the linked lines, then compare process/models/constants.py and search for their references. Move the constants without changing their values or usage, update any affected imports, and run the relevant project tests to confirm the code still works.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
78/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.