[fix](regression) Isolate eliminate_distinct_constant database #70105
All Vouch review confidence checks passed
Residual risk 0.14 = Change Risk (0.35) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.35 · 174 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 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.309
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #70105"
general
weight: 0.35
morrySnow
What problem does this PR solve?
Issue Number: N/A
Problem Summary:
eliminate_distinct_constantandeliminate_aggregate_constantboth drop, create, and usetest_aggregate_constant. When the regression runner executes them concurrently, either suite can drop the database while the other is inserting or querying, causing intermittent failures.Give
eliminate_distinct_constantits own database,test_distinct_constant, by updating its three database setup statements. The existing SQL assertions and expected results are unchanged.Release note
None
Check List (For Author)
- [ ] Regression test
- [ ] Unit Test
- [ ] Manual test (add detailed scripts or steps below)
- [x] No need to test or manual test. Explain why:
- [x] Other reason: This test-only change replaces three database identifiers. Static checks confirmed that the new database name is unique to this suite, the suites no longer share a database, and
git diff --checkpasses. Live regression execution was not performed.- [x] No. Product behavior is unchanged; this change isolates regression-test data.
- [ ] Yes.
- [x] No.
- [ ] Yes.
Check List (For Reviewer who merge this PR)