Feature Leakage Audit

Detect target leakage before trusting a model's offline score: for every feature record when its value becomes known against the moment of prediction, rebuild joins point-in-time, split by time or by entity group instead of random rows, fit encoders, scalers, imputers and feature selection inside each training fold only, flag implausibly strong single features, delete each suspect and re-measure the drop, then hunt duplicates and near-duplicates across the split. Use when a validation score looks too good to be true, when someone asks "is there leakage in this model", "is our train/test split right", "can I target-encode before splitting", or before a model's first launch. Not for live features that differ from training ones (serving-skew-replay), studying where an honest model makes mistakes (model-error-analysis), or choosing test cases for code (test-design).

greenblacked Updated
The twenty-nine plugins: coding, family, gamedev, operations, delivery, security, manager, personal, career, design, llm, data, techdocs, assurance, client-apps

File contents

greenblacked/AI commit eecf8e3591

Frequently asked questions

npx get-skill add greenblacked/feature-leakage-audit