One fit tells you how well one model does. The analysis asks which of 80 model configurations survives every test, and how much the answer depends on choices. It is three commands:
qs sweep all --results results # hours; resumable
qs report results --out docs/report # tables, figures, ROOT file
qs selection results --rule apriori # the selection rule as a table
(qs stands for build/release/qs.) You need the full PDG file in data/ and, for the figures, a build with ROOT.
A configuration is a model plus its discrete choices, written as a tag:
B-frozen-coff-smeared
│ │ │ └ spin treatment: none | first | smeared (A, B)
│ │ └ additive constant c: coff (fixed to 0) | con (free)
│ └ running coupling: const | gi | frozen | apt (C, D: const | gi | free)
└ model: A Cornell | B screened | C relativized | D relativized screened
Suffixes: -fitmu fits the screening mass, -s (C, D) frees the slope of the Godfrey–Isgur smearing instead of
its constant.
qs sweep main --list # the jobs and their options, without running
qs sweep main --jobs 8 --only '^A-const' # a subset, by regular expression
qs sweep stop # stop all running sweeps
Each job writes results/<sweep>/<tag>.json, .txt and .log. A job whose JSON exists is skipped, so an
interrupted sweep resumes with the same command.
| sweep | what it does |
|---|---|
lm |
Levenberg–Marquardt from 9 starting points |
minuit |
Minuit2 from the default start, with Hesse and Minos errors |
main |
the final fits, seeded with the minima of lm and minuit and of every nested model; exact leave-one-out |
floor0 |
experimental errors only ((\sigma_{\rm th}=0)) |
floor |
one fixed model error of 10 MeV for all |
floor2 |
one declared error per system, pooled over the physical set |
joint, joint2 |
(c\bar c) and (b\bar b) together with shared parameters; predicts (B_c) |
widths |
masses and measured widths fitted together |
cv |
leave-multiplet-out, repeated 4-fold cross-validation, learning curves |
stats |
bootstrap, Bayesian posterior and predictive checks, jackknife |
nested |
convergence of every state on bases (n = 10, 19, 37, 73, 145) |
bopt, bgrid |
optimised basis ranges; the ((r_1, r_{\max})) plane |
shape |
state-dependent model errors |
rel |
semi-relativistic kinetic energy |
rep |
four representative models with the (B_c) systematic |
oneloop |
one-loop short-distance potential |
cx |
mixed real and complex-range basis |
screen |
screening mass fitted, shared and profiled |
studies |
the qs study evaluations |
apriori, apriori_half, apriori_double |
the physical set at the a-priori model error, and at half and twice it |
Order matters: lm and minuit first, main reads them, the others read main. all runs them in that order.
qs selection results --rule apriori prints one line per model with the number of failed checks and the AIC, then
the winner (if any) and the best compromise. With --csv it writes every check of every model.
The selection rule defines the checks.
qs report results regenerates everything under docs/report/: some 47 CSV files, tables.md, apriori.md,
states.md and the figures. The analysis report is the commentary, written for v1.4.
qs multiquark --results results --out docs/report --jobs 4
qs al1 --results results/al1 --out docs/report
multiquark takes the fitted parameters from the main records and predicts baryons and all-heavy tetraquarks with
no further adjustment; al1 computes the systems that contain light quarks in the published AL1 potential.
scripts/run.sh sweep all runs in the background with a log under logs/; QS_JOBS=8 limits the cores. The
relativized fits (C, D) are about a hundred times slower than the others and run first.