Documentation

31.43 Errors, misleading shared help, and recovery

Errors, misleading shared help, and recovery

Power validates CLI syntax, TOML, files, model support, data columns, designs, numerical matrices, and resume identity. Read the exit class, message, hint, and log. Correct the cause and use a new output folder unless a valid resume applies.

What the controls mean

  • Exit 2 covers usage; 3 file/resume; 4 configuration; 5 unsupported model; 7 data; 9 numerical failure.
  • Shared help descriptions for method, alpha, replicates, approximation, max iterations, CI, LLOQ, parameter file, and no-plots are generic; Chapter 31 records power-specific behavior.
  • --run-dir, --dry-run, --no-checkpoint, --keep-subject-ids, and --format appear in shared help but are not consumed by the 4.16.0 power pipeline.

The issued command is only the beginning of the audit trail. Always distinguish the reference model, the design template, the resolved scenario, the replicate-specific truth, the fitted result, and the test decision. A value can be correct at one layer and misinterpreted at another.

Command or settings pattern

Use `nlmx power --print-config nlmx.power` and this chapter’s complete index.

Command-line values override settings-file values. Use a fresh folder for an analytical run; preserve the command, resolved settings, log, checksums, and row-level data. Defaults are versioned behavior, so a production protocol should state important values explicitly.

Interpretation and quality control

Test corrected settings with a cheap FIM or tiny SSE smoke run before scaling.

For a novice review, first confirm counts and labels, then inspect numerical values, then ask whether the assumptions represent the proposed clinical study. For an expert review, additionally reconcile aggregates from row-level output, reproduce a subset of trials, and compare the implementation with an independent reference where the claim requires it.

Common mistakes

  • Blindly following a generic help description
  • Forcing a resume after inputs changed
  • Reporting a point estimate without its denominator, interval, method, and version

Minimum evidence to retain

  • nlmx version, command, .power file, resolved settings, seed, threads, and output checksums;
  • control stream, design dataset, EXT/COV or parameter sets, and their provenance;
  • scenario table, replicate rows and failures, method summaries, plots, report, and interpretation;
  • prespecified criteria, Monte Carlo target, validation scope, deviations, and reviewer decisions.

See the previous page, next page, and complete command and settings index.