julia-paper-implementation
Skill0 starsChanged 3 days agoMITView on GitHub
Implement a published method in Julia: extract equations and parameters, build a sourced configuration table, reproduce a printed number, and record every assumption. Use for paper-to-Julia implementation.
In this repository55 other files it gives its agents.
- advanced-optimizationSkill
- bayesian-inferenceSkill
- bayesian-pinnSkill
- bayesian-ude-workflowSkill
- catalyst-reactionsSkill
- continuum-mechanics-and-rheologySkill
- control-theorySkill
- creating-julia-appSkill
- debugging-toolkitSkill
- differential-equationsSkill
- differentiationSkill
- equation-discoverySkill
- experiment-trackingSkill
- fem-feaSkill
- julia-graph-neural-networksSkill
- julia-languageSkill
- julia-ml-and-dlSkill
- julia-model-deploymentSkill
- julia-pro-helpSkill
- julia-pro-modeSkill
- julia-reinforcement-learningSkill
- modeling-toolkitSkill
- neural-pdeSkill
- nonlinear-dynamicsSkill
- numerical-methods-implementationSkill
- package-development-workflowSkill
- performance-tuningSkill
- physical-learning-systemsSkill
- playbook-debugSkill
- playbook-model-validateSkill
- playbook-package-releaseSkill
- playbook-paper-implementSkill
- playbook-perfSkill
- playbook-test-specSkill
- principle-both-sidesSkill
- principle-breakingSkill
- principle-file-is-truthSkill
- principle-gateSkill
- principle-limitsSkill
- principle-loud-failureSkill
- principle-one-stepSkill
- principle-proof-listSkill
- principle-rebuttalSkill
- principle-runtime-surfaceSkill
- principle-three-boundsSkill
- principle-three-clocksSkill
- scientific-visualizationSkill
- sciml-and-diffeqSkill
- setup-julia-proSkill
- signal-processingSkill
- simulation-and-hpcSkill
- statistical-physicsSkill
- symbolic-mathSkill
- web-development-juliaSkill
- zarr-cloud-arraysSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
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
- Distinctive: line 26
Configuration table: Every number with where it came from: paper section, appendix table, code line, or guessed.
- Distinctive: line 32
Only then scale: one short run reproducing the shape of a reported curve, then the full budget.
≈ “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
Implementing a paper's method in Julia
A paper omits details that a working Julia implementation needs. Recover those details in an order that fails cheaply: structure before scale, one printed number before one figure.
Read in this order
| Pass | Source | Settles |
| 1 | method section, equations only | the state, the loss, the update |
| 2 | appendix and supplementary | dimensions, initialisation, schedules, the exact datasets |
| 3 | released code, if any | everything the prose omits — and every place it disagrees with the prose |
| 4 | issues and author replies | known errata, and which numbers nobody has reproduced |
A paper with no released code is a different job: the appendix becomes the specification and the gaps are yours to fill, so the configuration table's source column turns into a guess column.
Three artifacts before any training
Notation table. Symbol, meaning, units, shape, and where it appears. Most reproduction failures are a transposed index or an off-by-one in a time index, both invisible in prose and obvious in a table.
The update, executable. Write the loss and one parameter update in Julia with the paper's symbols as variable names. Check the gradient with ForwardDiff.jl or FiniteDiff.jl on a two-parameter toy problem before the real model exists. A sign error is cheap here and expensive after a week of training.
Configuration table. Every number with where it came from: paper section, appendix table, code line, or guessed. The guess column is the honest surface of the reproduction — it tells a reader what could not be recovered and where a deviation would start.
The first milestone is a printed number
Find one number the paper prints that a single forward pass or a single epoch should reproduce: a parameter count, a loss at initialisation, an accuracy after one epoch on a stated split. Reproduce it before building anything else. A model that matches the parameter count but not the initial loss has an initialisation or normalisation difference; one that matches neither has a structural difference, and structure is cheaper to fix than scale.
Only then scale: one short run reproducing the shape of a reported curve, then the full budget.
What the paper will not state
Initialisation scheme and scale, learning-rate warmup and decay shape, batch composition and shuffle order, where normalisation sits relative to the activation, dropout placement, and the seed. Recover each from code when code exists; otherwise pick the field's default, write it in the guess column, and treat any mismatch in the first milestone as a reason to revisit that guess rather than the architecture.
Reproducing a numerics result, not just a network
For a method that solves an equation rather than trains a classifier, the printed number is usually a converged error or a runtime. Then the tolerances, the discretisation, and the hardware are part of the method: a solver at different reltol is a different method, and a speedup claim is unreadable without the baseline it was measured against. State both before comparing.
Depth
| Page | Open when |
| differential-equations | the paper's method is a solver or a discretisation |
| neural-pde | the paper is a PINN or a neural operator |
| experiment-tracking | recording the deviation log and the config that produced each run |
| performance-tuning | the reproduction has to be fast enough to run at the paper's budget |
Traps
- Starting from the introduction. It states the claim, not the method; the appendix holds the numbers and reading it first prevents a rewrite.
- Porting the full model before the toy gradient check. A sign error survives every scale-up and looks like a hyperparameter problem.
- Treating the released code as ground truth over the paper. They disagree; when they do, the paper's claim is what you reproduce and the code's behavior is what you explain.
- Reporting a match without stating the tolerance. Reproduced to three digits and reproduced to one are different results.
- Filling every gap silently. A configuration table with no guess column reads as complete when it is not.
Done when
The contribution is restated in one sentence from the paper's own claims; a notation table exists with units and shapes; the loss and one update run and pass a finite-difference gradient check on a toy; one number the paper prints is reproduced with the tolerance stated; the configuration table names the source or the guess for every entry; and the deviation log records what was changed relative to the paper and why.
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.

