drannarosen/research-workflow/reference-parity-audit
Claude Code and agent skill by drannarosen/research-workflow
- community
Checking that the SKILL.md file is still in the repository.
End-stage parity audit against a reference code or published result. Use near the end of a campaign, before a result is published or claimed to match: audit how the reference works from its source, compare at matched physical landmarks with tolerances fixed beforehand, label the result. A MESA lens ships. Don't use mid-development (analytic and physics checks carry it, → verification-gate) or for validation against theory (→ numerical-method-validation).
Install
npx vskill@latest install drannarosen/research-workflow/reference-parity-auditSKILL.md
The same SKILL.md was published earlier as drannarosen/research-workflow/reference-parity-audit.
Reference Parity Audit
This is the late-stage validation milestone, not a gate on every development step. "Reference-like" is not a claim. Parity has two halves: audit how the reference is actually implemented (read its source), and compare at matched physical landmarks (not arbitrary pseudo-time positions). If a domain lens exists under lenses/, load it for the concrete checklist; otherwise instantiate the generic questions below.
The landmarks and observables are yours to propose from the reference. The per-observable tolerance and the pinned reference version are fixed before comparing, and the tolerance, since it decides pass or fail, is approved by the researcher (→ researcher-in-the-loop).
1. Audit the reference (how it really works)
Read the reference's own source/docs and answer, for the regime you claim parity in:
- How does it construct the starting state / initial conditions?
- How does it relax or evolve before results are meaningful?
- Where do the key source terms / forces enter the bookkeeping?
- What adaptive machinery (remesh, timestep control, regularization) is active?
- What stop criteria define the landmark you are comparing at?
- What boundary / surface / closure choice is active?
2. Compare at matched landmarks
Pick the reference's physical landmarks first, then compare your code at the corresponding states rather than at arbitrary pseudo-time. Report the regime's defining observables at each landmark (the lens lists them; generically: the conserved/characteristic quantities and the relevant profiles). Don't call a trajectory "parity" if the landmarks aren't matched.
State the per-observable agreement tolerance before you look at the diff. Anchor it to the reference's documented precision (its quoted convergence tolerance, its own published error bars, its solver settings) — not to whatever difference you happen to observe. A tolerance read off the observed gap is circular: it can only pass. Pin the reference version — release tag / commit / build flags / option set — and record it (→ run-reproducibility); reference codes change defaults and physics between versions, so "parity" against an unspecified build is unfalsifiable.
3. Label the result
Use exactly one: file-backed parity · partial parity · analogy only · not yet proven. Required outputs: exact reference files inspected · exact local files compared · what matches · what departs · what evidence is still missing before claiming parity. If the landmark definition is unclear, the answer is "not yet proven."
Lenses
lenses/mesa.md— stellar evolution vs MESA (seed/relax/eps_grav/remesh/surface closure;R_surf/L_surf/T_eff/T_c/rho_clandmarks).lenses/TEMPLATE.md— copy it to add a lens for another reference code (N-body, radiative transfer) when a real parity milestone needs it.
Related
numerical-method-validation— when there's no reference code but a theoretical convergence rate / conservation law to check against.run-reproducibility— pins the reference's version/build flags so a parity claim stays falsifiable.verification-gate— gates the parity claim this audit produces.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/reference-parity-audit/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/drannarosen/research-workflow/reference-parity-audit)