Skip to content

Test definition keys and economy report reuse - #1148

Draft
MaxGhenis wants to merge 3 commits into
mainfrom
codex/4227-policyengine-sim-api-audit-audit-definition-key-canonicalization-fo
Draft

MaxGhenis wants to merge 3 commits into
mainfrom
codex/4227-policyengine-sim-api-audit-audit-definition-key-canonicalization-fo

Conversation

@MaxGhenis

@MaxGhenis MaxGhenis commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

Refs #973

This pull request was written by a Codex cloud task for Max. It builds on #1074 and tests the run-reuse portion of #973. No session owns it yet.
It adds definition-key and UUID request coverage, v1 compatibility assertions, and strict expected-failure tests that compare run IDs from the production lookup code with an in-memory session. The simulation cases vary the opposite policy side to exercise simulation lookup across distinct reports.

Local verification used the locked database-free suites. Persistence had 379 passes and 356 deselections. The focused Entrypoint tests had 124 passes and 11 expected failures. Ruff lint and format checks passed.
Live worker inputs and deployment run reuse remain unverified. For Max to decide whether to handle equivalent spellings at lookup while preserving stored v1 keys and report provenance.

Opened by a Codex cloud task (queue file 4227-policyengine-sim-api-audit-audit-definition-key-canonicalization-fo).

@MaxGhenis MaxGhenis changed the title Audit simulation and report definition keys Test definition keys and economy report reuse Dec 1, 2026

This branch has not been deployed

No deployments
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