agentleFS
MinLee0210MinLee0210/paper-orchestra-skills/skills/research-ablation-study/SKILL.md

research-ablation-study

Skill0 starsChanged 10 days agoApache-2.0View on GitHub

Find out why a winning method works: design ablations and baselines from the diff against the starting program, run them with replications under one evaluator, confirm the winner on a held-out final evaluation, add post-hoc analyses from existing artifacts, and report what the evidence supports. Use after an experiment produced a candidate result and before writing it up, or when the user asks for ablations, baselines, component attribution, or negative-result analysis. For sizing replications use research-statistical-power.

The file

We split this skill into the rules it gives an agent

8 rules. About 0 are common, 7 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When no candidate beat the baseline, study the best valid candidate against the original baseline and frame the result as negative.

    line 17
  2. Very specific:

    Read the diff between the selected program and the reference.

    line 21
  3. Distinctive:

    Write the plan, with a hypothesis per variant, before running anything.

    line 28
  4. Distinctive:

    When a held-out evaluation exists, run it once on the selected program and the baseline, after the choice is frozen.

    line 59
  5. Distinctive:

    Do not change the selection after seeing final results.

    line 64
  6. Distinctive:

    No claim of causal attribution without a controlled comparison.

    line 85
  7. Distinctive:

    Never drop failed runs to improve a mean.

    line 86
  8. Distinctive:

    Never compare variants evaluated by different evaluator versions.

    line 87

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Ablation study

A search says which configuration scored best. It does not say why. Sequential optimization supports comparisons between whole configurations, never the claim that one component caused the gain. This stage earns that claim with controlled comparisons, or shows that it cannot be made.

Inputs

  • The selected program and the starting (reference) program.
  • The frozen evaluator and task.md.
  • The attempt ledger, if the search used research-experiment-loop.

When no candidate beat the baseline, study the best valid candidate against the original baseline and frame the result as negative.

1. Design variants

Read the diff between the selected program and the reference. Propose only variants that help a reader understand the result. Follow references/variant-design.md.

  • Control: the selected program, re-run. Never reuse its search score.
  • Ablation: removes exactly one component that the selected program introduced. Components already in the reference are not innovations.
  • Baseline: replaces the approach with one recognizable simpler method.
  • Zero proposals is a valid answer. There is no quota.

Write the plan, with a hypothesis per variant, before running anything. Agree the cost: variants × replications × evaluation time.

2. Run

  • Same evaluator, same budget, same seeds for the control and every variant. A baseline that got less tuning or compute is not a baseline.
  • Decide the replication count before seeing results. Use research-statistical-power when a claim depends on a small difference.
  • A variant may be repaired only to make it run and satisfy the contract. Do not optimize it.
  • Record every run, including failures. A missing run stays in the table as missing.

Collect one row per run:

[
  {"variant": "full", "kind": "control", "seed": 0, "score": 0.1111, "correct": true},
  {"variant": "no_endpoints", "kind": "ablation", "seed": 0, "score": 0.0909, "correct": true}
]

3. Summarize

python scripts/summarize_ablations.py runs.json
python scripts/summarize_ablations.py runs.json --json analysis/ablation_summary.json

The script reports, per variant, completed and planned runs, mean, standard deviation, the delta from the control, paired deltas over shared seeds, and the delta in units of the pooled standard deviation. It rejects duplicate runs and a missing or second control, and it flags unmatched seeds and incomplete variants.

These are descriptions, not significance tests. Say "larger than the run-to-run spread" only when the table shows it, and run a proper test before saying "significant".

4. Final evaluation

When a held-out evaluation exists, run it once on the selected program and the baseline, after the choice is frozen.

  • The search agent never saw its data, metric values, or feedback.
  • Report search scores and final scores separately, labelled as such.
  • A final evaluation that does not meet its bar is a result. Report it and its limitation plainly. Unless the evaluator says why it failed, do not state that the method is worse.
  • Do not change the selection after seeing final results. A new selection needs a new held-out set.

5. Post-hoc analyses

Analyze existing artifacts only: logs, metrics, checkpoints, saved predictions. No retraining and no new evaluator runs. Propose, filter, and rank them as described in references/posthoc-analysis.md.

6. Write it into the log

The paper pipeline reads numbers from experimental_log.md only, so everything the paper may state has to be written there:

  • the summary table, with replication counts;
  • final evaluation results, separate from search scores;
  • which variants failed or are incomplete;
  • what each ablation hypothesis predicted and whether the result supports it;
  • limitations: regimes not tested, comparisons that were not controlled.

Then run research-inputs to audit the log.

Rules

  • One change per variant.
  • No claim of causal attribution without a controlled comparison.
  • Never drop failed runs to improve a mean.
  • Never compare variants evaluated by different evaluator versions.

Files

  • scripts/summarize_ablations.py — per-variant statistics and a Markdown table.
  • references/variant-design.md — variant plan format and design rules.
  • references/posthoc-analysis.md — proposal, selection, and ranking of analyses.

Attribution

Adapted from the variant, final-evaluation, no-winner, and post-hoc stages of SakanaAI/AI-Scientist-v3 (commit f8ae47d), Apache-2.0, Copyright 2026 Sakana AI. Changes: rewritten as a harness-independent skill with a new standard-library summary script. See NOTICE.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.