[19.0][IMP] stock_picking_filter_lot: filter lots on picking operations #2584
All Vouch review confidence checks passed
Residual risk 0.19 = Change Risk (0.36) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.36 · 101 lines diff across 1 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 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
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.277
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #2584"
general
weight: 0.35
Since 17.0 the Detailed Operations tab is gone, and the lots of a picking are mostly picked in the Serial Numbers column of the Operations tab (
stock.move.lot_ids). That column listed every lot of the product, because this module only filtered the move lines and scraps.lot_idsin the picking form when the move leaves an internal or transit location. Receipts from vendors are not filtered, so existing lots can still be selected there.location_idswas only recomputed when a quant was added or moved, not when its quantity changed. A lot kept a location it had left and missed one it was restocked in.quant_ids.quantityis added to the dependencies, and a migration recomputes the stored locations (19.0.1.0.1).Assisted by Claude Opus 5.5