Documentation

38.6 qc-nm output dictionary

Chapter 38.6 visual
Output reference workflow

Control-stream QC preserves the original and writes a corrected copy only when corrections are enabled and needed. Review qc_nm_changes.csv and the unified diff before accepting the copy. Passing syntax and consistency checks do not prove the model is scientifically appropriate.

Files produced by qc-nm

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
qc_nm_checklist.csv CSV always one row per control-stream check status before/after corrections and disposition ID,category,question,status,status_after,issues,checked,correction,result,action counts; text primary
qc_nm_findings.csv CSV always one row per finding control-stream location, issue, level, and correction resolution check,category,level,line,record,item,message,resolved source line number primary
<stem>_qc.<ctl&#124;mod> NONMEM control stream at least one correction and fixes enabled one corrected model file corrected copy; original input remains unchanged NONMEM records model-specific primary
qc_nm_changes.csv CSV corrections made one row per change structured correction history correction,check,original_line,record,before,after,reason line number; text primary
qc_nm_changes.diff unified diff diff enabled and corrections made one line-oriented diff reviewable before/after patch diff headers and hunks not applicable review
qc_nm_parameters.csv CSV parameter table enabled one row per THETA/OMEGA/SIGMA element bounds, initial value, FIX state, labels, block membership kind,index,value,bounds,fixed,label,line,block parameter-specific primary
qc_nm_variables.csv CSV variable table enabled one row per code name definition/use audit and undefined/unused classification name,kind,blocks,definition_line,uses,first_use line number; count primary
qc_nm_summary.txt / qc_nm_summary.json text / JSON always / JSON enabled one run summary verdicts, counts, settings, checks, findings, corrections format-dependent mixed machine summary
report.html HTML report enabled one review report before/after checklist, findings, corrections, diff, and parameters collapsible sections display units presentation

Reading sequence

  1. Confirm the command, nlmx version, exit status, output root and settings/CLI overrides.
  2. Open the text/JSON summary to understand status, warnings, counts and conditional branches.
  3. Validate the primary table headers and expected row grain before parsing values.
  4. Reconcile row counts and identifiers across related files.
  5. Trace important estimates, classifications or decisions to the native model/data evidence.
  6. Inspect HTML and figures after verifying their source tables.
  7. 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?

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