← Back to Pull requests

paper: add the dgn-dgn-dgn 2-coherence #57

Merged
olympichek merged 3 files (35 lines) on Dec 01, 2026 10:54 UTC
View on GitHub
olympichek olympichek commented on Dec 01, 2026 10:32 UTC
Author

Overview

Add the dgn-dgn-dgn 2-coherence type to the paper.

The type of the coherence in Rocq typechecks:

Definition mkCohReflAboveAboveAboveFrameType {p k} (deps: DepsReflCohs2 p.+1 k)
  (d: FramePrev (RestrOfReflCohs2 deps)) (c: PaintingPrev (RestrOfReflCohs2 deps) d)
  q r s (Hq: q <= r) (Hr: r <= s) (Hs: s <= p): Type :=
  (f_equal
    (fun x => mkReflFrameAbove (mkDepsReflCohsSup deps) s.+2 (⇑ (⇑ Hs)) x.1 x.2)
    (= deps.(_cohReflAboveAboveFrames).2 q r Hq (Hr ↕ Hs) d c;
       deps.(_cohReflAboveAbovePaintings).2 q r Hq (Hr ↕ Hs) d c)
  • (mkCohReflAboveAboveFrames deps).2 q s.+1 (Hq ↕ ↑ Hr) (⇑ Hs)
      ((ReflCohsInfOfReflCohs2 deps).(_reflFramesAbove).2 r (Hr ↕ Hs) d c)
      (deps.(_depsReflCohsSup).(_reflPaintingsAbove).2 r (Hr ↕ Hs) d c))
  • f_equal
      (fun x => mkReflFrameAbove (mkDepsReflCohsSup deps) q (Hq ↕ Hr ↕ ↑ (↑ Hs)) x.1 x.2)
      (= deps.(_cohReflAboveAboveFrames).2 r s Hr Hs d c;
         deps.(_cohReflAboveAbovePaintings).2 r s Hr Hs d c) =
  (mkCohReflAboveAboveFrames deps).2 r.+1 s.+1 (⇑ Hr) (⇑ Hs)
    ((ReflCohsInfOfReflCohs2 deps).(_reflFramesAbove).2 q (Hq ↕ Hr ↕ Hs) d c)
    (deps.(_depsReflCohsSup).(_reflPaintingsAbove).2 q (Hq ↕ Hr ↕ Hs) d c)
  • (f_equal
      (fun x => mkReflFrameAbove (mkDepsReflCohsSup deps) r.+1 (⇑ (Hr ↕ ↑ Hs)) x.1 x.2)
      (= deps.(_cohReflAboveAboveFrames).2 q s (Hq ↕ Hr) Hs d c;
         deps.(_cohReflAboveAbovePaintings).2 q s (Hq ↕ Hr) Hs d c)
  • (mkCohReflAboveAboveFrames deps).2 q r Hq (Hr ↕ ↑ Hs)
      ((ReflCohsInfOfReflCohs2 deps).(_reflFramesAbove).2 s Hs d c)
      (deps.(_depsReflCohsSup).(_reflPaintingsAbove).2 s Hs d c)).

Diff: 35 lines (+26 / -9) across 3 files Reviewer: artagnon Review duration: 22m
All Vouch review confidence checks passed
Residual risk 0.09 = Change Risk (0.27) × (1 − Review Confidence (0.68)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.27 · 35 lines diff across 3 files
0.27
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.35 · 1 substantive comment(s)
0.35
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
67%
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.214
Real PR Conversation Timeline
2 items
artagnon artagnon approved these changes on Dec 01, 2026 10:42 UTC
Approved Reviewer

LGTM, thanks.

Reviewers
Assignees
olympichek olympichek
Labels
risk: low confidence: 67.5% 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: 27.4% (LOW) · Higher = larger blast radius
27.4%
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: 67.5% · Lower = rushed or shallow review
67.5%
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.9% · Safe to merge
8.9%
Repository