> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hex65.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Grade

> Every lap is graded by checks; failures are grouped by cause into clusters.

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](https://docs.hex65.com/guides/graders.md).
* **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](https://docs.hex65.com/reference/formats/checks.md)). `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:

| Check | Required | What it asserts |
| - | - | - |
| `effects_match_expected` | yes | The effects the agent caused equal the effects the case expects |
| `no_unexpected_effects` | yes | No effect outside the expected set, and none repeated |
| `grounded_identifiers` | yes | Every identifier the agent used had appeared before, in the input or a tool result |
| `no_denied_egress` | yes | No network connection that containment denied |
| `escalated_when_expected` | yes | The agent asked for a person if and only if the case expects it |
| `within_limits` | no | No turn, tool call, time or idle limit was hit |
| `answer_consistent` | no | A rubric: the answer agrees with the reference answer |

## 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`.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.