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

# Grades

> The grades of one lap, beside its trajectory.

Schema: `urn:hex65:schema:grades:v1`. Every field below comes from the schema; the schema decides.

hex65.grades/v1 (plan section 5.8): the grades of one lap, stored beside its trajectory as grades.json. `hash` is the SHA-256 of the RFC 8785 canonical form of the document without `hash`.

## Fields

| Field | Type | Required | Meaning |
| - | - | - | - |
| `format` | `"hex65.grades/v1"` | yes | |
| `lap` | string | yes | |
| `trajectory_hash` | see Sha256 | yes | |
| `grades` | list of see Grade | yes | |
| `verdict` | one of `"pass"`, `"fail"`, `"void"` | yes | |
| `failure_kind` | string or null | yes | |
| `station` | string or null | yes | |
| `lap_document_rules` | integer | no | The version of the rules by which the lap's trajectory became the document its checks were graded on (`LAP_DOCUMENT_RULES` of @hex65/checks; 2 applies the amendments `conditioned_effects_excluded` and `non_tool_actions_excluded`). Advisory in this revision of the format: a re-scorer always re-evaluates the deterministic checks under its own rules, whatever this field says. It reports a recorded version other than its own as a mismatch, and says when the version was not recorded. Optional in this revision; a later revision makes it required. |
| `hash` | see Sha256 | yes | |

## Sha256

A value of type string.

## Grade

The result of one check on one lap (plan section 1.5).

| Field | Type | Required | Meaning |
| - | - | - | - |
| `check` | string | yes | |
| `check_version_hash` | see Sha256 | yes | |
| `source` | one of `"deterministic"`, `"rubric"`, `"custom"`, `"human"` | yes | |
| `grader` | object | no | |
| `grader.id` | string | yes | |
| `grader.variant` | string | yes | |
| `grader.prompt_hash` | see Sha256 | yes | |
| `grader.provider` | string | yes | |
| `grader.model` | string | yes | |
| `verdict` | one of `"pass"`, `"fail"`, `"not_applicable"`, `"error"` | yes | |
| `reasons` | list of string | yes | |
| `evidence` | list of object | yes | References into the trajectory that support the grade. |
| `evidence[].seq` | integer | yes | |
| `evidence[].path` | string | no | |
| `confidence` | number | no | |
| `attestation` | one of `"local"`, `"hosted"`, `"runner"` | yes | |


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