Adopt typed throws in parameterized test infrastructure. #2059
All Vouch review confidence checks passed
Residual risk 0.26 = Change Risk (0.51) × (1 − Review Confidence (0.48)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.51 · 31 lines diff across 4 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.00 · 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.350
Diff Size
diff_size
0.207
Sensitive Paths
sensitive_paths
0.051
Real PR Conversation Timeline
2 items
Approved
Approved these changes.
harlanhaskins
grynspan
This PR adopts typed throws in
CustomTestArgumentEncodable,Test.Case, andTest.Case.Generator. Some of the adoption is just auditing (throws(any Error)) as we do need to erase the error type when storing the test function body.I didn't modify the
CustomTestArgumentEncodableprotocol itself as that is public API.I didn't make changes to parts of
Runnerthat deal with parameterized tests; I'll handleRunnerin a separate PR.Checklist: