afec75a1cc61b4822c0dc224fb164a8d6f1f0239
For rescue_hopeless (换走) scenario, completely rethought candidate logic: Before: showed biggest-gap candidates (0 mileage) → pointless, customer can't drive them to target After: prioritize candidates where customer's remaining driving can push them over the target line (canQualifyAfterSwap), sorted by smallest gap first Example: customer drives 178km/day × 57 days = ~1万km remaining. - 粤AGR6869 (缺口 1990km) → 换后 3.8万, 可达标 ✅ (shown first) - 浙FF58720 (缺口 6万km) → 换后 1万, 远不达标 (no longer shown first) Also updated reason text to explain the math: "该客户剩余57天还能跑约1万km,足以帮缺口小的车冲线" Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Description
羚牛 BI 报表服务
Languages
TypeScript
99.9%