topology-aware: uncompress the test sysfs data once #872
All Vouch review confidence checks passed
Residual risk 0.12 = Change Risk (0.29) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.29 · 75 lines diff across 1 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
Shallow Review Depth
shallow_review_depth
0.289
Diff Size
diff_size
0.259
Real PR Conversation Timeline
1 comments
"Review active on #872"
general
weight: 0.35
askervin
Each topology-aware policy test uncompressed the test sysfs tarball into a directory of its own. The tarball expands to 222 MB in about 64,000 files, so with
-racethe package came close to the default 10 minute timeout ofgo test. The tests now share one copy. It is uncompressed once and removed when the tests finish. The shared copy is read-only, so a test which changes it fails. The one test which changes the data keeps a private copy.|
go test ./cmd/plugins/topology-aware/policy/| before | after ||---|---|---|
| without
-race| 275s | 36s || with
-race| 718s | 95s |