Validate ordered Polymarket reference segment sets - #154
Conversation
|
Warning Review limit reached
Next review available in: 49 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 Run ID: 📒 Files selected for processing (3)
📝 WalkthroughWalkthroughThe PR adds V2 validated-input support for multiple Polymarket reference segments, including bounded staging, consecutive-hour and event-type checks, deduplicated output combination, updated CLI wiring, fixtures, tests, and mission snapshot identifiers. ChangesPolymarket multi-reference validation
Estimated code review effort: 4 (Complex) | ~60 minutes Sequence Diagram(s)sequenceDiagram
participant Operator
participant polymarket_raw_ops
participant with_validated_research_segments
participant combine_references
Operator->>polymarket_raw_ops: provide reference path lists
polymarket_raw_ops->>with_validated_research_segments: submit ordered ArtifactTriplet values
with_validated_research_segments->>combine_references: rescan and combine reference outputs
combine_references-->>with_validated_research_segments: produce deduplicated references.ndjson
with_validated_research_segments-->>Operator: return V2 validation report
Possibly related PRs
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ 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 |
Change contract:
Out of scope:
Dependency or merge order:
Focused validation:
cargo test --manifest-path rust_hft/Cargo.toml -p hft-collector --lib-> 172 passed, 2 ignored.cargo test --manifest-path rust_hft/prediction-markets/Cargo.toml -p ploy-market-data-> 32 passed.cargo test --manifest-path rust_hft/prediction-markets/Cargo.toml -p ploy-research checked_in_btc_and_sol_templates_pin_current_brief_and_rust_policy-> passed.cargo clippy --manifest-path rust_hft/Cargo.toml -p hft-collector --all-targets -- -D warnings-> passed.cargo clippy --manifest-path rust_hft/prediction-markets/Cargo.toml -p ploy-market-data --all-targets --no-deps -- -D warnings-> passed.git diff --check-> passed.1870d888and head9270aef8-> no findings.Rollout/rollback impact:
Summary by CodeRabbit
New Features
Bug Fixes
Chores