Skip to content

Commit bec0bfe

Browse files
Use gross income in calibration test to match raking
The test was evaluating NEED band fit using hbai_household_net_income while the raking now targets household_gross_income. Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 2bf1ffb commit bec0bfe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

policyengine_uk_data/tests/test_energy_calibration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def arrays(imputed):
5050
sim = Microsimulation(dataset=imputed)
5151
return dict(
5252
income=sim.calculate(
53-
"hbai_household_net_income", map_to="household", period=2023
53+
"household_gross_income", map_to="household", period=2023
5454
).values,
5555
tenure=sim.calculate("tenure_type", map_to="household", period=2023).values,
5656
accomm=sim.calculate(

0 commit comments

Comments
 (0)