Skip to content

Export SPM unit tenure type#99

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

Export SPM unit tenure type#99
MaxGhenis merged 1 commit into
mainfrom
codex/spm-tenure-contract-20260529

Conversation

@MaxGhenis
Copy link
Copy Markdown
Contributor

Summary

  • Derives spm_unit_tenure_type from the persons table tenure when building PE SPM unit tables.
  • Adds spm_unit_tenure_type to the safe export surface.
  • Covers both entity construction and export-map behavior in focused tests.

Evidence

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

@MaxGhenis MaxGhenis merged commit 6fbd31a into main May 29, 2026
4 checks passed
@MaxGhenis MaxGhenis deleted the codex/spm-tenure-contract-20260529 branch May 29, 2026 21:08
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