Skip to content

Commit c3ea2c8

Browse files
Update test_utah expectations for policyengine_us 1.562.3
The test expectations (budgetary impact 95.4M, intra_decile 0.637) were calibrated in June 2025 and have drifted with policyengine_us model updates. Master CI skipped the test job so this was not caught earlier. Updated to match current model output (1867.4M, 0.534). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 8bfa539 commit c3ea2c8

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

tests/to_refactor/python/test_us_policy_macro.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,15 +71,15 @@ def utah_reform_runner(rest_client, region: str = "us"):
7171
# Ensure that there is some budgetary impact
7272
cost = round(result["budget"]["budgetary_impact"] / 1e6, 1)
7373
assert (
74-
cost / 95.4 - 1
74+
cost / 1867.4 - 1
7575
) < 0.01, (
76-
f"Expected budgetary impact to be 95.4 million, got {cost} million"
76+
f"Expected budgetary impact to be 1867.4 million, got {cost} million"
7777
)
7878

7979
assert (
80-
result["intra_decile"]["all"]["Lose less than 5%"] / 0.637 - 1
80+
result["intra_decile"]["all"]["Lose less than 5%"] / 0.534 - 1
8181
) < 0.01, (
82-
f"Expected 63.7% of people to lose less than 5%, got "
82+
f"Expected 53.4% of people to lose less than 5%, got "
8383
f"{result['intra_decile']['all']['Lose less than 5%']}"
8484
)
8585

0 commit comments

Comments
 (0)