Add Additional MediaType and DeviceType variants; upgrade nix and strum #46
All Vouch review confidence checks passed
Residual risk 0.25 = Change Risk (0.43) × (1 − Review Confidence (0.41)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.43 · 191 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.315
Real PR Conversation Timeline
1 comments
"Review active on #46"
general
weight: 0.35
cholcombe973
Vendorcan nowDisplayRename
Vendor:VboxtoVendor::VirtualBoxRename
Vendor::NonetoVendor::ATAto match its vendor stringMake
Device::vendoranOptionthat defaults toOption::Noneinstead ofVendor::Nonewhen vendor is unknownAdd
MediaType::Opticalfor when a CD or DVD drive (or a virtual variant of the same) is detectedAdd
MediaType::Partitionsto represent detection of a partition table on a deviceAdd
MediaType::Partitionto represent when a device represents a partitionRename
MediaType::VirtualtoMediaType::Qemuto distinguish it from Virtual Box mediaAdd
MediaType::VirtualBoxAdd
MediaType::Unrecognisedwith a field to expose the vendor of unrecognized mediaMediaTypecan nowDisplayAdd
DeviceType::Unrecognisedto expose the value of a device type that is not represented as an enum variantMediaType::Unknownstill exists but is now only used when the matching rules don't have any input to work with.Upgrade
nixfrom 0.23 to 0.26. There is a newer version 0.27 but it has breaking changes.Upgrade
strumfrom 0.24 to 0.25cargo editionfrom 2018 to 2021udevcannot be easily upgraded; there is a breaking change toEnumeratorownership relatedscan_deviceswhich will require a significant refactor to some of the_iterfunctions.Lastly I bumped the crate version from
0.11to0.12.0to represent that this is a breaking change. [edited this comment to reflect your feedback]