Skip to main content
A check is one assertion about a lap. Each lap gets a grade per check: pass, fail, not_applicable or error. The lap’s verdict is pass if every required check passed, fail if any required check failed, and void if it could not be judged.

Kinds of check

  • deterministic: an assertion over the lap’s record, such as “the effects equal the expected set” or “no identifier was used before it was seen”. No model is involved, and the same lap always gets the same grade.
  • rubric: a grader model scores the lap against a rubric written in words. It needs your provider key: see Graders and provider keys.
  • custom: your own code, run on your machine only.
  • human: a person’s review. Review queues come with M4.
Each task’s checks are in proving/checks/<task>.yaml (Checks). proving checks list shows them; proving checks test <check> --lap <lap> runs one check on one lap and prints what its selectors pick.

The default checks

A drafted task starts with these, and the examples use them:

Failure clusters

Failed laps are grouped into failure clusters by their signature: the error kind, the station, the first check that failed, and the tool involved. With a grader model configured, clusters are also named by cause. Each cluster has an attribution: specification, instruction, tool, policy or capability. proving clusters list, proving clusters show, proving clusters promote (copies up to three exemplar cases into the regression set), proving clusters attribute, proving clusters accept.