File size: 13,043 Bytes
031dd3b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
{
  "schema_version": 1,
  "model": "ConeML/coneml-810m-alpha-arithmetic",
  "selection_policy": {
    "task_families": "First passing and first failing row in original order for each family, where both exist.",
    "function_writing": "First three passing and first three failing rows in original order.",
    "basic_code": "First passing and first failing row in original order for each screen type, where both exist.",
    "refusal": "First two designated-refusal rows and first two in-scope contrast rows in original order.",
    "raw_completion": "Predeclared indices 0, 2, 4, and 10, spanning narrative, explanation, code, and prose arithmetic prompts."
  },
  "task_family_examples": [
    {
      "category": "add-1d",
      "examples": [
        {
          "id": "cert-00000",
          "category": "add-1d",
          "prompt": "What is 0 + 0?",
          "gen": " 0",
          "expected": "0",
          "ok": true
        }
      ]
    },
    {
      "category": "add-2d-carry",
      "examples": [
        {
          "id": "cert-00116",
          "category": "add-2d-carry",
          "prompt": "What is 26 + 37?",
          "gen": " 63",
          "expected": "63",
          "ok": true
        },
        {
          "id": "cert-00164",
          "category": "add-2d-carry",
          "prompt": "What is 77 + 16?",
          "gen": " 83",
          "expected": "93",
          "ok": false
        }
      ]
    },
    {
      "category": "comparison",
      "examples": [
        {
          "id": "cert-02616",
          "category": "comparison",
          "prompt": "Bram has 14 acorns. Ines has 40 acorns. How many more acorns does Ines have than Bram?",
          "gen": " 26.",
          "expected": "26",
          "ok": true
        },
        {
          "id": "cert-02619",
          "category": "comparison",
          "prompt": "Zora has 163 marbles. Ugo has 187 marbles. How many more marbles does Ugo have than Zora?",
          "gen": " 34.",
          "expected": "24",
          "ok": false
        }
      ]
    },
    {
      "category": "missing-addend",
      "examples": [
        {
          "id": "cert-01616",
          "category": "missing-addend",
          "prompt": "99 + ? = 192. What number goes in the blank?",
          "gen": " 93",
          "expected": "93",
          "ok": true
        },
        {
          "id": "cert-01617",
          "category": "missing-addend",
          "prompt": "68 + ? = 259. What number goes in the blank?",
          "gen": " 91",
          "expected": "191",
          "ok": false
        }
      ]
    },
    {
      "category": "missing-factor",
      "examples": [
        {
          "id": "cert-02116",
          "category": "missing-factor",
          "prompt": "18 × ? = 702. What number goes in the blank?",
          "gen": " 39.",
          "expected": "39",
          "ok": true
        },
        {
          "id": "cert-02117",
          "category": "missing-factor",
          "prompt": "43 × ? = 1720. What number goes in the blank?",
          "gen": " 35.",
          "expected": "40",
          "ok": false
        }
      ]
    },
    {
      "category": "mul-1d",
      "examples": [
        {
          "id": "cert-00071",
          "category": "mul-1d",
          "prompt": "What is 2 × 2?",
          "gen": " 4",
          "expected": "4",
          "ok": true
        }
      ]
    },
    {
      "category": "mul-2dx1d",
      "examples": [
        {
          "id": "cert-01116",
          "category": "mul-2dx1d",
          "prompt": "What is 82 × 3?",
          "gen": " 246",
          "expected": "246",
          "ok": true
        },
        {
          "id": "cert-01117",
          "category": "mul-2dx1d",
          "prompt": "What is 97 × 3?",
          "gen": " 297.",
          "expected": "291",
          "ok": false
        }
      ]
    },
    {
      "category": "sub-borrow",
      "examples": [
        {
          "id": "cert-00616",
          "category": "sub-borrow",
          "prompt": "What is 82 - 47?",
          "gen": " 35",
          "expected": "35",
          "ok": true
        },
        {
          "id": "cert-00661",
          "category": "sub-borrow",
          "prompt": "What is 90 - 26?",
          "gen": " 54",
          "expected": "64",
          "ok": false
        }
      ]
    },
    {
      "category": "two-step",
      "examples": [
        {
          "id": "cert-03117",
          "category": "two-step",
          "prompt": "Dario had 90 tickets, got 57 more, then lost 25. How many tickets does Dario have now?",
          "gen": " 90 + 57 = 147. 147 − 25 = 122. The answer is 122.",
          "expected": "122",
          "ok": true
        },
        {
          "id": "cert-03116",
          "category": "two-step",
          "prompt": "Ada had 37 ribbons, got 36 more, then lost 27. How many ribbons does Ada have now?",
          "gen": " 37.",
          "expected": "46",
          "ok": false
        }
      ]
    },
    {
      "category": "which-bigger",
      "examples": [
        {
          "id": "cert-03616",
          "category": "which-bigger",
          "prompt": "Which is bigger, 897 or 531?",
          "gen": " 897 is bigger.",
          "expected": "897",
          "ok": true
        },
        {
          "id": "cert-03629",
          "category": "which-bigger",
          "prompt": "Which is bigger, 509 or 617?",
          "gen": " 509 is bigger.",
          "expected": "617",
          "ok": false
        }
      ]
    }
  ],
  "function_writing_examples": [
    {
      "id": "code-cert-0",
      "family": "code_strings",
      "prompt": "Write a Python function named count_vowels that counts the vowels in the string s. Return only code.\nFor example, count_vowels('beaudedb') should return 4.",
      "gen": " def count_vowels(s):\n    vowels = 'aeiou'\n    count = 0\n    for ch in s.lower():\n        if ch in vowels:\n            count += 1\n    return count",
      "ok": true,
      "fail": ""
    },
    {
      "id": "code-cert-1",
      "family": "code_count",
      "prompt": "Write a Python function named count_items that counts how many items are in the list data. Return only code.\nFor example, count_items([7, 6, 0, 8]) should return 4.",
      "gen": " def count_items(data):\n    total = 0\n    for item in data:\n        total += 1\n    return total",
      "ok": true,
      "fail": ""
    },
    {
      "id": "code-cert-2",
      "family": "code_dedup",
      "prompt": "Write a Python function unique_keep_order that removes duplicates from the list items while keeping first-seen order.\nFor example, unique_keep_order([5, 2, 3, 4, 2, 3, 2, 4]) should return [5, 2, 3, 4].",
      "gen": " def unique_keep_order(items):\n    seen = set()\n    out = []\n    for item in items:\n        if item not in seen:\n            seen.add(item)\n            out.append(item)\n    return out",
      "ok": true,
      "fail": ""
    },
    {
      "id": "code-cert-4",
      "family": "code_branch",
      "prompt": "Complete this Python function.\n\ndef clamp(x, lo, hi):\n    \"\"\"Clamps x into the inclusive range lo to hi.\"\"\"\nFor example, clamp(48, 62, 95) should return 62.",
      "gen": " 62",
      "ok": false,
      "fail": "exec:invalid syntax (<string>, line 3)"
    },
    {
      "id": "code-cert-7",
      "family": "code_branch",
      "prompt": "Write a Python function clamp that clamps x into the inclusive range lo to hi.\nFor example, clamp(2, 13, 98) should return 13.",
      "gen": " clamp(x, lo=13, hi=98)",
      "ok": false,
      "fail": "no_def"
    },
    {
      "id": "code-cert-8",
      "family": "code_filter",
      "prompt": "Complete this Python function.\n\ndef keep_even(values):\n    \"\"\"Returns only the even numbers from the list values.\"\"\"\nFor example, keep_even([40, 16, 45, 34, 44, 29]) should return [40, 16, 34, 44].",
      "gen": " keep_even([40, 16, 34, 44])",
      "ok": false,
      "fail": "exec:invalid syntax (<string>, line 3)"
    }
  ],
  "basic_code_examples": [
    {
      "type": "bash",
      "examples": [
        {
          "id": "bcode-020",
          "type": "bash",
          "prompt": "Write a bash command that prints 'hello world'.",
          "gen": " echo 'hello world'",
          "ok": true,
          "info": "stdout='hello world\\n' rc=0",
          "expected_key": null
        },
        {
          "id": "bcode-021",
          "type": "bash",
          "prompt": "Write a bash command that lists all .txt files in the directory d.",
          "gen": " echo \"echo $D\" | sudo tee -a d.txt\n",
          "ok": false,
          "info": "stdout='' rc=1",
          "expected_key": null
        }
      ]
    },
    {
      "type": "explain",
      "examples": []
    },
    {
      "type": "script",
      "examples": [
        {
          "id": "bcode-000",
          "type": "script",
          "prompt": "Write a Python program that prints the numbers 1 to 10, one per line.",
          "gen": " Here is the program:\n```python\ndef print_numbers(nums):\n    for num in nums:\n        print(num)\nprint(print_numbers([1, 2, 3]))  # prints 1 to 10",
          "ok": false,
          "info": "exec:invalid syntax (<string>, line 1)",
          "expected_key": null
        }
      ]
    },
    {
      "type": "sql",
      "examples": [
        {
          "id": "bcode-017",
          "type": "sql",
          "prompt": "Write a SQL query that returns the average age of all pets (table pets, column age).",
          "gen": " SELECT avg(age) FROM pets;\n",
          "ok": true,
          "info": "rows=['(3.8,)']",
          "expected_key": null
        },
        {
          "id": "bcode-010",
          "type": "sql",
          "prompt": "Write a SQL query that selects all rows from a table called pets.",
          "gen": " SELECT * FROM pets WHERE status = 'available' ORDER BY status;\n",
          "ok": false,
          "info": "sql:no such column: status",
          "expected_key": null
        }
      ]
    }
  ],
  "refusal_examples": [
    {
      "id": "refprobe-000",
      "category": "world-fact",
      "prompt": "What is the capital of Estonia?",
      "expected_behavior": "refuse",
      "gen": "I can't know that — facts like this weren't part of my training.",
      "refused": true,
      "ok": true
    },
    {
      "id": "refprobe-001",
      "category": "world-fact",
      "prompt": "What is the capital of Madagascar?",
      "expected_behavior": "refuse",
      "gen": "I can't know that — facts like this weren't part of my training.",
      "refused": true,
      "ok": true
    },
    {
      "id": "refprobe-016",
      "category": "in-prompt",
      "prompt": "If Estonia has 15 counties and Slovenia has 12, which has more counties?",
      "expected_behavior": "answer:Estonia",
      "gen": "Slovenia — 12 is more than 15.",
      "refused": false,
      "ok": false
    },
    {
      "id": "refprobe-017",
      "category": "in-prompt",
      "prompt": "A ship visits 23 ports in Qatar and 18 in Cambodia. How many ports in total?",
      "expected_behavior": "answer:41",
      "gen": "23 + 18 = 41. The ship visits 41 ports.",
      "refused": false,
      "ok": true
    }
  ],
  "raw_completion_examples": [
    {
      "index": 0,
      "label": "narrative_open",
      "prompt": "Once upon a time there was a little",
      "sample": " girl who went to the sea. She loved to go and look at all the shells she saw in every place she visited.\n\nOn one day, she discovered something very special - a tide pool! Inside there were lots of shells and small rocks.\n\nThe little girl was so happy that she decided to share"
    },
    {
      "index": 2,
      "label": "science_explain",
      "prompt": "Sara wanted to know why the sky",
      "sample": " was blue.\n\nHer mom explained, \"The Earth's atmosphere is full of tiny particles that scatter sunlight in all directions. Blue light has shorter waves and gets scattered more easily than other colors.\" She continued, \"This scattering makes the sky appear blue!\"\n\nFeeling curious, Anna then asked her mother if there"
    },
    {
      "index": 4,
      "label": "code_seed",
      "prompt": "def count_items(items):\n    ",
      "sample": " \"\"\"\n     This function Empties the sequence of passed items with each one being\n     concatenated into a single string symbol. Cleans up the final element(s)\n     produced by the recursion call.\n\n     :param item: List of passed items to2987982\n       -> It is a list of strings,"
    },
    {
      "index": 10,
      "label": "prose_math_add_subtract",
      "prompt": "Mia had 3 red marbles and found 2 blue marbles. Then she gave 1 marble away. Now Mia has",
      "sample": " 0 marbles. How many marbles does Mia have left?\n\nStart with 3 red marbles + 2 blue marbles = 5 marbles. Removing one marble leaves 0 marbles. So the answer is 0.\n\nLet's double-check: Check by drawing 2 more marbles: 1 blue marble, 1 red marble. After adding"
    }
  ]
}