Skip to content

xpd modeling gate

Use xpd modeling gate in a recorded model review.

Commit the fix and pass its ID. It must preserve passing checks and avoid increasing the finding count. A cited finding must disappear. A design fix uses "goal": "design", cites questions and edits a file owning a cited question.

Terminal window
xpd modeling gate [OPTIONS] <FIX>
Argument What it does
<FIX> Required.
Option Default What it does
--format <FORMAT> Output format. Default: text on a terminal, json otherwise. Values: text, json.
Terminal window
$ xpd modeling gate --help
Gate a fix that is committed: run the checks, time `--bench` when set, count lines and compare the findings with the commit before it. Exit 1 when the fix is not kept
...