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.
In this repository20 other files it gives its agents.
- llms.txtllms.txt
- research-autoresearchSkill
- research-concept-figureSkill
- research-conference-talksSkill
- research-content-refinementSkill
- research-evaluationSkill
- research-evidence-auditSkill
- research-experimental-designSkill
- research-experiment-loopSkill
- research-ideationSkill
- research-inputsSkill
- research-literature-reviewSkill
- research-orchestraSkill
- research-outlineSkill
- research-plottingSkill
- research-section-writingSkill
- research-statistical-powerSkill
- research-systems-paper-writingSkill
- research-task-setupSkill
- research-templateSkill
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
- Distinctive: line 17
When no candidate beat the baseline, study the best valid candidate against the original baseline and frame the result as negative.
- Very specific: line 21
Read the diff between the selected program and the reference.
- Distinctive: line 28
Write the plan, with a hypothesis per variant, before running anything.
- Distinctive: line 59
When a held-out evaluation exists, run it once on the selected program and the baseline, after the choice is frozen.
- Distinctive: line 64
Do not change the selection after seeing final results.
- Distinctive: line 85
No claim of causal attribution without a controlled comparison.
- Distinctive: line 86
Never drop failed runs to improve a mean.
- Distinctive: line 87
Never compare variants evaluated by different evaluator versions.
≈ “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.
Files
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-powerwhen 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.jsonThe 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.
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
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.

