fix(vehicle_labor_appraisal): stop counting reassembly pieces twice #3720
All Vouch review confidence checks passed
Residual risk 0.17 = Change Risk (0.42) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.42 · 330 lines diff across 4 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.347
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #3720"
general
weight: 0.35
cursor[bot]
Read logged out on 2026-11-22: the proof vehicle's reassembly segment priced carpet, seat and headliner pieces (INT-CARPET-RR, INT-SEATS-RR, INT-HEADLINER-RR: 7 of 9.75 h). The interior segment was open on the same operations, so the same work was counted twice.
The change is one migration,
20261122203000_vehicle_labor_appraisal_no_double_count.sql: the #3711 body, logic_version20261122203000.1.counted_in. Its hours leave reassembly and the totals, and the reassembly segment reports them ashours_counted_elsewhere.Test plan
test_vehicle_labor_appraisal.sqlon PG17 passes.- The brake pads piece (line system brakes) is counted in chassis.
- The seat foam piece (INT-SEATS-RR) is counted in interior.
- Reassembly is 0 h, with 6.5 h counted elsewhere.
- The totals still equal the segment sums.
🤖 Generated with Claude Code
<!-- CURSOR_SUMMARY -->
---
<!-- /CURSOR_SUMMARY -->