Skip to content

fix(research): preserve canonical event cohort boundaries - #161

Merged
proerror77 merged 3 commits into
mainfrom
codex/polymarket-canonical-event-end
Jul 19, 2026
Merged

proerror77 merged 3 commits into
mainfrom
codex/polymarket-canonical-event-end

Conversation

@proerror77

Copy link
Copy Markdown
Owner

Change contract

Bind governed event cohorts to the snapshot canonical event end and reject missing or conflicting canonical ends instead of inferring a fallback.

Out of scope

Reprice pilot execution, collector work, broader mission-schema changes, and live or paper trading.

Dependency or merge order

Layer 2 of 4; base is #160. Merge after #160 and before #162/#163. The checked-in BTC and SOL template policy identities rotate here because the governed source set changes.

Focused validation

git diff --check; cargo fmt --check; targeted counterexample test proves legacy inference would yield rows while governed missing/conflicting canonical ends fail closed. Local Rust compilation was intentionally not run; Linux CI is the build authority.

Rollout/rollback impact

Research cohort construction becomes stricter under governance only. Revert restores the prior canonical-end behavior and its matching policy identity.

@coderabbitai

coderabbitai Bot commented Jul 19, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 2a8f48c0-52b8-40b8-8820-21d2be3c82b7

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch codex/polymarket-canonical-event-end

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@proerror77
proerror77 force-pushed the codex/polymarket-canonical-event-end branch from cc00938 to f6d641f Compare July 19, 2026 16:25
@proerror77
proerror77 changed the base branch from codex/polymarket-evidence-set-gaps to main July 19, 2026 16:33
@proerror77
proerror77 merged commit f51a52a into main Jul 19, 2026
2 checks passed
@proerror77
proerror77 deleted the codex/polymarket-canonical-event-end branch July 19, 2026 16:39
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