← Back to Pull requests

feat: animate visual evidence with Before, After, Diff frames #8

Open
unknown opened this pull request with 181 lines diff across 2 files
View on GitHub
unknown unknown commented on Nov 06, 2026 04:28 UTC
Author

Changed screenshots now loop through labeled Before, After, Diff frames at exactly one second each. Red and teal highlights retain light/dark foreground moves, color-only changes and dimension changes; original PNGs remain untouched.

Verified: 19 tests pass, production helper rendered the approved Hono/Hippo example and three saved PR screenshots using Playwright comparison masks. Every GIF has three 1000ms frames and an infinite loop. Evidence scales proportionally within 1600px width/2400px content height and fails above the 10 MB upload limit.

Plan: Animate visual evidence so changes are easier to inspect.

Session: 01a1ae47-3e59-7300-b9a3-255eab587404

<!-- This is an auto-generated comment: release notes by coderabbit.ai -->

<!-- coderabbit-ai-generated:v1 -->

Summary by CodeRabbit

New Features
Visual comparisons are now presented as looping Before, After, and Diff animations, with one second per frame.
Changed areas are highlighted in red and teal against dimmed context, with surrounding padding for easier review.
Animations scale to a maximum size of 1600 × 2400 pixels; original capture images remain unchanged.
Bug Fixes
Comparisons with no visible changes produce no animation.
Limitations
GIFs larger than 10 MB are not created.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Diff: 181 lines (+135 / -46) across 2 files Reviewer: chatgpt-codex-connector[bot] Review duration: 3m
All Vouch review confidence checks passed
Residual risk 0.25 = Change Risk (0.41) × (1 − Review Confidence (0.39)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.41 · 181 lines diff across 2 files
0.41
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
0.02
Model 3 · Review Timing & Attention
Session adequacy: 82% · Reviewer familiarity: 35%
38%
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.311
Ai Authored ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #8"
general weight: 0.35
Assignees
Unassigned
Labels
risk: low confidence: 38.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: 40.6% (MEDIUM) · Higher = larger blast radius
40.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: 38.7% · Lower = rushed or shallow review
38.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: 24.9% · Safe to merge
24.9%