Skip to content

Parameterize IRS rounding rules for indexed parameter values #2654

@jdebacker

Description

@jdebacker

Tax-Calculator should parameterize the rounding rules of indexed parameters in policy_current_law.json. There will probably need to be an update to the ParamTools package to handle rounding in the extrapolation of parameters.

The need for rounding has been highlighted in PR #2652, where a new JSON file was created to help with the round-trip-reform test. With out that, all JSON files of past legislative reforms need to be updated to reflect rounding rules in years beyond those affected by the legislative change.

Advantages of building in rounding rules:

  1. Reduce time and errors in maintenance currently required to update rounded parameter values each year
  2. Reduces the size of policy_current_law.json -- it would no longer need to include all values from the first to last known values (currently 2013-2022), but rather just values for any legislative changes
  3. Allows for JSON files representing enacted laws to keep their integrity (no additional year values need to be added for rounded values going beyond the years affected by the legislation -- JSON files represent only the legislative changes)
  4. Improves accuracy of calculations in years beyond the last known year

cc @MattHJensen @hdoupe

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions