PolicyEngine / PolicyEngine/policyengine-sim-api

Value/Attribute errors

Open
#184 2 comments 0 reactions 0 assignees View on GitHub

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:

  1. AttributeError: 'ParameterNode' object has no attribute 'update'
    Log link
    Execution ID: 6e573829-ff14-4459-9979-4758044aff3b

  1. 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)

  1. 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

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.