fix(polymarket): admit complete event-local sparse references - #278
Conversation
|
Warning Review limit reached
Next review available in: 3 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (3)
✨ Finishing Touches🧪 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 |
Closes #276
Change contract
Allow only the explicit-market Polymarket evidence normalization/publication path to consume authenticated reference segments with nondecreasing skipped UTC partitions, while retaining every existing event-local completeness and trust-boundary check.
Out of scope
Collector deployment, raw data mutation or cleanup, ResearchSnapshot construction, evaluator/MCTS execution, result publication, standalone selector relaxation, and standalone segment-validator relaxation.
Dependency / merge order
Depends on #273 (merged). Merge this PR before rebuilding the exact-main compiler image and rerunning issue #270 evidence publication.
Focused validation
reference segments must be same or consecutive UTC hoursbefore implementation.cargo clippy -p hft-collector --all-targets --features collector-binance --no-deps --locked -- -D warningscargo test -p hft-collector --features collector-binance --locked(205 library tests passed, 2 ignored; all collector binary tests passed)deployment/aliyun/test-polymarket-raw-ops-control-plane.shgit diff --checkRepository-wide
cargo fmt --all --checkstill reports unrelated pre-existing formatting drift outside these three files; each touched file was formatted directly.Rollout / rollback impact
Rollout: publish a new exact-main compiler image, then retry only the issue #270 evidence compiler with the authenticated 09/10/11/12/15 reference triplets. Rollback: revert this PR; standalone validation behavior is unchanged.
Matt flow
Approved defect issue -> TDD failing proof -> minimal implementation -> focused/full validation -> code review. A new PRD was unnecessary because #276 already defines one bounded behavior and its acceptance contract.