Documentation

12.23 Controlling corrections: no-fix, skip-fixes and fix-output

qc-nm offers three command-line controls for correction behavior: --no-fix, --skip-fixes, and --fix-output. Use them to make intent explicit rather than deleting generated evidence after a run.

Check without correcting

--no-fix disables all corrections. This is useful for a baseline assessment, a read-only quality gate, or a comparison in which source transformation is not allowed. You still receive findings and the original verdict, but no corrected control stream should be treated as part of the workflow.

nlmx qc-nm model.ctl --no-fix -o qc_baseline

Skip selected correction families

--skip-fixes accepts a comma-separated list of correction names. For example, the following permits other enabled corrections but prevents parameter and estimator edits:

nlmx qc-nm model.ctl --skip-fixes bounds,zero_fix,block_pd,interaction,maxeval -o qc_limited

Names come from qc-nm --list-checks. An unknown or mistyped name should be treated as a configuration error, not silently ignored. Record the full list in an analysis log because a generated copy is reproducible only when correction selection is known.

Choose the corrected filename

--fix-output PATH controls where the corrected control stream is written. Without it, qc-nm derives a name such as <stem>_qc<extension> in the output directory. Choose a path that cannot be confused with the approved source and never point it at the original control stream.

nlmx qc-nm model.ctl --fix-output review/model_candidate.ctl -o qc_review

[fix] enabled and individual settings in a .qcn file can provide reproducible defaults; command-line choices should be documented when they override configuration.

Common mistakes

  • Using --no-fix but expecting an after-fix verdict.
  • Supplying check IDs such as PAR02 to --skip-fixes instead of correction names such as bounds.
  • Writing the corrected candidate over the validated source.
  • Omitting correction selection from the audit record.

Checklist

  • Decide whether the run is assessment-only or correction-generating.
  • Get valid names from --list-checks.
  • Keep the generated candidate separate from source.
  • Save the command, configuration, diff, and tool version.
  • Require human review before promoting any candidate.

Further reading

See complete command index, correction catalogue, and reading before/after.