feat: add LF reducer stock coverage gate

This commit is contained in:
ZE-TH5-AR516 committed 2026-11-27 11:07:48 +08:00
1 parent a017c4b48c
commit f1099c84dd
6 files changed
+391 -19

No files matched your search

@@ -48,6 +48,9 @@ Expected:
- each future appended candidate row records the same query-completion time in `YYYY-MM-DD HH:mm:ss +0800` form (with the actual local UTC offset), without rewriting or backfilling historical records;
- record-table columns follow this order: 序号、记录时间、型号、推荐类型、差异项、API状态、AM516预测交期、可用库存、主导因素;
- unavailable candidates remain in their original rule order and are recorded as `❌ 不可用` with unavailable result fields shown as `—`; lack of a result does not itself establish that the model does not exist;
- generated LF candidates pass only when `现货数` and matching LF reducer actual availability cover the original demand; an LF candidate with insufficient combined coverage, missing stock fields, no matched reducer or an inconsistent `需排产数` is absent from the report, fastest comparison, candidate counts and `不可用候选`;
- retained results display `现货数` and `需排产数`; retained LF candidates needing production also display the matched reducer code and reducer actual available quantity;
- overdue unreserved sales orders returned by the API display the sales-order code and a human-review reminder without automatically releasing inventory;
## Sample 1B | API Workdays And Final Delivery Date
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.