fix(prediction): isolate settlement verdicts - #145
Merged
Merged
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (5)
📝 WalkthroughWalkthroughThe PR adds a settlement-verdict walk-forward pipeline using out-of-sample probability-quality metrics, updates prediction feedback to use calibration-based gates, wires the evaluator to generate verdict reports, updates related tests, and changes two mission snapshot identifiers. ChangesSettlement verdict research
Estimated code review effort: 4 (Complex) | ~60 minutes Sequence Diagram(s)sequenceDiagram
participant Evaluator as monday-prediction-evaluator
participant Report as walk_forward_settlement_verdict_report_with_prior
participant Feedback as build_prediction_research_feedback
Evaluator->>Report: generate settlement verdict walk-forward report
Report-->>Evaluator: return OOS calibration report
Evaluator->>Feedback: pass verdict report
Feedback-->>Evaluator: return calibration-based prediction feedback
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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. Comment |
This was referenced Jul 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Change contract
Governed Polymarket settlement keep/discard feedback uses one event-root UP probability sample per decision and cannot be changed by token fillability, depth, slippage, capacity, or execution PnL evidence.
Out of scope
Full-update-tick collection; UP/DOWN repricing, fill, slippage, or markout heads; 15m and 1h missions; collector/ECS changes; renaming the legacy mission target; changing the existing execution-sensitive promotion report.
Dependencies and merge order
None.
Focused validation
Rollout and rollback
Research evaluator and immutable mission-policy identity only; no collector, ECS, live execution, or deployment mutation. Roll back by reverting this PR, which restores the prior execution-conditioned feedback semantics and prior policy identity.
Scope exception
None.
Summary by CodeRabbit
New Features
Improvements
Bug Fixes