agentsclimarketplace

Ml feedback ladder

Skill pengzhangzhi/superpowers-ml/skills/ml-feedback-ladder

Skills that make your AI agent do ML research like a skeptical scientist, not a hype machine.

Install
npx -y skills add pengzhangzhi/superpowers-ml --skill ml-feedback-ladder

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 5 stars5 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Use when planning how to verify an ML experiment cheaply before expensive runs - design the R0-R7 ladder from local sanity checks to full study, with promotion/stop criteria.

SKILL.md

5.1 KB, as published. Nobody here has run it

ML Feedback Ladder

Overview

In normal software, a passing test suite can mean the code works. In ML research, passing tests only show the code PATH might run - they do NOT show the method works. You need STAGED EMPIRICAL verification, ordered cheapest-to-expensive, where every cheap check GATES the expensive cluster/GPU jobs below it.

This skill OWNS the canonical ladder. Design the rungs for ONE specific experiment with your human partner before launching anything.

Core principle: Cheap checks gate expensive jobs. Never spend a slow rung to find a bug a fast rung would have caught.

Upstream: the experiment, metric, and protocol come from superpowers-ml:ml-experiment-design. Downstream: the ladder you design here becomes verification steps in superpowers-ml:writing-plans, and the final rung hands off to superpowers-ml:ml-result-review.

The Ladder

Each rung names what it CHECKS, the ARTIFACT that proves it passed, and rough COST. Cost is relative - a rung is "expensive" if it consumes a scheduled GPU/cluster job.

RungChecksProof artifactCost
R0Experiment card / protocol defined: question, locked primary metric, baseline, decision ruleThe experiment card itselfminutes, no compute
R1Code / import / config / static sanity: it imports, config parses, paths resolve, seeds setClean import + config dump + linterseconds, dev node
R2Shape / dtype / device / one-batch forward+backward: loss is finite, gradients flowLogged shapes/dtypes/device + one non-NaN loss + non-zero gradsseconds-minutes, dev node
R3Tiny overfit: a handful of examples driven to ~zero loss (or memorized)Loss curve collapsing to near-zero on the tiny setminutes, dev node / 1 GPU
R4Real launcher smoke run: the ACTUAL launch path (local GPU or cluster smoke job) starts, checkpoints, logs, resumes - on tiny data/stepsLauncher exits 0, checkpoint written, logs/metrics emittedone short job
R5Short pilot / early signal: real data, real config, truncated budget; metric is moving the right way and is stableEarly metric curve vs. baseline on the locked metrica fraction of a full run
R6Full run / full study: the locked protocol at full budget, seeds/sweeps as specifiedComplete metrics across all planned seeds/conditionsthe expensive job(s)
R7Result review / decision memo: compare to baseline under the locked primary metric, decideDecision memo (handed to superpowers-ml:ml-result-review)analysis time

R0-R3 should run on your dev node in well under an hour. R4+ consume scheduled jobs - protect them.

Promotion and Stop Criteria

State the gate between EACH adjacent rung before you launch. A rung promotes ONLY when its proof artifact exists and is green.

  • R0 -> R1: card has a single locked primary metric and an explicit decision rule. No metric, no launch.
  • R1 -> R2: imports clean, config parses, paths/seeds resolved.
  • R2 -> R3: one batch forward+backward, loss finite, gradients non-zero on the right devices.
  • R3 -> R4: tiny set overfits. If it CANNOT overfit a handful of examples, the model/loss/data wiring is broken - fix before any GPU job.
  • R4 -> R5: real launcher runs end-to-end on tiny budget, checkpoints, resumes, logs the metric.
  • R5 -> R6: early signal is stable and not obviously worse than baseline. Promote to the expensive full run only here.
  • R6 -> R7: all planned seeds/conditions complete; metrics intact, no silent failures.

STOP rule at every rung: if the proof artifact is missing or red, do NOT spend the next rung. Fix the cheap thing first.

Policy

State these plainly and hold to them:

  • A cheap rung PASSING is a PRECONDITION, not proof of final success. R3 overfitting tells you the plumbing works; it tells you NOTHING about whether the method beats the baseline.
  • A cheap rung FAILING means do NOT spend the expensive rung. Diagnose and fix at the lowest rung that reproduces the problem.
  • Early signal (R5) may REJECT an obviously bad run - kill it, save the budget. Early signal must NOT claim victory. Only R6/R7 under the locked primary metric can support a "beats baseline" claim.
  • Never skip a rung to "save time." A skipped fast rung is paid back as a burned slow job.

Scheduler-Agnostic

The launcher at R4+ is whatever your cluster uses. Slurm is ONE example (e.g. a small sbatch smoke job), not an assumption - the ladder is identical for a bare torchrun, a Ray/Kubernetes submission, or a plain SSH-to-GPU script. Design the rungs around YOUR launch path; do not hard-code a scheduler.

Reporting

Report progress as the highest GREEN rung, and separate what is supported from what is not:

Verified through R3 (tiny overfit). Not yet verified by smoke run, pilot, or full study.

Never report a method as beating a baseline without R6 (or an equivalent full evaluation) under the locked primary metric.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.