PolicyEngine / PolicyEngine/policyengine-core
Allow parameters for `defined_for`
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 22
- Forks
- 30
- Avg merge
- 14h 33m
- Merged PRs (30d)
- 7
Description
For example, only calculating a variable if a parameter indicating its activity is true. Not sure if this would work given the period part.
Example: https://github.com/PolicyEngine/policyengine-us/pull/5570#discussion_r1950036819
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.
Research direction
Read the implementation of defined_for and how its period handling works. Review the linked PolicyEngine US pull-request discussion for the intended parameter behavior. Done means the issue's activity parameter can control whether a variable is calculated without breaking period handling.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100