Skip to content

Commit

Permalink
Merge pull request #1951 from PolicyEngine/nikhilwoodruff/issue1950
Browse files Browse the repository at this point in the history
Remove chunking
  • Loading branch information
anth-volk authored Nov 6, 2024
2 parents a837555 + 310b5d7 commit e077bd2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 4 additions & 0 deletions changelog_entry.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- bump: patch
changes:
fixed:
- Removed simulation chunking.
4 changes: 0 additions & 4 deletions policyengine_api/endpoints/economy/single_economy.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,6 @@ def compute_general_economy(
"pension_credit",
"ni_employer",
]
# chunk_logger = lambda pct_complete: comment(f"Simulation {simulation_type}: {pct_complete:.0%}")
calc_chunks(
sim=simulation, variables=variables, count_chunks=4, logger=None
)

total_tax = simulation.calculate("household_tax").sum()
total_spending = simulation.calculate("household_benefits").sum()
Expand Down

0 comments on commit e077bd2

Please sign in to comment.