← Back to Pull requests

Make `miri_compress_init_edge_cases` fail on nth allocation #146

Merged
Gelbpunkt merged 1 files (32 lines) on Oct 13, 2026 18:33 UTC
View on GitHub
Gelbpunkt Gelbpunkt commented on Oct 13, 2026 16:17 UTC
Author

The current test implementation heavily relies on the size of the allocations in BZ2_bzCompressInit and the order they occur in. What we want to test is that we handle every single allocation failure correctly, so change the test to test for correct error behavior if any one of the 4 allocations fails.

Diff: 32 lines (+18 / -14) across 1 files Reviewer: folkertdev Review duration: 135m
All Vouch review confidence checks passed
Residual risk 0.08 = Change Risk (0.24) × (1 − Review Confidence (0.65)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.24 · 32 lines diff across 1 files
0.24
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.47 · 1 substantive comment(s)
0.47
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
64%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq
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.209
Real PR Conversation Timeline
1 comments
"Review active on #146"
general weight: 0.35
Reviewers
Assignees
Gelbpunkt Gelbpunkt
Labels
risk: low confidence: 64.7% reviewed
Vouch Risk Breakdown
AI-powered review risk analysis
Change Risk
Change Risk · Model 1 (XGBoost)
Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
Score: 23.9% (LOW) · Higher = larger blast radius
23.9%
Review Confidence
Review Confidence · Models 2 & 3
Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
Score: 64.7% · Lower = rushed or shallow review
64.7%
Residual Risk
Residual Risk · Core Equation
Residual = Change × (1 − Confidence)
Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
Score: 8.4% · Safe to merge
8.4%