AGENT SKILL

ml-research-protocol

Use when running empirical machine-learning experiments — baseline and ablation discipline, multi-seed aggregation, reproducibility logging — or when auditing whether a conclusion you rely on is actually supported by the runs behind it. Wires the experiment island to statistical-rigor and the manuscript.

License 许可
MIT
所属仓库
yibocat/prismnext
最近更新
2026-09-05
Stars
★ 4
Forks
0

01 前言 Front Matter

name
ml-research-protocol
license
MIT
description
Use when running empirical machine-learning experiments — baseline and ablation discipline, multi-seed aggregation, reproducibility logging — or when auditing whether a conclusion you rely on is actually supported by the runs behind it. Wires the experiment island to statistical-rigor and the manuscript.

02 资源文件 6

03 SKILL.md 正文

ML Research Protocol

Empirical ML is a decision factory: every experiment decides whether a line of work lives, dies, or pivots. Those decisions are only as good as the evidence — single-seed numbers, untuned baselines, and hand-typed tables corrupt them quietly. This skill is the discipline that keeps your own results trustworthy. Being review-ready then costs nothing extra.

When to use

  • Designing an experiment matrix (pair with experiment-design-matrix)
  • Deciding between methods or variants from your own results
  • Aggregating results across seeds; building results tables
  • Auditing whether a conclusion you rely on is actually supported (pair with critical-review, statistical-rigor)
  • Preparing the reproducibility statement / appendix

Files in this skill

Read on demand:

  • references/reproducibility-checklist.md — the reproducibility and compute-reporting checklist (NeurIPS-style), seed policy, code/data availability statements.
  • references/baselines-and-ablations.md — fair-comparison rules, ablation design, and the self-attack list. Read before claiming "SOTA".
  • templates/experiment-log.md — per-run manifest: commit, config, seeds, environment, compute. One per experiment island.
  • templates/results-table.tex — booktabs results table, mean±std, bold best with significance footnote.
  • templates/hyperparameters-table.tex — appendix hyperparameter table.
  • scripts/aggregate_seeds.py — stdlib-only: per-seed CSV → mean / std / t-based 95% CI per method → LaTeX table rows with bold-best marking.

Workflow

  1. Predefine — the experiment matrix (via experiment-design-matrix when enabled, else a plain design doc) includes the seed list before any run. Seeds are fixed integers written into the log, not "run until nice". Scale the count to run cost: cheap runs → 3 minimum, 5 preferred; expensive runs (long training) → fewer seeds plus a variance stand-in (bootstrap over held-out slices, cross-validation folds), labeled honestly in the text.
  2. Log every run — templates/experiment-log.md per island: git commit, config diff, seeds, hardware, wall-clock. The experiment island's provenance already captures env and commands — the log adds intent.
  3. Aggregate mechanically — collect per-seed metrics into one CSV, run scripts/aggregate_seeds.py (project venv via experiment-run), paste the emitted LaTeX rows. Table numbers are never typed by hand.
  4. Discipline the claims — differences between methods get a statistical treatment (test, effect size, CI — the statistical-rigor skill when enabled). When the result drives a decision (continue / kill / pivot), say what evidence threshold you used; "significant" is a statistical statement, not an adjective.
  5. Report — tables from templates/; figures with the figure skills (figure-matplotlib / figure-pipeline when enabled); Methods text via experiment-to-methods when enabled; finish with manuscript-preflight when enabled.

Rules

  • A single-seed number is an anecdote. Report mean±std over predefined seeds or say "single run" in the text; when run cost forces few seeds, use the variance stand-in from the workflow and label it.
  • Cost before compute: seed sweeps and training runs get a duration/resource estimate and explicit user confirmation (question) before launch — never fire a long run silently.
  • Baselines get the same tuning budget as your method — an untuned baseline does not just look bad in review, it makes your own kill/continue decisions wrong.
  • Never tune on the test set; selection happens on validation, the test set is touched once per claim.
  • Bold-best in a table requires the overlap check (CI overlap or test) — see references/baselines-and-ablations.md.
  • Every number in a table, note, or decision log traces to a run in a log. If you cannot point at the run, the number does not exist.

04 同仓库更多 Skills

yibocat
yibocat/prismnext

demo-multi-file

Local test skill with an extra notes file

★ 4
yibocat
yibocat/prismnext

writing-results

Use when drafting a Results / Experiments / Analysis section — narrating verified evidence from run receipts, with complete statistical reporting, derivation analysis, and honest treatment of negative results. Every number traces to a run; every claim survives the audit.

★ 4
yibocat
yibocat/prismnext

writing-related-work

Use when drafting a Related Work / literature review section or a standalone synthesis note — organizing prior work into a grounded, cited narrative or comparing methods across papers, from the project library plus staged external discovery. Never cites from memory.

★ 4
yibocat
yibocat/prismnext

writing-preliminaries

Use when drafting a Preliminaries / Background / Notation section — definitions, problem setup, and formal statements the rest of the paper builds on, with notation consistency and machine-checked formal claims. Reference patterns, not molds; include only what later sections actually use.

★ 4
yibocat
yibocat/prismnext

writing-methods

Use when drafting a Methods / Methodology / Approach / Model section — expounding the ideas and the reasoning behind the method, grounded in the project's brief, notes, and prior discussions, with empirical details from run receipts. Structure follows the idea's shape; reference angles, not fixed templates.

★ 4
yibocat
yibocat/prismnext

writing-introduction

Use when drafting or rewriting a paper's Introduction — framing the problem, positioning against prior work, and stating contributions as checkable claims, grounded in the brief, notes, and the library. Reference rhetorical patterns, adapted to the paper — never applied as molds.

★ 4