File size: 8,220 Bytes
98833e3 | 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 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 | {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://github.com/BuddhistAI/buddhist-bench/schema/item.schema.json",
"title": "BuddhistBench item",
"description": "One question. Stored one per line in tracks/<track>/data/<lang>/<split>.jsonl. See docs/schema.md for field meanings and examples.",
"type": "object",
"required": [
"id",
"track",
"language",
"type",
"format",
"traditions",
"topics",
"question",
"positions",
"status",
"since",
"changed",
"authors",
"reviewers",
"sources_license"
],
"additionalProperties": false,
"properties": {
"id": {
"type": "string",
"pattern": "^[a-z0-9-]+-[a-z]{2,3}-[0-9]{4,}$",
"description": "<track>-<lang>-<number>; example items use example-<track>-<lang>-<number>. Permanent; never reused."
},
"track": {
"type": "string"
},
"language": {
"type": "string"
},
"translation_of": {
"type": "string",
"description": "ID of the source item when origin is translated or adapted. Items sharing a source form a parallel group for cross-lingual comparison."
},
"type": {
"enum": [
"factual",
"attributed",
"comparative",
"contested",
"default-probe",
"citation",
"false-premise"
]
},
"format": {
"enum": [
"mcq",
"short",
"open"
]
},
"difficulty": {
"enum": [
"basic",
"intermediate",
"advanced"
]
},
"traditions": {
"type": "array",
"minItems": 1,
"items": {
"type": "string"
},
"description": "Tradition IDs the item is about."
},
"topics": {
"type": "array",
"minItems": 1,
"items": {
"type": "string"
}
},
"question": {
"type": "string",
"minLength": 1
},
"passage": {
"type": "array",
"items": {
"type": "string"
},
"description": "Text tracks: verses or sections the question is about, e.g. [\"v12\"]."
},
"commentaries": {
"type": "array",
"items": {
"type": "string"
},
"description": "Text tracks: commentary IDs (from the track's commentaries.json) that the question names."
},
"choices": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"text"
],
"properties": {
"id": {
"type": "string"
},
"text": {
"type": "string"
}
},
"additionalProperties": false
}
},
"positions": {
"type": "array",
"description": "Accepted answers, each tied to the traditions that hold it. One position with consensus=true for factual items.",
"items": {
"type": "object",
"required": [
"traditions",
"answer"
],
"additionalProperties": false,
"properties": {
"traditions": {
"type": "array",
"minItems": 1,
"items": {
"type": "string"
}
},
"answer": {
"type": "string",
"description": "Choice id for mcq, canonical answer text for short, summary of the position for open."
},
"aliases": {
"type": "array",
"items": {
"type": "string"
},
"description": "Other accepted short answers."
},
"consensus": {
"type": "boolean",
"description": "Every tradition's reviewers accept this answer."
},
"commentaries": {
"type": "array",
"items": {
"type": "string"
},
"description": "Text tracks: commentary IDs that give this answer."
},
"sources": {
"type": "array",
"items": {
"$ref": "#/$defs/source"
}
}
}
}
},
"rubric": {
"type": "array",
"description": "Required for open items. Weighted criteria; negative weights are penalties.",
"items": {
"type": "object",
"required": [
"id",
"criterion",
"weight"
],
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"criterion": {
"type": "string"
},
"weight": {
"type": "number"
},
"tradition": {
"type": "string"
}
}
}
},
"accept_decline": {
"type": "boolean",
"description": "True when declining or rejecting the premise is the correct answer (false-premise items)."
},
"status": {
"enum": [
"active",
"disputed",
"retired"
]
},
"dispute": {
"type": "string",
"description": "Link to the issue when status is disputed."
},
"example": {
"type": "boolean",
"description": "True for format examples. Never scored on a leaderboard."
},
"since": {
"type": "string",
"description": "Release version that added the item."
},
"changed": {
"type": "string",
"description": "Release version of the last change to the question or key."
},
"authors": {
"type": "array",
"minItems": 1,
"items": {
"type": "string"
}
},
"reviewers": {
"type": "array",
"items": {
"type": "object",
"required": [
"who",
"tradition",
"role"
],
"additionalProperties": false,
"properties": {
"who": {
"type": "string"
},
"tradition": {
"type": "string"
},
"role": {
"enum": [
"same-tradition",
"cross-tradition",
"language"
],
"description": "language: a native speaker who checked a translated or adapted item against its source."
}
}
}
},
"sources_license": {
"type": "string",
"description": "Where the question and key came from and under what license, e.g. 'original, MIT' or 'adapted from Nak Tham 2023 exam (Apache-2.0)'."
},
"notes": {
"type": "string"
},
"exam": {
"type": "object",
"description": "Exam tracks: where the question comes from.",
"required": [
"paper",
"question"
],
"additionalProperties": false,
"properties": {
"paper": {
"type": "string",
"description": "Paper ID from the track's papers.json."
},
"question": {
"type": "string",
"description": "Question number as printed, e.g. '3(b)'."
},
"marks": {
"type": "number",
"description": "Marks available on the original paper."
},
"marking": {
"enum": [
"official-key",
"marking-scheme",
"model-answer",
"examiner-review"
],
"description": "Where the gold answer or rubric came from."
}
}
},
"origin": {
"enum": [
"native",
"translated",
"adapted"
],
"description": "native: written in this language (default). translated: a faithful translation of translation_of. adapted: translated and changed to suit this language's readers (cultural references, terms); not a strict parallel."
}
},
"$defs": {
"source": {
"type": "object",
"required": [
"ref"
],
"additionalProperties": false,
"properties": {
"ref": {
"type": "string",
"description": "Canonical reference: Pali (SN 56.11), Taishō (T0262), Tōhoku (D3871), or a citation."
},
"url": {
"type": "string"
},
"note": {
"type": "string"
}
}
}
}
}
|