File tree Expand file tree Collapse file tree 3 files changed +39
-8
lines changed
policyengine/outputs/macro/comparison Expand file tree Collapse file tree 3 files changed +39
-8
lines changed Original file line number Diff line number Diff line change 2020 uses : actions/setup-python@v2
2121 with :
2222 python-version : ' 3.11'
23+ - uses : " google-github-actions/auth@v2"
24+ with :
25+ workload_identity_provider : " projects/322898545428/locations/global/workloadIdentityPools/policyengine-research-id-pool/providers/prod-github-provider"
26+ service_account : " policyengine-research@policyengine-research.iam.gserviceaccount.com"
2327
2428 - name : Install package
2529 run : uv pip install .[dev] --system
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 1010from policyengine .outputs .macro .single .calculate_single_economy import (
1111 SingleEconomy ,
1212)
13- from policyengine .utils .packages import get_country_package_version
1413from typing import List , Dict
1514
1615
@@ -784,7 +783,8 @@ class CliffImpact(BaseModel):
784783
785784
786785class EconomyComparison (BaseModel ):
787- country_package_version : str
786+ model_version : str
787+ data_version : str
788788 budget : BudgetaryImpact
789789 detailed_budget : DetailedBudgetaryImpact
790790 decile : DecileImpact
@@ -847,7 +847,8 @@ def calculate_economy_comparison(
847847 cliff_impact = None
848848
849849 return EconomyComparison (
850- country_package_version = get_country_package_version (country_id ),
850+ model_version = simulation .model_version ,
851+ data_version = simulation .data_version ,
851852 budget = budgetary_impact_data ,
852853 detailed_budget = detailed_budgetary_impact_data ,
853854 decile = decile_impact_data ,
You can’t perform that action at this time.
0 commit comments