Which semiconductor lots should be held for inspection?
590 sensors per lot, a weak signal and a process that changes month to month. The system ranks lots by risk, sets the threshold by cost and reports the saving with its uncertainty.
Not proveneconomic saving: 95 % interval −22k to +20k MXNChronological holdout, 313 lots, reported as is
What the result means
- Ranking
- PR-AUC 0.089 against a 0.054 failure rate; lift 2.4× in the top 10 %
- Leakage found
- A random split inflated PR-AUC from 0.09 to 0.154
- Drift
- 142 of 273 sensors shift between training and holdout; /drift raises the alert
- Delivery
- FastAPI, Streamlit, prediction log and Docker
The main chart

How the decision was made
- Chronological split; expanding-window validation inside training.
- Sensor cleaning fitted only on each fold's past.
- Threshold by expected cost, not by F1.
- One holdout evaluation, stress tests and drift monitoring.
What it does not claim
- The saving is not statistically demonstrated.
- Sensor names are anonymous; SHAP rankings are leads, not causes.
- Costs are assumptions in the configuration.
Model Card and full evidence in the repository.
Try it
See each lot's risk, the recommended action and the observed failure rate of similar lots.