← Back to Pull requests

examples: Add option to print bzip2 versions #150

Merged
Gelbpunkt merged 2 files (28 lines) on Nov 16, 2026 11:20 UTC
View on GitHub
Gelbpunkt Gelbpunkt commented on Nov 12, 2026 16:43 UTC
Author

I deliberately didn't use the libbzip2-rs-sys BZ2_bzlibVersion, but we could use that instead if really desired. I don't think we want to display the version of bzip2 that we're compatible with in the benchmarks, only the version of libbzip2-rs-sys.

$ ./compress version-c
1.0.8, 13-Jul-2019
$ ./compress version-rs
0.2.6

Not sure if we want to trim away the date in the C version.

Diff: 28 lines (+28 / -0) across 2 files Reviewer: folkertdev Review duration: 5437m
All Vouch review confidence checks passed
Residual risk 0.13 = Change Risk (0.25) × (1 − Review Confidence (0.47)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.25 · 28 lines diff across 2 files
0.25
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
0.02
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
46%
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
Shallow Review Depth shallow_review_depth
0.344
Diff Size diff_size
0.201
Real PR Conversation Timeline
1 comments
"Review active on #150"
general weight: 0.35
Reviewers
Assignees
Gelbpunkt Gelbpunkt
Labels
risk: low confidence: 46.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: 24.6% (LOW) · Higher = larger blast radius
24.6%
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: 46.7% · Lower = rushed or shallow review
46.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: 13.1% · Safe to merge
13.1%