Skip to content

Add PolicyEngine US simulation target compiler#257

Merged
MaxGhenis merged 2 commits into
mainfrom
codex/policyengine-sim-compiler-20260607
Jun 7, 2026
Merged

Add PolicyEngine US simulation target compiler#257
MaxGhenis merged 2 commits into
mainfrom
codex/policyengine-sim-compiler-20260607

Conversation

@MaxGhenis

@MaxGhenis MaxGhenis commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

Summary

  • bump Microplex to the fresh-engine commit with SimulationTargetCompiler support
  • tag PolicyEngine US canonical target rows that need PE materialization or rerandomized takeup
  • add PolicyEngineUSSimulationTargetCompiler to force calculated-output materialization, apply modifier handlers, and emit sparse household-weight constraints
  • pin CI editable Microplex checkouts to the same core commit as pyproject so workflow tests do not override the dependency with stale core main

Validation

  • env -u UV_FROZEN uv run --extra dev --extra policyengine pytest tests/test_target_adapters.py tests/policyengine/test_us.py -q
  • env -u UV_FROZEN uv run --extra dev --extra policyengine pytest tests/policyengine/test_comparison.py -q
  • env -u UV_FROZEN uv run --extra dev ruff check src/microplex_us/policyengine/us.py src/microplex_us/targets/adapters.py src/microplex_us/policyengine/init.py src/microplex_us/init.py tests/test_target_adapters.py tests/policyengine/test_us.py
  • git diff --check

@MaxGhenis MaxGhenis merged commit 11c8732 into main Jun 7, 2026
5 checks passed
@MaxGhenis MaxGhenis deleted the codex/policyengine-sim-compiler-20260607 branch June 7, 2026 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant