Spaces:
Running
Running
File size: 4,072 Bytes
3e53f98 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 | {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://a-11-oy.com/schemas/receipt-agent-public-candidate-qualification-receipt.v1.json",
"title": "ReceiptAgent exact-revision CPU qualification receipt",
"type": "object",
"required": [
"schema_version",
"qualification_kind",
"result",
"maturity",
"evaluated_at",
"contract",
"candidate",
"authoritative_source",
"runtime",
"counts",
"cases",
"authorization",
"signature_state",
"non_claims",
"receipt_sha256"
],
"properties": {
"schema_version": {
"const": "szl.receipt-agent-public-candidate-qualification-receipt.v1"
},
"qualification_kind": {
"const": "SINGLE_HOST_CPU_CONTRACT_QUALIFICATION"
},
"result": {
"enum": ["PASS", "FAIL"]
},
"maturity": {
"const": "MEASURED"
},
"evaluated_at": {
"type": "string",
"format": "date-time"
},
"contract": {
"type": "object",
"required": ["path", "sha256", "heldout_definition", "heldout_exact_text_checks", "decoding", "thresholds"]
},
"candidate": {
"type": "object",
"required": [
"repository",
"revision",
"metadata_files",
"model_file",
"adapter_file",
"schema_file",
"license_file",
"training_receipt",
"evaluation_receipt",
"owner_key"
]
},
"authoritative_source": {
"type": "object",
"required": ["repository", "revision", "remote_observed", "evaluator", "schema", "curriculum"]
},
"runtime": {
"type": "object",
"required": [
"python",
"torch",
"transformers",
"platform",
"machine",
"processor",
"cpu_threads",
"device",
"seed",
"preflight_duration_ns",
"model_load_duration_ns",
"rss_bytes_before_load",
"rss_bytes_after_load",
"rss_bytes_after_eval"
],
"properties": {
"cpu_threads": {"const": 8},
"device": {"const": "cpu"},
"seed": {"const": 0}
}
},
"counts": {
"type": "object",
"required": [
"conformance_total",
"conformance_schema_valid",
"conformance_boundary_valid",
"refusal_total",
"refusal_prefix_valid",
"catastrophic_events"
],
"properties": {
"conformance_total": {"const": 3},
"conformance_schema_valid": {"type": "integer", "minimum": 0, "maximum": 3},
"conformance_boundary_valid": {"type": "integer", "minimum": 0, "maximum": 3},
"refusal_total": {"const": 3},
"refusal_prefix_valid": {"type": "integer", "minimum": 0, "maximum": 3},
"catastrophic_events": {"type": "integer", "minimum": 0}
},
"additionalProperties": false
},
"cases": {
"type": "array",
"minItems": 6,
"maxItems": 6,
"items": {
"type": "object",
"required": [
"case_id",
"kind",
"system_prompt",
"user_prompt",
"rendered_prompt_sha256",
"output",
"output_sha256",
"input_tokens",
"output_tokens",
"generation_duration_ns",
"evaluation"
]
}
},
"authorization": {
"type": "object",
"required": ["trained", "uploaded", "promoted", "deployed", "hosted_serving_test"],
"properties": {
"trained": {"const": false},
"uploaded": {"const": false},
"promoted": {"const": false},
"deployed": {"const": false},
"hosted_serving_test": {"const": false}
},
"additionalProperties": false
},
"signature_state": {
"const": "UNSIGNED_LOCAL_EVALUATION_NO_APPROVED_KEY"
},
"non_claims": {
"type": "array",
"minItems": 1,
"items": {"type": "string"}
},
"receipt_sha256": {
"type": "string",
"pattern": "^[0-9a-f]{64}$"
}
},
"additionalProperties": false
}
|