← Files Software & AI CopilotARCHIVED FILE

references/ml-production.md

672 Bytes · Nov 29, 2026 · 00:39 UTC

↓ Download file

See the change to this file →

# ML code hardening

Inspect problem definition, labels, feature generation and data splits. Test for leakage (future information, target-derived columns, train/test overlap) and train/serve skew.

Separate reproducible training, inference, evaluation and artifact management. Pin meaningful dependencies, seeds and model artifacts; recognize where nondeterminism persists. Check input validation, preprocessing equivalence, batch sizes, numerical stability and model compatibility.

Define meaningful baseline, metrics, slice evaluation, drift/quality monitoring, and a rollback or safe disable mechanism. Never invent achieved accuracy, calibration or benchmark values.

SHA-256: 604de1d8b0e004dff737c2d9ca3c951a608c55d522245e96d5fabac49d14f88a