diff --git a/changelog_entry.yaml b/changelog_entry.yaml index e69de29b..1b35dee8 100644 --- a/changelog_entry.yaml +++ b/changelog_entry.yaml @@ -0,0 +1,4 @@ +- bump: patch + changes: + fixed: + - Removed simulation chunking. diff --git a/policyengine_api/endpoints/economy/single_economy.py b/policyengine_api/endpoints/economy/single_economy.py index e7e3abba..e3dd3743 100644 --- a/policyengine_api/endpoints/economy/single_economy.py +++ b/policyengine_api/endpoints/economy/single_economy.py @@ -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()