File tree Expand file tree Collapse file tree 4 files changed +16
-1
lines changed
Expand file tree Collapse file tree 4 files changed +16
-1
lines changed Original file line number Diff line number Diff line change 2020 with :
2121 args : " . -l 79 --check"
2222 Test :
23- runs-on : ubuntu-latest
23+ runs-on : larger-runner
2424 steps :
2525 - name : Checkout repo
2626 uses : actions/checkout@v2
Original file line number Diff line number Diff line change 1+ - bump : minor
2+ changes :
3+ fixed :
4+ - Larger GH runner for data generation.
Original file line number Diff line number Diff line change 6868 "casualty_loss" ,
6969 "unreported_payroll_tax" ,
7070 "recapture_of_investment_credit" ,
71+ "deductible_mortgage_interest" ,
7172]
7273
7374if os .environ .get ("TEST_LITE" ):
Original file line number Diff line number Diff line change @@ -27,3 +27,13 @@ def test_policyengine_cps_loads(year: int):
2727 sim = Microsimulation (dataset = dataset )
2828
2929 assert not sim .calculate ("household_net_income" ).isna ().any ()
30+
31+
32+ def test_ecps_has_mortgage_interest ():
33+ from policyengine_us_data .datasets .cps import EnhancedCPS_2024
34+ from policyengine_us import Microsimulation
35+
36+ sim = Microsimulation (dataset = EnhancedCPS_2024 )
37+
38+ assert sim .calculate ("deductible_mortgage_interest" ).sum () > 1
39+ assert sim .calculate ("interest_expense" ).sum () > 1
You can’t perform that action at this time.
0 commit comments