Documentation

38.3 JSON, JSONL, text, reports, figures, logs, and checksums

Chapter 38.3 visual
Output reference workflow

Rectangular CSV is only one layer of an nlmx result. Use the format that matches the review question, and retain the links between layers.

JSON and JSON Lines

Summary JSON preserves nested settings, diagnostics, notes and arrays that do not fit naturally into CSV. Treat field paths and array object shapes as versioned schemas. JSON null may represent an unavailable/non-finite number. JSONL files contain one complete JSON object per line; stream them line by line and tolerate a final interrupted line only when the command documents resumable append behavior. Never reorder or rewrite checkpoint/event JSONL in place.

Text and Markdown

Text summaries are optimized for humans and may change spacing, wording or displayed precision. Do not scrape aligned console tables when a CSV/JSON counterpart exists. Markdown reports are review artifacts with useful provenance and equations, but values should still be traced to primary tables. Command files and NONMEM control streams are executable/reproducible text and require change control.

HTML, Word and PDF

HTML reports combine tables, figures and narrative, often with collapsible sections. They are excellent review indexes but not stable data APIs. DOCX and PDF are publication targets. Verify them visually after the final generation; do not extract numeric results from page layout when source CSV/JSON exists.

PNG and SVG

PNG is a rendered pixel artifact; record physical dimensions and DPI. SVG is editable/vector XML and may expose text/paths for independent review, but a visual figure still reflects filtering, transformations, scales and omitted values. Retain its settings and source table.

Logs and checksums

The transcript explains stages, warnings and resolved paths. A SHA-256 manifest detects later change but does not prove scientific correctness. The shared directory checksum routine excludes checksums.sha256 and the active top-level log_*.txt; therefore absence of a log digest is expected in those folders. Verify every listed digest and separately retain the log identity/hash in the enclosing evidence system.

Triangulation rule

For a material claim, use three layers: the primary machine table for the value, the human report/figure for interpretation, and the command/settings/log/input hashes for provenance. A discrepancy between layers blocks release until explained.

Format-role crosswalk

File or pattern Format When present Row/object grain Purpose Key fields or structure Units Role
log_<id>.txt UTF-8 text normally written; report needs --log-file event/stage stream timestamped command transcript with stages, warnings, failures, and completion elapsed time, level, message seconds where displayed audit
checksums.sha256 SHA-256 manifest written after normal output completion one row per retained file detects subsequent file change and supports evidence transfer 64-hex digest, two spaces, relative path not applicable audit
input_manifest.json JSON when the command writes an evidence folder one run manifest input mode, settings identity, and hashes of discovered model artifacts engine, run_stem, input_mode, configuration, configuration_sha256, files[] not applicable reproduction
normalized_config.covar TOML normal covariate-engine outputs one resolved configuration detailed effective covariate scope, detected types, equations, and run settings configuration tables setting-specific reproduction
*_settings.* / *_settings_used.* / custom_settings.custom TOML command-specific one resolved recipe re-runnable settings with effective defaults or resolved paths command settings setting-specific reproduction
report.html / *_report.html HTML unless disabled one integrated review document human review of tables, notes, diagnostics, and figures document structure, embedded tables/graphics display units presentation
plots/*.png PNG plots enabled one rendered figure per plot/panel page publication or review figure at requested dimensions and DPI pixels and embedded resolution axis-specific presentation
plots/svg/*.svg or svg/*.svg SVG SVG enabled one vector figure per plot/panel editable vector figure or interactive-report source XML vector elements axis-specific presentation

See the previous page, next page, and complete output reference.