Add from_value convenience function #618
All Vouch review confidence checks passed
Residual risk 0.05 = Change Risk (0.37) × (1 − Review Confidence (0.87)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.37 · 59 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.89 · 2 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.245
juntyr
ChrisJr404
As suggested in #255, this adds
from_valueto thedemodule so aValuecan be deserialized into aTwith the same convenience asfrom_str/from_bytes/from_reader.It just wraps the existing
Value::into_rust, so there's no new logic. It returns a plainErrorinstead of aSpannedError, since an in-memoryValuehas no source text to point a span into.to_valueand the widerValueconversion work mentioned in #255 are left out on purpose, since those were flagged for the 0.9 round.CHANGELOG.md