fix(benchmark): require declared paired-bootstrap coverage - #1090
seonghobae wants to merge 6 commits into
Conversation
Remove the hidden 2,000-resample 95% interval and the baked-in conduct/route/cheapest/hindsight comparison subset. Report schema 4.0.0 records operator declarations in provenance.
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: trueThanks 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 |
…-bootstrap-20260907 # Conflicts: # .github/workflows/security.yml # CHANGELOG.md # contextual_orchestrator/orchestrator.py # docs/architecture.md # docs/product-technical-gap-baseline.md # tests/test_distributed_cache_truth_and_isolation.py # tests/test_provider_embedding_batch_backend.py # tests/test_repository_security_metadata.py
- stream_route referenced the removed ranked_pool variable for its selection-design receipt after adopting main's candidate-selection structure during the main restack; use the equivalent candidates list. - Update the hardcoded selected_deployment_id hash in test_selection_receipt_does_not_mix_catalog_revisions: main added model_timeout_seconds/model_timeout_revision to ModelAgent.to_config(), which legitimately changes the hash input for every agent. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Restack onto mainNew SHA: Conflicts resolved (this branch and main had both independently evolved large, overlapping parts of
Two regressions found and fixed after the merge (separate follow-up commit
Tests
Readiness reviewThe delta does what the title says: paired NIM benchmark comparisons now require explicit The PR's own description is explicit that it is not ready: at its last evidence head, the warnings-as-errors suite had 3 failures reproducing an HTTPError cleanup/resource-ownership defect ("consumed-response ownership defect... production repair belongs in a separately reviewed successor after ownership audit"), and it states plainly that "fresh hosted checks and independent review are required" with no protected-merge, release, or accuracy/latency claim. I did not re-run the strict ( Verdict: NEEDS_WORK, per the PR's own admission plus the two regressions this restack surfaced and fixed:
No defects found in the PR's own design beyond what it already discloses. The request-scope/effort-pinning mechanism is a genuine, carefully-reasoned addition (comments explain the 🤖 Addressed by Claude Code |
Stack and current evidence
Draft successor of #1074 at
2157d702c4609cc51829d7423911cadf26cf83d0.Normal merge
708fbb19733f1829ca3baddab68e4c0fdbcbe7a5preserves the previous #1090 head5e952933d4dd97057ba76b70ea17983314a4babeand current parent. Documentation-only follow-ups are2f240363and2bf856cd; the latter adds the explicit ownership RED receipt. No production-source fix is added by the restack. #1074 is not closed.The sole Gap conflict retained both complete sections. The parent's existing citation-only IRT-Router decision remains intact; the removed PDF is not resurrected. Bootstrap source, tests and workflow retain their previous #1090 bytes.
Problem and retained change
Paired NIM comparisons used a hidden 2,000-resample 95% percentile interval and a baked-in policy subset. Required
resample_count,confidence_level,seedandcomparison_pairsdeclarations replace those defaults. Invalid or degenerate declarations fail closed; unobserved/disjoint pairs are not imputed. Report schema 4.0.0 records declarations. ADR 0042 stays Proposed; Efron (1979) and Efron and Tibshirani (1993) remain cited without bundled PDFs.Verification — not ready
At merge
708fbb19, benchmark, release-acceptance, workflow, paper and effort suites with warnings-as-errors: 235 passed, 3 failed in 9.66s, exit 1. Two HTTPError cleanup failures independently reproduce on parent2157d702(2 failed, 1.36s). The profile test receiving a delayed cleanup warning passes alone (1 passed, 0.68s). Later doc commits are not relabeled test executions.At
2f240363, a separate local probe retains a BytesIO-backed HTTPError503 and callsrun_policy_cell. Expectedprovider_http_error:503andtask_score=Noneremain correct, butresponse_error.closedfails before fallback cleanup, exit 1. This proves a consumed-response ownership defect. The local/tmp/co-nim-response-ownership-probe.pyis not committed. Production repair belongs in a separately reviewed successor after ownership audit.Historical old-head checks remain historical: 175 tests in 10.01s; 1328 NIM statements and 504 branches with zero misses; public docstrings100%. Independent old-head rerun passed175 in8.73s without warnings-as-errors. These do not establish current-head strict acceptance.
Visual inspection and remaining gates
At documentation head
2f240363, actual browser screenshots at1265x712, English/default, directly inspected the new Gap section, both preserved sections and runbook receipt. No text overlap or horizontal clipping was observed in those sections; this is not full product UI acceptance. Further receipt and GitHub body inspection are recorded separately.Fresh hosted checks and independent review are required. No self-approval, protected merge, release, deployment, customer accuracy gain or decision-p95 gain is claimed. Existing workflow/token-budget follow-ups remain separate owners.