Philosophy¶
Two disciplines shape every requirement in this document: evidence and didactics. They are not features; they are the way the package is built. Both serve one idea, stated below and specified as requirements in the numerical laboratory method.
Simulation as experiment¶
A simulation result deserves the habits that made wind-tunnel data trustworthy: a calibrated instrument with a kept certificate, a test matrix written before the occupancy, an inspected test article, a run log that records every run, data reduced by published equations with corrections labelled, repeat runs and an uncertainty budget before a coefficient is believed, and one archive per test. The package treats the solver as the instrument of a numerical laboratory and states those habits as requirements in eleven stages, from knowing the instrument to operating the laboratory. Where a habit changes meaning for a deterministic solver, the method says so: a repeat run checks that the same inputs give the same result, and the numerical part of the uncertainty budget comes from a refinement study. The method page states each stage as one goal refined by a few central requirements, each with its rationale, its wind-tunnel analogy, its verification method and the standard it rests on. Physics never lives in a requirement: formulas, windows, tokens and validity ranges live in the post-processing definitions and the definitions pages, which a requirement cites and never restates.
Evidence discipline¶
Nothing about the solver is asserted without a citation or a measurement.
- Every command database entry carries exactly one citation: the manual
page that documents it (
manual_ref), or a committed probe report measuring that the solver accepts a command no edition documents (probe_ref). Manual facts appear only as paraphrases with the page number; manual text is never reproduced. - A command's per-version status is promoted to
verified,brokenor a measuredremovedonly by a committed probe report from a licensed machine. No status that rests on a run is ever hand-edited; the two document-derivedremovedprovenances are hand-written rows carrying a note and a page, and no run supports them. - Documented and verified are distinct statuses because the manual and the solver disagree in practice; the database records both truths.
- Defaults are facts: a recorded default value carries its evidence (manual citation or probe report). What has no evidence is recorded as unknown, explicitly, never guessed.
- Empty cells in the compatibility matrix are honest gaps awaiting backfill, and they are displayed as such.
- Physics claims in code carry a Source line in the docstring, enforced by a schema test.
Didactic policy¶
The primary external audience is engineers without a software background.
- Every public function has a numpydoc docstring stating units and reference frames.
- Every module opens with a docstring stating its role in the pipeline. The public architecture page renders the current architecture core; API documentation renders the module docstrings.
- Error messages name the physical or version cause, not the internal symptom, and when a successor command exists the refusal suggests it.
- The refusal comes at build time: what the solver would reject or silently ignore at run time fails while the script is being built, with the citation.
Failures are reported at their owning boundary¶
A reader must be able to distinguish failure, missing evidence and success. The package uses the following reporting boundaries:
- Execution and collection record point outcomes in the manifest. Planning reports refused or excluded rows; post reports missing or refused products. These contracts do not claim that every possible failure path is eliminated.
- Output parsers locate data by anchors, never line offsets, and an output without its expected footer is an incomplete-output failure, not a shorter table.
- Recorded run identity lives in the manifest. Rebuild may parse a folder name as a recovery candidate, then checks the script and recovered evidence.
- The escape hatch (glossary) is
rawemission: it exists, but it is recorded in the manifest, so no run silently depends on unvalidated commands.
Clean room¶
The command emitter is specified exclusively from the official manual and from probe evidence. Code, structure, and docstrings never derive from the AGPL predecessor of the ecosystem. This is a hard invariant of the repository, enforced by contribution policy.
Honesty over completeness¶
Where the package does not know, it says so: unprobed commands stay
documented, undocumented defaults stay unknown, the unprobed
version column stays empty, and the manual-coverage report says what is
not yet cited or drafted, including when the answer is nothing. A
smaller set of honest claims is always preferred over a larger set of
assumed ones.
Coverage belongs to the registered editions and their evidence. Registering an edition can add commands to the evidence queue or expose changed grammar and refusals. A completed sweep does not promote an unmeasured command to verified.