Skip to content

Commit

Permalink
Turn off macro cache
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhilwoodruff committed Sep 4, 2024
1 parent 730edff commit c43a944
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions policyengine_us_data/utils/loss.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ def build_loss_matrix(dataset: type, time_period):
from policyengine_us import Microsimulation

sim = Microsimulation(dataset=dataset)
sim.macro_cache_read = False
hh_id = sim.calculate("household_id", map_to="person")
tax_unit_hh_id = sim.map_result(
hh_id, "person", "tax_unit", how="value_from_first_person"
Expand Down

0 comments on commit c43a944

Please sign in to comment.