Skip to content

Export defaulted PE contract inputs#98

Merged
MaxGhenis merged 1 commit into
mainfrom
codex/contract-gap-triage-20260529
May 29, 2026
Merged

Export defaulted PE contract inputs#98
MaxGhenis merged 1 commit into
mainfrom
codex/contract-gap-triage-20260529

Conversation

@MaxGhenis
Copy link
Copy Markdown
Contributor

Summary

  • Adds tenure_type to the safe PE export surface now that Place derived contract inputs on PE entities #97 places it on households.
  • Extends PE export defaults so variables like ssn_card_type are materialized even when the source column is absent, using the existing POLICYENGINE_US_EXPORT_DEFAULTS value.
  • Adds regression coverage for absent default export maps and H5 array projection.

Evidence

  • uv run --extra policyengine --python 3.13 ruff check src/microplex_us/policyengine/us.py tests/policyengine/test_us.py
  • uv run --extra policyengine --python 3.13 pytest tests/policyengine/test_us.py -q
  • Bounded contract probe: /Users/maxghenis/CosilicoAI/microplex-us/artifacts/export_contract_probe_20260529/contract_probe_export_defaults_subset.json

Note: ruff format --check would reformat broader existing sections of these files; this PR intentionally keeps the diff scoped to behavior and tests.

@MaxGhenis MaxGhenis merged commit fd733b3 into main May 29, 2026
4 checks passed
@MaxGhenis MaxGhenis deleted the codex/contract-gap-triage-20260529 branch May 29, 2026 21:00
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