executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
imagenet_c_corruption_metricsCompute ImageNet-C CE, mCE, relative CE, and relative mCE from clean and corrupted top-1 error tables.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this skill when evaluating corruption robustness from top-1 error rates indexed by corruption type and severity. Use it for ImageNet-C or reduced experiments that preserve the same normalization equations. Do not use it for ImageNet-P perturbation stability metrics.
{corruption: {severity: top1_error}}.100.0.ce_by_corruption.mce.relative_ce_by_corruption.relative_mce.scale * model_sum / baseline_sum.Run:
python tests/test_corruption_metrics.py
The script assumes error rates are already computed from predictions and labels. It does not run an image classifier.