sysfs: the accessors, fixtures and topology entries three consumers rebuilt by hand #44
All Vouch review confidence checks passed
Residual risk 0.15 = Change Risk (0.35) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.35 · 171 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.308
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #44"
general
weight: 0.35
zvonkok
Three consumers rebuilt by hand what the library should give them, found while reviewing NVIDIA/nvrc#245 and kata-containers/kata-device-provisioner#16.
Sysfs::infiniband_mad()andSysfs::misc(): NVRC reached both classes withwith_file_nameoninfiniband(), next to a literal of the same path.Topology::network_functions: every class 0x02 function in BDF order, the order a guest's CDI spec indexes them in. NVRC ran a second full PCI scan with the catalog for the ConnectX functions thatdiscover_topologyhad already read.vfio::module_forreturnsOk(None)for a readable table without a device-specific alias and an error only for a table it cannot read. The provisioner re-stats the file to tell the two apart; only variant drivers register device-specific aliases, so the caller decides what generic vfio-pci means for the device.subsystem_device(the catalog reads the whole identity), links a function into its IOMMU group'sdevices/listing as the kernel does, and gainsadd_infiniband_mad. NVRC's and the provisioner's tests wrote all three by hand.Stacked on #38. Consumers re-pin once the stack merges: NVRC #245 drops
connectx_functionsand takes the functions from the topology aftermode::detect, the provisioner drops the re-stat indrivers::module_forand thelist_group_memberstest helper.