PolicyEngine / PolicyEngine/calibration-diagnostics
Duplicate target categories in calibration fit diagram
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 0
- Forks
- 4
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 13
Description
Some categories of calibration target appear twice in the calibration fit target diagram. One example is taxable interest income.
This may indicate that the diagram is grouping by an insufficiently canonical field, or that nested target categories are being rendered at multiple levels as if they were distinct sibling categories.
Expected behavior:
- Each conceptual target category should appear once in the calibration fit target diagram.
- If a target category has multiple nested levels, the diagram should represent that hierarchy intentionally rather than duplicating the category label.
Initial investigation target:
- Check taxable interest income and similar deeply nested target categories.
- Determine whether duplicates come from source/category parsing, variable naming, breakdown grouping, or target registry metadata.
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 reproducing the calibration fit target diagram with taxable interest income and other deeply nested target categories. Trace whether duplication is introduced during source/category parsing, variable naming, breakdown grouping, or target registry metadata. Done means each conceptual category appears once, with nested levels represented intentionally rather than as duplicate siblings.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- data-visualization
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100