Skip to content

Stop publishing the IRS premium tax credit folder in the installed-folders catalog test #4405

In review

Description

@DTrim99

tests/integration/test_v2_catalog_installed_folders.py publishes gov.irs.credits.premium_tax_credit.phase_out from the installed US model as its example of a US bracket scale whose upper brackets hold null values.

PolicyEngine/policyengine-us#11756 deletes that folder: it is a leftover of IRS-section premium tax credit variables that policyengine-us removed earlier, and nothing in the model reads it. Once a bundle update brings in a policyengine-us release without the folder, selected_model raises LookupError ("A folder was renamed or removed") and the installed-folders tests fail.

Swap the folder for a US bracket scale that every release has, such as gov.irs.credits.education.american_opportunity_credit.amount. The UK gov.dwp.state_pension.triple_lock folder already holds a null value, so the value-shape coverage holds.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions