PolicyEngine / PolicyEngine/calibration-diagnostics

Duplicate target categories in calibration fit diagram

Open
#119 0 comments 0 reactions 0 assignees View on GitHub

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.