Re-enable CagraRandomizedIT with a recall-based check #2830
All Vouch review confidence checks passed
Residual risk 0.23 = Change Risk (0.42) × (1 − Review Confidence (0.45)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.42 · 170 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.308
Real PR Conversation Timeline
1 comments
"Review active on #2830"
general
weight: 0.35
imotov
Re-enables
CagraRandomizedIT, which was disabled in #1469, and replaces its per-query top-k containment check with checks that do not fail on legitimate approximate results.The old check required the first 5 results of every query to be among the exact
2k + 10nearest neighbors. It failed for two reasons:PrefilterIT,BitsetPackerTest).2k + 10.The test now checks, for every query, that it gets
min(k, passing rows)distinct valid row ids, none excluded by the prefilter, sorted by distance and with their exact distances. Recall@k is checked only as a mean over all queries, with bounds (0.65 without a prefilter, 0.7 with one) well below the means measured in CI (0.83 and 0.94). The test also attaches the padded device dataset that CAGRA search now requires, and runs 30 iterations instead of 100 to keep its runtime short. It relies on the empty-prefilter fix in #2992, because on small datasets its random prefilter sometimes excludes every row.Part of #2783.