PolicyEngine / PolicyEngine/policyengine-uk
Lowercase function and variable names
Open
@juaristi22 is already working on this.
Since Jul 15, 2025.
code-health
- Dominant language
- Python
- Stars
- 50
- Forks
- 33
- Avg merge
- 20h 58m
- Merged PRs (30d)
- 14
Description
We have a number of variable names that are partly uppercase, referring to acronymized benefit programs like PIP. Yet PEP8 makes no concessions for acronyms, saying:
Function names should be lowercase, with words separated by underscores as necessary to improve readability.
Variable names follow the same convention as function names.
This would be a substantive change but I think we should consider the precedent we're setting across PolicyEngine software, including openfisca-us.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.