Repository navigation
feat(benchmarks+devtools): campaigns, SLO, evidence-report (#998, #1063, #997) - #1072
Conversation
|
Warning Rate limit exceeded
You’ve run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (12)
✨ 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 |
…s; add convergence SLO Register two missing benchmark campaigns in both the Python catalog (benchmark_scenario_catalog.py) and the campaign-coverage manifest: - reader-api: reader HTTP API list/get/facets/context-pack/cost-rollup (already referenced by slo-catalog.yaml but not tracked as a campaign) - daemon-convergence: ingest convergence at synthetic scale tiers Add daemon_convergence_single_file to slo-catalog.yaml as an informational gate (30s budget) to make daemon throughput visible in devtools verify --lab. Also fix stale obligation_diff test asserting old "## Proof Obligations" heading (renamed to "## Affected Verification Checks"). Update witness timestamps and regenerated docs. Ref #1063 #997 #845 Co-Authored-By: Claude <[email protected]>
…state (#998) Adds devtools evidence-report — a read-only dashboard command that aggregates verification evidence from cached data without running tests: - Verify history (last 5 runs + 30-day pass/fail counts) - Contract evidence artifacts (.cache/verification/evidence/*.json) - Suppression state (count by kind, unregistered count) - Witness lifecycle (total, stale count) - Benchmark campaign runs (.local/benchmark-campaigns/) Supports both human-readable (default) and --json output. Always exits 0 (diagnostic report, not a blocking gate). 6 tests in test_evidence_report.py. Ref #998 Co-Authored-By: Claude <[email protected]>
Proves that after live ingest of a synthetic corpus the archive reaches a consistent final state: all files succeed, conversations and messages appear in the DB, and the convergence-debt table is empty. The test runs through the full LiveBatchProcessor + DaemonConverger + make_default_convergence_stages pipeline against 3 synthetic sessions (10 messages each). Executes in ~0.2s so no slow marker is needed. Closes Phase 8 of the verifiability revamp (#1058, #845, #999). Co-Authored-By: Claude <[email protected]>
3a21cc6 to
f9c7928
Compare
Summary
Three coordinated improvements to verification infrastructure: registers missing benchmark campaigns, adds daemon convergence to SLO tracking, and introduces the evidence-report dashboard command.
Problem
test_reader_api.pywas referenced inslo-catalog.yamlbut not registered as a benchmark campaign.test_daemon_convergence.pyexisted but was invisible to all tooling.test_obligation_diff_accepts_ref_flags_and_markdownasserted the old "## Proof Obligations" heading.Solution
Benchmark campaigns (
devtools/benchmark_scenario_catalog.py,docs/plans/campaign-coverage.yaml):reader-apianddaemon-convergenceas authored benchmark campaignsdevtools benchmark-campaign listnow shows 5 campaignsSLO catalog (
docs/plans/slo-catalog.yaml):daemon_convergence_single_fileas an informational SLO entry (30s budget)devtools verify --labEvidence report (
devtools/evidence_report.py):devtools evidence-reportcommand.cache/verify-history.jsonl,.cache/verification/evidence/*.json,tests/witnesses/*.witness.json,.local/benchmark-campaigns/--jsonoutput; always exits 0 (diagnostic, not blocking)tests/unit/devtools/test_evidence_report.pyTest fix: Updated
test_obligation_diff.pystale heading assertion.Verification
Ref #998 #1063 #997 #845
Co-Authored-By: Claude [email protected]