← Back to Pull requests

Test that generated data matches checked-in Presto table schemas #433

Merged
bdice merged 2 files (30 lines) on Oct 15, 2026 03:04 UTC
View on GitHub
bdice bdice commented on Oct 14, 2026 19:49 UTC
Author

Follow-up to #429 addressing the test coverage gap: changes to benchmark_data_tools that alter generated column types or names (as in #400) were not detected until the Presto integration tests ran.

This adds a benchmark_data_tools test that generates TPC-H and TPC-DS data with the same options as Presto integration test CI, derives schemas with generate_table_schemas, and compares them to presto/testing/common/schemas. The benchmark_data_tools tests now also run when those schemas change.

Diff: 30 lines (+30 / -0) across 2 files Reviewer: paul-aiyedun Review duration: 434m
All Vouch review confidence checks passed
Residual risk 0.05 = Change Risk (0.25) × (1 − Review Confidence (0.82)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.25 · 30 lines diff across 2 files
0.25
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.80 · 1 substantive comment(s)
0.80
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
81%
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.205
Real PR Conversation Timeline
3 items
paul-aiyedun paul-aiyedun approved these changes on Oct 14, 2026 21:53 UTC
Approved Reviewer

Looks good to me. Thanks!

bdice bdice commented on Oct 15, 2026 03:03 UTC
Author

/merge

Reviewers
Assignees
bdice bdice
Labels
risk: low confidence: 81.8% 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: 25% (LOW) · Higher = larger blast radius
25%
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: 81.8% · Lower = rushed or shallow review
81.8%
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: 4.6% · Safe to merge
4.6%