Commit c10f72d
fix(bench): B2 oracle covers feature-gated files (--all-features) + coverage audit
Issue #72 (ask #2): a bare `rust-analyzer scip <repo>` compiles only DEFAULT
Cargo features, emitting ZERO occurrences for source files behind non-default
features (bundle.rs/index-bundles, lsp/*.rs/lsp-overlay, http.rs/http). CALM's
tree-sitter indexer parses those unconditionally, so every CALM edge touching
them could never match the oracle — inflating false-positives independent of
resolver quality.
- run_benchmark.py now runs rust-analyzer with --all-features (--ra-features,
default "all") via a --config-path temp config. "all" not a hand-listed set:
the gating features live on different workspace members (http on calm-server,
not calm-core) and a per-name list would error on the crate that lacks it.
- Adds an oracle-coverage audit to the output: oracle_covered_files,
uncovered_from_files, and precision_on_covered (precision over only
oracle-visible files) — the honest number the floors should eventually track.
Verified on this repo: bundle.rs / lsp/overlay.rs / lsp/mod.rs go 0 -> present
occurrences under --all-features (http.rs 2 -> 4); all-features .scip is larger,
strictly more coverage.
Threshold re-baseline (ask #3) is DEFERRED to after the std::/core::/alloc::
qualified-path fix (ask #1): per the issue, the remaining non-formal precision
is dominated by BOTH gaps, so resetting floors now would need another reset.
Documented in the B2 README limitations.
Wave 0.2 of docs/plans/2026-08-19-evidence-architecture-execution-plan.md.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>1 parent 042fff3 commit c10f72d
2 files changed
Lines changed: 79 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
22 | 30 | | |
23 | 31 | | |
24 | 32 | | |
| |||
61 | 69 | | |
62 | 70 | | |
63 | 71 | | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
153 | 163 | | |
154 | 164 | | |
155 | 165 | | |
| |||
163 | 173 | | |
164 | 174 | | |
165 | 175 | | |
166 | | - | |
167 | | - | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
168 | 194 | | |
169 | 195 | | |
170 | 196 | | |
| |||
184 | 210 | | |
185 | 211 | | |
186 | 212 | | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
187 | 229 | | |
188 | 230 | | |
189 | 231 | | |
| |||
203 | 245 | | |
204 | 246 | | |
205 | 247 | | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
206 | 265 | | |
207 | 266 | | |
208 | 267 | | |
209 | 268 | | |
210 | 269 | | |
211 | 270 | | |
212 | 271 | | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
213 | 276 | | |
214 | 277 | | |
215 | 278 | | |
| |||
0 commit comments