agentleFS
90184479018447/julia-pro-p/skills/playbook-model-validate/SKILL.md

playbook-model-validate

Skill0 starsChanged 3 days agoMITView on GitHub

Validate a Julia scientific model. Use when Julia model results need dimensional, limit, conservation, uncertainty, and observable checks.

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Done when: every term in the governing equation carries the same unit, shown once.

    line 14
  2. Distinctive:

    Done when: every reported number carries a bar and the method that produced it.

    line 32
  3. Distinctive:

    Write the three rebuttals (principle-rebuttal): physically impossible, mathematically unsound, already solved.

    line 36

≈ “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

Validate a model

A model earns trust through checks it can fail. Run them in this order; each one is cheap and each one catches a different class of error.

1. Dimensions and units

Non-dimensionalize, or carry Unitful through one full evaluation. A unit error caught here costs minutes; caught after a parameter sweep it costs a week.

Done when: every term in the governing equation carries the same unit, shown once.

2. Limits

The analytic limits from principle-limits: dilute, ideal, zero forcing, equilibrium recovery, S(k->0), g(r->inf), <sigma> >= 0. Each limit is a test in the suite, not a manual check.

Done when: each limit you can name returns within a stated tolerance, or its failure is explained.

3. Conservation

Mass, energy, and species balances close to solver tolerance; steady state reaches a residual bound rather than a flat plot. Report the residual, not the picture.

Done when: each conservative quantity has a printed drift over the run.

4. Uncertainty

The three bounds (principle-three-bounds): domain, uncertainty, observable. Bootstrap the fit, block-average the correlated series, run several seeds or replicas for the ensemble.

Done when: every reported number carries a bar and the method that produced it.

5. Rebuttal

Write the three rebuttals (principle-rebuttal): physically impossible, mathematically unsound, already solved. Answer each or revise the model.

Done when: each rebuttal has an answer or the model changed because of it.

6. Map to the measurable

Name the experiment that would confirm or kill the result (DLS g2, SAXS I(q), G' and G'', conversion-vs-time). State what the model predicts that the experiment can distinguish.

Done when: one falsifiable prediction exists, with its expected error bar.

Topics this playbook opens

Load one at the step named. The table exists so you do not read all of them up front.

TopicThe step that needs itWhat it settles
sciml-and-diffeq1 Dimensions and unitssymbolic units and index reduction, before any solve
modeling-toolkit2 Limitsconsistent initialisation and a limit case as the structural check
continuum-mechanics-and-rheology3 Conservationa constitutive model that satisfies mass and momentum
catalyst-reactions3 Conservationa network that loses an atom is wrong before it is slow
statistical-physics4 Uncertaintyan error bar without autocorrelation comes out too small
nonlinear-dynamics6 Map to the measurablea bifurcation stated as an observable
control-theory6 Map to the measurablemargins and crossover as the measurable form of stability

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.