# Run Exp

> Run experiments based on the plan from read-exp. Reads check_exp.json and check_code.json, creates environment, runs experiments, compares against paper numbers.

- Skill: `qinghonglin/run-exp` (Agent Skill)
- Install (CLI): `npx skillmds@latest add qinghonglin/run-exp`
- Raw SKILL.md: https://api.skillmd.com/api/skills/qinghonglin/run-exp/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- License: MIT
- Author: QinghongLin (https://skillmd.com/u/qinghonglin)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/qinghonglin/run-exp

---


# Run Experiments

**This skill requires explicit user approval before execution.** Do not start automatically after Phase 2 — present the reproduction plan summary and wait for the user to confirm.

## Prerequisites

- `{paper_dir}/reports/check_exp.json` — experiment plan from read-exp (priority, feasibility, commands)
- `{paper_dir}/reports/check_code.json` — code issues from read-code (fix before running)

## Workflow

```text
- [ ] Step 1: Create environment
- [ ] Step 2: Run experiments
```

---

## Step 1: Create Environment

```bash
conda create -n paperdr-{paper_stem} python=<version> -y
conda activate paperdr-{paper_stem}
# follow README for install
```

Download data/checkpoints as needed. Fix any `warning`/`error` items from check_code.json before running.

---

## Step 2: Run Experiments

Run experiments from `check_exp.json` in priority order (high first). Prefer eval over training.

For each experiment, compare output against the paper's numbers. Update `check_exp.json` with:

```json
{
  "our_result": {"metric": 0.0},
  "status": "pass",
  "note": "..."
}
```

| Status | Meaning |
|--------|---------|
| `pass` | Matches paper within ~1-2% |
| `warning` | Partial match or needed fixes |
| `error` | Significant difference or could not run |

## Tips

- Follow the repo's README — do not guess
- OOM is `error` — note cause, do not retry endlessly
- Record exact command and hardware used

