Skip to content

judgeRun

judgeRun(run, ratchet, ledger?, options?): IMutationVerdict

The verdict for one whole-package run. ratchet is null for a run that is not held to a baseline (a target without one, a run that reused results or used another config): it is then record-only. ledger is the package’s accepted mutants (ledger.ts) for a run that judged every mutant afresh, null for one that did not. The order matters: a run that is not a measurement is reported as that before anything is said about the score, and nothing is accepted from it. options.ledgerFile is the ledger’s name in messages.

IRunObservation

IRatchetOptions | null

readonly IAcceptedMutant[] | null = null

string

IMutationVerdict