simrepairbench / schema /episode-reference.schema.json
chrisvoncsefalvay's picture
Publish CASTAIGNE25 repair tasks and native image case viewer
a2c1aaa verified
Raw History Blame Contribute Delete
1.12 kB
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "SimRepairBench public episode reference",
"type": "object",
"required": ["schema", "kind", "state", "case_id", "episode_id", "input", "harbor_task", "harbor_job", "artifact_paths", "candidate_tree_sha256"],
"properties": {
"schema": {"const": "simrepairbench-episode-reference-v1"},
"kind": {"const": "repair_episode"},
"state": {"enum": ["completed", "failed", "budget_exhausted", "interrupted", "uncertain"]},
"case_id": {"type": "string", "pattern": "^R(0[1-9]|1[0-9]|2[0-5])$"},
"episode_id": {"type": "string"},
"input": {"type": "object", "required": ["repository", "revision", "package_path", "package_sha256", "asset_sha256"]},
"harbor_task": {"type": "object", "required": ["name", "digest"]},
"harbor_job": {"type": "object", "required": ["id", "url", "trial_id", "trial_archive_sha256"]},
"artifact_paths": {"type": "object", "required": ["episode", "trajectory", "final_manifest", "objective", "analysis"]},
"candidate_tree_sha256": {"type": "string", "pattern": "^[0-9a-f]{64}$"}
}
}