Computes yield % and scrap cost per run from a production-run export and rolls them up by line with overall yield and total scrap cost, producing the daily or shift scrap report. For production supervisors reviewing scrap.
Parity builds Scrap & Yield Register — a register with columns like Threshold applied, Report scope, Run lines, By line, Total produced qty, plus computed totals.
| Output | Type | |
|---|---|---|
| Threshold applied | string | — one of: Yes, No |
| Report scope | string | — one of: Filtered by minimum, All runs |
| Run lines | array | |
| By line | object | |
| Total produced qty | numeric | |
| Total scrap qty | numeric | |
| Overall yield pct | numeric | |
| Total scrap cost usd | numeric |
| Input | Type | |
|---|---|---|
| Min produced qty | numeric · required | |
| Period label | string · required | |
| Production runs | array · required |
Compiled, deterministic, and auditable — the logic is confirmed once by a human, then runs byte-identically every time. No spreadsheets, no code.