Scorecard schema reference¶
$id:https://proving.vexlari.tech/schema/scorecard/v0.json- Source:
schema/scorecard.v0.schema.json
Result of running one agent/policy against one versioned suite. v0 is a draft: fields may change before 1.0 (SemVer).
| Field | Type | Required | Description |
|---|---|---|---|
schema_version |
const "0.1.0" |
yes | |
scorecard_id |
string (pattern ^sc_[0-9a-z]{26}$) |
yes | ULID-based id. |
created_at |
string (format date-time) |
yes | |
manifest |
object | yes | Everything needed to reproduce the run. Hashes are sha256 hex. |
manifest.harness_version |
string | yes | |
manifest.seed |
integer (minimum 0) |
yes | |
manifest.agent_hash |
string (pattern ^[0-9a-f]{64}$) (sha256) |
yes | |
manifest.suite_hash |
string (pattern ^[0-9a-f]{64}$) (sha256) |
yes | |
manifest.container_image |
string | no | image@sha256:… digest when run in docker/remote. |
manifest.environments |
array | yes | |
manifest.environments[].name |
string | yes | |
manifest.environments[].version |
string | yes | |
manifest.environments[].package_hash |
string (pattern ^[0-9a-f]{64}$) (sha256) |
no | |
manifest.backend |
one of "local", "docker", "remote", "quantum-stub" |
yes | |
manifest.hardware |
object | no | |
manifest.hardware.cpu |
string | no | |
manifest.hardware.gpu |
string or null | no | |
manifest.hardware.memory_gb |
number | no | |
manifest.python |
string | no | |
manifest.platform |
string | no | |
suite |
object | yes | |
suite.name |
string | yes | |
suite.version |
string | yes | |
suite.visibility |
one of "public", "private" |
no | |
agent |
object | yes | |
agent.name |
string | yes | |
agent.adapter |
one of "gymnasium-policy", "http-agent", "llm-tool-agent", "plugin" |
yes | |
agent.model |
string or null | no | For LLM agents: provider/model id as declared by the user (not verified). |
results |
array | yes | One entry per scenario. |
results[].scenario |
string | yes | |
results[].episodes |
integer (minimum 1) |
yes | |
results[].success_rate |
number (minimum 0, maximum 1) (ratio) |
yes | |
results[].safety_violations |
array | yes | |
results[].safety_violations[].rule |
string | yes | e.g. forbidden_action, budget_exceeded, injected_instruction_followed, joint_limit |
results[].safety_violations[].count |
integer (minimum 0) |
yes | |
results[].safety_violations[].severity |
one of "low", "medium", "high", "critical" |
yes | |
results[].robustness |
object | no | Success under perturbations relative to nominal. |
results[].robustness.nominal_success |
number (minimum 0, maximum 1) (ratio) |
no | |
results[].robustness.perturbed_success |
number (minimum 0, maximum 1) (ratio) |
no | |
results[].robustness.perturbations |
array | no | |
results[].latency_ms |
object (distribution) |
no | |
results[].latency_ms.p50 |
number (minimum 0) |
yes | |
results[].latency_ms.p95 |
number (minimum 0) |
yes | |
results[].latency_ms.p99 |
number (minimum 0) |
no | |
results[].latency_ms.max |
number (minimum 0) |
no | |
results[].compute |
object | no | |
results[].compute.cpu_seconds |
number (minimum 0) |
no | |
results[].compute.gpu_seconds |
number (minimum 0) |
no | |
results[].compute.energy_kwh |
number or null (minimum 0) |
no | Estimated; null when no meter is available. Never fabricated. |
results[].compute.tokens_in |
integer (minimum 0) |
no | |
results[].compute.tokens_out |
integer (minimum 0) |
no | |
results[].cost |
object | no | |
results[].cost.amount |
number (minimum 0) |
no | |
results[].cost.currency |
string (pattern ^[A-Z]{3}$) |
no | |
results[].cost.per_task |
number (minimum 0) |
no | |
results[].cost.price_source |
string | no | Where the unit prices came from, with an as-of date. |
results[].judge |
object | no | |
results[].judge.kind |
one of "rule", "llm", "rule+llm" |
no | |
results[].judge.llm_model |
string or null | no | |
results[].judge.notes |
string | no | |
summary |
object | yes | |
summary.overall_success_rate |
number (minimum 0, maximum 1) (ratio) |
yes | |
summary.critical_violations |
integer (minimum 0) |
yes | |
summary.verdict |
one of "pass", "fail", "inconclusive" |
yes | Per suite thresholds declared in the suite file. |
summary.thresholds |
object | no | |
signature |
object | no | Present only on cloud-issued (verified) scorecards. Signs the canonical JSON (RFC 8785 JCS) of this document without the signature field. |
signature.alg |
one of "ES256", "PS256", "RS256" |
yes | |
signature.key_id |
string | yes | |
signature.value |
string | yes | |
signature.verify_url |
string (format uri) |
yes |