38.12 fit retry, batch, and NONMEM-compatible artifacts
Retries and batches add an operational selection layer around ordinary fits. Preserve every attempt, not only the selected result. A downstream parser must identify which attempt was promoted and must not combine files from different retry folders merely because stems match.
Files produced by fit --retry, fit batch, NONMEM-compatible outputs
The table is a versioned contract for nlmx 4.16.2. “When present” is part of the schema: absence can mean disabled, not applicable, no qualifying rows, an earlier failure, or a defect. Distinguish those states with the summary/log and expected configuration.
| File or pattern | Format | When present | Row/object grain | Purpose | Key fields or structure | Units | Role |
|---|---|---|---|---|---|---|---|
retries/retries.csv |
CSV | retry requested and initial fit fails | one row per fit attempt | attempt strategy, status, convergence, OFV, termination and selected result | attempt,start_strategy,status,converged,ofv,termination,seconds and related fields | OFV; seconds | primary |
retries/retry_NN.ctl |
NONMEM control stream | each retry attempted | one start model per attempt | exact control stream from which retry started | NONMEM records | model-specific | reproduction |
retries/retry_NN/** |
fit result tree | each retry attempted | one nested fit per attempt | ordinary fit outputs, including failed/nonselected attempts | same schema as fit | model-specific | audit |
fit_batch.csv |
CSV | multiple control streams selected | one row per requested control stream | batch status and location of each fit | control_stream,status,output,ofv,converged,error and related fields | OFV; text | primary |
*.ext/*.cov/*.cor/*.coi/*.phi |
NONMEM-style text | producer-specific | iteration, matrix, or subject grain | interchange with nlmx artifact discovery and familiar NONMEM workflows | labels and layouts documented per file | parameter-specific | interface |
Reading sequence
- Confirm the command, nlmx version, exit status, output root and settings/CLI overrides.
- Open the text/JSON summary to understand status, warnings, counts and conditional branches.
- Validate the primary table headers and expected row grain before parsing values.
- Reconcile row counts and identifiers across related files.
- Trace important estimates, classifications or decisions to the native model/data evidence.
- Inspect HTML and figures after verifying their source tables.
- Verify checksums and retain the complete tree, including failures relevant to denominators.
Common parsing mistakes
- treating an optional missing file as an empty successful result;
- grouping at subject level when the table is subject-by-occasion, replicate or simulation;
- using displayed text/plot rounding as the analytical value;
- joining dynamic files by row position;
- losing exclusions, failed fits or warnings while copying only the selected result;
- assuming units from a familiar column name rather than the run's data/model/settings;
- parsing a cache/checkpoint as if it were a stable final-results API.
Review questions
- Does every row have a clearly stated grain and candidate primary key?
- Are denominators and failure states retained?
- Are units and transformations traceable?
- Is the file a primary result, reproduction recipe, presentation, or operational state?
- Can a second analyst reproduce the reported value from retained inputs and settings?
Navigation
See the previous page, next page, and complete output reference.