Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions changelog_entry.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- bump: minor
changes:
changed:
- Use Enhanced CPS (enhanced_cps_2024.h5) as the default dataset for US nationwide simulations instead of CPS 2023.
2 changes: 1 addition & 1 deletion policyengine/utils/data/datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def _get_default_us_dataset(region: str | None) -> str:
region_type = determine_us_region_type(region)

if region_type == "nationwide":
return CPS_2023
return ECPS_2024
elif region_type == "city":
# TODO: Implement a better approach to this for our one
# city, New York City.
Expand Down
4 changes: 4 additions & 0 deletions tests/country/test_us.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
import pytest


def test_us_macro_single():
from policyengine import Simulation

Expand All @@ -23,6 +26,7 @@ def test_us_macro_comparison():
sim.calculate_economy_comparison()


@pytest.mark.skip(reason="Cliff calculations too slow with ECPS_2024 dataset")
def test_us_macro_cliff_impacts():
from policyengine import Simulation

Expand Down
Loading