Refactor grid #776
All Vouch review confidence checks passed
Residual risk 0.16 = Change Risk (0.41) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.41 · 186 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 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
Diff Size
diff_size
0.313
Shallow Review Depth
shallow_review_depth
0.289
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #776"
general
weight: 0.35
tlwillke
Refactors
Grid, the engine behindBenchYAMLandAutoBenchYAML, so concurrent benchmarking work lands in separate files instead of conflicting inGrid.java(now 692 lines, down from 1,395). AutoBenchYAML now shares BenchYAML's pipeline instead of a drifted copy. Build parameters travel asBuildConfig/SearchConfigobjects instead of positional arguments, and the hand-nested sweep loops become aGridSpecofSweepDimensions mapped from YAML inGridSpec.fromConfig. Graph construction moves intoIndexBuildStrategyimplementations backed by a singleGraphBuilderFactory, theFeatureIdswitch becomes oneFeatureProviderper on-disk feature, and console tables, experiments.csv rows and AutoBench results becomeGridListeners that all read build parameters fromBuildConfig.reportedParameters(). Command lines, YAML configs,run-config.ymland the experiments.csv schema are unchanged. Intended behavior changes: AutoBench builds one graph per build config instead of rebuilding for every feature set and search compressor, closes its indexes, and adds construction metrics to its JSON; feature sets run in configured order instead ofHashMaporder; and fused-PQ rows no longer report stale search timings. Also fixesTestBufferedGraphCompatibility, which was flaky on machines without the native vector library because Panama float rounding changes once C2 compiles the code. Harness usage and porting notes are indocs/release notes/4.0.3/776.testing.md.