← Back to Pull requests

Handle <ins>/<del> tags in operation return types #723

Merged
gibson042 merged 3 files (32 lines) on Aug 18, 2026 17:06 UTC
View on GitHub
gibson042 gibson042 commented on Aug 18, 2026 15:50 UTC
Author

Fixes #614

Diff: 32 lines (+29 / -3) across 3 files Reviewer: bakkot Review duration: 75m
All Vouch review confidence checks passed
Residual risk 0.03 = Change Risk (0.27) × (1 − Review Confidence (0.91)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.27 · 32 lines diff across 3 files
0.27
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.89 · 1 substantive comment(s)
0.89
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 50%
90%
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
3 items
bakkot bakkot approved these changes on Aug 18, 2026 17:06 UTC
Approved Reviewer

Thanks!

michaelficarra michaelficarra commented on code on Aug 18, 2026 17:10 UTC
Code Review
test/type-parser.ts:1
@@ -118,6 +118,23 @@ describe('type parsing', () => {
     });
   });
 
+  it('handles ins/del', async () => {
+    await assertErrorFree(
+      `
+        <emu-clause id="example" type="abstract operation">
+        <h1>
+          ExampleAlg (): <del>an integer</del><ins>a normal completion containing an integer</ins>

Your code supports <mark>, so your tests should exercise <mark>.

Reviewers
Assignees
gibson042 gibson042
Labels
risk: low confidence: 90.6% 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: 26.8% (LOW) · Higher = larger blast radius
26.8%
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: 90.6% · Lower = rushed or shallow review
90.6%
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: 2.5% · Safe to merge
2.5%
Repository