PolicyEngine / PolicyEngine/policyengine-sim-api
Value/Attribute errors
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1
- Forks
- 1
- Avg merge
- 10h 29m
- Merged PRs (30d)
- 7
Description
Need to investigate recurring errors with these traces:
- AttributeError: 'ParameterNode' object has no attribute 'update'
Log link
Execution ID: 6e573829-ff14-4459-9979-4758044aff3b
- ValueError: Could not find the parameter gov.contrib.salt_phase_out.rate.other[1].rate (failed at other).
Log link
Execution ID: 4eb19dba-c770-43c9-abf7-8f2e71217afb
Also fails in api-v1 with below errors:
- ERROR:root:Could not find the parameter gov.contrib.salt_phase_out.rate.joint[1].rate (failed at joint) (log link)
- AttributeError: 'Parameter' object has no attribute 'children' (log link)
- ValueError: Invalid bracket syntax (should be e.g. tax.brackets[3].rate (log link)
- ValueError: Could not find the parameter gov.abolitions.winter_fuel_allowance (failed at abolitions).
Log link
Execution ID: 2385d89f-e412-45df-9996-662f5c395738
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
Start by reviewing the linked Google Cloud logs and workflow executions for the api-v1 and api-v2 failures. Trace the parameter lookup and attribute access involved in the reported ParameterNode, Parameter, and bracket-syntax errors. Done means the recurring traces are reproduced or explained and the affected parameter paths resolve without these errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100