diff --git "a/data/gen_code/train.jsonl" "b/data/gen_code/train.jsonl" deleted file mode 100644--- "a/data/gen_code/train.jsonl" +++ /dev/null @@ -1,941 +0,0 @@ -{"id": "gen_code:0", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v >= floor)\\n\\nresult = tally({'dlmp': 4, 'lqw': 2, 'khk': 1, 'apyjf': 7, 'bra': 0, 'fsgaq': 3}, 7)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_fdd0\": \"['khk']\", \"k_fac1\": \"['lqw']\", \"k_69d5\": \"['apyjf']\", \"k_f53b\": \"['dlmp']\"}}}", "gold": "{\"output\": \"k_69d5\"}"} -{"id": "gen_code:1", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = max(total, v) + 1\\n return total\\n\\nresult = sweep([19, 6, 4, 18, 16], 7)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_6d40\": \"21\", \"k_ffb4\": \"22\", \"k_8de9\": \"20\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"none_of_these\"}"} -{"id": "gen_code:2", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a - b for a, b in zip(first, second)]\\n\\nresult = blend([2, 4, 9, 8, 7, 4], [6, 9, 8, 8, 2, 8])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_d0d6\": \"[-4, -1, 2, 4, 6, -4]\", \"k_3fec\": \"[-4, -3, 0, 0, 6, -4]\", \"k_501b\": \"[-4, 5, 2, 0, 6, -4]\", \"k_079c\": \"[-4, -5, 1, 0, 5, -4]\"}}}", "gold": "{\"output\": \"k_079c\"}"} -{"id": "gen_code:3", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 - v\\n return total\\n\\nresult = sweep([15, 11, 15, 5, 2, 4], 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_2222\": \"-548\", \"k_3ed7\": \"-504\", \"k_ea4e\": \"-319\", \"k_f29d\": \"-452\"}}}", "gold": "{\"output\": \"k_2222\"}"} -{"id": "gen_code:4", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [max(a, b) for a, b in zip(first, second)]\\n\\nresult = blend([8, 6, 5, 3, 6], [7, 1, 5, 8, 8])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_b40b\": \"[8, 6, 5, 8, 7]\", \"k_9f12\": \"[8, 6, 5, 8, 3]\", \"k_91fb\": \"[8, 6, 7, 8, 6]\", \"k_eb70\": \"[8, 6, 5, 8, 8]\"}}}", "gold": "{\"output\": \"k_eb70\"}"} -{"id": "gen_code:5", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = max(total, v) + 1\\n return total\\n\\nresult = sweep([13, 3, 16, 16, 7], 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_dbf6\": \"18\", \"k_20af\": \"20\", \"k_079e\": \"21\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"none_of_these\"}"} -{"id": "gen_code:6", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = max(total, v) + 1\\n return total\\n\\nresult = sweep([4, 6, 7, 19, 6, 2], 13)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_237d\": \"22\", \"k_6dda\": \"23\", \"k_fd14\": \"25\", \"k_88d7\": \"20\"}}}", "gold": "{\"output\": \"k_237d\"}"} -{"id": "gen_code:8", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a - b for a, b in zip(first, second)]\\n\\nresult = blend([2, 3, 3, 5], [7, 1, 2, 4])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_b51f\": \"[-6, 1, 3, -1]\", \"k_5d75\": \"[-5, 2, 3, -1]\", \"k_980f\": \"[-5, 4, 1, -1]\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"none_of_these\"}"} -{"id": "gen_code:9", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a + b for a, b in zip(first, second)]\\n\\nresult = blend([6, 5, 6, 3, 4], [2, 9, 9, 6, 6])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_a736\": \"[5, 9, 15, 12, 15]\", \"k_5396\": \"[8, 14, 12, 12, 10]\", \"k_fd41\": \"[9, 14, 11, 12, 10]\", \"k_e526\": \"[8, 14, 15, 9, 10]\"}}}", "gold": "{\"output\": \"k_e526\"}"} -{"id": "gen_code:10", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v >= floor)\\n\\nresult = tally({'gibpc': 2, 'rbklc': 1, 'dyvo': 4, 'xtz': 5, 'drcxq': 5, 'ije': 4}, 5)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_2832\": \"['dyvo', 'xtz']\", \"k_1d3a\": \"['ije', 'xtz']\", \"k_f68c\": \"['drcxq', 'xtz']\", \"k_6255\": \"['rbklc', 'xtz']\"}}}", "gold": "{\"output\": \"k_f68c\"}"} -{"id": "gen_code:12", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v != floor)\\n\\nresult = tally({'bri': 7, 'lyyz': 3, 'cunr': 0, 'nqoa': 2, 'sfae': 7, 'jhry': 1}, 1)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_faa8\": \"['bri', 'cunr', 'lyyz', 'nqoa', 'sfae']\", \"k_d786\": \"['bri', 'cunr', 'jhry', 'lyyz', 'nqoa']\", \"k_96b2\": \"['bri', 'cunr', 'jhry', 'lyyz', 'sfae']\", \"k_454b\": \"['bri', 'cunr', 'jhry', 'nqoa', 'sfae']\"}}}", "gold": "{\"output\": \"k_faa8\"}"} -{"id": "gen_code:13", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v >= floor)\\n\\nresult = tally({'akc': 1, 'sty': 8, 'ufxf': 6, 'lrxem': 1, 'oun': 3, 'mpdt': 2}, 6)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_4029\": \"['sty', 'ufxf']\", \"k_8d1a\": \"['akc', 'ufxf']\", \"k_014f\": \"['lrxem', 'ufxf']\", \"k_fec5\": \"['mpdt', 'ufxf']\"}}}", "gold": "{\"output\": \"k_4029\"}"} -{"id": "gen_code:15", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v >= floor)\\n\\nresult = tally({'wav': 0, 'teg': 3, 'iqekm': 5, 'ifsh': 6, 'hheoz': 5, 'dyzw': 3}, 5)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_b106\": \"['dyzw', 'iqekm', 'teg']\", \"k_4045\": \"['hheoz', 'iqekm', 'wav']\", \"k_a048\": \"['dyzw', 'iqekm', 'wav']\", \"k_70cd\": \"['hheoz', 'ifsh', 'iqekm']\"}}}", "gold": "{\"output\": \"k_70cd\"}"} -{"id": "gen_code:16", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = max(total, v) + 1\\n return total\\n\\nresult = sweep([5, 12, 14, 20, 9], 9)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_fef6\": \"22\", \"k_ac49\": \"25\", \"k_e8f0\": \"24\", \"k_e394\": \"23\"}}}", "gold": "{\"output\": \"k_fef6\"}"} -{"id": "gen_code:17", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 - v\\n return total\\n\\nresult = sweep([6, 20, 16, 14, 9, 11], 17)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_180a\": \"235\", \"k_97bb\": \"107\", \"k_530c\": \"363\", \"k_c607\": \"59\"}}}", "gold": "{\"output\": \"k_530c\"}"} -{"id": "gen_code:18", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v >= floor)\\n\\nresult = tally({'qpsrr': 3, 'oxxy': 3, 'yjasg': 7, 'zsw': 0, 'ehgp': 5, 'ssfm': 1}, 1)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_fe78\": \"['ehgp', 'oxxy', 'ssfm', 'yjasg', 'zsw']\", \"k_bcb2\": \"['oxxy', 'qpsrr', 'ssfm', 'yjasg', 'zsw']\", \"k_c1de\": \"['ehgp', 'qpsrr', 'ssfm', 'yjasg', 'zsw']\", \"k_f5ee\": \"['ehgp', 'oxxy', 'qpsrr', 'ssfm', 'yjasg']\"}}}", "gold": "{\"output\": \"k_f5ee\"}"} -{"id": "gen_code:19", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a - b for a, b in zip(first, second)]\\n\\nresult = blend([5, 9, 7, 3, 5], [4, 1, 7, 2, 5])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_8a06\": \"[1, 8, 0, 1, 0]\", \"k_950e\": \"[4, -3, 5, -2, -4]\", \"k_3e21\": \"[-2, 4, -3, 1, 0]\", \"k_581b\": \"[-4, 1, 0, -1, 0]\"}}}", "gold": "{\"output\": \"k_8a06\"}"} -{"id": "gen_code:21", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v != floor)\\n\\nresult = tally({'ulbf': 6, 'ahonz': 7, 'kxaw': 7, 'luig': 1, 'qlge': 2, 'deph': 7}, 1)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_f49b\": \"['ahonz', 'deph', 'kxaw', 'luig', 'qlge']\", \"k_c803\": \"['ahonz', 'deph', 'kxaw', 'qlge', 'ulbf']\", \"k_bbb2\": \"['ahonz', 'deph', 'kxaw', 'luig', 'ulbf']\", \"k_5c4b\": \"['deph', 'kxaw', 'luig', 'qlge', 'ulbf']\"}}}", "gold": "{\"output\": \"k_c803\"}"} -{"id": "gen_code:22", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = max(total, v) + 1\\n return total\\n\\nresult = sweep([9, 9, 14, 7], 5)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_ab13\": \"16\", \"k_aa02\": \"17\", \"k_6c09\": \"15\", \"k_f90b\": \"18\"}}}", "gold": "{\"output\": \"k_ab13\"}"} -{"id": "gen_code:23", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 + v\\n return total\\n\\nresult = sweep([11, 14, 15, 9, 3, 9], 5)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_8642\": \"1139\", \"k_ad2b\": \"1055\", \"k_fc46\": \"1067\", \"k_ae16\": \"1003\"}}}", "gold": "{\"output\": \"k_fc46\"}"} -{"id": "gen_code:24", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = abs(total - v)\\n return total\\n\\nresult = sweep([12, 6, 11, 17], 12)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_0669\": \"10\", \"k_38db\": \"12\", \"k_0d5c\": \"2\", \"k_b5c5\": \"0\"}}}", "gold": "{\"output\": \"k_38db\"}"} -{"id": "gen_code:25", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 + v\\n return total\\n\\nresult = sweep([18, 15, 6, 1, 17, 7], 17)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_2d6b\": \"1825\", \"k_01d7\": \"2041\", \"k_7778\": \"2015\", \"k_f213\": \"1997\"}}}", "gold": "{\"output\": \"k_f213\"}"} -{"id": "gen_code:26", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v >= floor)\\n\\nresult = tally({'ynuo': 2, 'tezhy': 0, 'uvra': 3, 'wrzu': 7, 'eeaic': 6, 'rrr': 2}, 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_c293\": \"['eeaic', 'uvra', 'wrzu']\", \"k_d13b\": \"['eeaic', 'uvra', 'ynuo']\", \"k_4e40\": \"['uvra', 'wrzu', 'ynuo']\", \"k_9483\": \"['rrr', 'uvra', 'ynuo']\"}}}", "gold": "{\"output\": \"k_c293\"}"} -{"id": "gen_code:27", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = max(total, v) + 1\\n return total\\n\\nresult = sweep([19, 17, 3, 4], 9)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_feca\": \"20\", \"k_03fb\": \"23\", \"k_b578\": \"21\", \"k_271e\": \"22\"}}}", "gold": "{\"output\": \"k_03fb\"}"} -{"id": "gen_code:28", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = max(total, v) + 1\\n return total\\n\\nresult = sweep([9, 18, 10, 20, 17], 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_ff62\": \"22\", \"k_8562\": \"21\", \"k_3303\": \"25\", \"k_0b60\": \"23\"}}}", "gold": "{\"output\": \"k_ff62\"}"} -{"id": "gen_code:29", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size)]\\n\\nresult = window([1, 1, 5, 1, 0, 1, 5, 3, 4], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_2960\": \"[2, 6, 6, 1, 1, 6, 8]\", \"k_9b5a\": \"[6, 6, 2, 1, 5, 8, 7]\", \"k_e7c9\": \"[6, 6, 1, 1, 2, 6, 8]\", \"k_be05\": \"[6, 6, 2, 1, 4, 9, 8]\"}}}", "gold": "{\"output\": \"k_2960\"}"} -{"id": "gen_code:30", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [max(a, b) for a, b in zip(first, second)]\\n\\nresult = blend([2, 9, 2, 5, 1, 2], [6, 3, 6, 6, 5, 9])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_b5ae\": \"[3, 9, 6, 6, 5, 9]\", \"k_fc54\": \"[3, 6, 9, 6, 5, 9]\", \"k_7ade\": \"[3, 6, 6, 9, 5, 9]\", \"k_c799\": \"[6, 9, 6, 6, 5, 9]\"}}}", "gold": "{\"output\": \"k_c799\"}"} -{"id": "gen_code:31", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = max(total, v) + 1\\n return total\\n\\nresult = sweep([12, 6, 18, 1], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_dd0b\": \"20\", \"k_5057\": \"22\", \"k_33b6\": \"19\", \"k_7f72\": \"21\"}}}", "gold": "{\"output\": \"k_dd0b\"}"} -{"id": "gen_code:32", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [max(a, b) for a, b in zip(first, second)]\\n\\nresult = blend([6, 8, 1, 6, 1], [4, 8, 9, 5, 9])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_6ee6\": \"[6, 9, 9, 6, 1]\", \"k_9d34\": \"[9, 8, 8, 6, 9]\", \"k_fe98\": \"[6, 8, 9, 6, 9]\", \"k_fdb6\": \"[6, 9, 6, 8, 9]\"}}}", "gold": "{\"output\": \"k_fe98\"}"} -{"id": "gen_code:34", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 - v\\n return total\\n\\nresult = sweep([1, 3, 15, 4, 10], 8)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_8f75\": \"138\", \"k_9e4d\": \"3\", \"k_01f1\": \"-42\", \"k_7f12\": \"18\"}}}", "gold": "{\"output\": \"k_8f75\"}"} -{"id": "gen_code:35", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = max(total, v) + 1\\n return total\\n\\nresult = sweep([5, 12, 19, 18], 14)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_95fd\": \"23\", \"k_fefe\": \"22\", \"k_0094\": \"20\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"none_of_these\"}"} -{"id": "gen_code:36", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = max(total, v) + 1\\n return total\\n\\nresult = sweep([16, 11, 7, 12, 20], 14)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_8bbe\": \"22\", \"k_28ca\": \"25\", \"k_1288\": \"21\", \"k_c72e\": \"23\"}}}", "gold": "{\"output\": \"k_1288\"}"} -{"id": "gen_code:37", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = max(total, v) + 1\\n return total\\n\\nresult = sweep([13, 20, 16, 11, 2, 9], 8)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_0a3a\": \"21\", \"k_b2dd\": \"22\", \"k_6e96\": \"23\", \"k_3ef3\": \"25\"}}}", "gold": "{\"output\": \"k_3ef3\"}"} -{"id": "gen_code:38", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v > floor)\\n\\nresult = tally({'monh': 6, 'iqf': 2, 'teyfx': 1, 'duwn': 6, 'noaw': 1, 'oxvcv': 3}, 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_7805\": \"['duwn', 'monh', 'oxvcv']\", \"k_d3ee\": \"['iqf', 'oxvcv', 'teyfx']\", \"k_3fb8\": \"['monh', 'oxvcv', 'teyfx']\", \"k_e0e9\": \"['monh', 'noaw', 'teyfx']\"}}}", "gold": "{\"output\": \"k_7805\"}"} -{"id": "gen_code:39", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = max(total, v) + 1\\n return total\\n\\nresult = sweep([16, 6, 5, 16, 1, 4], 8)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_18c0\": \"21\", \"k_2671\": \"20\", \"k_3e64\": \"19\", \"k_1d61\": \"22\"}}}", "gold": "{\"output\": \"k_1d61\"}"} -{"id": "gen_code:40", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a - b for a, b in zip(first, second)]\\n\\nresult = blend([9, 7, 5, 9, 3, 6], [8, 1, 5, 3, 7, 4])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_2d4f\": \"[1, 6, 0, 6, -4, 2]\", \"k_dbb0\": \"[-4, 6, 2, 2, -2, -3]\", \"k_5527\": \"[-1, 8, 2, 2, -2, 2]\", \"k_b7ec\": \"[1, 2, -2, 2, -2, 2]\"}}}", "gold": "{\"output\": \"k_2d4f\"}"} -{"id": "gen_code:41", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(0, len(values), size)]\\n\\nresult = window([5, 5, 9, 8, 1, 0, 7, 1, 6], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_6e48\": \"[19, 9, 14]\", \"k_6497\": \"[22, 13, 7]\", \"k_f6ab\": \"[13, 15, 14]\", \"k_8274\": \"[18, 10, 14]\"}}}", "gold": "{\"output\": \"k_6e48\"}"} -{"id": "gen_code:42", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v > floor)\\n\\nresult = tally({'zqn': 6, 'fuam': 6, 'oqn': 1, 'fxepm': 1, 'korvi': 0, 'yeojf': 7}, 1)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_be91\": \"['oqn', 'yeojf', 'zqn']\", \"k_e210\": \"['fuam', 'fxepm', 'yeojf']\", \"k_9369\": \"['fuam', 'yeojf', 'zqn']\", \"k_46c1\": \"['fuam', 'oqn', 'yeojf']\"}}}", "gold": "{\"output\": \"k_9369\"}"} -{"id": "gen_code:43", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 + v\\n return total\\n\\nresult = sweep([1, 16, 2, 12, 1], 6)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_e502\": \"369\", \"k_0ddb\": \"284\", \"k_128c\": \"276\", \"k_32e7\": \"305\"}}}", "gold": "{\"output\": \"k_e502\"}"} -{"id": "gen_code:44", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v >= floor)\\n\\nresult = tally({'amtm': 5, 'axaw': 4, 'agzru': 2, 'zcuj': 1, 'nvlx': 2, 'hawzz': 7}, 5)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_cafe\": \"['amtm', 'hawzz']\", \"k_21c7\": \"['axaw', 'nvlx']\", \"k_3e79\": \"['agzru', 'hawzz']\", \"k_5ffc\": \"['axaw', 'hawzz']\"}}}", "gold": "{\"output\": \"k_cafe\"}"} -{"id": "gen_code:45", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = abs(total - v)\\n return total\\n\\nresult = sweep([14, 17, 8, 1], 12)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_e3c3\": \"8\", \"k_3956\": \"6\", \"k_ac87\": \"0\", \"k_c87a\": \"12\"}}}", "gold": "{\"output\": \"k_3956\"}"} -{"id": "gen_code:46", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(0, len(values), size)]\\n\\nresult = window([9, 1, 2, 2, 4, 9, 2], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_f07e\": \"[19, 6, 4]\", \"k_fe33\": \"[20, 7, 2]\", \"k_7333\": \"[12, 15, 2]\", \"k_b908\": \"[20, 8, 1]\"}}}", "gold": "{\"output\": \"k_7333\"}"} -{"id": "gen_code:47", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size)]\\n\\nresult = window([2, 1, 9, 1, 6, 9, 6, 7], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_2f60\": \"[8, 11, 10, 7, 15, 10]\", \"k_2741\": \"[9, 11, 10, 7, 15, 15]\", \"k_9c4c\": \"[10, 18, 10, 7, 8, 8]\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"none_of_these\"}"} -{"id": "gen_code:48", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size)]\\n\\nresult = window([5, 8, 4, 9, 9, 4, 1, 7, 5], 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_0719\": \"[25, 26, 23, 19, 22]\", \"k_1a94\": \"[27, 23, 26, 22, 20]\", \"k_7b3b\": \"[26, 30, 26, 23, 21]\", \"k_f3cb\": \"[25, 18, 19, 17, 18]\"}}}", "gold": "{\"output\": \"k_7b3b\"}"} -{"id": "gen_code:49", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a - b for a, b in zip(first, second)]\\n\\nresult = blend([8, 9, 6, 3, 7], [6, 8, 3, 7, 2])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_fdae\": \"[2, 2, 3, -5, 5]\", \"k_d346\": \"[2, 1, 3, -4, 5]\", \"k_4896\": \"[2, -5, 3, 2, 5]\", \"k_23c1\": \"[2, -1, 3, -4, 5]\"}}}", "gold": "{\"output\": \"k_d346\"}"} -{"id": "gen_code:50", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = max(total, v) + 1\\n return total\\n\\nresult = sweep([20, 4, 17, 19, 1], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_39e2\": \"23\", \"k_b367\": \"22\", \"k_4bf1\": \"24\", \"k_b0d3\": \"25\"}}}", "gold": "{\"output\": \"k_b0d3\"}"} -{"id": "gen_code:52", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = max(total, v) + 1\\n return total\\n\\nresult = sweep([6, 4, 15, 15, 20, 1], 15)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_4db5\": \"23\", \"k_8c2f\": \"22\", \"k_273f\": \"25\", \"k_6064\": \"26\"}}}", "gold": "{\"output\": \"k_8c2f\"}"} -{"id": "gen_code:53", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a - b for a, b in zip(first, second)]\\n\\nresult = blend([4, 8, 9, 4], [6, 6, 1, 6])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_6636\": \"[-2, 2, 8, -2]\", \"k_2d79\": \"[0, 3, 7, 0]\", \"k_0ed0\": \"[0, -1, 5, 0]\", \"k_0eb9\": \"[2, 2, 8, -2]\"}}}", "gold": "{\"output\": \"k_6636\"}"} -{"id": "gen_code:54", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v > floor)\\n\\nresult = tally({'avq': 3, 'dixo': 8, 'fyv': 6, 'syra': 8, 'erhn': 3, 'zqds': 2}, 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_4101\": \"['fyv', 'syra', 'zqds']\", \"k_0fc4\": \"['dixo', 'fyv', 'syra']\", \"k_3cc4\": \"['avq', 'fyv', 'syra']\", \"k_c086\": \"['avq', 'dixo', 'fyv']\"}}}", "gold": "{\"output\": \"k_0fc4\"}"} -{"id": "gen_code:55", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a * b for a, b in zip(first, reversed(second))]\\n\\nresult = blend([5, 7, 1, 8, 5], [3, 1, 2, 7, 5])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_8be3\": \"[5, 49, 10, 40, 3]\", \"k_d3c7\": \"[5, 49, 10, 5, 24]\", \"k_246e\": \"[25, 49, 2, 8, 15]\", \"k_43fe\": \"[5, 49, 15, 8, 10]\"}}}", "gold": "{\"output\": \"k_246e\"}"} -{"id": "gen_code:56", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = max(total, v) + 1\\n return total\\n\\nresult = sweep([11, 13, 4, 11, 18, 19], 0)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_13d3\": \"20\", \"k_c475\": \"22\", \"k_a891\": \"23\", \"k_db35\": \"24\"}}}", "gold": "{\"output\": \"k_13d3\"}"} -{"id": "gen_code:57", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [max(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([8, 7, 3, 1, 2, 6, 5, 9], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_89ee\": \"[7, 8, 8, 2, 9, 9, 6]\", \"k_eb80\": \"[8, 7, 3, 9, 9, 6, 5]\", \"k_33a8\": \"[8, 7, 3, 2, 6, 6, 9]\", \"k_37f2\": \"[8, 7, 5, 3, 2, 9, 9]\"}}}", "gold": "{\"output\": \"k_33a8\"}"} -{"id": "gen_code:58", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a - b for a, b in zip(first, second)]\\n\\nresult = blend([9, 7, 8, 2, 1, 1], [4, 6, 5, 5, 6, 2])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_b219\": \"[5, 1, 3, -3, -5, -1]\", \"k_d468\": \"[3, 3, 3, -3, -5, 1]\", \"k_2c2d\": \"[5, -5, 3, -3, 1, 1]\", \"k_5adf\": \"[5, 2, 2, -3, -5, 1]\"}}}", "gold": "{\"output\": \"k_b219\"}"} -{"id": "gen_code:59", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([2, 7, 5, 8, 6, 1], 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_1552\": \"[21, 20, 21]\", \"k_20c0\": \"[21, 23, 18]\", \"k_56f7\": \"[22, 26, 20]\", \"k_3c86\": \"[17, 22, 21]\"}}}", "gold": "{\"output\": \"k_56f7\"}"} -{"id": "gen_code:60", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [max(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([2, 8, 5, 2, 9, 1], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_18c9\": \"[8, 9, 9, 5, 5]\", \"k_b478\": \"[9, 9, 5, 5, 8]\", \"k_e60b\": \"[9, 8, 2, 5, 5]\", \"k_4d99\": \"[8, 8, 5, 9, 9]\"}}}", "gold": "{\"output\": \"k_4d99\"}"} -{"id": "gen_code:61", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v != floor)\\n\\nresult = tally({'dli': 7, 'fudi': 5, 'eos': 3, 'kvsup': 7, 'tbrep': 7, 'hfu': 0}, 7)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_5257\": \"['dli', 'eos', 'fudi']\", \"k_620f\": \"['eos', 'hfu', 'kvsup']\", \"k_1c9d\": \"['fudi', 'hfu', 'kvsup']\", \"k_eaf6\": \"['eos', 'fudi', 'hfu']\"}}}", "gold": "{\"output\": \"k_eaf6\"}"} -{"id": "gen_code:62", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v != floor)\\n\\nresult = tally({'ejmw': 2, 'ipze': 6, 'wmkl': 6, 'hgb': 8, 'isb': 2, 'ntjey': 2}, 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_9346\": \"['ejmw', 'ipze', 'ntjey']\", \"k_592a\": \"['ejmw', 'hgb', 'ipze']\", \"k_ddf3\": \"['hgb', 'ipze', 'wmkl']\", \"k_dba7\": \"['ejmw', 'hgb', 'isb']\"}}}", "gold": "{\"output\": \"k_ddf3\"}"} -{"id": "gen_code:63", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v > floor)\\n\\nresult = tally({'bgabo': 0, 'gcb': 8, 'mjap': 3, 'whd': 0, 'jlpfr': 6, 'qot': 8}, 6)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_1bbb\": \"['jlpfr', 'mjap']\", \"k_2204\": \"['mjap', 'qot']\", \"k_94bc\": \"['gcb', 'jlpfr']\", \"k_3833\": \"['gcb', 'qot']\"}}}", "gold": "{\"output\": \"k_3833\"}"} -{"id": "gen_code:64", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [max(a, b) for a, b in zip(first, second)]\\n\\nresult = blend([4, 9, 2, 8, 3, 8], [8, 6, 9, 9, 7, 1])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_c679\": \"[8, 9, 9, 9, 7, 8]\", \"k_8b01\": \"[8, 6, 9, 9, 7, 9]\", \"k_6f4c\": \"[8, 9, 9, 9, 8, 7]\", \"k_5861\": \"[8, 6, 9, 9, 9, 8]\"}}}", "gold": "{\"output\": \"k_c679\"}"} -{"id": "gen_code:65", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size)]\\n\\nresult = window([4, 2, 1, 1, 6, 0, 2, 3], 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_5123\": \"[8, 10, 8, 9]\", \"k_6c04\": \"[7, 11, 11, 13]\", \"k_e985\": \"[9, 13, 12, 11]\", \"k_2bdd\": \"[10, 14, 13, 12]\"}}}", "gold": "{\"output\": \"k_5123\"}"} -{"id": "gen_code:66", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v != floor)\\n\\nresult = tally({'iqhk': 8, 'ycsmw': 7, 'fgp': 6, 'tlkq': 1, 'fhpu': 5, 'kkau': 8}, 1)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_6e7d\": \"['fgp', 'fhpu', 'iqhk', 'kkau', 'ycsmw']\", \"k_a6eb\": \"['fgp', 'fhpu', 'kkau', 'tlkq', 'ycsmw']\", \"k_e73a\": \"['fhpu', 'iqhk', 'kkau', 'tlkq', 'ycsmw']\", \"k_952f\": \"['fgp', 'fhpu', 'iqhk', 'kkau', 'tlkq']\"}}}", "gold": "{\"output\": \"k_6e7d\"}"} -{"id": "gen_code:67", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 - v\\n return total\\n\\nresult = sweep([10, 17, 3, 11, 14, 18], 0)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_f537\": \"-588\", \"k_8d49\": \"-706\", \"k_ca66\": \"-818\", \"k_69a9\": \"-502\"}}}", "gold": "{\"output\": \"k_8d49\"}"} -{"id": "gen_code:68", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v != floor)\\n\\nresult = tally({'waybv': 2, 'gtn': 5, 'cqih': 5, 'zvvjk': 6, 'zpze': 6, 'zrxk': 6}, 6)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_53f7\": \"['cqih', 'gtn', 'waybv']\", \"k_e00b\": \"['waybv', 'zrxk', 'zvvjk']\", \"k_802f\": \"['cqih', 'waybv', 'zvvjk']\", \"k_431f\": \"['cqih', 'waybv', 'zrxk']\"}}}", "gold": "{\"output\": \"k_53f7\"}"} -{"id": "gen_code:69", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size)]\\n\\nresult = window([9, 5, 7, 2, 2, 5], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_b374\": \"[14, 12, 9, 4]\", \"k_b9ba\": \"[7, 11, 16, 9]\", \"k_11b6\": \"[7, 12, 9, 11]\", \"k_9690\": \"[11, 7, 10, 12]\"}}}", "gold": "{\"output\": \"k_b374\"}"} -{"id": "gen_code:70", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [max(a, b) for a, b in zip(first, second)]\\n\\nresult = blend([6, 4, 9, 6], [8, 3, 5, 6])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_f9b3\": \"[6, 9, 8, 6]\", \"k_6286\": \"[8, 4, 9, 6]\", \"k_6f5e\": \"[8, 5, 9, 6]\", \"k_0fb9\": \"[8, 5, 6, 9]\"}}}", "gold": "{\"output\": \"k_6286\"}"} -{"id": "gen_code:71", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a + b for a, b in zip(first, second)]\\n\\nresult = blend([5, 4, 6, 4, 3], [5, 2, 1, 8, 2])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_e743\": \"[8, 10, 7, 8, 7]\", \"k_ae24\": \"[10, 6, 7, 12, 5]\", \"k_fe75\": \"[10, 10, 5, 10, 5]\", \"k_3a52\": \"[10, 10, 7, 8, 5]\"}}}", "gold": "{\"output\": \"k_ae24\"}"} -{"id": "gen_code:72", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a * b for a, b in zip(first, reversed(second))]\\n\\nresult = blend([7, 5, 6, 2, 7, 5], [1, 7, 8, 5, 2, 1])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_e1da\": \"[7, 10, 30, 16, 49, 5]\", \"k_9756\": \"[7, 10, 40, 10, 49, 6]\", \"k_746d\": \"[5, 12, 16, 35, 49, 5]\", \"k_e52a\": \"[7, 10, 48, 10, 35, 7]\"}}}", "gold": "{\"output\": \"k_e1da\"}"} -{"id": "gen_code:73", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v != floor)\\n\\nresult = tally({'vppfh': 0, 'afmo': 4, 'sypda': 8, 'mlwl': 8, 'rap': 1, 'txp': 5}, 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_3f3d\": \"['afmo', 'mlwl', 'sypda', 'txp', 'vppfh']\", \"k_a95d\": \"['afmo', 'mlwl', 'rap', 'txp', 'vppfh']\", \"k_51a8\": \"['afmo', 'mlwl', 'rap', 'sypda', 'txp']\", \"k_fd15\": \"['mlwl', 'rap', 'sypda', 'txp', 'vppfh']\"}}}", "gold": "{\"output\": \"k_fd15\"}"} -{"id": "gen_code:74", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v >= floor)\\n\\nresult = tally({'zjv': 8, 'fjdw': 8, 'ulnpi': 2, 'mtovq': 5, 'mveu': 0, 'xal': 5}, 8)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_515e\": \"['fjdw', 'xal']\", \"k_eb54\": \"['ulnpi', 'zjv']\", \"k_96d0\": \"['fjdw', 'zjv']\", \"k_2dfe\": \"['fjdw', 'mtovq']\"}}}", "gold": "{\"output\": \"k_96d0\"}"} -{"id": "gen_code:75", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a * b for a, b in zip(first, reversed(second))]\\n\\nresult = blend([1, 4, 4, 8], [9, 6, 1, 3])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_84b8\": \"[18, 4, 4, 72]\", \"k_05e5\": \"[3, 48, 4, 36]\", \"k_5923\": \"[3, 4, 24, 72]\", \"k_f377\": \"[1, 24, 12, 72]\"}}}", "gold": "{\"output\": \"k_5923\"}"} -{"id": "gen_code:76", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v > floor)\\n\\nresult = tally({'cpvl': 8, 'mrvgm': 6, 'iwa': 1, 'eam': 1, 'fwo': 7, 'hqalr': 1}, 1)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_7e2f\": \"['cpvl', 'fwo', 'hqalr']\", \"k_8398\": \"['cpvl', 'eam', 'iwa']\", \"k_ec58\": \"['cpvl', 'eam', 'fwo']\", \"k_c383\": \"['cpvl', 'fwo', 'mrvgm']\"}}}", "gold": "{\"output\": \"k_c383\"}"} -{"id": "gen_code:77", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([8, 2, 4, 1, 7, 1, 8, 2], 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_b268\": \"[22, 15, 20, 13, 11]\", \"k_6ca3\": \"[15, 14, 13, 17, 18]\", \"k_072f\": \"[21, 14, 13, 8, 12]\", \"k_43f0\": \"[15, 14, 11, 12, 18]\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"k_6ca3\"}"} -{"id": "gen_code:78", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v != floor)\\n\\nresult = tally({'ybbl': 5, 'fcpl': 1, 'qvxf': 5, 'ysmh': 7, 'hyang': 7, 'yjiij': 2}, 5)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_56f1\": \"['fcpl', 'hyang', 'yjiij', 'ysmh']\", \"k_55b9\": \"['hyang', 'qvxf', 'yjiij', 'ysmh']\", \"k_06f0\": \"['hyang', 'qvxf', 'ybbl', 'yjiij']\", \"k_73ba\": \"['fcpl', 'hyang', 'qvxf', 'yjiij']\"}}}", "gold": "{\"output\": \"k_56f1\"}"} -{"id": "gen_code:79", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [max(a, b) for a, b in zip(first, second)]\\n\\nresult = blend([6, 5, 4, 2, 3, 3], [4, 3, 9, 1, 7, 1])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_7cd6\": \"[6, 5, 9, 2, 7, 3]\", \"k_a51b\": \"[6, 9, 4, 5, 7, 3]\", \"k_8fde\": \"[4, 5, 4, 9, 7, 6]\", \"k_a988\": \"[7, 5, 4, 3, 9, 3]\"}}}", "gold": "{\"output\": \"k_7cd6\"}"} -{"id": "gen_code:80", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a * b for a, b in zip(first, reversed(second))]\\n\\nresult = blend([7, 3, 3, 5, 8], [6, 1, 8, 1, 3])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_b7ae\": \"[42, 9, 8, 5, 24]\", \"k_0b1b\": \"[42, 3, 24, 5, 24]\", \"k_e8bd\": \"[21, 3, 24, 5, 48]\", \"k_dd6d\": \"[42, 3, 24, 40, 3]\"}}}", "gold": "{\"output\": \"k_e8bd\"}"} -{"id": "gen_code:81", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 + v\\n return total\\n\\nresult = sweep([8, 7, 4, 11, 8], 8)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_cae0\": \"540\", \"k_c812\": \"460\", \"k_1b03\": \"486\", \"k_36b1\": \"450\"}}}", "gold": "{\"output\": \"k_1b03\"}"} -{"id": "gen_code:82", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v != floor)\\n\\nresult = tally({'tkxxj': 5, 'guka': 3, 'qhc': 0, 'nto': 5, 'svze': 1, 'croh': 0}, 0)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_1e6c\": \"['croh', 'nto', 'qhc', 'svze']\", \"k_0c01\": \"['guka', 'nto', 'svze', 'tkxxj']\", \"k_324c\": \"['croh', 'guka', 'nto', 'svze']\", \"k_d706\": \"['guka', 'nto', 'qhc', 'svze']\"}}}", "gold": "{\"output\": \"k_0c01\"}"} -{"id": "gen_code:83", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(0, len(values), size)]\\n\\nresult = window([9, 9, 0, 6, 1, 1, 1], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_47df\": \"[19, 7, 1]\", \"k_ec10\": \"[16, 10, 1]\", \"k_e69f\": \"[18, 8, 1]\", \"k_9c2e\": \"[11, 7, 9]\"}}}", "gold": "{\"output\": \"k_e69f\"}"} -{"id": "gen_code:84", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v > floor)\\n\\nresult = tally({'rzj': 5, 'ijk': 2, 'val': 0, 'rkk': 1, 'dyfv': 0, 'igs': 4}, 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_cf59\": \"['igs', 'rzj']\", \"k_d41c\": \"['dyfv', 'ijk']\", \"k_5caf\": \"['igs', 'ijk']\", \"k_7a9a\": \"['ijk', 'rkk']\"}}}", "gold": "{\"output\": \"k_cf59\"}"} -{"id": "gen_code:85", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a - b for a, b in zip(first, second)]\\n\\nresult = blend([6, 7, 4, 4], [5, 8, 9, 4])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_6928\": \"[1, -1, 0, 5]\", \"k_f7ee\": \"[1, -1, 5, 0]\", \"k_32db\": \"[1, -1, -5, 0]\", \"k_51f2\": \"[2, -1, 0, -4]\"}}}", "gold": "{\"output\": \"k_32db\"}"} -{"id": "gen_code:86", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v > floor)\\n\\nresult = tally({'htk': 6, 'pmjkr': 1, 'yltyl': 7, 'ftimt': 3, 'yjb': 4, 'wwn': 7}, 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_71e0\": \"['htk', 'yjb', 'yltyl']\", \"k_292a\": \"['htk', 'wwn', 'yltyl']\", \"k_67b5\": \"['htk', 'pmjkr', 'yltyl']\", \"k_bb93\": \"['ftimt', 'wwn', 'yltyl']\"}}}", "gold": "{\"output\": \"k_292a\"}"} -{"id": "gen_code:87", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a * b for a, b in zip(first, reversed(second))]\\n\\nresult = blend([4, 5, 1, 5, 4, 7], [1, 4, 5, 7, 3, 1])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_1b6c\": \"[4, 15, 7, 25, 16, 7]\", \"k_26e7\": \"[4, 5, 7, 15, 16, 35]\", \"k_9124\": \"[4, 25, 7, 15, 4, 28]\", \"k_3e38\": \"[4, 25, 1, 15, 16, 49]\"}}}", "gold": "{\"output\": \"k_1b6c\"}"} -{"id": "gen_code:88", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v < floor)\\n\\nresult = tally({'budpt': 3, 'hklu': 6, 'fcju': 2, 'ivbqk': 6, 'qjs': 1, 'yhq': 6}, 6)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_dc06\": \"['fcju', 'hklu', 'qjs']\", \"k_63eb\": \"['budpt', 'fcju', 'qjs']\", \"k_4022\": \"['fcju', 'hklu', 'yhq']\", \"k_4ebf\": \"['budpt', 'fcju', 'hklu']\"}}}", "gold": "{\"output\": \"k_63eb\"}"} -{"id": "gen_code:89", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(0, len(values), size)]\\n\\nresult = window([7, 3, 7, 8, 0, 3, 5, 3], 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_3d10\": \"[17, 19]\", \"k_e75c\": \"[18, 18]\", \"k_2be3\": \"[21, 15]\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"none_of_these\"}"} -{"id": "gen_code:90", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([3, 5, 7, 1, 1, 1], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_df1f\": \"[10, 8, 6, 2, 2]\", \"k_55ee\": \"[8, 12, 8, 2, 2]\", \"k_987e\": \"[12, 8, 4, 2, 2]\", \"k_c602\": \"[8, 6, 8, 8, 2]\"}}}", "gold": "{\"output\": \"k_55ee\"}"} -{"id": "gen_code:92", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 - v\\n return total\\n\\nresult = sweep([18, 3, 19], 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_91da\": \"-83\", \"k_c004\": \"-36\", \"k_313b\": \"-65\", \"k_e31b\": \"-81\"}}}", "gold": "{\"output\": \"k_313b\"}"} -{"id": "gen_code:93", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 - v\\n return total\\n\\nresult = sweep([4, 20, 17, 6, 18], 1)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_746c\": \"-366\", \"k_29ad\": \"-430\", \"k_6867\": \"-290\", \"k_302f\": \"-212\"}}}", "gold": "{\"output\": \"k_6867\"}"} -{"id": "gen_code:94", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v >= floor)\\n\\nresult = tally({'mkhxp': 8, 'yts': 7, 'klcef': 5, 'joy': 6, 'vxzo': 2, 'nct': 0}, 5)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_69d2\": \"['klcef', 'mkhxp', 'vxzo', 'yts']\", \"k_2159\": \"['joy', 'mkhxp', 'nct', 'yts']\", \"k_1af6\": \"['joy', 'klcef', 'mkhxp', 'nct']\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"none_of_these\"}"} -{"id": "gen_code:95", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a * b for a, b in zip(first, reversed(second))]\\n\\nresult = blend([8, 5, 3, 6, 4, 4], [1, 2, 4, 7, 3, 9])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_49be\": \"[72, 15, 21, 24, 8, 4]\", \"k_cf88\": \"[72, 12, 21, 12, 20, 4]\", \"k_c9a7\": \"[63, 15, 24, 12, 16, 4]\", \"k_a998\": \"[72, 15, 21, 2, 16, 24]\"}}}", "gold": "{\"output\": \"k_49be\"}"} -{"id": "gen_code:96", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 + v\\n return total\\n\\nresult = sweep([17, 17, 8, 19, 7, 11], 11)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_d4d6\": \"1599\", \"k_f1a2\": \"1589\", \"k_fb7d\": \"1601\", \"k_707c\": \"1685\"}}}", "gold": "{\"output\": \"k_707c\"}"} -{"id": "gen_code:97", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v >= floor)\\n\\nresult = tally({'tahuk': 6, 'vwi': 5, 'qbtqq': 3, 'bgwb': 8, 'tcaag': 8, 'jtl': 2}, 8)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_4a5d\": \"['bgwb', 'tahuk']\", \"k_38a6\": \"['bgwb', 'jtl']\", \"k_73a2\": \"['bgwb', 'tcaag']\", \"k_e44b\": \"['jtl', 'vwi']\"}}}", "gold": "{\"output\": \"k_73a2\"}"} -{"id": "gen_code:98", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size)]\\n\\nresult = window([5, 0, 9, 6, 5, 2, 7, 7], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_48b6\": \"[5, 5, 7, 11, 15, 13]\", \"k_7375\": \"[5, 9, 14, 11, 13, 14]\", \"k_7a04\": \"[5, 9, 15, 11, 7, 9]\", \"k_f7dc\": \"[5, 9, 16, 12, 11, 8]\"}}}", "gold": "{\"output\": \"k_7a04\"}"} -{"id": "gen_code:99", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [max(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([4, 5, 6, 4, 7, 2, 2, 4], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_6e5b\": \"[6, 7, 7, 7, 5, 5]\", \"k_98a3\": \"[4, 6, 7, 7, 7, 5]\", \"k_302b\": \"[6, 6, 7, 7, 7, 5]\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"none_of_these\"}"} -{"id": "gen_code:100", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = max(total, v) + 1\\n return total\\n\\nresult = sweep([14, 8, 5, 1, 13, 10], 11)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_18a9\": \"18\", \"k_f3cd\": \"19\", \"k_9642\": \"17\", \"k_df6c\": \"20\"}}}", "gold": "{\"output\": \"k_df6c\"}"} -{"id": "gen_code:102", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = abs(total - v)\\n return total\\n\\nresult = sweep([3, 9, 19, 18, 3, 19], 10)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_842e\": \"1\", \"k_9751\": \"7\", \"k_af07\": \"13\", \"k_eba3\": \"17\"}}}", "gold": "{\"output\": \"k_eba3\"}"} -{"id": "gen_code:103", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a * b for a, b in zip(first, reversed(second))]\\n\\nresult = blend([3, 7, 9, 6, 2, 4], [4, 3, 4, 6, 1, 9])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_37b4\": \"[27, 7, 54, 24, 6, 16]\", \"k_e497\": \"[3, 81, 42, 24, 6, 16]\", \"k_25b3\": \"[6, 63, 54, 24, 3, 16]\", \"k_bf15\": \"[3, 63, 36, 36, 6, 16]\"}}}", "gold": "{\"output\": \"k_37b4\"}"} -{"id": "gen_code:104", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = max(total, v) + 1\\n return total\\n\\nresult = sweep([1, 5, 7, 18, 13], 14)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_06dc\": \"19\", \"k_f89b\": \"23\", \"k_beed\": \"21\", \"k_889b\": \"20\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"k_889b\"}"} -{"id": "gen_code:105", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v != floor)\\n\\nresult = tally({'fscyd': 3, 'idh': 3, 'kpjc': 4, 'ojeny': 7, 'xosj': 8, 'tqw': 7}, 7)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_3508\": \"['fscyd', 'ojeny', 'tqw', 'xosj']\", \"k_3e3a\": \"['idh', 'kpjc', 'ojeny', 'xosj']\", \"k_1233\": \"['fscyd', 'idh', 'kpjc', 'xosj']\", \"k_d657\": \"['kpjc', 'ojeny', 'tqw', 'xosj']\"}}}", "gold": "{\"output\": \"k_1233\"}"} -{"id": "gen_code:106", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 - v\\n return total\\n\\nresult = sweep([3, 4, 11, 4, 3, 3], 1)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_fded\": \"-181\", \"k_25b8\": \"-262\", \"k_8406\": \"-225\", \"k_590d\": \"-209\"}}}", "gold": "{\"output\": \"k_590d\"}"} -{"id": "gen_code:107", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([3, 3, 0, 4, 0, 1, 3, 2], 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_156a\": \"[6, 10, 8, 11, 10]\", \"k_dfe3\": \"[10, 7, 5, 4, 6]\", \"k_a8d0\": \"[10, 7, 5, 8, 6]\", \"k_36cb\": \"[8, 9, 7, 10, 8]\"}}}", "gold": "{\"output\": \"k_a8d0\"}"} -{"id": "gen_code:108", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [max(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([9, 2, 1, 2, 7, 5, 8, 4], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_ae05\": \"[9, 5, 7, 7, 2, 8, 8]\", \"k_9106\": \"[9, 2, 2, 7, 7, 8, 8]\", \"k_d7b4\": \"[9, 7, 7, 2, 5, 8, 8]\", \"k_6fcc\": \"[9, 7, 7, 5, 5, 8, 8]\"}}}", "gold": "{\"output\": \"k_9106\"}"} -{"id": "gen_code:109", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [max(a, b) for a, b in zip(first, second)]\\n\\nresult = blend([6, 5, 2, 1], [4, 6, 5, 1])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_86cb\": \"[6, 6, 5, 2]\", \"k_466c\": \"[6, 5, 5, 1]\", \"k_0942\": \"[6, 5, 2, 5]\", \"k_2f7b\": \"[6, 6, 5, 1]\"}}}", "gold": "{\"output\": \"k_2f7b\"}"} -{"id": "gen_code:110", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v != floor)\\n\\nresult = tally({'nrt': 0, 'obc': 2, 'egra': 1, 'qapfl': 8, 'rofjv': 8, 'bfii': 1}, 0)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_a1fa\": \"['bfii', 'egra', 'obc', 'qapfl', 'rofjv']\", \"k_232f\": \"['egra', 'nrt', 'obc', 'qapfl', 'rofjv']\", \"k_b33e\": \"['bfii', 'egra', 'nrt', 'obc', 'rofjv']\", \"k_aa54\": \"['bfii', 'egra', 'nrt', 'qapfl', 'rofjv']\"}}}", "gold": "{\"output\": \"k_a1fa\"}"} -{"id": "gen_code:111", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 - v\\n return total\\n\\nresult = sweep([8, 18, 11, 7, 20], 9)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_eab7\": \"-134\", \"k_8fc3\": \"-2\", \"k_126f\": \"-75\", \"k_4b3b\": \"-62\"}}}", "gold": "{\"output\": \"k_4b3b\"}"} -{"id": "gen_code:112", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(0, len(values), size)]\\n\\nresult = window([9, 3, 6, 4, 5, 5, 9], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_4d18\": \"[12, 10, 10, 9]\", \"k_3745\": \"[15, 13, 10, 3]\", \"k_931d\": \"[14, 10, 14, 3]\", \"k_deb7\": \"[18, 9, 11, 3]\"}}}", "gold": "{\"output\": \"k_4d18\"}"} -{"id": "gen_code:114", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 + v\\n return total\\n\\nresult = sweep([8, 17, 4, 15, 9], 10)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_f1c5\": \"581\", \"k_99de\": \"585\", \"k_24a2\": \"654\", \"k_9c13\": \"639\"}}}", "gold": "{\"output\": \"k_9c13\"}"} -{"id": "gen_code:115", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = abs(total - v)\\n return total\\n\\nresult = sweep([13, 8, 5, 15, 9, 9], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_08cb\": \"11\", \"k_421d\": \"5\", \"k_4456\": \"7\", \"k_b171\": \"13\"}}}", "gold": "{\"output\": \"k_421d\"}"} -{"id": "gen_code:116", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([7, 6, 7, 0, 8, 4, 8, 6, 6], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_e2f1\": \"[7, 13, 13, 13, 14, 12, 12, 14]\", \"k_04bf\": \"[13, 13, 13, 14, 16, 14, 6, 4]\", \"k_c442\": \"[13, 13, 7, 8, 12, 12, 14, 12]\", \"k_f985\": \"[13, 12, 14, 12, 12, 14, 13, 7]\"}}}", "gold": "{\"output\": \"k_c442\"}"} -{"id": "gen_code:118", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = abs(total - v)\\n return total\\n\\nresult = sweep([17, 16, 16, 15, 20, 17], 10)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_9d00\": \"13\", \"k_cbeb\": \"15\", \"k_7266\": \"5\", \"k_925a\": \"17\"}}}", "gold": "{\"output\": \"k_7266\"}"} -{"id": "gen_code:119", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v > floor)\\n\\nresult = tally({'xrcq': 6, 'qwtjt': 8, 'jhsrf': 6, 'htoas': 0, 'ockp': 7, 'ocq': 8}, 6)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_3b9a\": \"['htoas', 'jhsrf', 'ocq']\", \"k_793f\": \"['jhsrf', 'ockp', 'qwtjt']\", \"k_c003\": \"['ocq', 'qwtjt', 'xrcq']\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"none_of_these\"}"} -{"id": "gen_code:120", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v != floor)\\n\\nresult = tally({'nlmr': 5, 'ivyz': 5, 'cyaub': 1, 'lbj': 2, 'aue': 4, 'gmfz': 8}, 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_77b0\": \"['aue', 'cyaub', 'gmfz', 'ivyz', 'nlmr']\", \"k_c007\": \"['aue', 'cyaub', 'ivyz', 'lbj', 'nlmr']\", \"k_268d\": \"['aue', 'cyaub', 'gmfz', 'ivyz', 'lbj']\", \"k_a352\": \"['cyaub', 'gmfz', 'ivyz', 'lbj', 'nlmr']\"}}}", "gold": "{\"output\": \"k_a352\"}"} -{"id": "gen_code:121", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [max(a, b) for a, b in zip(first, second)]\\n\\nresult = blend([3, 6, 2, 7, 3, 3], [5, 4, 3, 8, 7, 1])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_87d5\": \"[8, 7, 5, 7, 3, 3]\", \"k_a92b\": \"[4, 7, 5, 7, 8, 3]\", \"k_8234\": \"[5, 6, 3, 8, 7, 3]\", \"k_ba31\": \"[7, 6, 5, 7, 8, 3]\"}}}", "gold": "{\"output\": \"k_8234\"}"} -{"id": "gen_code:122", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v < floor)\\n\\nresult = tally({'lvuzi': 7, 'mrshh': 7, 'olnkn': 2, 'fino': 7, 'vzlpb': 4, 'bdnaa': 4}, 7)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_d1e8\": \"['fino', 'olnkn', 'vzlpb']\", \"k_f4aa\": \"['bdnaa', 'olnkn', 'vzlpb']\", \"k_bb61\": \"['lvuzi', 'olnkn', 'vzlpb']\", \"k_9116\": \"['bdnaa', 'mrshh', 'olnkn']\"}}}", "gold": "{\"output\": \"k_f4aa\"}"} -{"id": "gen_code:123", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = abs(total - v)\\n return total\\n\\nresult = sweep([14, 19, 17, 9, 9], 1)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_87a2\": \"7\", \"k_7dd7\": \"3\", \"k_096c\": \"11\", \"k_ca63\": \"1\"}}}", "gold": "{\"output\": \"k_87a2\"}"} -{"id": "gen_code:124", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v >= floor)\\n\\nresult = tally({'ksz': 5, 'qnzs': 4, 'hurv': 0, 'jls': 7, 'lflqt': 5, 'cflu': 8}, 8)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_9f96\": \"['jls']\", \"k_2352\": \"['cflu']\", \"k_3ff8\": \"['hurv']\", \"k_9075\": \"['lflqt']\"}}}", "gold": "{\"output\": \"k_2352\"}"} -{"id": "gen_code:125", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a - b for a, b in zip(first, second)]\\n\\nresult = blend([6, 7, 4, 4, 5], [5, 8, 5, 8, 9])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_6127\": \"[1, -1, -4, -4, 1]\", \"k_4c91\": \"[1, 2, 1, -4, -1]\", \"k_3e7c\": \"[1, -1, 4, -1, -4]\", \"k_3f4c\": \"[1, -1, -1, -4, -4]\"}}}", "gold": "{\"output\": \"k_3f4c\"}"} -{"id": "gen_code:126", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a * b for a, b in zip(first, reversed(second))]\\n\\nresult = blend([2, 5, 5, 6, 9], [4, 5, 4, 6, 3])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_8e87\": \"[6, 30, 20, 30, 36]\", \"k_c841\": \"[18, 12, 16, 25, 45]\", \"k_0545\": \"[6, 24, 25, 30, 36]\", \"k_4b36\": \"[6, 24, 20, 54, 25]\"}}}", "gold": "{\"output\": \"k_8e87\"}"} -{"id": "gen_code:127", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a + b for a, b in zip(first, second)]\\n\\nresult = blend([8, 5, 8, 2, 5], [2, 3, 6, 2, 2])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_c4d1\": \"[4, 5, 14, 13, 7]\", \"k_5bb3\": \"[4, 8, 14, 7, 10]\", \"k_8fdf\": \"[4, 11, 11, 10, 7]\", \"k_2a9c\": \"[10, 8, 14, 4, 7]\"}}}", "gold": "{\"output\": \"k_2a9c\"}"} -{"id": "gen_code:128", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v < floor)\\n\\nresult = tally({'eidkm': 2, 'gppi': 2, 'rmrqy': 2, 'lieeq': 7, 'fqka': 7, 'jxa': 7}, 7)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_c1e0\": \"['eidkm', 'jxa', 'rmrqy']\", \"k_c2e2\": \"['eidkm', 'gppi', 'lieeq']\", \"k_d209\": \"['jxa', 'lieeq', 'rmrqy']\", \"k_f771\": \"['eidkm', 'gppi', 'rmrqy']\"}}}", "gold": "{\"output\": \"k_f771\"}"} -{"id": "gen_code:129", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [max(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([1, 9, 3, 1, 2, 0], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_b452\": \"[3, 3, 2, 2, 9]\", \"k_a10e\": \"[3, 1, 2, 2, 9]\", \"k_e9e1\": \"[9, 9, 3, 2, 2]\", \"k_a03d\": \"[3, 9, 9, 2, 1]\"}}}", "gold": "{\"output\": \"k_e9e1\"}"} -{"id": "gen_code:130", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v > floor)\\n\\nresult = tally({'soxev': 3, 'oyggx': 5, 'nix': 1, 'dmb': 6, 'lgrz': 7, 'hzs': 6}, 5)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_cbeb\": \"['dmb', 'hzs', 'lgrz']\", \"k_6290\": \"['dmb', 'hzs', 'nix']\", \"k_29fe\": \"['hzs', 'lgrz', 'nix']\", \"k_8dc1\": \"['lgrz', 'nix', 'oyggx']\"}}}", "gold": "{\"output\": \"k_cbeb\"}"} -{"id": "gen_code:131", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 + v\\n return total\\n\\nresult = sweep([4, 19, 2, 2, 4], 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_e4dc\": \"360\", \"k_f847\": \"472\", \"k_f6f0\": \"474\", \"k_40a3\": \"480\"}}}", "gold": "{\"output\": \"k_e4dc\"}"} -{"id": "gen_code:132", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([9, 3, 1, 7, 0, 3, 7], 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_4b2c\": \"[11, 11, 19, 19]\", \"k_1154\": \"[11, 11, 19, 26]\", \"k_67d2\": \"[20, 11, 11, 17]\", \"k_29fd\": \"[11, 11, 13, 19]\"}}}", "gold": "{\"output\": \"k_67d2\"}"} -{"id": "gen_code:133", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 - v\\n return total\\n\\nresult = sweep([15, 8, 7, 5, 8, 18], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_7b87\": \"-551\", \"k_2de3\": \"-401\", \"k_ed1c\": \"-562\", \"k_a49a\": \"-526\"}}}", "gold": "{\"output\": \"k_a49a\"}"} -{"id": "gen_code:134", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = max(total, v) + 1\\n return total\\n\\nresult = sweep([18, 12, 14, 17, 3, 14], 5)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_dbb9\": \"24\", \"k_67ee\": \"23\", \"k_49d1\": \"20\", \"k_ea3f\": \"22\"}}}", "gold": "{\"output\": \"k_dbb9\"}"} -{"id": "gen_code:135", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([9, 2, 0, 7, 8, 0, 5, 5], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_063b\": \"[11, 2, 5, 12, 15, 8, 5]\", \"k_f9ad\": \"[11, 7, 5, 8, 8, 5, 12]\", \"k_25bb\": \"[2, 7, 12, 15, 17, 14, 5]\", \"k_3ac6\": \"[11, 2, 7, 15, 8, 5, 10]\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"k_3ac6\"}"} -{"id": "gen_code:136", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a - b for a, b in zip(first, second)]\\n\\nresult = blend([1, 5, 1, 5, 8], [1, 7, 3, 8, 2])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_1bc1\": \"[0, 2, 1, 4, 6]\", \"k_f5a4\": \"[0, 5, -6, -3, 3]\", \"k_f6cd\": \"[0, 2, -7, -2, 6]\", \"k_225a\": \"[0, -2, -2, -3, 6]\"}}}", "gold": "{\"output\": \"k_225a\"}"} -{"id": "gen_code:137", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = max(total, v) + 1\\n return total\\n\\nresult = sweep([5, 16, 6, 13, 1], 1)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_8962\": \"17\", \"k_cf14\": \"18\", \"k_9ad0\": \"20\", \"k_79be\": \"19\"}}}", "gold": "{\"output\": \"k_9ad0\"}"} -{"id": "gen_code:138", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v > floor)\\n\\nresult = tally({'yywfj': 2, 'upp': 5, 'rgzlc': 8, 'vjtdn': 5, 'ilik': 1, 'kvvib': 0}, 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_7d8a\": \"['ilik', 'kvvib', 'vjtdn']\", \"k_843d\": \"['ilik', 'kvvib', 'upp']\", \"k_5fdf\": \"['kvvib', 'vjtdn', 'yywfj']\", \"k_3b12\": \"['rgzlc', 'upp', 'vjtdn']\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"k_3b12\"}"} -{"id": "gen_code:139", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = max(total, v) + 1\\n return total\\n\\nresult = sweep([5, 10, 19, 12, 15], 9)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_d786\": \"22\", \"k_e241\": \"23\", \"k_a169\": \"21\", \"k_40ad\": \"24\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"k_d786\"}"} -{"id": "gen_code:140", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v > floor)\\n\\nresult = tally({'tptd': 5, 'tfc': 0, 'wrqv': 0, 'jvpv': 5, 'ggnk': 0, 'zhth': 8}, 0)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_7479\": \"['ggnk', 'jvpv', 'zhth']\", \"k_d57a\": \"['tptd', 'wrqv', 'zhth']\", \"k_fd59\": \"['jvpv', 'tptd', 'zhth']\", \"k_d4b0\": \"['jvpv', 'tfc', 'tptd']\"}}}", "gold": "{\"output\": \"k_fd59\"}"} -{"id": "gen_code:141", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v >= floor)\\n\\nresult = tally({'ras': 8, 'leyr': 2, 'ttuk': 3, 'esp': 3, 'fjy': 5, 'pyzg': 1}, 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_d076\": \"['esp', 'fjy', 'leyr', 'ras']\", \"k_89b8\": \"['esp', 'fjy', 'ras', 'ttuk']\", \"k_559b\": \"['esp', 'fjy', 'leyr', 'pyzg']\", \"k_e098\": \"['esp', 'fjy', 'pyzg', 'ras']\"}}}", "gold": "{\"output\": \"k_89b8\"}"} -{"id": "gen_code:142", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a - b for a, b in zip(first, second)]\\n\\nresult = blend([6, 3, 9, 2, 6], [7, 2, 5, 1, 8])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_ceb0\": \"[-1, 1, -4, 1, -2]\", \"k_8d16\": \"[1, 1, -4, 1, 0]\", \"k_02f5\": \"[-1, 1, 4, 1, -2]\", \"k_6f0d\": \"[-1, 1, -4, 7, 4]\"}}}", "gold": "{\"output\": \"k_02f5\"}"} -{"id": "gen_code:143", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = abs(total - v)\\n return total\\n\\nresult = sweep([8, 17, 4, 5, 15], 9)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_53f1\": \"0\", \"k_b0ba\": \"2\", \"k_8c67\": \"8\", \"k_9db1\": \"6\"}}}", "gold": "{\"output\": \"k_8c67\"}"} -{"id": "gen_code:144", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v > floor)\\n\\nresult = tally({'pbr': 7, 'mmq': 8, 'ywag': 4, 'iuicd': 2, 'knae': 2, 'rem': 4}, 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_92ea\": \"['mmq', 'pbr', 'rem', 'ywag']\", \"k_7261\": \"['iuicd', 'pbr', 'rem', 'ywag']\", \"k_e2fc\": \"['iuicd', 'mmq', 'rem', 'ywag']\", \"k_e318\": \"['iuicd', 'mmq', 'pbr', 'rem']\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"k_92ea\"}"} -{"id": "gen_code:145", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v > floor)\\n\\nresult = tally({'mmsy': 7, 'ecx': 1, 'zoc': 6, 'asl': 1, 'erhkj': 0, 'ykfct': 3}, 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_dfcb\": \"['asl', 'ykfct']\", \"k_3544\": \"['mmsy', 'ykfct']\", \"k_3be3\": \"['mmsy', 'zoc']\", \"k_2e6b\": \"['ykfct', 'zoc']\"}}}", "gold": "{\"output\": \"k_3be3\"}"} -{"id": "gen_code:146", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [max(a, b) for a, b in zip(first, second)]\\n\\nresult = blend([1, 5, 9, 9, 6], [2, 8, 9, 3, 2])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_7a7b\": \"[2, 8, 9, 9, 6]\", \"k_0312\": \"[3, 8, 9, 9, 6]\", \"k_b14d\": \"[2, 8, 9, 9, 3]\", \"k_b26d\": \"[2, 6, 9, 9, 8]\"}}}", "gold": "{\"output\": \"k_7a7b\"}"} -{"id": "gen_code:147", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(0, len(values), size)]\\n\\nresult = window([7, 3, 4, 8, 2, 1], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_03a2\": \"[12, 13]\", \"k_b37f\": \"[19, 6]\", \"k_3155\": \"[8, 17]\", \"k_923a\": \"[14, 11]\"}}}", "gold": "{\"output\": \"k_923a\"}"} -{"id": "gen_code:148", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 + v\\n return total\\n\\nresult = sweep([17, 17, 7, 12], 0)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_51d3\": \"230\", \"k_7e59\": \"210\", \"k_0bcd\": \"235\", \"k_8332\": \"205\"}}}", "gold": "{\"output\": \"k_51d3\"}"} -{"id": "gen_code:149", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = max(total, v) + 1\\n return total\\n\\nresult = sweep([9, 18, 3, 8], 8)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_a3fd\": \"21\", \"k_5b25\": \"19\", \"k_acae\": \"20\", \"k_54bb\": \"22\"}}}", "gold": "{\"output\": \"k_a3fd\"}"} -{"id": "gen_code:150", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = max(total, v) + 1\\n return total\\n\\nresult = sweep([3, 20, 17, 1, 4, 11], 8)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_c274\": \"26\", \"k_e137\": \"24\", \"k_54c1\": \"23\", \"k_dbe6\": \"25\"}}}", "gold": "{\"output\": \"k_dbe6\"}"} -{"id": "gen_code:151", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [max(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([4, 7, 9, 0, 9, 8, 1, 4, 6], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_5ec2\": \"[9, 7, 9, 9, 8, 1, 4, 6]\", \"k_08ce\": \"[9, 7, 7, 4, 8, 8, 9, 9]\", \"k_09c0\": \"[7, 9, 9, 9, 9, 8, 4, 6]\", \"k_72d2\": \"[9, 7, 7, 9, 9, 8, 8, 6]\"}}}", "gold": "{\"output\": \"k_09c0\"}"} -{"id": "gen_code:152", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v > floor)\\n\\nresult = tally({'fnek': 1, 'txwln': 1, 'qihdl': 8, 'jhddv': 1, 'xown': 8, 'bqd': 7}, 1)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_dcf7\": \"['bqd', 'qihdl', 'xown']\", \"k_b218\": \"['bqd', 'jhddv', 'xown']\", \"k_c397\": \"['qihdl', 'txwln', 'xown']\", \"k_a2a4\": \"['jhddv', 'qihdl', 'xown']\"}}}", "gold": "{\"output\": \"k_dcf7\"}"} -{"id": "gen_code:154", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a * b for a, b in zip(first, reversed(second))]\\n\\nresult = blend([2, 7, 7, 8, 6, 3], [5, 5, 3, 5, 7, 1])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_99bd\": \"[2, 21, 35, 21, 40, 30]\", \"k_fe67\": \"[14, 35, 7, 24, 30, 15]\", \"k_bbe0\": \"[2, 49, 35, 24, 30, 15]\", \"k_f5ba\": \"[2, 49, 21, 40, 30, 15]\"}}}", "gold": "{\"output\": \"k_bbe0\"}"} -{"id": "gen_code:155", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(0, len(values), size)]\\n\\nresult = window([2, 6, 0, 4, 5, 3, 5, 6, 4], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_9a81\": \"[8, 14, 13]\", \"k_f6f2\": \"[8, 12, 15]\", \"k_07b1\": \"[5, 15, 15]\", \"k_e62a\": \"[13, 7, 15]\"}}}", "gold": "{\"output\": \"k_f6f2\"}"} -{"id": "gen_code:156", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 + v\\n return total\\n\\nresult = sweep([16, 6, 20, 13], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_4cff\": \"304\", \"k_3225\": \"213\", \"k_8850\": \"253\", \"k_cb09\": \"281\"}}}", "gold": "{\"output\": \"k_8850\"}"} -{"id": "gen_code:157", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 - v\\n return total\\n\\nresult = sweep([4, 11, 1, 17, 14], 9)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_69fb\": \"84\", \"k_5046\": \"-4\", \"k_c053\": \"-35\", \"k_2a5b\": \"31\"}}}", "gold": "{\"output\": \"k_69fb\"}"} -{"id": "gen_code:158", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v >= floor)\\n\\nresult = tally({'hfue': 7, 'hlqhu': 6, 'ghd': 6, 'ggcwx': 1, 'flsdr': 0, 'snc': 8}, 6)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_7365\": \"['flsdr', 'ghd', 'hlqhu', 'snc']\", \"k_52d7\": \"['ghd', 'hfue', 'hlqhu', 'snc']\", \"k_0fed\": \"['ggcwx', 'ghd', 'hlqhu', 'snc']\", \"k_6f88\": \"['flsdr', 'ggcwx', 'ghd', 'snc']\"}}}", "gold": "{\"output\": \"k_52d7\"}"} -{"id": "gen_code:159", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 + v\\n return total\\n\\nresult = sweep([10, 16, 19, 17, 19], 13)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_57c3\": \"853\", \"k_a518\": \"847\", \"k_593c\": \"833\", \"k_644c\": \"917\"}}}", "gold": "{\"output\": \"k_593c\"}"} -{"id": "gen_code:160", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 + v\\n return total\\n\\nresult = sweep([14, 20, 8, 16, 11], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_44d0\": \"612\", \"k_9ca4\": \"507\", \"k_3d68\": \"556\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"none_of_these\"}"} -{"id": "gen_code:161", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([2, 5, 2, 0, 5, 9, 4, 3, 4], 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_35af\": \"[10, 13, 17, 16, 20, 19]\", \"k_0c84\": \"[9, 12, 16, 18, 21, 20]\", \"k_c49f\": \"[14, 21, 19, 21, 16, 11]\", \"k_ac9d\": \"[9, 12, 16, 19, 21, 20]\"}}}", "gold": "{\"output\": \"k_0c84\"}"} -{"id": "gen_code:162", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = abs(total - v)\\n return total\\n\\nresult = sweep([7, 11, 13, 10, 18, 4], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_7f8d\": \"7\", \"k_ec37\": \"11\", \"k_3ece\": \"1\", \"k_8b3e\": \"3\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"k_ec37\"}"} -{"id": "gen_code:163", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v != floor)\\n\\nresult = tally({'nmh': 1, 'uxk': 4, 'djrfd': 0, 'ycte': 1, 'bfme': 1, 'wmo': 5}, 1)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_06ac\": \"['bfme', 'nmh', 'uxk']\", \"k_4d5f\": \"['djrfd', 'uxk', 'wmo']\", \"k_34db\": \"['nmh', 'uxk', 'wmo']\", \"k_e536\": \"['bfme', 'uxk', 'wmo']\"}}}", "gold": "{\"output\": \"k_4d5f\"}"} -{"id": "gen_code:164", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [max(a, b) for a, b in zip(first, second)]\\n\\nresult = blend([7, 6, 3, 5], [4, 7, 6, 4])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_ebbe\": \"[7, 7, 6, 5]\", \"k_27b8\": \"[4, 6, 7, 6]\", \"k_1f88\": \"[7, 6, 7, 5]\", \"k_dae6\": \"[4, 7, 7, 6]\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"k_ebbe\"}"} -{"id": "gen_code:165", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v != floor)\\n\\nresult = tally({'sflds': 6, 'wywr': 7, 'vvmg': 3, 'ihv': 3, 'xbc': 6, 'goguu': 0}, 6)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_e099\": \"['goguu', 'ihv', 'sflds', 'wywr']\", \"k_aa7d\": \"['goguu', 'ihv', 'vvmg', 'wywr']\", \"k_e330\": \"['ihv', 'sflds', 'vvmg', 'xbc']\", \"k_d80d\": \"['goguu', 'sflds', 'vvmg', 'wywr']\"}}}", "gold": "{\"output\": \"k_aa7d\"}"} -{"id": "gen_code:167", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a * b for a, b in zip(first, reversed(second))]\\n\\nresult = blend([6, 7, 7, 9, 9], [8, 7, 8, 3, 8])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_2dfd\": \"[48, 56, 49, 81, 24]\", \"k_5f17\": \"[56, 54, 56, 63, 24]\", \"k_2e45\": \"[48, 49, 56, 81, 24]\", \"k_2a54\": \"[48, 21, 56, 63, 72]\"}}}", "gold": "{\"output\": \"k_2a54\"}"} -{"id": "gen_code:168", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(0, len(values), size)]\\n\\nresult = window([5, 7, 3, 9, 7, 1, 9, 9], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_94d9\": \"[15, 19, 16]\", \"k_c6c0\": \"[21, 13, 16]\", \"k_598f\": \"[21, 17, 12]\", \"k_63ee\": \"[15, 17, 18]\"}}}", "gold": "{\"output\": \"k_63ee\"}"} -{"id": "gen_code:169", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v >= floor)\\n\\nresult = tally({'idfj': 3, 'tan': 4, 'eksq': 8, 'htug': 8, 'yfep': 8, 'rexj': 2}, 8)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_2d3f\": \"['eksq', 'idfj', 'yfep']\", \"k_c617\": \"['htug', 'tan', 'yfep']\", \"k_6046\": \"['htug', 'idfj', 'yfep']\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"none_of_these\"}"} -{"id": "gen_code:170", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a * b for a, b in zip(first, reversed(second))]\\n\\nresult = blend([8, 1, 5, 3, 8, 6], [1, 3, 2, 6, 4, 9])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_2458\": \"[9, 64, 30, 6, 12, 6]\", \"k_da34\": \"[9, 32, 30, 6, 24, 6]\", \"k_0a0d\": \"[72, 4, 30, 6, 24, 6]\", \"k_9735\": \"[9, 20, 48, 6, 24, 6]\"}}}", "gold": "{\"output\": \"k_0a0d\"}"} -{"id": "gen_code:171", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = max(total, v) + 1\\n return total\\n\\nresult = sweep([2, 5, 11, 7], 0)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_8fec\": \"13\", \"k_82e6\": \"14\", \"k_24fe\": \"12\", \"k_4b3d\": \"15\"}}}", "gold": "{\"output\": \"k_8fec\"}"} -{"id": "gen_code:172", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([9, 6, 3, 9, 9, 7, 5, 1], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_ba1f\": \"[15, 9, 12, 18, 10, 6, 12]\", \"k_2dff\": \"[15, 9, 12, 18, 16, 12, 6]\", \"k_e62a\": \"[11, 9, 12, 18, 10, 10, 16]\", \"k_c7d4\": \"[12, 12, 18, 15, 7, 6, 12]\"}}}", "gold": "{\"output\": \"k_2dff\"}"} -{"id": "gen_code:173", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v < floor)\\n\\nresult = tally({'eetyc': 7, 'erjm': 3, 'dph': 4, 'dvceu': 5, 'guvb': 1, 'wkmej': 7}, 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_cea8\": \"['erjm', 'wkmej']\", \"k_50c5\": \"['erjm', 'guvb']\", \"k_5d29\": \"['eetyc', 'wkmej']\", \"k_d201\": \"['eetyc', 'erjm']\"}}}", "gold": "{\"output\": \"k_50c5\"}"} -{"id": "gen_code:174", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(0, len(values), size)]\\n\\nresult = window([1, 0, 2, 3, 5, 8, 0], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_7ffd\": \"[1, 13, 5]\", \"k_38b6\": \"[1, 16, 2]\", \"k_a874\": \"[6, 11, 2]\", \"k_c52e\": \"[3, 16, 0]\"}}}", "gold": "{\"output\": \"k_c52e\"}"} -{"id": "gen_code:175", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = max(total, v) + 1\\n return total\\n\\nresult = sweep([2, 19, 20, 10, 16], 17)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_1b49\": \"24\", \"k_65ee\": \"23\", \"k_b805\": \"25\", \"k_f6aa\": \"22\"}}}", "gold": "{\"output\": \"k_65ee\"}"} -{"id": "gen_code:176", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v >= floor)\\n\\nresult = tally({'voiey': 5, 'cnfvb': 3, 'kvu': 3, 'xdr': 2, 'eng': 0, 'oxca': 8}, 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_488c\": \"['eng', 'oxca', 'voiey', 'xdr']\", \"k_6502\": \"['cnfvb', 'oxca', 'voiey', 'xdr']\", \"k_7add\": \"['cnfvb', 'kvu', 'oxca', 'voiey']\", \"k_cfd8\": \"['cnfvb', 'kvu', 'oxca', 'xdr']\"}}}", "gold": "{\"output\": \"k_7add\"}"} -{"id": "gen_code:177", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v >= floor)\\n\\nresult = tally({'ynj': 8, 'iislr': 0, 'zwg': 5, 'vme': 2, 'llj': 1, 'bxtq': 0}, 5)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_ac24\": \"['iislr', 'ynj']\", \"k_b377\": \"['bxtq', 'ynj']\", \"k_5d4b\": \"['ynj', 'zwg']\", \"k_2461\": \"['llj', 'zwg']\"}}}", "gold": "{\"output\": \"k_5d4b\"}"} -{"id": "gen_code:178", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([9, 4, 6, 9, 4, 2, 7, 3, 5], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_243e\": \"[13, 10, 15, 12, 7, 6, 9, 12]\", \"k_205c\": \"[13, 10, 15, 13, 6, 9, 10, 8]\", \"k_e17e\": \"[13, 10, 15, 16, 9, 5, 7, 9]\", \"k_84f8\": \"[13, 6, 8, 15, 13, 7, 10, 12]\"}}}", "gold": "{\"output\": \"k_205c\"}"} -{"id": "gen_code:179", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v > floor)\\n\\nresult = tally({'yff': 2, 'dyqp': 1, 'enqa': 3, 'seyt': 1, 'lfoj': 5, 'koez': 1}, 1)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_ef01\": \"['enqa', 'koez', 'lfoj']\", \"k_c327\": \"['enqa', 'koez', 'yff']\", \"k_1897\": \"['koez', 'lfoj', 'yff']\", \"k_594a\": \"['enqa', 'lfoj', 'yff']\"}}}", "gold": "{\"output\": \"k_594a\"}"} -{"id": "gen_code:180", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a + b for a, b in zip(first, second)]\\n\\nresult = blend([6, 1, 2, 2, 4, 8], [4, 3, 2, 9, 6, 7])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_d0ec\": \"[11, 4, 4, 11, 10, 14]\", \"k_6873\": \"[10, 4, 4, 16, 10, 10]\", \"k_7bb0\": \"[10, 3, 5, 11, 10, 15]\", \"k_76f4\": \"[10, 4, 4, 11, 10, 15]\"}}}", "gold": "{\"output\": \"k_76f4\"}"} -{"id": "gen_code:181", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = abs(total - v)\\n return total\\n\\nresult = sweep([7, 17, 8, 10, 20, 5], 7)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_b562\": \"12\", \"k_03fa\": \"4\", \"k_73e3\": \"0\", \"k_e716\": \"14\"}}}", "gold": "{\"output\": \"k_e716\"}"} -{"id": "gen_code:182", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a + b for a, b in zip(first, second)]\\n\\nresult = blend([3, 4, 1, 1, 2, 3], [1, 6, 7, 5, 6, 9])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_d03c\": \"[4, 10, 4, 3, 11, 16]\", \"k_ff66\": \"[4, 10, 12, 3, 7, 12]\", \"k_3aa5\": \"[4, 10, 8, 6, 8, 12]\", \"k_ffea\": \"[9, 5, 7, 8, 7, 12]\"}}}", "gold": "{\"output\": \"k_3aa5\"}"} -{"id": "gen_code:183", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size)]\\n\\nresult = window([5, 4, 3, 5, 1, 2, 2, 2, 9], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_29d9\": \"[9, 12, 9, 15, 12, 13]\", \"k_d037\": \"[12, 12, 9, 8, 5, 6]\", \"k_9485\": \"[16, 12, 9, 8, 5, 9]\", \"k_c294\": \"[16, 9, 6, 8, 8, 9]\"}}}", "gold": "{\"output\": \"k_d037\"}"} -{"id": "gen_code:184", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v > floor)\\n\\nresult = tally({'srha': 5, 'ppht': 0, 'binlx': 7, 'gwyt': 6, 'mwa': 2, 'xxa': 2}, 5)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_2c14\": \"['gwyt', 'mwa']\", \"k_41ed\": \"['gwyt', 'ppht']\", \"k_337d\": \"['binlx', 'gwyt']\", \"k_8017\": \"['gwyt', 'srha']\"}}}", "gold": "{\"output\": \"k_337d\"}"} -{"id": "gen_code:185", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v >= floor)\\n\\nresult = tally({'sjh': 3, 'ytug': 4, 'jooe': 5, 'rwsu': 2, 'bdidb': 4, 'poxgm': 4}, 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_0879\": \"['bdidb', 'jooe', 'sjh', 'ytug']\", \"k_da62\": \"['bdidb', 'jooe', 'rwsu', 'ytug']\", \"k_d28e\": \"['bdidb', 'jooe', 'poxgm', 'ytug']\", \"k_ec94\": \"['jooe', 'rwsu', 'sjh', 'ytug']\"}}}", "gold": "{\"output\": \"k_d28e\"}"} -{"id": "gen_code:186", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size)]\\n\\nresult = window([1, 2, 1, 0, 8, 5], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_0c52\": \"[4, 3, 9]\", \"k_9345\": \"[2, 9, 13]\", \"k_3c73\": \"[2, 9, 10]\", \"k_49d3\": \"[9, 2, 6]\"}}}", "gold": "{\"output\": \"k_0c52\"}"} -{"id": "gen_code:187", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a - b for a, b in zip(first, second)]\\n\\nresult = blend([3, 6, 2, 6], [9, 5, 6, 9])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_63b5\": \"[-4, 4, -3, -3]\", \"k_1c04\": \"[-7, 1, -3, -3]\", \"k_765b\": \"[-6, 1, -4, -3]\", \"k_55ee\": \"[-7, 0, -3, -4]\"}}}", "gold": "{\"output\": \"k_765b\"}"} -{"id": "gen_code:189", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([2, 5, 0, 7, 0, 6, 4], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_2f06\": \"[7, 5, 0, 6, 13, 11]\", \"k_38ef\": \"[7, 5, 7, 7, 6, 10]\", \"k_0443\": \"[7, 5, 0, 6, 10, 11]\", \"k_a7bc\": \"[2, 5, 5, 6, 13, 11]\"}}}", "gold": "{\"output\": \"k_38ef\"}"} -{"id": "gen_code:190", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v != floor)\\n\\nresult = tally({'sno': 7, 'qbns': 7, 'gjfs': 4, 'wtk': 5, 'ggzxj': 2, 'xbcr': 5}, 7)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_41b7\": \"['ggzxj', 'gjfs', 'sno', 'wtk']\", \"k_b37e\": \"['gjfs', 'sno', 'wtk', 'xbcr']\", \"k_3ea6\": \"['ggzxj', 'gjfs', 'wtk', 'xbcr']\", \"k_c3ae\": \"['ggzxj', 'sno', 'wtk', 'xbcr']\"}}}", "gold": "{\"output\": \"k_3ea6\"}"} -{"id": "gen_code:192", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(0, len(values), size)]\\n\\nresult = window([9, 4, 2, 5, 8, 9], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_0ada\": \"[9, 11, 17]\", \"k_7d86\": \"[6, 14, 17]\", \"k_f327\": \"[6, 13, 18]\", \"k_15b3\": \"[13, 7, 17]\"}}}", "gold": "{\"output\": \"k_15b3\"}"} -{"id": "gen_code:193", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v < floor)\\n\\nresult = tally({'ixnci': 4, 'tvbd': 0, 'kluuo': 7, 'oajj': 6, 'bzcw': 2, 'hwzmz': 8}, 6)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_6b2a\": \"['ixnci', 'kluuo', 'oajj']\", \"k_7531\": \"['bzcw', 'oajj', 'tvbd']\", \"k_7e1f\": \"['bzcw', 'ixnci', 'tvbd']\", \"k_f854\": \"['ixnci', 'oajj', 'tvbd']\"}}}", "gold": "{\"output\": \"k_7e1f\"}"} -{"id": "gen_code:194", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(0, len(values), size)]\\n\\nresult = window([9, 3, 8, 1, 7, 2, 8, 6, 0], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_eb35\": \"[11, 9, 14, 1, 9]\", \"k_ab22\": \"[12, 9, 9, 14, 0]\", \"k_6e16\": \"[4, 15, 10, 6, 9]\", \"k_4019\": \"[15, 4, 10, 6, 9]\"}}}", "gold": "{\"output\": \"k_ab22\"}"} -{"id": "gen_code:195", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size)]\\n\\nresult = window([2, 8, 4, 9, 8, 0, 2, 2, 8], 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_9777\": \"[12, 19, 25, 21, 23]\", \"k_d1cd\": \"[23, 29, 21, 19, 12]\", \"k_abe6\": \"[16, 23, 23, 21, 19]\", \"k_17d8\": \"[20, 16, 23, 21, 15]\"}}}", "gold": "{\"output\": \"k_d1cd\"}"} -{"id": "gen_code:196", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = max(total, v) + 1\\n return total\\n\\nresult = sweep([12, 3, 8, 13, 14], 10)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_1254\": \"16\", \"k_b7f4\": \"19\", \"k_830a\": \"18\", \"k_c438\": \"17\"}}}", "gold": "{\"output\": \"k_c438\"}"} -{"id": "gen_code:197", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a - b for a, b in zip(first, second)]\\n\\nresult = blend([3, 5, 4, 1, 7, 4], [4, 4, 3, 6, 3, 1])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_3a3f\": \"[-1, 1, 1, -5, 4, 3]\", \"k_f974\": \"[-1, 3, 1, -2, 2, 0]\", \"k_5dbf\": \"[-1, 1, 1, -3, 2, 3]\", \"k_7030\": \"[-1, 3, 1, -5, 2, 3]\"}}}", "gold": "{\"output\": \"k_3a3f\"}"} -{"id": "gen_code:198", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 - v\\n return total\\n\\nresult = sweep([18, 16, 9, 15, 16, 1], 9)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_6c56\": \"-162\", \"k_44c7\": \"-358\", \"k_c683\": \"-421\", \"k_776f\": \"-322\"}}}", "gold": "{\"output\": \"k_c683\"}"} -{"id": "gen_code:199", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a + b for a, b in zip(first, second)]\\n\\nresult = blend([2, 2, 4, 4], [8, 2, 7, 3])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_a1e9\": \"[15, 4, 7, 6]\", \"k_23d3\": \"[15, 6, 6, 5]\", \"k_7fb6\": \"[11, 4, 6, 11]\", \"k_4032\": \"[10, 4, 11, 7]\"}}}", "gold": "{\"output\": \"k_4032\"}"} -{"id": "gen_code:200", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 + v\\n return total\\n\\nresult = sweep([14, 11, 17, 11, 8], 17)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_4c6d\": \"906\", \"k_93c6\": \"939\", \"k_3602\": \"867\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"none_of_these\"}"} -{"id": "gen_code:201", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a + b for a, b in zip(first, second)]\\n\\nresult = blend([5, 8, 4, 7], [2, 2, 6, 7])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_cb98\": \"[12, 4, 10, 15]\", \"k_7686\": \"[7, 10, 10, 14]\", \"k_7d32\": \"[7, 15, 10, 9]\", \"k_cf68\": \"[12, 10, 10, 9]\"}}}", "gold": "{\"output\": \"k_7686\"}"} -{"id": "gen_code:202", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = abs(total - v)\\n return total\\n\\nresult = sweep([7, 16, 18, 12, 6], 15)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_f3d2\": \"4\", \"k_3c0e\": \"12\", \"k_4442\": \"8\", \"k_8893\": \"14\"}}}", "gold": "{\"output\": \"k_f3d2\"}"} -{"id": "gen_code:203", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 + v\\n return total\\n\\nresult = sweep([5, 13, 1, 19, 14, 13], 5)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_fdc0\": \"813\", \"k_c002\": \"797\", \"k_8cf2\": \"795\", \"k_94f4\": \"899\"}}}", "gold": "{\"output\": \"k_fdc0\"}"} -{"id": "gen_code:204", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a - b for a, b in zip(first, second)]\\n\\nresult = blend([5, 6, 9, 4], [2, 5, 6, 4])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_ec87\": \"[4, 4, -1, 0]\", \"k_e6e1\": \"[3, 1, 3, 0]\", \"k_a7fd\": \"[1, -3, 3, 0]\", \"k_7edc\": \"[-3, 0, -4, 0]\"}}}", "gold": "{\"output\": \"k_e6e1\"}"} -{"id": "gen_code:205", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a + b for a, b in zip(first, second)]\\n\\nresult = blend([2, 7, 2, 3, 8, 2], [1, 6, 9, 6, 7, 4])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_a7be\": \"[3, 13, 11, 9, 15, 6]\", \"k_4643\": \"[10, 10, 4, 12, 15, 6]\", \"k_f747\": \"[3, 10, 11, 10, 15, 8]\", \"k_ed66\": \"[3, 10, 11, 14, 13, 6]\"}}}", "gold": "{\"output\": \"k_a7be\"}"} -{"id": "gen_code:206", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 + v\\n return total\\n\\nresult = sweep([13, 6, 15, 20, 17, 4], 8)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_943c\": \"1304\", \"k_a54f\": \"1181\", \"k_29b9\": \"1262\", \"k_38ee\": \"1416\"}}}", "gold": "{\"output\": \"k_29b9\"}"} -{"id": "gen_code:207", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v > floor)\\n\\nresult = tally({'qhqlp': 7, 'kzvqk': 0, 'oigb': 0, 'adm': 0, 'har': 3, 'vfmwf': 2}, 0)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_82f8\": \"['har', 'qhqlp', 'vfmwf']\", \"k_0c9a\": \"['har', 'oigb', 'qhqlp']\", \"k_e707\": \"['adm', 'kzvqk', 'qhqlp']\", \"k_06dd\": \"['adm', 'har', 'kzvqk']\"}}}", "gold": "{\"output\": \"k_82f8\"}"} -{"id": "gen_code:208", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a * b for a, b in zip(first, reversed(second))]\\n\\nresult = blend([5, 1, 6, 6], [7, 4, 9, 7])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_0a6f\": \"[35, 9, 24, 42]\", \"k_9a64\": \"[35, 54, 6, 28]\", \"k_0ba9\": \"[45, 7, 36, 28]\", \"k_24c9\": \"[35, 9, 36, 28]\"}}}", "gold": "{\"output\": \"k_0a6f\"}"} -{"id": "gen_code:209", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([8, 6, 1, 8, 9, 0, 2, 7, 8], 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_956c\": \"[30, 22, 18, 17, 18, 19]\", \"k_15ed\": \"[23, 24, 18, 19, 18, 17]\", \"k_8200\": \"[31, 23, 19, 18, 17, 18]\", \"k_6870\": \"[31, 25, 19, 18, 17, 16]\"}}}", "gold": "{\"output\": \"k_15ed\"}"} -{"id": "gen_code:210", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a * b for a, b in zip(first, reversed(second))]\\n\\nresult = blend([2, 5, 3, 4, 9, 4], [5, 9, 8, 1, 6, 6])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_818d\": \"[12, 30, 4, 32, 27, 45]\", \"k_13a3\": \"[12, 30, 3, 32, 81, 20]\", \"k_a424\": \"[12, 30, 8, 36, 27, 20]\", \"k_152f\": \"[12, 20, 9, 32, 27, 30]\"}}}", "gold": "{\"output\": \"k_13a3\"}"} -{"id": "gen_code:211", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(0, len(values), size)]\\n\\nresult = window([8, 3, 9, 0, 9, 3, 9], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_337e\": \"[11, 12, 9, 9]\", \"k_48e1\": \"[12, 9, 11, 9]\", \"k_78ea\": \"[11, 9, 12, 9]\", \"k_e798\": \"[17, 6, 9, 9]\"}}}", "gold": "{\"output\": \"k_78ea\"}"} -{"id": "gen_code:212", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 + v\\n return total\\n\\nresult = sweep([14, 15, 7, 6, 15], 8)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_004c\": \"623\", \"k_2d30\": \"655\", \"k_16e5\": \"692\", \"k_d038\": \"635\"}}}", "gold": "{\"output\": \"k_2d30\"}"} -{"id": "gen_code:213", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([9, 8, 1, 8, 6, 0, 7], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_a4ab\": \"[7, 9, 18, 25, 24]\", \"k_0c8f\": \"[8, 9, 15, 22, 23]\", \"k_5909\": \"[18, 15, 14, 14, 15]\", \"k_feab\": \"[18, 17, 15, 14, 13]\"}}}", "gold": "{\"output\": \"k_feab\"}"} -{"id": "gen_code:214", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = abs(total - v)\\n return total\\n\\nresult = sweep([2, 16, 5, 11, 1], 20)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_08b3\": \"7\", \"k_e538\": \"5\", \"k_c7db\": \"3\", \"k_a41d\": \"1\"}}}", "gold": "{\"output\": \"k_08b3\"}"} -{"id": "gen_code:215", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v >= floor)\\n\\nresult = tally({'jiri': 8, 'csqf': 4, 'gflz': 7, 'lzncp': 8, 'atlnf': 3, 'iam': 5}, 5)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_40fa\": \"['atlnf', 'csqf', 'jiri', 'lzncp']\", \"k_922c\": \"['gflz', 'iam', 'jiri', 'lzncp']\", \"k_d023\": \"['csqf', 'gflz', 'jiri', 'lzncp']\", \"k_305b\": \"['csqf', 'gflz', 'iam', 'lzncp']\"}}}", "gold": "{\"output\": \"k_922c\"}"} -{"id": "gen_code:216", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(0, len(values), size)]\\n\\nresult = window([0, 2, 5, 0, 3, 6, 3, 9, 1], 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_2c1f\": \"[7, 21, 1]\", \"k_d1c7\": \"[7, 13, 9]\", \"k_1ba6\": \"[8, 20, 1]\", \"k_8a97\": \"[11, 17, 1]\"}}}", "gold": "{\"output\": \"k_2c1f\"}"} -{"id": "gen_code:217", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v >= floor)\\n\\nresult = tally({'iwslg': 1, 'kurbh': 2, 'xdsr': 2, 'hnlbo': 7, 'cwtap': 2, 'qktuj': 5}, 5)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_9f30\": \"['iwslg', 'kurbh']\", \"k_ce7d\": \"['iwslg', 'xdsr']\", \"k_be64\": \"['hnlbo', 'qktuj']\", \"k_a3b6\": \"['cwtap', 'hnlbo']\"}}}", "gold": "{\"output\": \"k_be64\"}"} -{"id": "gen_code:218", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = max(total, v) + 1\\n return total\\n\\nresult = sweep([1, 2, 3, 15], 12)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_c73a\": \"16\", \"k_3b21\": \"19\", \"k_6fac\": \"17\", \"k_bdf2\": \"18\"}}}", "gold": "{\"output\": \"k_c73a\"}"} -{"id": "gen_code:219", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v > floor)\\n\\nresult = tally({'owhdn': 3, 'pcpul': 0, 'kgbbb': 0, 'fltzy': 2, 'mvti': 5, 'nga': 7}, 0)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_3c7d\": \"['fltzy', 'mvti', 'owhdn', 'pcpul']\", \"k_1984\": \"['fltzy', 'kgbbb', 'nga', 'owhdn']\", \"k_7b8e\": \"['fltzy', 'mvti', 'nga', 'pcpul']\", \"k_2dec\": \"['fltzy', 'mvti', 'nga', 'owhdn']\"}}}", "gold": "{\"output\": \"k_2dec\"}"} -{"id": "gen_code:220", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v >= floor)\\n\\nresult = tally({'uij': 5, 'zvccg': 2, 'uqnq': 8, 'uuc': 2, 'aunz': 1, 'ytiy': 3}, 8)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_5b0e\": \"['uij']\", \"k_81c7\": \"['zvccg']\", \"k_badc\": \"['uuc']\", \"k_2b8c\": \"['uqnq']\"}}}", "gold": "{\"output\": \"k_2b8c\"}"} -{"id": "gen_code:221", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a - b for a, b in zip(first, second)]\\n\\nresult = blend([3, 6, 9, 8, 7, 8], [5, 1, 2, 5, 5, 2])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_b340\": \"[-2, 5, 7, 3, 2, 6]\", \"k_5873\": \"[-2, 5, 7, -3, -2, 0]\", \"k_be1e\": \"[-2, 5, 0, 4, 2, 0]\", \"k_30cc\": \"[-2, 5, 7, -3, 2, 0]\"}}}", "gold": "{\"output\": \"k_b340\"}"} -{"id": "gen_code:222", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v != floor)\\n\\nresult = tally({'nwty': 8, 'shdbq': 4, 'kys': 3, 'sojwe': 4, 'fmha': 8, 'eszb': 5}, 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_aea9\": \"['fmha', 'nwty', 'shdbq', 'sojwe']\", \"k_37bf\": \"['eszb', 'kys', 'nwty', 'sojwe']\", \"k_2529\": \"['fmha', 'kys', 'nwty', 'sojwe']\", \"k_42ec\": \"['eszb', 'fmha', 'kys', 'nwty']\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"k_42ec\"}"} -{"id": "gen_code:223", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 - v\\n return total\\n\\nresult = sweep([19, 3, 10, 19, 18, 15], 1)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_bae7\": \"-853\", \"k_57b0\": \"-839\", \"k_4ec8\": \"-799\", \"k_afe9\": \"-977\"}}}", "gold": "{\"output\": \"k_4ec8\"}"} -{"id": "gen_code:224", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size)]\\n\\nresult = window([5, 8, 0, 3, 5, 8, 3, 1, 1], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_0586\": \"[13, 8, 3, 8, 13, 11, 4]\", \"k_20a4\": \"[13, 9, 4, 8, 8, 11, 9]\", \"k_cf24\": \"[9, 4, 8, 13, 13, 8, 4]\", \"k_dfd1\": \"[13, 11, 8, 13, 11, 4, 2]\"}}}", "gold": "{\"output\": \"k_0586\"}"} -{"id": "gen_code:225", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 + v\\n return total\\n\\nresult = sweep([16, 3, 17, 19, 6, 13], 16)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_d093\": \"1621\", \"k_3815\": \"1821\", \"k_1bc7\": \"1624\", \"k_7e1d\": \"1634\"}}}", "gold": "{\"output\": \"k_3815\"}"} -{"id": "gen_code:226", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([7, 9, 5, 6, 7, 3, 8, 8], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_610d\": \"[10, 9, 11, 14, 16, 15, 16]\", \"k_e8c9\": \"[13, 11, 14, 16, 15, 11, 11]\", \"k_beda\": \"[13, 11, 14, 12, 10, 15, 16]\", \"k_a1fe\": \"[16, 14, 11, 13, 10, 11, 16]\"}}}", "gold": "{\"output\": \"k_a1fe\"}"} -{"id": "gen_code:227", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v != floor)\\n\\nresult = tally({'eivzc': 0, 'ymhz': 2, 'bmhkt': 4, 'gxvve': 4, 'wvg': 4, 'geq': 8}, 8)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_7779\": \"['bmhkt', 'geq', 'gxvve', 'wvg', 'ymhz']\", \"k_f674\": \"['bmhkt', 'eivzc', 'geq', 'wvg', 'ymhz']\", \"k_d27f\": \"['eivzc', 'geq', 'gxvve', 'wvg', 'ymhz']\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"none_of_these\"}"} -{"id": "gen_code:228", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = abs(total - v)\\n return total\\n\\nresult = sweep([9, 4, 5, 6, 13, 11], 15)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_9e68\": \"5\", \"k_026a\": \"3\", \"k_207d\": \"7\", \"k_eb92\": \"1\"}}}", "gold": "{\"output\": \"k_eb92\"}"} -{"id": "gen_code:230", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [max(a, b) for a, b in zip(first, second)]\\n\\nresult = blend([4, 1, 4, 6, 7], [9, 6, 4, 8, 8])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_bebc\": \"[9, 6, 4, 8, 8]\", \"k_d25f\": \"[7, 4, 9, 8, 8]\", \"k_0d71\": \"[8, 9, 6, 6, 8]\", \"k_fbdb\": \"[9, 6, 7, 8, 8]\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"k_bebc\"}"} -{"id": "gen_code:231", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a - b for a, b in zip(first, second)]\\n\\nresult = blend([8, 4, 3, 3], [8, 4, 6, 9])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_c0a4\": \"[0, 0, -3, -6]\", \"k_56f1\": \"[-5, 0, 2, -6]\", \"k_e9dc\": \"[5, -2, 4, -6]\", \"k_c731\": \"[5, -4, -2, -6]\"}}}", "gold": "{\"output\": \"k_c0a4\"}"} -{"id": "gen_code:232", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a + b for a, b in zip(first, second)]\\n\\nresult = blend([6, 7, 9, 5, 1, 4], [2, 4, 8, 4, 4, 8])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_a0a0\": \"[9, 13, 13, 10, 9, 8]\", \"k_5af1\": \"[8, 13, 13, 10, 6, 12]\", \"k_06ce\": \"[8, 11, 17, 9, 5, 12]\", \"k_34af\": \"[9, 13, 9, 14, 5, 12]\"}}}", "gold": "{\"output\": \"k_06ce\"}"} -{"id": "gen_code:233", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a + b for a, b in zip(first, second)]\\n\\nresult = blend([8, 5, 7, 3], [8, 6, 3, 6])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_9e76\": \"[16, 11, 10, 9]\", \"k_3db4\": \"[11, 13, 11, 11]\", \"k_cd4c\": \"[14, 11, 15, 6]\", \"k_29a7\": \"[11, 11, 15, 9]\"}}}", "gold": "{\"output\": \"k_9e76\"}"} -{"id": "gen_code:235", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v > floor)\\n\\nresult = tally({'wsomf': 5, 'gcl': 1, 'gnud': 2, 'ckhdx': 3, 'bdm': 7, 'rux': 0}, 0)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_0b46\": \"['ckhdx', 'gcl', 'gnud', 'rux', 'wsomf']\", \"k_5bd2\": \"['bdm', 'ckhdx', 'gcl', 'rux', 'wsomf']\", \"k_2440\": \"['bdm', 'ckhdx', 'gcl', 'gnud', 'wsomf']\", \"k_c58e\": \"['bdm', 'ckhdx', 'gnud', 'rux', 'wsomf']\"}}}", "gold": "{\"output\": \"k_2440\"}"} -{"id": "gen_code:236", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = abs(total - v)\\n return total\\n\\nresult = sweep([5, 5, 2, 14, 17, 20], 15)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_0703\": \"8\", \"k_4422\": \"2\", \"k_86ed\": \"16\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"none_of_these\"}"} -{"id": "gen_code:237", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a - b for a, b in zip(first, second)]\\n\\nresult = blend([5, 8, 5, 9, 8, 6], [7, 7, 6, 8, 5, 5])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_1a7e\": \"[-2, 1, 2, 4, 3, 1]\", \"k_2b39\": \"[-3, 1, -2, 3, 3, 1]\", \"k_4fcd\": \"[-2, 1, -1, 1, 0, -2]\", \"k_62f5\": \"[-2, 1, -1, 1, 3, 1]\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"k_62f5\"}"} -{"id": "gen_code:238", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v != floor)\\n\\nresult = tally({'oiyop': 6, 'pmm': 0, 'cdrw': 3, 'xczbb': 7, 'gidn': 1, 'aposu': 1}, 6)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_52ac\": \"['aposu', 'cdrw', 'gidn', 'oiyop', 'pmm']\", \"k_76be\": \"['aposu', 'cdrw', 'gidn', 'oiyop', 'xczbb']\", \"k_4f1b\": \"['aposu', 'cdrw', 'gidn', 'pmm', 'xczbb']\", \"k_8779\": \"['cdrw', 'gidn', 'oiyop', 'pmm', 'xczbb']\"}}}", "gold": "{\"output\": \"k_4f1b\"}"} -{"id": "gen_code:239", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [max(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([4, 9, 2, 3, 6, 9, 2, 8], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_ce27\": \"[9, 9, 3, 4, 9, 9, 8]\", \"k_d711\": \"[9, 9, 9, 9, 4, 3, 8]\", \"k_aeda\": \"[9, 9, 4, 9, 9, 2, 8]\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"none_of_these\"}"} -{"id": "gen_code:240", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a + b for a, b in zip(first, second)]\\n\\nresult = blend([4, 8, 5, 8], [6, 7, 8, 7])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_a987\": \"[11, 11, 16, 15]\", \"k_1c9b\": \"[11, 15, 12, 15]\", \"k_904e\": \"[10, 15, 13, 15]\", \"k_28a6\": \"[14, 11, 13, 15]\"}}}", "gold": "{\"output\": \"k_904e\"}"} -{"id": "gen_code:241", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [max(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([2, 2, 8, 2, 9, 1, 6], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_c6c8\": \"[2, 8, 8, 9, 9, 6]\", \"k_b36f\": \"[9, 8, 8, 2, 2, 6]\", \"k_65d2\": \"[2, 8, 9, 9, 6, 6]\", \"k_0406\": \"[2, 6, 9, 9, 2, 8]\"}}}", "gold": "{\"output\": \"k_c6c8\"}"} -{"id": "gen_code:242", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size)]\\n\\nresult = window([7, 9, 4, 6, 5, 4, 3, 3], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_d958\": \"[16, 13, 18, 16, 15]\", \"k_750b\": \"[20, 19, 15, 15, 12]\", \"k_1b75\": \"[20, 17, 13, 12, 11]\", \"k_42ef\": \"[19, 18, 13, 12, 10]\"}}}", "gold": "{\"output\": \"k_750b\"}"} -{"id": "gen_code:243", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(0, len(values), size)]\\n\\nresult = window([9, 7, 6, 9, 7, 5, 5, 0], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_124c\": \"[22, 21, 5]\", \"k_25fb\": \"[22, 12, 14]\", \"k_7116\": \"[25, 13, 10]\", \"k_a9bb\": \"[21, 16, 11]\"}}}", "gold": "{\"output\": \"k_124c\"}"} -{"id": "gen_code:244", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a * b for a, b in zip(first, reversed(second))]\\n\\nresult = blend([2, 1, 2, 4, 9, 9], [4, 5, 7, 7, 1, 1])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_8762\": \"[1, 4, 14, 63, 10, 36]\", \"k_07d2\": \"[1, 2, 14, 63, 20, 36]\", \"k_6cb8\": \"[2, 1, 14, 28, 45, 36]\", \"k_c828\": \"[1, 2, 16, 63, 14, 45]\"}}}", "gold": "{\"output\": \"k_6cb8\"}"} -{"id": "gen_code:245", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 - v\\n return total\\n\\nresult = sweep([8, 1, 11, 18, 12, 15], 15)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_25fd\": \"449\", \"k_3497\": \"489\", \"k_3e9d\": \"479\", \"k_c113\": \"517\"}}}", "gold": "{\"output\": \"k_3497\"}"} -{"id": "gen_code:247", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v >= floor)\\n\\nresult = tally({'mse': 7, 'pfknm': 7, 'guqz': 4, 'pdhf': 5, 'gmngw': 4, 'kyhg': 7}, 7)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_0d6b\": \"['guqz', 'kyhg', 'pfknm']\", \"k_4339\": \"['kyhg', 'mse', 'pdhf']\", \"k_f3d9\": \"['kyhg', 'mse', 'pfknm']\", \"k_a006\": \"['gmngw', 'kyhg', 'mse']\"}}}", "gold": "{\"output\": \"k_f3d9\"}"} -{"id": "gen_code:248", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [max(a, b) for a, b in zip(first, second)]\\n\\nresult = blend([7, 8, 1, 2], [2, 5, 1, 2])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_d2fb\": \"[7, 8, 5, 2]\", \"k_51b6\": \"[7, 8, 1, 2]\", \"k_0200\": \"[2, 8, 1, 7]\", \"k_6c81\": \"[7, 8, 2, 2]\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"k_51b6\"}"} -{"id": "gen_code:249", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a * b for a, b in zip(first, reversed(second))]\\n\\nresult = blend([3, 1, 2, 3, 1], [5, 9, 5, 2, 7])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_f05a\": \"[21, 3, 10, 18, 5]\", \"k_7d18\": \"[6, 2, 15, 63, 5]\", \"k_fe47\": \"[21, 2, 6, 45, 5]\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"none_of_these\"}"} -{"id": "gen_code:250", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v > floor)\\n\\nresult = tally({'bxqh': 1, 'qicn': 3, 'shb': 3, 'ckl': 5, 'rsh': 2, 'gam': 1}, 1)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_1e04\": \"['bxqh', 'ckl', 'qicn', 'rsh']\", \"k_9f4c\": \"['bxqh', 'ckl', 'qicn', 'shb']\", \"k_db47\": \"['bxqh', 'ckl', 'gam', 'rsh']\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"none_of_these\"}"} -{"id": "gen_code:251", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a - b for a, b in zip(first, second)]\\n\\nresult = blend([6, 1, 2, 5, 1, 8], [3, 5, 6, 3, 4, 8])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_c373\": \"[-1, -4, -4, 0, -3, 0]\", \"k_c946\": \"[3, -4, -4, 2, -3, 0]\", \"k_5ae1\": \"[1, -3, -5, 0, -3, 0]\", \"k_828d\": \"[1, -4, -4, 2, -1, 0]\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"k_c946\"}"} -{"id": "gen_code:252", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([0, 0, 9, 1, 4, 6, 8, 0, 5], 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_a79d\": \"[16, 14, 22, 13, 17, 13]\", \"k_f965\": \"[19, 20, 14, 18, 9, 13]\", \"k_c620\": \"[15, 16, 11, 19, 13, 17]\", \"k_f630\": \"[10, 14, 20, 19, 18, 19]\"}}}", "gold": "{\"output\": \"k_f630\"}"} -{"id": "gen_code:253", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [max(a, b) for a, b in zip(first, second)]\\n\\nresult = blend([5, 1, 2, 8, 3, 8], [4, 6, 7, 8, 8, 7])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_ff7c\": \"[5, 6, 7, 8, 8, 8]\", \"k_aff7\": \"[8, 8, 7, 8, 3, 8]\", \"k_716c\": \"[8, 6, 7, 8, 8, 8]\", \"k_e529\": \"[8, 6, 7, 8, 7, 8]\"}}}", "gold": "{\"output\": \"k_ff7c\"}"} -{"id": "gen_code:254", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(0, len(values), size)]\\n\\nresult = window([8, 8, 5, 6, 8, 3, 2], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_28e1\": \"[14, 13, 11, 2]\", \"k_f873\": \"[14, 10, 13, 3]\", \"k_70bc\": \"[14, 10, 11, 5]\", \"k_16ab\": \"[16, 11, 11, 2]\"}}}", "gold": "{\"output\": \"k_16ab\"}"} -{"id": "gen_code:255", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 - v\\n return total\\n\\nresult = sweep([3, 16, 9, 2, 20, 14], 9)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_df0c\": \"96\", \"k_ab31\": \"-90\", \"k_77bd\": \"62\", \"k_c0f3\": \"90\"}}}", "gold": "{\"output\": \"k_c0f3\"}"} -{"id": "gen_code:256", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a * b for a, b in zip(first, reversed(second))]\\n\\nresult = blend([5, 6, 7, 2], [2, 3, 6, 7])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_8186\": \"[30, 42, 14, 6]\", \"k_6d71\": \"[35, 36, 21, 4]\", \"k_c325\": \"[30, 12, 21, 14]\", \"k_931c\": \"[30, 14, 21, 12]\"}}}", "gold": "{\"output\": \"k_6d71\"}"} -{"id": "gen_code:257", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a + b for a, b in zip(first, second)]\\n\\nresult = blend([1, 2, 4, 6], [1, 2, 4, 4])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_75ec\": \"[2, 4, 8, 10]\", \"k_2eae\": \"[3, 5, 6, 10]\", \"k_7d2b\": \"[5, 3, 6, 10]\", \"k_d798\": \"[3, 3, 10, 8]\"}}}", "gold": "{\"output\": \"k_75ec\"}"} -{"id": "gen_code:258", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v > floor)\\n\\nresult = tally({'zms': 7, 'unv': 2, 'njh': 8, 'bvqg': 4, 'nmmg': 5, 'dja': 0}, 5)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_2f36\": \"['nmmg', 'zms']\", \"k_469b\": \"['njh', 'zms']\", \"k_e1e7\": \"['unv', 'zms']\", \"k_649d\": \"['njh', 'unv']\"}}}", "gold": "{\"output\": \"k_469b\"}"} -{"id": "gen_code:259", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = max(total, v) + 1\\n return total\\n\\nresult = sweep([6, 8, 19, 16, 13], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_6618\": \"20\", \"k_dd71\": \"21\", \"k_9fd0\": \"22\", \"k_a6d2\": \"24\"}}}", "gold": "{\"output\": \"k_9fd0\"}"} -{"id": "gen_code:260", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 + v\\n return total\\n\\nresult = sweep([17, 7, 5, 6, 1, 17], 14)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_482a\": \"1323\", \"k_66df\": \"1635\", \"k_e9a5\": \"1417\", \"k_4b75\": \"1565\"}}}", "gold": "{\"output\": \"k_66df\"}"} -{"id": "gen_code:261", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v > floor)\\n\\nresult = tally({'qpyw': 6, 'xml': 2, 'lerlr': 2, 'mtxfo': 7, 'weujb': 4, 'jop': 1}, 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_b87f\": \"['mtxfo', 'qpyw', 'weujb']\", \"k_a5e4\": \"['lerlr', 'weujb', 'xml']\", \"k_7ce8\": \"['jop', 'mtxfo', 'weujb']\", \"k_6e08\": \"['jop', 'mtxfo', 'xml']\"}}}", "gold": "{\"output\": \"k_b87f\"}"} -{"id": "gen_code:262", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 + v\\n return total\\n\\nresult = sweep([15, 19, 16, 13, 14, 8], 5)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_b358\": \"1274\", \"k_f77c\": \"1272\", \"k_b7fc\": \"1320\", \"k_6fba\": \"1153\"}}}", "gold": "{\"output\": \"k_b7fc\"}"} -{"id": "gen_code:263", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a * b for a, b in zip(first, reversed(second))]\\n\\nresult = blend([5, 8, 2, 7, 2], [4, 8, 6, 5, 1])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_ee55\": \"[5, 40, 12, 56, 8]\", \"k_25c3\": \"[5, 40, 32, 42, 4]\", \"k_9332\": \"[5, 40, 16, 12, 28]\", \"k_f916\": \"[6, 40, 16, 35, 8]\"}}}", "gold": "{\"output\": \"k_ee55\"}"} -{"id": "gen_code:264", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v >= floor)\\n\\nresult = tally({'ihcmi': 2, 'ecg': 1, 'wia': 2, 'xaer': 8, 'ymi': 0, 'aqzk': 2}, 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_a423\": \"['aqzk', 'ecg', 'wia', 'xaer']\", \"k_1e8c\": \"['aqzk', 'ecg', 'ihcmi', 'wia']\", \"k_2d10\": \"['ecg', 'ihcmi', 'wia', 'ymi']\", \"k_3250\": \"['aqzk', 'ihcmi', 'wia', 'xaer']\"}}}", "gold": "{\"output\": \"k_3250\"}"} -{"id": "gen_code:265", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [max(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([4, 5, 0, 8, 8, 3, 2, 4, 7], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_29b1\": \"[5, 5, 8, 8, 8, 3, 4, 7]\", \"k_a5e9\": \"[8, 8, 8, 8, 4, 4, 4, 7]\", \"k_e640\": \"[5, 3, 8, 8, 8, 4, 4, 7]\", \"k_a8f4\": \"[8, 8, 8, 5, 4, 4, 4, 7]\"}}}", "gold": "{\"output\": \"k_29b1\"}"} -{"id": "gen_code:266", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = max(total, v) + 1\\n return total\\n\\nresult = sweep([2, 17, 4, 11, 10, 9], 5)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_cd70\": \"20\", \"k_1d9a\": \"19\", \"k_cac8\": \"21\", \"k_f4f4\": \"22\"}}}", "gold": "{\"output\": \"k_f4f4\"}"} -{"id": "gen_code:267", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 + v\\n return total\\n\\nresult = sweep([8, 12, 19, 18], 7)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_234e\": \"315\", \"k_710c\": \"300\", \"k_f51c\": \"291\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"none_of_these\"}"} -{"id": "gen_code:268", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = max(total, v) + 1\\n return total\\n\\nresult = sweep([9, 16, 9, 9], 9)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_0d92\": \"20\", \"k_03f8\": \"19\", \"k_fd9a\": \"18\", \"k_4fb3\": \"17\"}}}", "gold": "{\"output\": \"k_03f8\"}"} -{"id": "gen_code:269", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v < floor)\\n\\nresult = tally({'abf': 8, 'wcv': 3, 'onu': 3, 'vadwr': 8, 'lbh': 6, 'bbnd': 3}, 8)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_4886\": \"['bbnd', 'lbh', 'onu', 'wcv']\", \"k_f7df\": \"['abf', 'bbnd', 'lbh', 'wcv']\", \"k_b2a8\": \"['abf', 'lbh', 'onu', 'wcv']\", \"k_07bc\": \"['abf', 'bbnd', 'onu', 'wcv']\"}}}", "gold": "{\"output\": \"k_4886\"}"} -{"id": "gen_code:270", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [max(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([4, 1, 6, 7, 8, 2, 8, 8, 8], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_4629\": \"[8, 7, 7, 8, 8, 8, 8]\", \"k_5606\": \"[8, 8, 8, 7, 8, 8, 8]\", \"k_c03d\": \"[6, 7, 8, 8, 8, 8, 8]\", \"k_c8ab\": \"[8, 6, 7, 7, 8, 8, 8]\"}}}", "gold": "{\"output\": \"k_c03d\"}"} -{"id": "gen_code:271", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v != floor)\\n\\nresult = tally({'owtzr': 7, 'ltepa': 8, 'fhg': 5, 'qxrck': 8, 'djcs': 7, 'ddb': 4}, 8)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_b306\": \"['ddb', 'djcs', 'fhg', 'ltepa']\", \"k_4d22\": \"['ddb', 'djcs', 'fhg', 'owtzr']\", \"k_607b\": \"['ddb', 'djcs', 'ltepa', 'owtzr']\", \"k_5c4b\": \"['ddb', 'ltepa', 'owtzr', 'qxrck']\"}}}", "gold": "{\"output\": \"k_4d22\"}"} -{"id": "gen_code:272", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([9, 6, 1, 3, 4, 4, 7, 3, 1], 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_6fd9\": \"[19, 14, 12, 18, 18, 15]\", \"k_2725\": \"[19, 17, 12, 14, 18, 15]\", \"k_bee8\": \"[13, 14, 12, 20, 24, 21]\", \"k_806a\": \"[19, 11, 9, 11, 15, 18]\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"k_6fd9\"}"} -{"id": "gen_code:273", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v >= floor)\\n\\nresult = tally({'fjvoo': 0, 'wuz': 5, 'dne': 1, 'zdt': 8, 'skxr': 0, 'kqg': 1}, 5)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_08ba\": \"['dne', 'wuz']\", \"k_30da\": \"['wuz', 'zdt']\", \"k_689a\": \"['kqg', 'wuz']\", \"k_a675\": \"['skxr', 'zdt']\"}}}", "gold": "{\"output\": \"k_30da\"}"} -{"id": "gen_code:274", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v != floor)\\n\\nresult = tally({'xclfb': 8, 'vriv': 7, 'geyn': 7, 'pvpij': 3, 'jvhbp': 1, 'hjp': 6}, 1)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_be6f\": \"['geyn', 'hjp', 'pvpij', 'vriv', 'xclfb']\", \"k_01a0\": \"['geyn', 'jvhbp', 'pvpij', 'vriv', 'xclfb']\", \"k_4dfe\": \"['geyn', 'hjp', 'jvhbp', 'pvpij', 'xclfb']\", \"k_e98a\": \"['geyn', 'hjp', 'jvhbp', 'pvpij', 'vriv']\"}}}", "gold": "{\"output\": \"k_be6f\"}"} -{"id": "gen_code:275", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v > floor)\\n\\nresult = tally({'psk': 6, 'ltyoc': 1, 'temg': 7, 'jhrgy': 4, 'jwy': 3, 'hje': 7}, 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_d803\": \"['jhrgy', 'jwy', 'psk', 'temg']\", \"k_a077\": \"['hje', 'jhrgy', 'psk', 'temg']\", \"k_4e44\": \"['hje', 'jwy', 'psk', 'temg']\", \"k_59bc\": \"['hje', 'jhrgy', 'jwy', 'temg']\"}}}", "gold": "{\"output\": \"k_a077\"}"} -{"id": "gen_code:276", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v < floor)\\n\\nresult = tally({'xdhob': 2, 'pwpj': 6, 'sle': 8, 'zvjd': 5, 'syh': 3, 'bohvb': 7}, 5)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_507e\": \"['syh', 'xdhob']\", \"k_2a0b\": \"['bohvb', 'syh']\", \"k_7cbe\": \"['pwpj', 'syh']\", \"k_f39b\": \"['bohvb', 'zvjd']\"}}}", "gold": "{\"output\": \"k_507e\"}"} -{"id": "gen_code:277", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a - b for a, b in zip(first, second)]\\n\\nresult = blend([8, 2, 2, 9, 6], [3, 9, 6, 8, 7])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_d7f2\": \"[-1, 6, 3, 1, -1]\", \"k_d7be\": \"[5, -7, -4, 1, -1]\", \"k_a24e\": \"[5, 4, -7, 1, -1]\", \"k_99a6\": \"[5, 0, -4, -6, -1]\"}}}", "gold": "{\"output\": \"k_d7be\"}"} -{"id": "gen_code:278", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a * b for a, b in zip(first, reversed(second))]\\n\\nresult = blend([7, 4, 5, 1, 2, 6], [7, 3, 4, 1, 6, 2])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_9247\": \"[14, 2, 20, 4, 18, 42]\", \"k_6800\": \"[14, 6, 5, 4, 24, 42]\", \"k_ae64\": \"[28, 8, 5, 2, 18, 42]\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"none_of_these\"}"} -{"id": "gen_code:279", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 - v\\n return total\\n\\nresult = sweep([6, 17, 16, 12, 14, 1], 6)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_e72a\": \"26\", \"k_0bcf\": \"-229\", \"k_4c7e\": \"-493\", \"k_7f4a\": \"-285\"}}}", "gold": "{\"output\": \"k_7f4a\"}"} -{"id": "gen_code:280", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size)]\\n\\nresult = window([6, 5, 6, 4, 3, 3, 5, 0], 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_9188\": \"[21, 18, 16, 15]\", \"k_008c\": \"[18, 18, 18, 14]\", \"k_9971\": \"[20, 18, 18, 12]\", \"k_bd41\": \"[19, 18, 17, 13]\"}}}", "gold": "{\"output\": \"k_9188\"}"} -{"id": "gen_code:281", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 - v\\n return total\\n\\nresult = sweep([13, 17, 16, 1, 4], 8)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_ed8c\": \"-160\", \"k_9c90\": \"-169\", \"k_d773\": \"-158\", \"k_0cfc\": \"-154\"}}}", "gold": "{\"output\": \"k_d773\"}"} -{"id": "gen_code:283", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = abs(total - v)\\n return total\\n\\nresult = sweep([13, 20, 6, 4, 5], 14)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_5365\": \"16\", \"k_9ab7\": \"14\", \"k_795c\": \"4\", \"k_9642\": \"12\"}}}", "gold": "{\"output\": \"k_795c\"}"} -{"id": "gen_code:284", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v >= floor)\\n\\nresult = tally({'zlr': 0, 'bsefu': 6, 'ylpz': 8, 'ykdoi': 0, 'xxnbv': 4, 'uds': 8}, 6)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_166c\": \"['bsefu', 'xxnbv', 'ylpz']\", \"k_d4d7\": \"['uds', 'ykdoi', 'ylpz']\", \"k_8ada\": \"['bsefu', 'uds', 'ylpz']\", \"k_9746\": \"['uds', 'ylpz', 'zlr']\"}}}", "gold": "{\"output\": \"k_8ada\"}"} -{"id": "gen_code:285", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a + b for a, b in zip(first, second)]\\n\\nresult = blend([8, 9, 3, 7], [8, 6, 9, 2])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_0a2b\": \"[16, 15, 12, 9]\", \"k_7ea8\": \"[16, 18, 13, 5]\", \"k_a8fb\": \"[17, 15, 11, 9]\", \"k_05d1\": \"[16, 18, 9, 9]\"}}}", "gold": "{\"output\": \"k_0a2b\"}"} -{"id": "gen_code:286", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([8, 7, 7, 7, 5, 2, 6, 8, 9], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_e5f8\": \"[15, 14, 14, 12, 7, 8, 14, 17]\", \"k_0134\": \"[15, 14, 16, 11, 7, 11, 14, 15]\", \"k_e3e7\": \"[15, 14, 16, 14, 11, 14, 10, 9]\", \"k_c57b\": \"[16, 14, 15, 13, 7, 8, 14, 15]\"}}}", "gold": "{\"output\": \"k_e5f8\"}"} -{"id": "gen_code:287", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v >= floor)\\n\\nresult = tally({'erdh': 7, 'fbskn': 3, 'ntto': 6, 'fdwxx': 5, 'dbtst': 0, 'myq': 6}, 6)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_baa4\": \"['dbtst', 'myq', 'ntto']\", \"k_c4c6\": \"['erdh', 'myq', 'ntto']\", \"k_be5d\": \"['dbtst', 'fdwxx', 'myq']\", \"k_ee71\": \"['dbtst', 'erdh', 'ntto']\"}}}", "gold": "{\"output\": \"k_c4c6\"}"} -{"id": "gen_code:288", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(0, len(values), size)]\\n\\nresult = window([5, 0, 4, 1, 0, 9, 1, 0, 9], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_19d6\": \"[9, 10, 1, 9, 0]\", \"k_6806\": \"[4, 1, 10, 5, 9]\", \"k_9fe9\": \"[5, 5, 9, 1, 9]\", \"k_30c7\": \"[6, 5, 9, 0, 9]\"}}}", "gold": "{\"output\": \"k_9fe9\"}"} -{"id": "gen_code:289", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a * b for a, b in zip(first, reversed(second))]\\n\\nresult = blend([4, 8, 7, 4, 6, 6], [5, 9, 5, 5, 9, 8])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_1f56\": \"[32, 72, 35, 30, 36, 30]\", \"k_30ae\": \"[32, 72, 35, 20, 30, 54]\", \"k_555a\": \"[32, 72, 35, 30, 45, 24]\", \"k_1ae6\": \"[32, 72, 35, 20, 54, 30]\"}}}", "gold": "{\"output\": \"k_1ae6\"}"} -{"id": "gen_code:290", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v > floor)\\n\\nresult = tally({'cdxfs': 5, 'lun': 6, 'ivjw': 3, 'trzvx': 3, 'nmxyt': 8, 'gdx': 5}, 5)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_020a\": \"['gdx', 'ivjw']\", \"k_fb1b\": \"['gdx', 'lun']\", \"k_ed36\": \"['lun', 'nmxyt']\", \"k_fafb\": \"['gdx', 'trzvx']\"}}}", "gold": "{\"output\": \"k_ed36\"}"} -{"id": "gen_code:291", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v > floor)\\n\\nresult = tally({'czit': 1, 'nfnyg': 8, 'thhu': 1, 'fywrp': 2, 'tjl': 7, 'wubcg': 8}, 7)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_6bba\": \"['czit', 'nfnyg']\", \"k_aa55\": \"['nfnyg', 'thhu']\", \"k_4885\": \"['nfnyg', 'wubcg']\", \"k_af51\": \"['tjl', 'wubcg']\"}}}", "gold": "{\"output\": \"k_4885\"}"} -{"id": "gen_code:292", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v != floor)\\n\\nresult = tally({'jau': 2, 'ckc': 1, 'grxk': 3, 'kqo': 3, 'fywy': 5, 'jzv': 8}, 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_ea5a\": \"['grxk', 'jau', 'jzv', 'kqo']\", \"k_bd7e\": \"['ckc', 'grxk', 'jau', 'jzv']\", \"k_3d84\": \"['ckc', 'fywy', 'jau', 'jzv']\", \"k_58fb\": \"['ckc', 'jau', 'jzv', 'kqo']\"}}}", "gold": "{\"output\": \"k_3d84\"}"} -{"id": "gen_code:293", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v >= floor)\\n\\nresult = tally({'volae': 3, 'lsm': 7, 'fyc': 8, 'mhkbx': 7, 'gdby': 2, 'prw': 1}, 7)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_103d\": \"['fyc', 'gdby', 'mhkbx']\", \"k_1f1b\": \"['fyc', 'mhkbx', 'prw']\", \"k_8f7a\": \"['fyc', 'mhkbx', 'volae']\", \"k_f4d3\": \"['fyc', 'lsm', 'mhkbx']\"}}}", "gold": "{\"output\": \"k_f4d3\"}"} -{"id": "gen_code:294", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a * b for a, b in zip(first, reversed(second))]\\n\\nresult = blend([9, 8, 9, 9, 7, 9], [3, 2, 9, 3, 1, 2])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_9e3d\": \"[9, 72, 27, 18, 14, 27]\", \"k_49df\": \"[18, 8, 6, 81, 63, 27]\", \"k_b535\": \"[18, 8, 27, 81, 14, 27]\", \"k_6797\": \"[18, 3, 27, 81, 14, 72]\"}}}", "gold": "{\"output\": \"k_b535\"}"} -{"id": "gen_code:295", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = max(total, v) + 1\\n return total\\n\\nresult = sweep([19, 3, 14, 16, 3], 12)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_3786\": \"24\", \"k_760c\": \"22\", \"k_3df2\": \"21\", \"k_5f5a\": \"23\"}}}", "gold": "{\"output\": \"k_3786\"}"} -{"id": "gen_code:296", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v > floor)\\n\\nresult = tally({'nowtb': 2, 'ricuo': 4, 'bgkfb': 6, 'vxlif': 1, 'atlw': 3, 'runol': 0}, 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_8ffd\": \"['atlw', 'bgkfb', 'ricuo']\", \"k_ba97\": \"['nowtb', 'ricuo', 'vxlif']\", \"k_6726\": \"['bgkfb', 'nowtb', 'vxlif']\", \"k_4b68\": \"['bgkfb', 'ricuo', 'vxlif']\"}}}", "gold": "{\"output\": \"k_8ffd\"}"} -{"id": "gen_code:297", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size)]\\n\\nresult = window([3, 7, 9, 3, 2, 9], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_8302\": \"[10, 16, 12, 5]\", \"k_41e0\": \"[16, 10, 6, 5]\", \"k_62d3\": \"[9, 11, 12, 6]\", \"k_c5a1\": \"[10, 12, 12, 5]\"}}}", "gold": "{\"output\": \"k_8302\"}"} -{"id": "gen_code:298", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v >= floor)\\n\\nresult = tally({'hywc': 1, 'mhp': 4, 'xgurv': 8, 'ucdx': 6, 'oetr': 6, 'yntt': 7}, 8)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_1fba\": \"['yntt']\", \"k_a675\": \"['xgurv']\", \"k_b8d9\": \"['mhp']\", \"k_44fc\": \"['hywc']\"}}}", "gold": "{\"output\": \"k_a675\"}"} -{"id": "gen_code:299", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(0, len(values), size)]\\n\\nresult = window([8, 0, 9, 4, 0, 3, 1, 4, 7], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_8c03\": \"[8, 10, 4, 7, 7]\", \"k_99bf\": \"[8, 13, 1, 7, 7]\", \"k_5f57\": \"[8, 13, 3, 5, 7]\", \"k_63e9\": \"[8, 10, 7, 4, 7]\"}}}", "gold": "{\"output\": \"k_5f57\"}"} -{"id": "gen_code:300", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a * b for a, b in zip(first, reversed(second))]\\n\\nresult = blend([7, 5, 8, 4, 1, 1], [4, 9, 5, 8, 4, 1])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_9ec8\": \"[5, 7, 64, 20, 9, 16]\", \"k_6d1f\": \"[7, 20, 64, 20, 9, 4]\", \"k_1a8d\": \"[5, 32, 56, 20, 9, 4]\", \"k_e9d9\": \"[40, 7, 32, 20, 9, 4]\"}}}", "gold": "{\"output\": \"k_6d1f\"}"} -{"id": "gen_code:301", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 - v\\n return total\\n\\nresult = sweep([19, 13, 8, 14, 15, 3], 18)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_dd7e\": \"183\", \"k_3053\": \"145\", \"k_d744\": \"593\", \"k_9b79\": \"151\"}}}", "gold": "{\"output\": \"k_dd7e\"}"} -{"id": "gen_code:302", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 + v\\n return total\\n\\nresult = sweep([12, 13, 17, 5, 4], 11)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_52c6\": \"719\", \"k_d729\": \"737\", \"k_c636\": \"675\", \"k_d219\": \"730\"}}}", "gold": "{\"output\": \"k_d219\"}"} -{"id": "gen_code:303", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 - v\\n return total\\n\\nresult = sweep([17, 14, 19, 2], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_6d7a\": \"-200\", \"k_9d6b\": \"-171\", \"k_1364\": \"-176\", \"k_acc3\": \"-197\"}}}", "gold": "{\"output\": \"k_6d7a\"}"} -{"id": "gen_code:304", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [max(a, b) for a, b in zip(first, second)]\\n\\nresult = blend([4, 5, 7, 9, 9], [5, 8, 9, 6, 7])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_1dd7\": \"[5, 8, 9, 9, 9]\", \"k_7df0\": \"[5, 9, 9, 7, 8]\", \"k_01fe\": \"[5, 9, 9, 9, 8]\", \"k_c342\": \"[5, 9, 7, 9, 8]\"}}}", "gold": "{\"output\": \"k_1dd7\"}"} -{"id": "gen_code:305", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 + v\\n return total\\n\\nresult = sweep([5, 3, 8], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_0a04\": \"69\", \"k_250b\": \"57\", \"k_69c5\": \"58\", \"k_8524\": \"63\"}}}", "gold": "{\"output\": \"k_69c5\"}"} -{"id": "gen_code:306", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = abs(total - v)\\n return total\\n\\nresult = sweep([16, 5, 17, 6, 6, 14], 0)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_041a\": \"4\", \"k_56ff\": \"8\", \"k_0003\": \"2\", \"k_d9c3\": \"6\"}}}", "gold": "{\"output\": \"k_56ff\"}"} -{"id": "gen_code:307", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = max(total, v) + 1\\n return total\\n\\nresult = sweep([5, 2, 18, 8, 15], 0)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_4641\": \"19\", \"k_dfe6\": \"21\", \"k_62fe\": \"20\", \"k_531e\": \"23\"}}}", "gold": "{\"output\": \"k_dfe6\"}"} -{"id": "gen_code:308", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(0, len(values), size)]\\n\\nresult = window([6, 9, 2, 9, 1, 8, 0], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_962d\": \"[17, 11, 1, 6]\", \"k_50dc\": \"[11, 7, 8, 9]\", \"k_bdfe\": \"[11, 10, 8, 6]\", \"k_be38\": \"[15, 11, 9, 0]\"}}}", "gold": "{\"output\": \"k_be38\"}"} -{"id": "gen_code:309", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = abs(total - v)\\n return total\\n\\nresult = sweep([11, 14, 20, 8, 20], 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_5ab8\": \"13\", \"k_dd06\": \"1\", \"k_9cef\": \"11\", \"k_955a\": \"15\"}}}", "gold": "{\"output\": \"k_955a\"}"} -{"id": "gen_code:310", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v != floor)\\n\\nresult = tally({'htzms': 4, 'gmn': 2, 'awl': 7, 'woo': 7, 'eyyd': 2, 'eze': 4}, 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_20b1\": \"['awl', 'eze', 'htzms', 'woo']\", \"k_a335\": \"['awl', 'eyyd', 'gmn', 'woo']\", \"k_c2c3\": \"['awl', 'eyyd', 'eze', 'gmn']\", \"k_db32\": \"['awl', 'eze', 'gmn', 'woo']\"}}}", "gold": "{\"output\": \"k_20b1\"}"} -{"id": "gen_code:311", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [max(a, b) for a, b in zip(first, second)]\\n\\nresult = blend([2, 9, 4, 9], [2, 3, 3, 7])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_dfbf\": \"[9, 3, 3, 9]\", \"k_6c09\": \"[9, 3, 4, 9]\", \"k_7014\": \"[9, 7, 4, 9]\", \"k_ccf2\": \"[2, 9, 4, 9]\"}}}", "gold": "{\"output\": \"k_ccf2\"}"} -{"id": "gen_code:312", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v >= floor)\\n\\nresult = tally({'ocj': 6, 'xefok': 4, 'hvi': 6, 'bdcc': 7, 'maddr': 3, 'cca': 4}, 6)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_a8d8\": \"['bdcc', 'hvi', 'ocj']\", \"k_0364\": \"['cca', 'hvi', 'xefok']\", \"k_46d2\": \"['cca', 'hvi', 'ocj']\", \"k_3388\": \"['hvi', 'maddr', 'xefok']\"}}}", "gold": "{\"output\": \"k_a8d8\"}"} -{"id": "gen_code:313", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a * b for a, b in zip(first, reversed(second))]\\n\\nresult = blend([3, 5, 5, 6], [4, 9, 2, 2])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_9691\": \"[18, 30, 15, 8]\", \"k_7dc2\": \"[10, 18, 45, 8]\", \"k_e1db\": \"[6, 10, 45, 24]\", \"k_be66\": \"[6, 30, 18, 20]\"}}}", "gold": "{\"output\": \"k_e1db\"}"} -{"id": "gen_code:314", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v != floor)\\n\\nresult = tally({'flbb': 4, 'ffs': 4, 'eoe': 4, 'nsa': 8, 'esdj': 1, 'uhreo': 1}, 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_cc32\": \"['esdj', 'flbb', 'nsa']\", \"k_f54f\": \"['eoe', 'esdj', 'flbb']\", \"k_6e51\": \"['esdj', 'nsa', 'uhreo']\", \"k_7184\": \"['esdj', 'flbb', 'uhreo']\"}}}", "gold": "{\"output\": \"k_6e51\"}"} -{"id": "gen_code:315", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 + v\\n return total\\n\\nresult = sweep([9, 13, 18, 18, 6, 3], 0)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_7818\": \"694\", \"k_cf68\": \"764\", \"k_98e2\": \"727\", \"k_b69e\": \"688\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"k_98e2\"}"} -{"id": "gen_code:316", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a - b for a, b in zip(first, second)]\\n\\nresult = blend([1, 8, 6, 8], [4, 2, 9, 3])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_bdbb\": \"[-3, -1, 3, -6]\", \"k_beb4\": \"[-3, -1, -2, -1]\", \"k_a8c7\": \"[-3, 6, -3, 5]\", \"k_3766\": \"[-3, -5, -3, -6]\"}}}", "gold": "{\"output\": \"k_a8c7\"}"} -{"id": "gen_code:317", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(0, len(values), size)]\\n\\nresult = window([2, 9, 4, 4, 3, 4], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_220b\": \"[13, 7, 6]\", \"k_c206\": \"[13, 6, 7]\", \"k_32b4\": \"[11, 7, 8]\", \"k_0a94\": \"[11, 8, 7]\"}}}", "gold": "{\"output\": \"k_0a94\"}"} -{"id": "gen_code:318", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size)]\\n\\nresult = window([7, 7, 3, 2, 4, 5, 7], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_0279\": \"[13, 9, 12, 15]\", \"k_a3ed\": \"[17, 12, 9, 11]\", \"k_e2aa\": \"[12, 9, 13, 16]\", \"k_5a68\": \"[12, 10, 11, 16]\"}}}", "gold": "{\"output\": \"k_a3ed\"}"} -{"id": "gen_code:319", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v >= floor)\\n\\nresult = tally({'ynm': 8, 'hetmf': 8, 'gjug': 2, 'cxzm': 6, 'ltls': 0, 'bpv': 8}, 8)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_875d\": \"['bpv', 'hetmf', 'ynm']\", \"k_02f6\": \"['bpv', 'cxzm', 'hetmf']\", \"k_d140\": \"['bpv', 'cxzm', 'ynm']\", \"k_b3c9\": \"['cxzm', 'ltls', 'ynm']\"}}}", "gold": "{\"output\": \"k_875d\"}"} -{"id": "gen_code:321", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a * b for a, b in zip(first, reversed(second))]\\n\\nresult = blend([9, 2, 3, 6, 7], [4, 2, 4, 4, 4])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_d8d9\": \"[18, 16, 12, 24, 14]\", \"k_99da\": \"[36, 8, 12, 12, 28]\", \"k_0b50\": \"[8, 8, 12, 24, 63]\", \"k_d980\": \"[36, 28, 12, 24, 4]\"}}}", "gold": "{\"output\": \"k_99da\"}"} -{"id": "gen_code:322", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v != floor)\\n\\nresult = tally({'wbmkg': 1, 'kelm': 2, 'pjiwj': 7, 'dyxno': 2, 'ovzaz': 8, 'ktkr': 0}, 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_387e\": \"['kelm', 'ktkr', 'ovzaz', 'pjiwj']\", \"k_1aa8\": \"['kelm', 'ktkr', 'ovzaz', 'wbmkg']\", \"k_a10d\": \"['ktkr', 'ovzaz', 'pjiwj', 'wbmkg']\", \"k_d8dd\": \"['kelm', 'ktkr', 'pjiwj', 'wbmkg']\"}}}", "gold": "{\"output\": \"k_a10d\"}"} -{"id": "gen_code:323", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [max(a, b) for a, b in zip(first, second)]\\n\\nresult = blend([7, 1, 4, 1, 5, 7], [8, 2, 9, 8, 7, 8])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_da01\": \"[7, 9, 8, 7, 8, 8]\", \"k_9924\": \"[8, 5, 9, 8, 7, 8]\", \"k_2c66\": \"[8, 2, 9, 8, 7, 8]\", \"k_c8f3\": \"[8, 5, 8, 9, 7, 8]\"}}}", "gold": "{\"output\": \"k_2c66\"}"} -{"id": "gen_code:324", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 + v\\n return total\\n\\nresult = sweep([13, 1, 6, 7, 14], 17)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_ad3b\": \"812\", \"k_8b77\": \"725\", \"k_152c\": \"848\", \"k_c96b\": \"839\"}}}", "gold": "{\"output\": \"k_ad3b\"}"} -{"id": "gen_code:325", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 + v\\n return total\\n\\nresult = sweep([3, 8, 13, 13], 12)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_ac1f\": \"357\", \"k_b077\": \"347\", \"k_f0bf\": \"337\", \"k_368e\": \"287\"}}}", "gold": "{\"output\": \"k_368e\"}"} -{"id": "gen_code:326", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 + v\\n return total\\n\\nresult = sweep([5, 8, 15, 6, 7], 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_6e78\": \"380\", \"k_6d9b\": \"339\", \"k_ae9f\": \"459\", \"k_5b55\": \"351\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"k_5b55\"}"} -{"id": "gen_code:327", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a - b for a, b in zip(first, second)]\\n\\nresult = blend([3, 4, 4, 6], [7, 5, 1, 8])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_85ab\": \"[4, -4, 0, -2]\", \"k_a80a\": \"[-4, -1, 3, -2]\", \"k_5a39\": \"[-1, -6, -1, -2]\", \"k_8e8c\": \"[-5, -4, 0, -1]\"}}}", "gold": "{\"output\": \"k_a80a\"}"} -{"id": "gen_code:328", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [max(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([9, 3, 9, 8, 0, 2, 7, 3], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_e5f8\": \"[9, 9, 9, 8, 2, 7, 7]\", \"k_4b17\": \"[9, 7, 8, 8, 2, 9, 9]\", \"k_d732\": \"[9, 9, 9, 8, 2, 3, 7]\", \"k_3a1f\": \"[9, 9, 8, 2, 7, 7, 3]\"}}}", "gold": "{\"output\": \"k_e5f8\"}"} -{"id": "gen_code:329", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = abs(total - v)\\n return total\\n\\nresult = sweep([6, 15, 16, 13, 2, 19], 5)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_fbc5\": \"8\", \"k_5869\": \"16\", \"k_8b58\": \"2\", \"k_3299\": \"10\"}}}", "gold": "{\"output\": \"k_3299\"}"} -{"id": "gen_code:330", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v < floor)\\n\\nresult = tally({'tvnoi': 6, 'sjw': 2, 'wtujl': 7, 'iso': 7, 'gvkp': 2, 'liw': 1}, 7)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_a878\": \"['liw', 'sjw', 'tvnoi', 'wtujl']\", \"k_5178\": \"['gvkp', 'liw', 'sjw', 'tvnoi']\", \"k_6179\": \"['iso', 'sjw', 'tvnoi', 'wtujl']\", \"k_6638\": \"['iso', 'liw', 'sjw', 'tvnoi']\"}}}", "gold": "{\"output\": \"k_5178\"}"} -{"id": "gen_code:331", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v >= floor)\\n\\nresult = tally({'icd': 0, 'ubz': 2, 'vkzey': 3, 'dualz': 0, 'vlbau': 1, 'zjih': 4}, 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_3453\": \"['ubz', 'zjih']\", \"k_5c93\": \"['vkzey', 'zjih']\", \"k_a153\": \"['vlbau', 'zjih']\", \"k_b658\": \"['icd', 'zjih']\"}}}", "gold": "{\"output\": \"k_5c93\"}"} -{"id": "gen_code:332", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 - v\\n return total\\n\\nresult = sweep([1, 20, 16, 2], 16)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_f204\": \"72\", \"k_c702\": \"134\", \"k_ef98\": \"55\", \"k_87f5\": \"188\"}}}", "gold": "{\"output\": \"k_c702\"}"} -{"id": "gen_code:334", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 - v\\n return total\\n\\nresult = sweep([12, 1, 6, 11, 11], 16)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_10ee\": \"350\", \"k_5a51\": \"255\", \"k_766c\": \"219\", \"k_1695\": \"252\"}}}", "gold": "{\"output\": \"k_5a51\"}"} -{"id": "gen_code:335", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = abs(total - v)\\n return total\\n\\nresult = sweep([20, 14, 3, 15, 14, 10], 19)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_ee76\": \"3\", \"k_6351\": \"9\", \"k_3970\": \"7\", \"k_b25c\": \"1\"}}}", "gold": "{\"output\": \"k_b25c\"}"} -{"id": "gen_code:336", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(0, len(values), size)]\\n\\nresult = window([8, 2, 0, 8, 7, 6, 4, 5], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_fa2a\": \"[15, 15, 10]\", \"k_5da6\": \"[22, 9, 9]\", \"k_aefb\": \"[16, 12, 12]\", \"k_550d\": \"[10, 21, 9]\"}}}", "gold": "{\"output\": \"k_550d\"}"} -{"id": "gen_code:337", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size)]\\n\\nresult = window([1, 4, 8, 0, 7, 2, 8, 6, 3], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_558c\": \"[7, 5, 12, 15, 23, 21]\", \"k_3909\": \"[14, 12, 15, 15, 16, 15]\", \"k_b57b\": \"[7, 13, 12, 11, 11, 17]\", \"k_6c07\": \"[13, 12, 15, 9, 17, 16]\"}}}", "gold": "{\"output\": \"k_6c07\"}"} -{"id": "gen_code:338", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v != floor)\\n\\nresult = tally({'hfn': 6, 'jpaw': 2, 'hzxob': 1, 'wxo': 5, 'ttwoh': 5, 'moyl': 2}, 5)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_907c\": \"['hfn', 'jpaw', 'moyl', 'ttwoh']\", \"k_916b\": \"['hfn', 'hzxob', 'jpaw', 'moyl']\", \"k_cf4c\": \"['hfn', 'hzxob', 'moyl', 'ttwoh']\", \"k_f05e\": \"['hzxob', 'jpaw', 'moyl', 'ttwoh']\"}}}", "gold": "{\"output\": \"k_916b\"}"} -{"id": "gen_code:339", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [max(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([3, 4, 3, 2, 9, 6, 9], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_5d4b\": \"[4, 6, 9, 9, 9]\", \"k_0735\": \"[6, 9, 9, 9, 9]\", \"k_fffe\": \"[4, 4, 9, 9, 9]\", \"k_ff3e\": \"[6, 6, 9, 9, 9]\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"k_fffe\"}"} -{"id": "gen_code:340", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a + b for a, b in zip(first, second)]\\n\\nresult = blend([4, 8, 6, 3], [9, 4, 7, 2])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_76da\": \"[12, 12, 13, 6]\", \"k_73a9\": \"[13, 6, 13, 11]\", \"k_dea4\": \"[10, 12, 16, 5]\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"none_of_these\"}"} -{"id": "gen_code:343", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(0, len(values), size)]\\n\\nresult = window([9, 1, 3, 3, 0, 1, 1, 2, 1], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_c99a\": \"[13, 5, 3]\", \"k_79a0\": \"[15, 2, 4]\", \"k_0fad\": \"[13, 4, 4]\", \"k_fe0b\": \"[7, 10, 4]\"}}}", "gold": "{\"output\": \"k_0fad\"}"} -{"id": "gen_code:344", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [max(a, b) for a, b in zip(first, second)]\\n\\nresult = blend([9, 6, 6, 1, 5], [4, 3, 7, 1, 3])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_6420\": \"[9, 3, 7, 3, 6]\", \"k_23f9\": \"[9, 6, 7, 1, 5]\", \"k_8139\": \"[9, 6, 7, 3, 5]\", \"k_05dd\": \"[9, 6, 7, 3, 6]\"}}}", "gold": "{\"output\": \"k_23f9\"}"} -{"id": "gen_code:345", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 + v\\n return total\\n\\nresult = sweep([7, 12, 13, 18, 20, 13], 15)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_9551\": \"1605\", \"k_f27b\": \"1637\", \"k_5471\": \"1613\", \"k_6542\": \"1696\"}}}", "gold": "{\"output\": \"k_9551\"}"} -{"id": "gen_code:346", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 - v\\n return total\\n\\nresult = sweep([4, 12, 1, 11, 13, 3], 5)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_6383\": \"-231\", \"k_73e8\": \"40\", \"k_2527\": \"-350\", \"k_6274\": \"-81\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"k_6274\"}"} -{"id": "gen_code:347", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([9, 6, 9, 3, 5, 6, 0], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_473b\": \"[20, 14, 17, 18, 15]\", \"k_35af\": \"[24, 20, 14, 14, 9]\", \"k_8036\": \"[24, 18, 17, 14, 11]\", \"k_14fb\": \"[15, 24, 20, 17, 14]\"}}}", "gold": "{\"output\": \"k_8036\"}"} -{"id": "gen_code:348", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [max(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([2, 8, 7, 8, 0, 1], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_b66c\": \"[8, 8, 8, 8, 1]\", \"k_5db2\": \"[8, 8, 7, 8, 8]\", \"k_b3f9\": \"[8, 8, 8, 7, 1]\", \"k_9c7f\": \"[8, 8, 8, 7, 2]\"}}}", "gold": "{\"output\": \"k_b66c\"}"} -{"id": "gen_code:349", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [max(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([8, 2, 1, 6, 4, 8, 4, 4], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_81f7\": \"[8, 2, 6, 6, 8, 8, 4]\", \"k_189d\": \"[2, 8, 8, 6, 8, 8, 4]\", \"k_1cca\": \"[8, 4, 6, 6, 8, 8, 4]\", \"k_a957\": \"[8, 8, 6, 6, 4, 4, 4]\"}}}", "gold": "{\"output\": \"k_81f7\"}"} -{"id": "gen_code:350", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [max(a, b) for a, b in zip(first, second)]\\n\\nresult = blend([1, 4, 2, 7, 4, 6], [4, 8, 6, 2, 2, 5])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_f47e\": \"[5, 4, 8, 7, 4, 6]\", \"k_2f4e\": \"[5, 8, 6, 7, 4, 6]\", \"k_d3cc\": \"[5, 8, 4, 7, 4, 6]\", \"k_24fa\": \"[4, 8, 6, 7, 4, 6]\"}}}", "gold": "{\"output\": \"k_24fa\"}"} -{"id": "gen_code:351", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v != floor)\\n\\nresult = tally({'qpgpi': 6, 'lox': 3, 'vjkuw': 8, 'fuhei': 8, 'zkw': 5, 'tfroy': 2}, 5)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_4f0b\": \"['fuhei', 'lox', 'qpgpi', 'tfroy', 'zkw']\", \"k_23b1\": \"['fuhei', 'lox', 'qpgpi', 'tfroy', 'vjkuw']\", \"k_e563\": \"['fuhei', 'lox', 'qpgpi', 'vjkuw', 'zkw']\", \"k_dd52\": \"['lox', 'qpgpi', 'tfroy', 'vjkuw', 'zkw']\"}}}", "gold": "{\"output\": \"k_23b1\"}"} -{"id": "gen_code:352", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [max(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([4, 6, 2, 5, 0, 6, 2, 2], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_90e7\": \"[6, 6, 5, 6, 6, 6]\", \"k_f6f2\": \"[6, 6, 6, 5, 5, 5]\", \"k_ecfa\": \"[6, 6, 6, 5, 5, 2]\", \"k_2166\": \"[6, 6, 6, 6, 5, 5]\"}}}", "gold": "{\"output\": \"k_90e7\"}"} -{"id": "gen_code:353", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([1, 5, 9, 7, 2, 7], 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_0615\": \"[22, 17, 23]\", \"k_d4e4\": \"[17, 23, 28]\", \"k_6f0b\": \"[22, 23, 25]\", \"k_36de\": \"[20, 21, 23]\"}}}", "gold": "{\"output\": \"k_6f0b\"}"} -{"id": "gen_code:354", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v > floor)\\n\\nresult = tally({'ibh': 5, 'vgrh': 0, 'zenoo': 1, 'hpaol': 8, 'ectd': 1, 'pxbr': 8}, 5)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_9157\": \"['ectd', 'ibh']\", \"k_9c6b\": \"['hpaol', 'pxbr']\", \"k_5dfb\": \"['pxbr', 'vgrh']\", \"k_603a\": \"['ibh', 'pxbr']\"}}}", "gold": "{\"output\": \"k_9c6b\"}"} -{"id": "gen_code:355", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v < floor)\\n\\nresult = tally({'bwnmg': 4, 'bsnt': 5, 'kcyj': 3, 'cuhzo': 8, 'ogh': 1, 'rjici': 4}, 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_45e8\": \"['bsnt', 'cuhzo']\", \"k_e931\": \"['ogh', 'rjici']\", \"k_f3ae\": \"['kcyj', 'ogh']\", \"k_5adc\": \"['cuhzo', 'ogh']\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"k_f3ae\"}"} -{"id": "gen_code:356", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v > floor)\\n\\nresult = tally({'dgx': 0, 'ysiou': 4, 'hvoq': 3, 'eeci': 8, 'txj': 3, 'ubdc': 1}, 1)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_38e3\": \"['dgx', 'hvoq', 'ubdc', 'ysiou']\", \"k_2312\": \"['eeci', 'hvoq', 'txj', 'ysiou']\", \"k_78ab\": \"['dgx', 'hvoq', 'txj', 'ubdc']\", \"k_9dac\": \"['hvoq', 'txj', 'ubdc', 'ysiou']\"}}}", "gold": "{\"output\": \"k_2312\"}"} -{"id": "gen_code:357", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a - b for a, b in zip(first, second)]\\n\\nresult = blend([1, 5, 4, 7, 3], [2, 4, 8, 4, 9])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_61f8\": \"[-1, 1, -4, 3, -6]\", \"k_9a3c\": \"[3, -5, 3, -5, -3]\", \"k_d09d\": \"[-1, -5, -1, -1, -1]\", \"k_4cba\": \"[5, -4, 0, -7, -1]\"}}}", "gold": "{\"output\": \"k_61f8\"}"} -{"id": "gen_code:358", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v != floor)\\n\\nresult = tally({'bcae': 2, 'pyh': 3, 'tke': 6, 'svq': 0, 'dqkgw': 3, 'rkcgn': 5}, 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_d39e\": \"['dqkgw', 'pyh', 'rkcgn', 'svq']\", \"k_7997\": \"['pyh', 'rkcgn', 'svq', 'tke']\", \"k_be4d\": \"['bcae', 'rkcgn', 'svq', 'tke']\", \"k_db7c\": \"['bcae', 'pyh', 'rkcgn', 'svq']\"}}}", "gold": "{\"output\": \"k_be4d\"}"} -{"id": "gen_code:361", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([0, 4, 1, 1, 7, 6, 5, 1, 4], 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_83c0\": \"[6, 13, 15, 19, 19, 16]\", \"k_401e\": \"[12, 18, 19, 13, 13, 11]\", \"k_552b\": \"[15, 16, 13, 15, 13, 13]\", \"k_d448\": \"[12, 13, 15, 19, 13, 16]\"}}}", "gold": "{\"output\": \"k_83c0\"}"} -{"id": "gen_code:362", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(0, len(values), size)]\\n\\nresult = window([5, 7, 9, 7, 7, 3, 5, 4, 4], 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_743a\": \"[24, 23, 4]\", \"k_0465\": \"[25, 19, 7]\", \"k_e2b9\": \"[28, 19, 4]\", \"k_9da0\": \"[20, 22, 9]\"}}}", "gold": "{\"output\": \"k_e2b9\"}"} -{"id": "gen_code:363", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 - v\\n return total\\n\\nresult = sweep([13, 14, 3, 1, 1, 16], 9)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_61e2\": \"-47\", \"k_359a\": \"30\", \"k_804f\": \"-110\", \"k_8994\": \"-22\"}}}", "gold": "{\"output\": \"k_804f\"}"} -{"id": "gen_code:364", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size)]\\n\\nresult = window([0, 2, 8, 8, 4, 8, 3], 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_0df9\": \"[18, 14, 22]\", \"k_2f96\": \"[14, 22, 28]\", \"k_1e99\": \"[18, 22, 28]\", \"k_f7ba\": \"[14, 20, 28]\"}}}", "gold": "{\"output\": \"k_1e99\"}"} -{"id": "gen_code:365", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(0, len(values), size)]\\n\\nresult = window([6, 9, 6, 9, 6, 3, 1, 0, 1], 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_cc32\": \"[30, 5, 6]\", \"k_400b\": \"[30, 8, 3]\", \"k_7b39\": \"[30, 10, 1]\", \"k_7124\": \"[25, 10, 6]\"}}}", "gold": "{\"output\": \"k_7b39\"}"} -{"id": "gen_code:366", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a * b for a, b in zip(first, reversed(second))]\\n\\nresult = blend([4, 5, 2, 8], [1, 4, 8, 8])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_2cf8\": \"[32, 40, 8, 8]\", \"k_0bc8\": \"[8, 40, 64, 4]\", \"k_6183\": \"[8, 40, 32, 8]\", \"k_f54a\": \"[10, 64, 16, 8]\"}}}", "gold": "{\"output\": \"k_2cf8\"}"} -{"id": "gen_code:367", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v != floor)\\n\\nresult = tally({'vzac': 0, 'rhpi': 0, 'rghj': 6, 'garws': 0, 'duklf': 5, 'dcckp': 3}, 0)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_a46f\": \"['duklf', 'garws', 'rghj']\", \"k_12b9\": \"['dcckp', 'duklf', 'rghj']\", \"k_66b7\": \"['dcckp', 'rghj', 'rhpi']\", \"k_da7e\": \"['dcckp', 'garws', 'rghj']\"}}}", "gold": "{\"output\": \"k_12b9\"}"} -{"id": "gen_code:368", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a - b for a, b in zip(first, second)]\\n\\nresult = blend([9, 3, 3, 9], [5, 6, 4, 6])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_c7b5\": \"[4, -3, -1, 3]\", \"k_e225\": \"[5, -3, -3, 4]\", \"k_bb17\": \"[3, -2, 0, 4]\", \"k_28e5\": \"[-3, -3, 5, 4]\"}}}", "gold": "{\"output\": \"k_c7b5\"}"} -{"id": "gen_code:369", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [max(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([4, 4, 7, 9, 2, 3, 7], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_cb37\": \"[4, 7, 7, 9, 9, 7]\", \"k_7fe7\": \"[4, 7, 9, 9, 7, 3]\", \"k_78cc\": \"[4, 7, 9, 9, 3, 7]\", \"k_14d1\": \"[4, 7, 7, 3, 9, 9]\"}}}", "gold": "{\"output\": \"k_78cc\"}"} -{"id": "gen_code:370", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a * b for a, b in zip(first, reversed(second))]\\n\\nresult = blend([6, 7, 1, 8, 6], [5, 3, 9, 6, 3])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_f4ae\": \"[15, 56, 9, 18, 36]\", \"k_b578\": \"[45, 21, 6, 24, 36]\", \"k_4465\": \"[18, 42, 9, 24, 30]\", \"k_279d\": \"[15, 21, 6, 72, 36]\"}}}", "gold": "{\"output\": \"k_4465\"}"} -{"id": "gen_code:371", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 + v\\n return total\\n\\nresult = sweep([19, 20, 16], 12)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_9f88\": \"219\", \"k_e7e9\": \"224\", \"k_0361\": \"230\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"none_of_these\"}"} -{"id": "gen_code:372", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = max(total, v) + 1\\n return total\\n\\nresult = sweep([1, 6, 4, 5, 20, 10], 14)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_e6aa\": \"22\", \"k_12d8\": \"26\", \"k_c354\": \"23\", \"k_ab61\": \"21\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"k_e6aa\"}"} -{"id": "gen_code:373", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a + b for a, b in zip(first, second)]\\n\\nresult = blend([2, 2, 8, 4, 9], [7, 2, 6, 2, 7])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_54f5\": \"[10, 11, 13, 6, 9]\", \"k_6c2b\": \"[9, 11, 14, 6, 9]\", \"k_faf7\": \"[15, 11, 8, 6, 9]\", \"k_6560\": \"[9, 4, 14, 6, 16]\"}}}", "gold": "{\"output\": \"k_6560\"}"} -{"id": "gen_code:374", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(0, len(values), size)]\\n\\nresult = window([7, 6, 6, 3, 1, 0, 1], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_308a\": \"[7, 10, 6, 1]\", \"k_16c0\": \"[13, 4, 6, 1]\", \"k_ffcc\": \"[12, 8, 3, 1]\", \"k_5f34\": \"[13, 9, 1, 1]\"}}}", "gold": "{\"output\": \"k_5f34\"}"} -{"id": "gen_code:375", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a * b for a, b in zip(first, reversed(second))]\\n\\nresult = blend([4, 7, 6, 9, 5], [8, 5, 1, 1, 2])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_fbad\": \"[8, 7, 6, 45, 40]\", \"k_2ec9\": \"[28, 6, 9, 10, 40]\", \"k_9c5a\": \"[32, 12, 9, 7, 25]\", \"k_9703\": \"[4, 12, 9, 35, 40]\"}}}", "gold": "{\"output\": \"k_fbad\"}"} -{"id": "gen_code:376", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v < floor)\\n\\nresult = tally({'iqyz': 4, 'nps': 1, 'zbj': 2, 'ivahg': 5, 'nys': 5, 'gmk': 5}, 5)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_ed81\": \"['gmk', 'iqyz', 'nps']\", \"k_ac6b\": \"['iqyz', 'nps', 'zbj']\", \"k_6e84\": \"['iqyz', 'ivahg', 'nps']\", \"k_e56b\": \"['gmk', 'ivahg', 'nps']\"}}}", "gold": "{\"output\": \"k_ac6b\"}"} -{"id": "gen_code:377", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v < floor)\\n\\nresult = tally({'rvjbo': 0, 'qihl': 0, 'fqdh': 6, 'vzf': 1, 'qrsg': 7, 'dhzxo': 1}, 1)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_f73a\": \"['qihl', 'rvjbo']\", \"k_ff54\": \"['qihl', 'vzf']\", \"k_2f2b\": \"['qrsg', 'rvjbo']\", \"k_201a\": \"['dhzxo', 'rvjbo']\"}}}", "gold": "{\"output\": \"k_f73a\"}"} -{"id": "gen_code:378", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([9, 1, 0, 9, 2, 6, 3, 3, 8], 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_8953\": \"[13, 19, 20, 17, 20, 19]\", \"k_bc55\": \"[19, 12, 17, 20, 14, 20]\", \"k_6120\": \"[22, 15, 18, 20, 11, 17]\", \"k_96fc\": \"[13, 19, 12, 17, 20, 19]\"}}}", "gold": "{\"output\": \"k_bc55\"}"} -{"id": "gen_code:379", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([5, 1, 9, 2, 2, 4, 7, 7, 3], 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_fa54\": \"[17, 19, 22, 15, 20, 16]\", \"k_4e37\": \"[15, 14, 17, 15, 20, 23]\", \"k_0541\": \"[17, 14, 17, 15, 20, 21]\", \"k_d35b\": \"[17, 15, 18, 16, 21, 20]\"}}}", "gold": "{\"output\": \"k_0541\"}"} -{"id": "gen_code:380", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v >= floor)\\n\\nresult = tally({'wybx': 3, 'zwi': 6, 'wcmt': 4, 'lrvmy': 1, 'uljn': 7, 'msi': 4}, 6)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_27cf\": \"['msi', 'zwi']\", \"k_6845\": \"['wcmt', 'zwi']\", \"k_8bb4\": \"['msi', 'uljn']\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"none_of_these\"}"} -{"id": "gen_code:381", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a * b for a, b in zip(first, reversed(second))]\\n\\nresult = blend([6, 5, 6, 3, 8, 9], [3, 9, 2, 6, 2, 6])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_7953\": \"[36, 10, 36, 6, 72, 27]\", \"k_143f\": \"[36, 40, 18, 6, 18, 54]\", \"k_c5b2\": \"[30, 12, 18, 6, 72, 54]\", \"k_9bd8\": \"[36, 10, 18, 6, 72, 54]\"}}}", "gold": "{\"output\": \"k_7953\"}"} -{"id": "gen_code:383", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a + b for a, b in zip(first, second)]\\n\\nresult = blend([8, 2, 2, 8, 1], [3, 9, 5, 8, 5])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_9dad\": \"[11, 11, 7, 16, 6]\", \"k_aa45\": \"[8, 11, 7, 16, 9]\", \"k_bf64\": \"[11, 11, 6, 16, 7]\", \"k_5f8f\": \"[11, 7, 10, 17, 6]\"}}}", "gold": "{\"output\": \"k_9dad\"}"} -{"id": "gen_code:384", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [max(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([7, 7, 4, 0, 0, 2, 6], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_9ba2\": \"[6, 7, 7, 7, 7, 2]\", \"k_18bb\": \"[7, 7, 4, 0, 2, 6]\", \"k_eff8\": \"[7, 6, 7, 7, 0, 2]\", \"k_eb63\": \"[7, 7, 6, 6, 0, 2]\"}}}", "gold": "{\"output\": \"k_18bb\"}"} -{"id": "gen_code:385", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size)]\\n\\nresult = window([7, 6, 1, 5, 1, 9, 2, 6], 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_e33c\": \"[19, 13, 16, 17]\", \"k_f980\": \"[18, 21, 22, 24]\", \"k_a235\": \"[19, 18, 26, 22]\", \"k_4427\": \"[18, 19, 22, 23]\"}}}", "gold": "{\"output\": \"k_e33c\"}"} -{"id": "gen_code:388", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a - b for a, b in zip(first, second)]\\n\\nresult = blend([1, 3, 5, 9], [1, 4, 5, 5])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_2b74\": \"[0, -1, 0, 4]\", \"k_49ad\": \"[3, -8, -2, 0]\", \"k_af3e\": \"[2, -8, 0, -1]\", \"k_1262\": \"[0, -6, 0, -1]\"}}}", "gold": "{\"output\": \"k_2b74\"}"} -{"id": "gen_code:389", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v > floor)\\n\\nresult = tally({'ivxw': 3, 'fiq': 5, 'asz': 8, 'tejo': 6, 'lar': 4, 'burv': 4}, 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_678a\": \"['asz', 'fiq', 'tejo']\", \"k_b0d8\": \"['asz', 'fiq', 'ivxw']\", \"k_1fc4\": \"['asz', 'lar', 'tejo']\", \"k_2c9e\": \"['fiq', 'lar', 'tejo']\"}}}", "gold": "{\"output\": \"k_678a\"}"} -{"id": "gen_code:390", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v < floor)\\n\\nresult = tally({'cpxr': 6, 'bga': 1, 'nlkd': 8, 'jkiwe': 0, 'ddvy': 7, 'bdpq': 2}, 6)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_8a87\": \"['bdpq', 'bga', 'jkiwe']\", \"k_44bd\": \"['bdpq', 'cpxr', 'ddvy']\", \"k_961d\": \"['bga', 'ddvy', 'nlkd']\", \"k_b7ac\": \"['bdpq', 'bga', 'ddvy']\"}}}", "gold": "{\"output\": \"k_8a87\"}"} -{"id": "gen_code:391", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v >= floor)\\n\\nresult = tally({'ajtv': 6, 'usf': 1, 'bgaz': 7, 'lpjtm': 7, 'cgk': 7, 'bjqw': 4}, 7)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_e392\": \"['ajtv', 'cgk', 'lpjtm']\", \"k_251f\": \"['bgaz', 'bjqw', 'lpjtm']\", \"k_9523\": \"['bgaz', 'cgk', 'lpjtm']\", \"k_bd60\": \"['ajtv', 'lpjtm', 'usf']\"}}}", "gold": "{\"output\": \"k_9523\"}"} -{"id": "gen_code:392", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [max(a, b) for a, b in zip(first, second)]\\n\\nresult = blend([8, 7, 8, 4], [3, 2, 4, 9])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_1bfe\": \"[9, 7, 8, 4]\", \"k_0d9a\": \"[4, 7, 9, 8]\", \"k_7500\": \"[4, 7, 8, 9]\", \"k_bed4\": \"[8, 7, 8, 9]\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"k_bed4\"}"} -{"id": "gen_code:393", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [max(a, b) for a, b in zip(first, second)]\\n\\nresult = blend([1, 5, 2, 2, 8], [5, 6, 7, 6, 8])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_2245\": \"[7, 6, 2, 6, 8]\", \"k_6561\": \"[7, 8, 2, 6, 8]\", \"k_4674\": \"[6, 7, 2, 6, 8]\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"none_of_these\"}"} -{"id": "gen_code:394", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 + v\\n return total\\n\\nresult = sweep([9, 15, 11, 4, 4, 6], 7)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_7f45\": \"980\", \"k_3244\": \"1096\", \"k_6aa1\": \"1100\", \"k_b682\": \"1094\"}}}", "gold": "{\"output\": \"k_b682\"}"} -{"id": "gen_code:395", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = abs(total - v)\\n return total\\n\\nresult = sweep([16, 9, 19, 8, 17], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_6988\": \"11\", \"k_9071\": \"5\", \"k_58a5\": \"13\", \"k_3f05\": \"1\"}}}", "gold": "{\"output\": \"k_6988\"}"} -{"id": "gen_code:396", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = abs(total - v)\\n return total\\n\\nresult = sweep([20, 2, 16, 1, 18], 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_bb92\": \"13\", \"k_6824\": \"17\", \"k_dde8\": \"15\", \"k_368d\": \"11\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"k_6824\"}"} -{"id": "gen_code:397", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v >= floor)\\n\\nresult = tally({'plvm': 1, 'fefw': 8, 'zym': 3, 'ynxpc': 0, 'ytuv': 5, 'grxs': 0}, 1)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_038e\": \"['grxs', 'plvm', 'ynxpc', 'ytuv']\", \"k_7fde\": \"['fefw', 'grxs', 'plvm', 'zym']\", \"k_3969\": \"['fefw', 'plvm', 'ytuv', 'zym']\", \"k_9ea2\": \"['grxs', 'plvm', 'ytuv', 'zym']\"}}}", "gold": "{\"output\": \"k_3969\"}"} -{"id": "gen_code:399", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 + v\\n return total\\n\\nresult = sweep([16, 5, 19, 16], 7)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_7080\": \"347\", \"k_2aa6\": \"314\", \"k_3180\": \"267\", \"k_4dcf\": \"311\"}}}", "gold": "{\"output\": \"k_2aa6\"}"} -{"id": "gen_code:400", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([3, 1, 7, 1, 0, 7, 5, 0, 6], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_e21a\": \"[11, 9, 8, 8, 12, 12, 11]\", \"k_52dd\": \"[4, 11, 9, 13, 13, 12, 13]\", \"k_b242\": \"[8, 11, 11, 11, 13, 12, 11]\", \"k_3cb2\": \"[4, 11, 9, 15, 14, 13, 11]\"}}}", "gold": "{\"output\": \"k_e21a\"}"} -{"id": "gen_code:401", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(0, len(values), size)]\\n\\nresult = window([8, 5, 2, 7, 2, 8, 2, 1], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_4931\": \"[13, 4, 10, 8]\", \"k_bd32\": \"[16, 9, 7, 3]\", \"k_9be9\": \"[13, 9, 10, 3]\", \"k_34b1\": \"[13, 15, 4, 3]\"}}}", "gold": "{\"output\": \"k_9be9\"}"} -{"id": "gen_code:402", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 - v\\n return total\\n\\nresult = sweep([20, 15, 7, 7, 14, 9], 17)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_46d5\": \"474\", \"k_755c\": \"87\", \"k_2cd8\": \"151\", \"k_5b32\": \"159\"}}}", "gold": "{\"output\": \"k_755c\"}"} -{"id": "gen_code:403", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a - b for a, b in zip(first, second)]\\n\\nresult = blend([5, 6, 4, 1], [4, 4, 8, 1])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_8ef4\": \"[1, 2, -4, 0]\", \"k_f5ab\": \"[-3, 1, -2, 3]\", \"k_ebd6\": \"[2, 1, -7, 3]\", \"k_2afe\": \"[1, -3, -2, 3]\"}}}", "gold": "{\"output\": \"k_8ef4\"}"} -{"id": "gen_code:404", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size)]\\n\\nresult = window([1, 8, 9, 9, 7, 5], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_75bf\": \"[9, 10, 18, 16]\", \"k_409d\": \"[17, 16, 16, 10]\", \"k_29ed\": \"[17, 17, 16, 8]\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"none_of_these\"}"} -{"id": "gen_code:405", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v >= floor)\\n\\nresult = tally({'uyti': 6, 'tzzsh': 7, 'tcu': 0, 'tpl': 8, 'viit': 8, 'jzr': 8}, 8)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_1941\": \"['jzr', 'tpl', 'uyti']\", \"k_f277\": \"['jzr', 'uyti', 'viit']\", \"k_af6a\": \"['tpl', 'tzzsh', 'uyti']\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"none_of_these\"}"} -{"id": "gen_code:406", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a * b for a, b in zip(first, reversed(second))]\\n\\nresult = blend([8, 5, 4, 1], [3, 4, 5, 2])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_d658\": \"[15, 40, 16, 2]\", \"k_a8c4\": \"[16, 25, 16, 3]\", \"k_b715\": \"[24, 20, 20, 2]\", \"k_9610\": \"[32, 25, 12, 2]\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"k_a8c4\"}"} -{"id": "gen_code:407", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [max(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([2, 3, 3, 9, 9, 2, 7], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_a4b4\": \"[3, 7, 7, 9, 9]\", \"k_9b7c\": \"[3, 9, 9, 9, 9]\", \"k_6440\": \"[9, 9, 3, 9, 9]\", \"k_59a3\": \"[9, 3, 9, 9, 9]\"}}}", "gold": "{\"output\": \"k_9b7c\"}"} -{"id": "gen_code:408", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v != floor)\\n\\nresult = tally({'lfs': 4, 'qom': 4, 'hpi': 7, 'gblfv': 0, 'dxw': 1, 'pfh': 5}, 7)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_856c\": \"['dxw', 'gblfv', 'hpi', 'lfs', 'pfh']\", \"k_e451\": \"['dxw', 'gblfv', 'lfs', 'pfh', 'qom']\", \"k_cd29\": \"['dxw', 'hpi', 'lfs', 'pfh', 'qom']\", \"k_001f\": \"['dxw', 'gblfv', 'hpi', 'pfh', 'qom']\"}}}", "gold": "{\"output\": \"k_e451\"}"} -{"id": "gen_code:409", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v < floor)\\n\\nresult = tally({'valuw': 4, 'vxyrn': 2, 'kwtdq': 2, 'lcb': 6, 'ihzz': 7, 'ygnkq': 4}, 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_c94f\": \"['kwtdq', 'vxyrn']\", \"k_e6b6\": \"['lcb', 'valuw']\", \"k_fe68\": \"['lcb', 'ygnkq']\", \"k_76f4\": \"['lcb', 'vxyrn']\"}}}", "gold": "{\"output\": \"k_c94f\"}"} -{"id": "gen_code:410", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([4, 5, 3, 8, 6, 3, 9, 5, 9], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_a8bd\": \"[11, 12, 17, 23, 21, 18, 18]\", \"k_adcc\": \"[16, 20, 20, 18, 13, 15, 18]\", \"k_1eaf\": \"[16, 17, 17, 18, 16, 22, 18]\", \"k_52bc\": \"[12, 16, 17, 17, 18, 17, 23]\"}}}", "gold": "{\"output\": \"k_52bc\"}"} -{"id": "gen_code:411", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 + v\\n return total\\n\\nresult = sweep([13, 12, 2, 5], 13)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_fa1c\": \"316\", \"k_7acd\": \"293\", \"k_f12a\": \"369\", \"k_3108\": \"326\"}}}", "gold": "{\"output\": \"k_f12a\"}"} -{"id": "gen_code:412", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a * b for a, b in zip(first, reversed(second))]\\n\\nresult = blend([3, 7, 1, 6, 7], [5, 6, 1, 1, 8])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_3fcd\": \"[24, 42, 5, 6, 7]\", \"k_e34d\": \"[24, 7, 1, 36, 35]\", \"k_d55f\": \"[8, 7, 5, 36, 21]\", \"k_8d9c\": \"[18, 7, 5, 48, 7]\"}}}", "gold": "{\"output\": \"k_e34d\"}"} -{"id": "gen_code:413", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v >= floor)\\n\\nresult = tally({'dohf': 0, 'inzkn': 5, 'dulhu': 0, 'zpmv': 3, 'swtbq': 5, 'peckk': 7}, 5)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_4d9c\": \"['dohf', 'inzkn', 'swtbq']\", \"k_3140\": \"['inzkn', 'peckk', 'swtbq']\", \"k_cf9e\": \"['dohf', 'swtbq', 'zpmv']\", \"k_af74\": \"['dohf', 'peckk', 'swtbq']\"}}}", "gold": "{\"output\": \"k_3140\"}"} -{"id": "gen_code:414", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a + b for a, b in zip(first, second)]\\n\\nresult = blend([4, 7, 5, 3, 7], [1, 2, 8, 4, 6])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_8e17\": \"[8, 9, 9, 8, 13]\", \"k_ed2f\": \"[4, 9, 14, 8, 12]\", \"k_5752\": \"[5, 9, 13, 7, 13]\", \"k_58d1\": \"[8, 7, 11, 8, 13]\"}}}", "gold": "{\"output\": \"k_5752\"}"} -{"id": "gen_code:415", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size)]\\n\\nresult = window([4, 0, 0, 7, 4, 3], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_c155\": \"[8, 11, 11]\", \"k_730e\": \"[4, 7, 11]\", \"k_853b\": \"[8, 7, 3]\", \"k_fff4\": \"[11, 8, 11]\"}}}", "gold": "{\"output\": \"k_730e\"}"} -{"id": "gen_code:417", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v != floor)\\n\\nresult = tally({'sac': 4, 'akkl': 8, 'mcw': 8, 'myspp': 0, 'nij': 5, 'lxskj': 6}, 8)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_a9c7\": \"['lxskj', 'myspp', 'nij', 'sac']\", \"k_0983\": \"['akkl', 'myspp', 'nij', 'sac']\", \"k_feda\": \"['akkl', 'mcw', 'nij', 'sac']\", \"k_d1ba\": \"['lxskj', 'mcw', 'nij', 'sac']\"}}}", "gold": "{\"output\": \"k_a9c7\"}"} -{"id": "gen_code:418", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size)]\\n\\nresult = window([3, 5, 3, 4, 9, 1], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_8470\": \"[11, 17, 18]\", \"k_3d5d\": \"[12, 10, 15]\", \"k_3d43\": \"[10, 12, 18]\", \"k_1dfc\": \"[11, 12, 16]\"}}}", "gold": "{\"output\": \"k_1dfc\"}"} -{"id": "gen_code:419", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size)]\\n\\nresult = window([0, 8, 1, 1, 2, 4, 9], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_993d\": \"[7, 6, 2, 9]\", \"k_a658\": \"[9, 10, 4, 7]\", \"k_f3f7\": \"[13, 14, 6, 4]\", \"k_14df\": \"[6, 5, 3, 10]\"}}}", "gold": "{\"output\": \"k_a658\"}"} -{"id": "gen_code:420", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a - b for a, b in zip(first, second)]\\n\\nresult = blend([4, 5, 3, 8], [4, 4, 6, 6])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_65ef\": \"[0, 1, -3, 2]\", \"k_1f78\": \"[0, -3, -3, -2]\", \"k_47aa\": \"[4, 1, -3, -2]\", \"k_2da0\": \"[1, -5, -2, -2]\"}}}", "gold": "{\"output\": \"k_65ef\"}"} -{"id": "gen_code:421", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v >= floor)\\n\\nresult = tally({'iijyd': 1, 'icu': 0, 'suxa': 1, 'byv': 8, 'lxoew': 3, 'nca': 5}, 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_793a\": \"['byv', 'lxoew', 'nca']\", \"k_7c77\": \"['byv', 'lxoew', 'suxa']\", \"k_ae58\": \"['icu', 'lxoew', 'suxa']\", \"k_8d0e\": \"['byv', 'iijyd', 'lxoew']\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"k_793a\"}"} -{"id": "gen_code:422", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([6, 1, 3, 1, 5, 0, 7], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_a085\": \"[13, 8, 2, 6, 5, 3]\", \"k_50c2\": \"[9, 10, 8, 2, 6, 5]\", \"k_9708\": \"[7, 4, 4, 6, 5, 7]\", \"k_2bc5\": \"[7, 2, 4, 8, 5, 7]\"}}}", "gold": "{\"output\": \"k_9708\"}"} -{"id": "gen_code:423", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size)]\\n\\nresult = window([6, 4, 8, 1, 3, 3], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_8270\": \"[15, 18, 17]\", \"k_7b55\": \"[18, 13, 12]\", \"k_968e\": \"[13, 11, 10]\", \"k_9283\": \"[13, 18, 13]\"}}}", "gold": "{\"output\": \"k_7b55\"}"} -{"id": "gen_code:424", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [max(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([5, 8, 4, 6, 9, 4, 0, 0], 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_47d6\": \"[9, 9, 9, 9, 6]\", \"k_bf5a\": \"[8, 6, 9, 9, 9]\", \"k_02d8\": \"[8, 9, 9, 9, 9]\", \"k_3321\": \"[9, 9, 9, 9, 8]\"}}}", "gold": "{\"output\": \"k_02d8\"}"} -{"id": "gen_code:425", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a * b for a, b in zip(first, reversed(second))]\\n\\nresult = blend([4, 5, 4, 7, 4], [1, 6, 6, 1, 4])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_b6fe\": \"[16, 5, 24, 24, 7]\", \"k_b7a7\": \"[4, 30, 24, 4, 28]\", \"k_363e\": \"[4, 20, 24, 24, 7]\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"none_of_these\"}"} -{"id": "gen_code:426", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([0, 5, 3, 8, 2, 8, 1, 7], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_6478\": \"[13, 16, 10, 13, 11, 16]\", \"k_dbd5\": \"[12, 8, 10, 13, 11, 17]\", \"k_bd26\": \"[8, 16, 13, 18, 11, 16]\", \"k_8844\": \"[9, 6, 8, 10, 13, 17]\"}}}", "gold": "{\"output\": \"k_bd26\"}"} -{"id": "gen_code:427", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([9, 9, 0, 4, 6, 4], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_0a65\": \"[9, 4, 13, 13, 10]\", \"k_624b\": \"[15, 6, 4, 8, 13]\", \"k_f712\": \"[18, 9, 4, 10, 10]\", \"k_a31b\": \"[9, 4, 8, 13, 15]\"}}}", "gold": "{\"output\": \"k_f712\"}"} -{"id": "gen_code:428", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = max(total, v) + 1\\n return total\\n\\nresult = sweep([20, 13, 10, 12, 3], 7)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_0b3c\": \"23\", \"k_3109\": \"24\", \"k_72a9\": \"25\", \"k_6922\": \"22\"}}}", "gold": "{\"output\": \"k_72a9\"}"} -{"id": "gen_code:429", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a - b for a, b in zip(first, second)]\\n\\nresult = blend([8, 2, 9, 3], [1, 4, 3, 3])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_d74d\": \"[7, -2, -6, 0]\", \"k_3a55\": \"[7, -2, 6, 0]\", \"k_5863\": \"[7, -7, -1, 0]\", \"k_6e37\": \"[7, -1, 1, -6]\"}}}", "gold": "{\"output\": \"k_3a55\"}"} -{"id": "gen_code:430", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a - b for a, b in zip(first, second)]\\n\\nresult = blend([4, 8, 8, 6], [1, 2, 3, 1])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_d9ec\": \"[3, 1, 7, -2]\", \"k_3945\": \"[3, 6, -7, 3]\", \"k_ac89\": \"[3, 6, 5, 5]\", \"k_91e4\": \"[3, 6, 7, -3]\"}}}", "gold": "{\"output\": \"k_ac89\"}"} -{"id": "gen_code:431", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a * b for a, b in zip(first, reversed(second))]\\n\\nresult = blend([8, 5, 9, 2], [3, 7, 7, 8])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_cc78\": \"[56, 40, 14, 27]\", \"k_338c\": \"[64, 35, 21, 18]\", \"k_54ae\": \"[64, 35, 63, 6]\", \"k_096e\": \"[64, 45, 14, 21]\"}}}", "gold": "{\"output\": \"k_54ae\"}"} -{"id": "gen_code:432", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v >= floor)\\n\\nresult = tally({'balyq': 6, 'yfcv': 3, 'hklfi': 6, 'bpzx': 0, 'ugjd': 4, 'zaack': 2}, 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_fa58\": \"['balyq', 'ugjd', 'yfcv', 'zaack']\", \"k_6f22\": \"['hklfi', 'ugjd', 'yfcv', 'zaack']\", \"k_0c55\": \"['balyq', 'bpzx', 'yfcv', 'zaack']\", \"k_ede1\": \"['balyq', 'hklfi', 'ugjd', 'yfcv']\"}}}", "gold": "{\"output\": \"k_ede1\"}"} -{"id": "gen_code:433", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([2, 6, 5, 6, 1, 9], 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_4f0c\": \"[22, 18, 18]\", \"k_2a23\": \"[19, 18, 21]\", \"k_e921\": \"[19, 23, 18]\", \"k_54a7\": \"[15, 18, 21]\"}}}", "gold": "{\"output\": \"k_2a23\"}"} -{"id": "gen_code:434", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [max(a, b) for a, b in zip(first, second)]\\n\\nresult = blend([2, 6, 9, 6, 8, 2], [4, 9, 1, 8, 3, 9])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_19c3\": \"[4, 9, 9, 6, 9, 8]\", \"k_90f5\": \"[4, 9, 9, 8, 8, 9]\", \"k_79f4\": \"[4, 6, 9, 9, 8, 9]\", \"k_0991\": \"[4, 9, 9, 6, 8, 8]\"}}}", "gold": "{\"output\": \"k_90f5\"}"} -{"id": "gen_code:435", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [max(a, b) for a, b in zip(first, second)]\\n\\nresult = blend([4, 5, 4, 9, 7, 6], [6, 8, 4, 8, 7, 7])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_cfd2\": \"[6, 8, 7, 8, 9, 6]\", \"k_a341\": \"[6, 8, 7, 9, 7, 6]\", \"k_eb7d\": \"[6, 8, 4, 9, 7, 7]\", \"k_e416\": \"[6, 8, 7, 9, 8, 6]\"}}}", "gold": "{\"output\": \"k_eb7d\"}"} -{"id": "gen_code:436", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a - b for a, b in zip(first, second)]\\n\\nresult = blend([9, 2, 1, 4, 4, 2], [7, 3, 5, 7, 5, 1])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_f271\": \"[2, -1, -4, -3, -1, 1]\", \"k_4e4b\": \"[0, -2, -4, -5, -2, 1]\", \"k_c515\": \"[-5, 5, -4, -3, -2, 1]\", \"k_cdf5\": \"[-5, -2, -4, -3, -2, 8]\"}}}", "gold": "{\"output\": \"k_f271\"}"} -{"id": "gen_code:437", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = abs(total - v)\\n return total\\n\\nresult = sweep([19, 18, 3, 3, 16], 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_b939\": \"5\", \"k_893b\": \"17\", \"k_7b9f\": \"11\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"none_of_these\"}"} -{"id": "gen_code:438", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size)]\\n\\nresult = window([9, 4, 2, 6, 1, 5, 1, 2], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_ed44\": \"[15, 19, 17, 13, 8]\", \"k_a00b\": \"[14, 19, 17, 13, 8]\", \"k_05df\": \"[17, 16, 12, 7, 10]\", \"k_7770\": \"[15, 12, 9, 12, 7]\"}}}", "gold": "{\"output\": \"k_7770\"}"} -{"id": "gen_code:439", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = abs(total - v)\\n return total\\n\\nresult = sweep([7, 16, 14, 14, 16, 3], 5)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_0148\": \"15\", \"k_b845\": \"9\", \"k_c5d6\": \"5\", \"k_e1e6\": \"1\"}}}", "gold": "{\"output\": \"k_e1e6\"}"} -{"id": "gen_code:440", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = max(total, v) + 1\\n return total\\n\\nresult = sweep([13, 11, 1, 18, 12, 20], 8)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_f130\": \"23\", \"k_214d\": \"22\", \"k_b504\": \"25\", \"k_e309\": \"21\"}}}", "gold": "{\"output\": \"k_e309\"}"} -{"id": "gen_code:441", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [max(a, b) for a, b in zip(first, second)]\\n\\nresult = blend([6, 5, 5, 2, 2], [2, 4, 3, 2, 6])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_ce28\": \"[6, 5, 6, 2, 3]\", \"k_a655\": \"[6, 5, 5, 2, 6]\", \"k_8dc5\": \"[6, 5, 5, 6, 2]\", \"k_b60d\": \"[6, 4, 5, 6, 5]\"}}}", "gold": "{\"output\": \"k_a655\"}"} -{"id": "gen_code:442", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a - b for a, b in zip(first, second)]\\n\\nresult = blend([3, 1, 4, 5], [6, 6, 8, 9])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_8959\": \"[-3, 3, -7, 1]\", \"k_ddc3\": \"[-3, 3, -1, 7]\", \"k_3363\": \"[-3, -5, -4, -4]\", \"k_30b3\": \"[-3, 1, 3, -1]\"}}}", "gold": "{\"output\": \"k_3363\"}"} -{"id": "gen_code:443", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v < floor)\\n\\nresult = tally({'dsxq': 7, 'pgszz': 2, 'ruy': 3, 'wpsnq': 1, 'yfhdp': 2, 'qtua': 0}, 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_5670\": \"['pgszz', 'qtua']\", \"k_49b7\": \"['qtua', 'wpsnq']\", \"k_0c56\": \"['pgszz', 'yfhdp']\", \"k_9d44\": \"['ruy', 'yfhdp']\"}}}", "gold": "{\"output\": \"k_49b7\"}"} -{"id": "gen_code:444", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(0, len(values), size)]\\n\\nresult = window([2, 8, 9, 9, 7, 5, 2, 2, 5], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_f084\": \"[19, 14, 16]\", \"k_f4b8\": \"[19, 21, 9]\", \"k_faaf\": \"[19, 18, 12]\", \"k_4073\": \"[12, 21, 16]\"}}}", "gold": "{\"output\": \"k_f4b8\"}"} -{"id": "gen_code:445", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v > floor)\\n\\nresult = tally({'cdt': 6, 'glawg': 6, 'blcg': 5, 'ihu': 5, 'gppu': 8, 'aug': 7}, 5)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_eb29\": \"['aug', 'blcg', 'glawg', 'gppu']\", \"k_e3a3\": \"['aug', 'blcg', 'gppu', 'ihu']\", \"k_de38\": \"['blcg', 'cdt', 'glawg', 'gppu']\", \"k_ca79\": \"['aug', 'cdt', 'glawg', 'gppu']\"}}}", "gold": "{\"output\": \"k_ca79\"}"} -{"id": "gen_code:446", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = max(total, v) + 1\\n return total\\n\\nresult = sweep([7, 19, 13, 3, 17], 15)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_8e2f\": \"22\", \"k_fe3b\": \"21\", \"k_6d02\": \"23\", \"k_b226\": \"24\"}}}", "gold": "{\"output\": \"k_6d02\"}"} -{"id": "gen_code:447", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v >= floor)\\n\\nresult = tally({'dstl': 0, 'rap': 0, 'uqe': 2, 'lzqvy': 7, 'xsgk': 0, 'hackf': 1}, 7)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_34e2\": \"['xsgk']\", \"k_4d12\": \"['lzqvy']\", \"k_e9e9\": \"['dstl']\", \"k_b60f\": \"['hackf']\"}}}", "gold": "{\"output\": \"k_4d12\"}"} -{"id": "gen_code:448", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a * b for a, b in zip(first, reversed(second))]\\n\\nresult = blend([2, 7, 4, 7, 3, 1], [8, 1, 9, 2, 8, 6])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_ad21\": \"[72, 14, 8, 42, 3, 8]\", \"k_cc54\": \"[54, 56, 28, 4, 3, 8]\", \"k_da7b\": \"[54, 56, 8, 14, 3, 8]\", \"k_28b8\": \"[12, 56, 8, 63, 3, 8]\"}}}", "gold": "{\"output\": \"k_28b8\"}"} -{"id": "gen_code:449", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a + b for a, b in zip(first, second)]\\n\\nresult = blend([1, 1, 6, 4, 7, 9], [2, 6, 1, 3, 2, 4])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_f6c6\": \"[4, 2, 9, 5, 11, 15]\", \"k_b2d3\": \"[4, 10, 7, 7, 8, 10]\", \"k_a35f\": \"[3, 7, 7, 7, 9, 13]\", \"k_1333\": \"[11, 7, 7, 7, 8, 6]\"}}}", "gold": "{\"output\": \"k_a35f\"}"} -{"id": "gen_code:450", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = max(total, v) + 1\\n return total\\n\\nresult = sweep([20, 1, 5, 17], 10)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_06f3\": \"21\", \"k_85d3\": \"24\", \"k_cff0\": \"23\", \"k_1eeb\": \"22\"}}}", "gold": "{\"output\": \"k_85d3\"}"} -{"id": "gen_code:451", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v >= floor)\\n\\nresult = tally({'whlr': 1, 'axuy': 2, 'hpi': 4, 'uen': 4, 'ahmev': 2, 'met': 2}, 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_25e2\": \"['ahmev', 'met']\", \"k_54d4\": \"['hpi', 'uen']\", \"k_fe1a\": \"['ahmev', 'hpi']\", \"k_737d\": \"['hpi', 'met']\"}}}", "gold": "{\"output\": \"k_54d4\"}"} -{"id": "gen_code:452", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 - v\\n return total\\n\\nresult = sweep([10, 16, 10, 15, 2, 11], 7)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_08d4\": \"-287\", \"k_e1a0\": \"-283\", \"k_a8de\": \"-231\", \"k_007a\": \"-271\"}}}", "gold": "{\"output\": \"k_e1a0\"}"} -{"id": "gen_code:453", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a - b for a, b in zip(first, second)]\\n\\nresult = blend([6, 2, 7, 8, 7, 1], [2, 5, 8, 9, 2, 8])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_3172\": \"[-3, 4, -1, -1, 5, -7]\", \"k_8d0e\": \"[2, 4, -6, -1, 5, -7]\", \"k_1733\": \"[4, -3, -1, -1, 5, -7]\", \"k_44b6\": \"[2, 0, -2, -1, 5, -7]\"}}}", "gold": "{\"output\": \"k_1733\"}"} -{"id": "gen_code:454", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a * b for a, b in zip(first, reversed(second))]\\n\\nresult = blend([5, 9, 5, 4], [9, 9, 1, 5])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_f902\": \"[20, 9, 81, 25]\", \"k_635e\": \"[25, 9, 45, 36]\", \"k_6658\": \"[5, 36, 45, 45]\", \"k_ff0c\": \"[25, 9, 36, 45]\"}}}", "gold": "{\"output\": \"k_635e\"}"} -{"id": "gen_code:455", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [max(a, b) for a, b in zip(first, second)]\\n\\nresult = blend([2, 5, 5, 1, 7, 1], [3, 9, 8, 1, 5, 8])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_3765\": \"[3, 9, 8, 1, 7, 8]\", \"k_1b27\": \"[8, 5, 9, 1, 7, 8]\", \"k_3342\": \"[8, 7, 9, 1, 5, 8]\", \"k_a57f\": \"[2, 5, 9, 8, 7, 8]\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"k_3765\"}"} -{"id": "gen_code:456", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v != floor)\\n\\nresult = tally({'mgx': 4, 'lar': 4, 'jlnbz': 7, 'gsb': 6, 'cjwxy': 2, 'coueb': 4}, 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_cc88\": \"['cjwxy', 'coueb', 'gsb']\", \"k_a63e\": \"['cjwxy', 'coueb', 'jlnbz']\", \"k_f476\": \"['cjwxy', 'gsb', 'jlnbz']\", \"k_a99c\": \"['coueb', 'gsb', 'jlnbz']\"}}}", "gold": "{\"output\": \"k_f476\"}"} -{"id": "gen_code:457", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(0, len(values), size)]\\n\\nresult = window([0, 7, 9, 9, 2, 1], 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_fc0b\": \"[25, 3]\", \"k_7697\": \"[27, 1]\", \"k_eaee\": \"[20, 8]\", \"k_dae3\": \"[18, 10]\"}}}", "gold": "{\"output\": \"k_fc0b\"}"} -{"id": "gen_code:458", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v < floor)\\n\\nresult = tally({'thc': 3, 'edvr': 1, 'konhj': 7, 'oqp': 3, 'redr': 6, 'gotyw': 1}, 6)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_91ae\": \"['konhj', 'oqp', 'redr', 'thc']\", \"k_85c7\": \"['gotyw', 'konhj', 'oqp', 'thc']\", \"k_a76c\": \"['edvr', 'gotyw', 'oqp', 'thc']\", \"k_d459\": \"['gotyw', 'konhj', 'redr', 'thc']\"}}}", "gold": "{\"output\": \"k_a76c\"}"} -{"id": "gen_code:459", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [max(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([5, 6, 1, 9, 5, 2, 2, 3], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_cfb0\": \"[6, 6, 9, 9, 5, 2, 3]\", \"k_b02a\": \"[6, 9, 9, 5, 2, 2, 3]\", \"k_fa8a\": \"[9, 9, 5, 5, 2, 6, 6]\", \"k_e4ac\": \"[6, 9, 9, 3, 3, 2, 5]\"}}}", "gold": "{\"output\": \"k_cfb0\"}"} -{"id": "gen_code:460", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a - b for a, b in zip(first, second)]\\n\\nresult = blend([1, 2, 6, 6, 5], [7, 2, 9, 5, 2])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_820c\": \"[2, 0, 4, 0, 3]\", \"k_2877\": \"[-6, 0, -3, 1, 3]\", \"k_453a\": \"[2, -4, 1, 1, 3]\", \"k_5270\": \"[2, 0, 5, 1, 3]\"}}}", "gold": "{\"output\": \"k_2877\"}"} -{"id": "gen_code:461", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size)]\\n\\nresult = window([6, 5, 5, 4, 7, 4, 7, 4], 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_af81\": \"[21, 22, 21, 21]\", \"k_2e02\": \"[20, 21, 20, 22]\", \"k_280a\": \"[22, 22, 20, 20]\", \"k_7483\": \"[20, 21, 22, 22]\"}}}", "gold": "{\"output\": \"k_2e02\"}"} -{"id": "gen_code:462", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 + v\\n return total\\n\\nresult = sweep([3, 7, 6, 12, 8], 10)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_5482\": \"561\", \"k_a9f7\": \"480\", \"k_0675\": \"571\", \"k_eaf1\": \"575\"}}}", "gold": "{\"output\": \"k_a9f7\"}"} -{"id": "gen_code:463", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a * b for a, b in zip(first, reversed(second))]\\n\\nresult = blend([9, 5, 5, 5, 5, 1], [5, 3, 8, 3, 3, 2])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_09c9\": \"[18, 15, 15, 40, 15, 5]\", \"k_f7b0\": \"[16, 15, 15, 9, 15, 25]\", \"k_7f02\": \"[18, 9, 25, 8, 15, 25]\", \"k_9be1\": \"[18, 15, 25, 8, 15, 15]\"}}}", "gold": "{\"output\": \"k_09c9\"}"} -{"id": "gen_code:464", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v > floor)\\n\\nresult = tally({'sek': 3, 'iswkx': 1, 'hjpx': 1, 'uwpp': 0, 'upa': 4, 'potwa': 2}, 1)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_91ae\": \"['hjpx', 'iswkx', 'sek']\", \"k_3417\": \"['iswkx', 'sek', 'upa']\", \"k_0718\": \"['potwa', 'sek', 'upa']\", \"k_f538\": \"['hjpx', 'iswkx', 'upa']\"}}}", "gold": "{\"output\": \"k_0718\"}"} -{"id": "gen_code:465", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a - b for a, b in zip(first, second)]\\n\\nresult = blend([5, 2, 7, 7, 2, 8], [8, 5, 9, 2, 9, 5])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_ff94\": \"[-3, -3, -2, 5, -7, 3]\", \"k_a1a6\": \"[-6, -3, 5, -2, 0, -1]\", \"k_a386\": \"[-3, -3, 5, 2, -7, -1]\", \"k_209b\": \"[-3, 0, 5, -2, 0, -1]\"}}}", "gold": "{\"output\": \"k_ff94\"}"} -{"id": "gen_code:466", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a + b for a, b in zip(first, second)]\\n\\nresult = blend([6, 6, 2, 9, 8, 5], [8, 2, 2, 3, 1, 2])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_84ee\": \"[14, 8, 4, 17, 8, 3]\", \"k_725f\": \"[14, 8, 5, 14, 10, 3]\", \"k_af22\": \"[14, 8, 4, 12, 9, 7]\", \"k_c0fe\": \"[14, 8, 4, 4, 14, 10]\"}}}", "gold": "{\"output\": \"k_af22\"}"} -{"id": "gen_code:467", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([9, 9, 8, 0, 2, 9], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_0d97\": \"[17, 10, 11, 9, 9]\", \"k_cc17\": \"[17, 17, 11, 2, 9]\", \"k_d27f\": \"[18, 17, 8, 2, 11]\", \"k_7e0b\": \"[10, 8, 9, 18, 18]\"}}}", "gold": "{\"output\": \"k_d27f\"}"} -{"id": "gen_code:468", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = max(total, v) + 1\\n return total\\n\\nresult = sweep([7, 3, 15, 18, 18], 7)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_7d0f\": \"22\", \"k_e413\": \"23\", \"k_adf0\": \"20\", \"k_7cb4\": \"21\"}}}", "gold": "{\"output\": \"k_adf0\"}"} -{"id": "gen_code:469", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a + b for a, b in zip(first, second)]\\n\\nresult = blend([6, 5, 7, 3, 6], [8, 3, 3, 1, 4])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_d25f\": \"[13, 8, 11, 7, 7]\", \"k_bc02\": \"[12, 11, 6, 7, 10]\", \"k_8503\": \"[13, 8, 11, 4, 10]\", \"k_bf41\": \"[14, 8, 10, 4, 10]\"}}}", "gold": "{\"output\": \"k_bf41\"}"} -{"id": "gen_code:470", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a + b for a, b in zip(first, second)]\\n\\nresult = blend([4, 9, 2, 7, 1], [6, 2, 7, 7, 6])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_2c78\": \"[10, 11, 9, 13, 8]\", \"k_16a7\": \"[5, 11, 9, 13, 13]\", \"k_a291\": \"[10, 11, 9, 14, 7]\", \"k_be20\": \"[10, 16, 9, 13, 3]\"}}}", "gold": "{\"output\": \"k_a291\"}"} -{"id": "gen_code:471", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a * b for a, b in zip(first, reversed(second))]\\n\\nresult = blend([3, 7, 2, 4, 8], [8, 5, 3, 1, 7])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_de56\": \"[21, 7, 6, 20, 64]\", \"k_a58a\": \"[35, 7, 16, 12, 24]\", \"k_9b3d\": \"[21, 2, 32, 40, 21]\", \"k_ec27\": \"[21, 28, 16, 5, 24]\"}}}", "gold": "{\"output\": \"k_de56\"}"} -{"id": "gen_code:473", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v != floor)\\n\\nresult = tally({'bmf': 4, 'fuv': 4, 'ypkmh': 4, 'alep': 4, 'iurca': 3, 'mwfby': 5}, 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_1da0\": \"['alep', 'ypkmh']\", \"k_f25c\": \"['alep', 'mwfby']\", \"k_89c1\": \"['alep', 'bmf']\", \"k_c9dd\": \"['iurca', 'mwfby']\"}}}", "gold": "{\"output\": \"k_c9dd\"}"} -{"id": "gen_code:474", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [max(a, b) for a, b in zip(first, second)]\\n\\nresult = blend([2, 1, 7, 9, 9], [2, 1, 2, 9, 2])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_4756\": \"[9, 2, 2, 9, 9]\", \"k_1638\": \"[2, 2, 7, 9, 9]\", \"k_00fc\": \"[2, 2, 9, 9, 2]\", \"k_e8b3\": \"[2, 1, 7, 9, 9]\"}}}", "gold": "{\"output\": \"k_e8b3\"}"} -{"id": "gen_code:475", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v >= floor)\\n\\nresult = tally({'xykvv': 5, 'urjb': 5, 'nubtc': 6, 'kauff': 4, 'zaa': 1, 'bfqsk': 8}, 5)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_4c3d\": \"['kauff', 'urjb', 'xykvv', 'zaa']\", \"k_1700\": \"['kauff', 'nubtc', 'urjb', 'zaa']\", \"k_856e\": \"['bfqsk', 'nubtc', 'urjb', 'xykvv']\", \"k_3ab6\": \"['nubtc', 'urjb', 'xykvv', 'zaa']\"}}}", "gold": "{\"output\": \"k_856e\"}"} -{"id": "gen_code:476", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v >= floor)\\n\\nresult = tally({'nbrt': 5, 'zmlt': 0, 'lpuzp': 5, 'ntu': 2, 'izvci': 5, 'mjdin': 4}, 5)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_1f34\": \"['izvci', 'mjdin', 'nbrt']\", \"k_4843\": \"['izvci', 'lpuzp', 'mjdin']\", \"k_a5db\": \"['izvci', 'lpuzp', 'ntu']\", \"k_f2c9\": \"['izvci', 'lpuzp', 'nbrt']\"}}}", "gold": "{\"output\": \"k_f2c9\"}"} -{"id": "gen_code:478", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a + b for a, b in zip(first, second)]\\n\\nresult = blend([1, 9, 4, 2, 1], [6, 6, 9, 5, 6])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_c662\": \"[7, 8, 18, 10, 6]\", \"k_c0a0\": \"[7, 8, 18, 9, 7]\", \"k_36e4\": \"[7, 6, 18, 11, 7]\", \"k_2f4a\": \"[7, 15, 13, 7, 7]\"}}}", "gold": "{\"output\": \"k_2f4a\"}"} -{"id": "gen_code:479", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size)]\\n\\nresult = window([6, 3, 5, 9, 1, 3, 3, 5, 7], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_45ed\": \"[14, 17, 15, 13, 7, 11]\", \"k_41a5\": \"[14, 11, 15, 13, 13, 9]\", \"k_4b75\": \"[14, 17, 13, 17, 11, 13]\", \"k_6272\": \"[12, 15, 13, 15, 9, 11]\"}}}", "gold": "{\"output\": \"k_45ed\"}"} -{"id": "gen_code:480", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v >= floor)\\n\\nresult = tally({'tbfex': 5, 'inphz': 4, 'owloh': 4, 'fmsl': 5, 'kmy': 3, 'tvvp': 1}, 5)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_3ccd\": \"['kmy', 'tvvp']\", \"k_5d44\": \"['fmsl', 'tbfex']\", \"k_36d7\": \"['kmy', 'tbfex']\", \"k_920f\": \"['tbfex', 'tvvp']\"}}}", "gold": "{\"output\": \"k_5d44\"}"} -{"id": "gen_code:481", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = max(total, v) + 1\\n return total\\n\\nresult = sweep([9, 11, 4, 16], 1)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_111c\": \"19\", \"k_931c\": \"20\", \"k_dafa\": \"18\", \"k_cf2c\": \"17\"}}}", "gold": "{\"output\": \"k_cf2c\"}"} -{"id": "gen_code:482", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [max(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([6, 2, 9, 5, 1, 7, 0], 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_c2e6\": \"[9, 6, 7, 7]\", \"k_936d\": \"[9, 9, 7, 7]\", \"k_fe73\": \"[9, 7, 7, 7]\", \"k_4bc3\": \"[9, 9, 9, 7]\"}}}", "gold": "{\"output\": \"k_4bc3\"}"} -{"id": "gen_code:483", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size)]\\n\\nresult = window([7, 7, 1, 0, 9, 0, 8], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_c0cf\": \"[15, 8, 1, 8, 16]\", \"k_d9c6\": \"[8, 1, 8, 16, 9]\", \"k_542a\": \"[7, 0, 7, 16, 10]\", \"k_d9de\": \"[14, 8, 1, 9, 9]\"}}}", "gold": "{\"output\": \"k_d9de\"}"} -{"id": "gen_code:484", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 - v\\n return total\\n\\nresult = sweep([3, 14, 4, 7], 14)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_1837\": \"83\", \"k_50fe\": \"129\", \"k_22c5\": \"119\", \"k_4302\": \"133\"}}}", "gold": "{\"output\": \"k_50fe\"}"} -{"id": "gen_code:485", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 + v\\n return total\\n\\nresult = sweep([7, 20, 6, 3], 7)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_fba4\": \"207\", \"k_5c32\": \"236\", \"k_ac32\": \"263\", \"k_1b3e\": \"226\"}}}", "gold": "{\"output\": \"k_ac32\"}"} -{"id": "gen_code:486", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v > floor)\\n\\nresult = tally({'rdn': 5, 'pgrq': 8, 'rjq': 3, 'qausz': 3, 'irzk': 3, 'lll': 0}, 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_7b4f\": \"['irzk', 'rdn']\", \"k_351e\": \"['pgrq', 'rdn']\", \"k_8615\": \"['qausz', 'rjq']\", \"k_ef4e\": \"['qausz', 'rdn']\"}}}", "gold": "{\"output\": \"k_351e\"}"} -{"id": "gen_code:487", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = abs(total - v)\\n return total\\n\\nresult = sweep([6, 15, 1, 12, 6, 2], 11)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_9d79\": \"3\", \"k_2c1c\": \"11\", \"k_f9e4\": \"5\", \"k_f721\": \"1\"}}}", "gold": "{\"output\": \"k_f721\"}"} -{"id": "gen_code:488", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = max(total, v) + 1\\n return total\\n\\nresult = sweep([1, 18, 12, 3], 13)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_66b5\": \"21\", \"k_21eb\": \"20\", \"k_6444\": \"22\", \"k_8522\": \"19\"}}}", "gold": "{\"output\": \"k_66b5\"}"} -{"id": "gen_code:489", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a - b for a, b in zip(first, second)]\\n\\nresult = blend([7, 9, 2, 2, 9, 5], [1, 5, 5, 2, 5, 8])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_09ef\": \"[8, -3, -3, 5, 4, -3]\", \"k_ef21\": \"[6, 4, -3, 0, 4, -3]\", \"k_b19f\": \"[8, -3, -3, -5, 4, -3]\", \"k_4a29\": \"[8, -3, -3, 6, 4, -2]\"}}}", "gold": "{\"output\": \"k_ef21\"}"} -{"id": "gen_code:490", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a * b for a, b in zip(first, reversed(second))]\\n\\nresult = blend([4, 6, 4, 5, 6], [8, 3, 3, 1, 5])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_987c\": \"[36, 4, 12, 15, 40]\", \"k_c35c\": \"[16, 6, 18, 15, 40]\", \"k_0cff\": \"[20, 6, 12, 15, 48]\", \"k_dae6\": \"[24, 5, 12, 18, 40]\"}}}", "gold": "{\"output\": \"k_0cff\"}"} -{"id": "gen_code:491", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [max(a, b) for a, b in zip(first, second)]\\n\\nresult = blend([7, 6, 4, 2, 1], [7, 1, 2, 8, 8])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_427e\": \"[7, 6, 7, 8, 8]\", \"k_4162\": \"[4, 7, 6, 8, 8]\", \"k_7404\": \"[7, 6, 4, 8, 8]\", \"k_57ad\": \"[4, 6, 7, 8, 8]\"}}}", "gold": "{\"output\": \"k_7404\"}"} -{"id": "gen_code:492", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a + b for a, b in zip(first, second)]\\n\\nresult = blend([7, 3, 2, 7, 5], [6, 3, 8, 7, 8])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_271e\": \"[13, 6, 10, 14, 13]\", \"k_9530\": \"[15, 6, 8, 14, 13]\", \"k_ba73\": \"[9, 10, 11, 13, 13]\", \"k_d6b7\": \"[5, 9, 15, 12, 15]\"}}}", "gold": "{\"output\": \"k_271e\"}"} -{"id": "gen_code:493", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v > floor)\\n\\nresult = tally({'xvkgc': 5, 'gjf': 4, 'phvlr': 6, 'vendq': 1, 'kwqvl': 7, 'gfwl': 4}, 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_6df9\": \"['gjf', 'kwqvl', 'phvlr']\", \"k_67f2\": \"['kwqvl', 'phvlr', 'xvkgc']\", \"k_8235\": \"['gfwl', 'gjf', 'phvlr']\", \"k_b8e0\": \"['gjf', 'kwqvl', 'xvkgc']\"}}}", "gold": "{\"output\": \"k_67f2\"}"} -{"id": "gen_code:494", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v >= floor)\\n\\nresult = tally({'yqbcy': 5, 'zql': 4, 'iace': 3, 'gbvi': 6, 'cmv': 0, 'ueqe': 1}, 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_903d\": \"['gbvi', 'yqbcy', 'zql']\", \"k_4d1e\": \"['gbvi', 'ueqe', 'zql']\", \"k_34b8\": \"['gbvi', 'iace', 'yqbcy']\", \"k_8585\": \"['gbvi', 'ueqe', 'yqbcy']\"}}}", "gold": "{\"output\": \"k_903d\"}"} -{"id": "gen_code:495", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size)]\\n\\nresult = window([2, 7, 3, 2, 0, 9, 6, 1], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_d52d\": \"[5, 5, 11, 17, 22]\", \"k_3f27\": \"[12, 12, 5, 11, 15]\", \"k_6220\": \"[9, 9, 8, 17, 18]\", \"k_cf62\": \"[12, 7, 10, 17, 15]\"}}}", "gold": "{\"output\": \"k_3f27\"}"} -{"id": "gen_code:496", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a * b for a, b in zip(first, reversed(second))]\\n\\nresult = blend([6, 5, 4, 3], [3, 3, 2, 1])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_f916\": \"[6, 10, 12, 9]\", \"k_edc5\": \"[3, 8, 15, 18]\", \"k_9b8c\": \"[30, 6, 4, 9]\", \"k_c30f\": \"[6, 6, 20, 9]\"}}}", "gold": "{\"output\": \"k_f916\"}"} -{"id": "gen_code:497", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v >= floor)\\n\\nresult = tally({'oqpxp': 6, 'znr': 3, 'mlez': 8, 'wqpl': 6, 'nccpe': 8, 'jfcss': 8}, 6)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_e514\": \"['mlez', 'nccpe', 'oqpxp', 'wqpl', 'znr']\", \"k_3277\": \"['jfcss', 'nccpe', 'oqpxp', 'wqpl', 'znr']\", \"k_a2d3\": \"['jfcss', 'mlez', 'nccpe', 'oqpxp', 'wqpl']\", \"k_c23b\": \"['jfcss', 'mlez', 'oqpxp', 'wqpl', 'znr']\"}}}", "gold": "{\"output\": \"k_a2d3\"}"} -{"id": "gen_code:498", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v < floor)\\n\\nresult = tally({'uowcg': 4, 'qjsy': 4, 'nmn': 2, 'zbw': 5, 'gxoqt': 8, 'lycsu': 6}, 6)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_c8da\": \"['lycsu', 'nmn', 'uowcg', 'zbw']\", \"k_ca4c\": \"['gxoqt', 'lycsu', 'nmn', 'zbw']\", \"k_9192\": \"['gxoqt', 'lycsu', 'uowcg', 'zbw']\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"none_of_these\"}"} -{"id": "gen_code:499", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [max(a, b) for a, b in zip(first, second)]\\n\\nresult = blend([4, 5, 6, 7, 4, 9], [1, 2, 2, 1, 8, 1])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_b0be\": \"[4, 5, 8, 7, 2, 9]\", \"k_f74e\": \"[4, 5, 6, 7, 8, 9]\", \"k_2f8c\": \"[2, 5, 6, 7, 8, 9]\", \"k_0e21\": \"[4, 6, 4, 7, 8, 9]\"}}}", "gold": "{\"output\": \"k_f74e\"}"} -{"id": "gen_code:501", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v != floor)\\n\\nresult = tally({'hwzpp': 7, 'vakz': 3, 'jkina': 6, 'gypb': 4, 'pry': 7, 'mvdy': 2}, 7)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_b8ad\": \"['hwzpp', 'mvdy', 'pry', 'vakz']\", \"k_9f78\": \"['gypb', 'jkina', 'pry', 'vakz']\", \"k_7a1d\": \"['gypb', 'jkina', 'mvdy', 'vakz']\", \"k_6722\": \"['gypb', 'mvdy', 'pry', 'vakz']\"}}}", "gold": "{\"output\": \"k_7a1d\"}"} -{"id": "gen_code:502", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 + v\\n return total\\n\\nresult = sweep([10, 6, 6, 18, 8, 11], 14)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_526e\": \"1459\", \"k_8fb6\": \"1430\", \"k_d1ed\": \"1363\", \"k_6915\": \"1398\"}}}", "gold": "{\"output\": \"k_526e\"}"} -{"id": "gen_code:504", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([4, 6, 1, 6, 8, 1, 9, 8, 9], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_1ee2\": \"[15, 13, 16, 11, 14, 18, 26]\", \"k_da9f\": \"[11, 13, 15, 15, 18, 18, 26]\", \"k_d1ae\": \"[11, 13, 20, 15, 18, 18, 26]\", \"k_7444\": \"[13, 17, 15, 15, 16, 16, 24]\"}}}", "gold": "{\"output\": \"k_da9f\"}"} -{"id": "gen_code:505", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a - b for a, b in zip(first, second)]\\n\\nresult = blend([2, 6, 8, 5, 5], [3, 3, 5, 3, 7])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_5221\": \"[-1, 3, 3, 2, -2]\", \"k_ea8f\": \"[5, 2, -3, 3, -2]\", \"k_a545\": \"[2, 2, -3, 3, 1]\", \"k_e3a4\": \"[2, -1, 3, 3, -2]\"}}}", "gold": "{\"output\": \"k_5221\"}"} -{"id": "gen_code:506", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 + v\\n return total\\n\\nresult = sweep([19, 13, 12, 18], 15)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_550b\": \"497\", \"k_0f45\": \"489\", \"k_6260\": \"477\", \"k_03bb\": \"486\"}}}", "gold": "{\"output\": \"k_03bb\"}"} -{"id": "gen_code:507", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 - v\\n return total\\n\\nresult = sweep([8, 1, 17, 13], 15)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_1c8d\": \"58\", \"k_4727\": \"69\", \"k_224c\": \"125\", \"k_7c9c\": \"51\"}}}", "gold": "{\"output\": \"k_224c\"}"} -{"id": "gen_code:508", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [max(a, b) for a, b in zip(first, second)]\\n\\nresult = blend([1, 1, 6, 8, 6], [9, 7, 7, 9, 5])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_60ea\": \"[9, 7, 9, 8, 7]\", \"k_4d02\": \"[9, 7, 7, 9, 6]\", \"k_c53d\": \"[9, 5, 7, 9, 7]\", \"k_fcc9\": \"[9, 7, 6, 8, 7]\"}}}", "gold": "{\"output\": \"k_4d02\"}"} -{"id": "gen_code:509", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size)]\\n\\nresult = window([3, 0, 4, 2, 6, 3, 7], 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_71ff\": \"[9, 12, 14]\", \"k_242a\": \"[13, 16, 14]\", \"k_b13c\": \"[19, 15, 14]\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"none_of_these\"}"} -{"id": "gen_code:511", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v > floor)\\n\\nresult = tally({'vwbm': 8, 'jxs': 0, 'ryky': 2, 'cct': 0, 'ssbr': 5, 'ion': 3}, 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_c03b\": \"['ssbr', 'vwbm']\", \"k_7e02\": \"['ion', 'vwbm']\", \"k_c5ec\": \"['ryky', 'vwbm']\", \"k_77ab\": \"['cct', 'ssbr']\"}}}", "gold": "{\"output\": \"k_c03b\"}"} -{"id": "gen_code:512", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(0, len(values), size)]\\n\\nresult = window([7, 3, 4, 6, 8, 3, 0, 0, 5], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_85f4\": \"[15, 10, 3, 3, 5]\", \"k_4e63\": \"[10, 10, 11, 0, 5]\", \"k_370f\": \"[7, 14, 7, 3, 5]\", \"k_bd19\": \"[7, 10, 3, 11, 5]\"}}}", "gold": "{\"output\": \"k_4e63\"}"} -{"id": "gen_code:513", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 + v\\n return total\\n\\nresult = sweep([20, 11, 16, 3, 19], 0)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_8b93\": \"264\", \"k_7e34\": \"497\", \"k_79bb\": \"471\", \"k_9a91\": \"551\"}}}", "gold": "{\"output\": \"k_7e34\"}"} -{"id": "gen_code:514", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [max(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([1, 8, 6, 4, 6, 9, 9, 4], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_e90d\": \"[8, 9, 9, 6, 4, 6, 9]\", \"k_2317\": \"[6, 9, 9, 6, 8, 9, 9]\", \"k_e169\": \"[8, 8, 6, 6, 9, 9, 9]\", \"k_be5e\": \"[8, 9, 9, 6, 6, 9, 9]\"}}}", "gold": "{\"output\": \"k_e169\"}"} -{"id": "gen_code:515", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a + b for a, b in zip(first, second)]\\n\\nresult = blend([7, 8, 6, 5, 5], [9, 5, 8, 8, 3])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_9925\": \"[16, 13, 14, 13, 8]\", \"k_e219\": \"[13, 12, 14, 17, 8]\", \"k_cd69\": \"[12, 17, 14, 13, 8]\", \"k_6c51\": \"[13, 13, 14, 16, 8]\"}}}", "gold": "{\"output\": \"k_9925\"}"} -{"id": "gen_code:516", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = max(total, v) + 1\\n return total\\n\\nresult = sweep([20, 7, 9, 7], 6)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_d584\": \"23\", \"k_6e0a\": \"21\", \"k_f0a1\": \"22\", \"k_32b5\": \"24\"}}}", "gold": "{\"output\": \"k_32b5\"}"} -{"id": "gen_code:517", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [max(a, b) for a, b in zip(first, second)]\\n\\nresult = blend([2, 6, 7, 1], [1, 6, 1, 4])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_b21f\": \"[2, 6, 7, 6]\", \"k_a776\": \"[6, 6, 7, 4]\", \"k_25ce\": \"[6, 7, 1, 4]\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"none_of_these\"}"} -{"id": "gen_code:518", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = max(total, v) + 1\\n return total\\n\\nresult = sweep([11, 7, 17, 7, 9, 20], 14)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_64f7\": \"22\", \"k_afe5\": \"21\", \"k_98c0\": \"26\", \"k_f6d7\": \"23\"}}}", "gold": "{\"output\": \"k_afe5\"}"} -{"id": "gen_code:519", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v >= floor)\\n\\nresult = tally({'qkyoc': 4, 'rwuf': 0, 'mzir': 4, 'ouoen': 1, 'utmo': 7, 'tfhwh': 7}, 7)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_ac65\": \"['mzir', 'tfhwh']\", \"k_82bc\": \"['tfhwh', 'utmo']\", \"k_53e7\": \"['qkyoc', 'tfhwh']\", \"k_f96f\": \"['mzir', 'utmo']\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"k_82bc\"}"} -{"id": "gen_code:520", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v < floor)\\n\\nresult = tally({'vtclb': 2, 'qne': 2, 'dxcs': 3, 'cbe': 4, 'klkw': 2, 'idu': 4}, 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_dd18\": \"['dxcs', 'idu', 'klkw', 'qne']\", \"k_dbf6\": \"['dxcs', 'klkw', 'qne', 'vtclb']\", \"k_c5c9\": \"['cbe', 'dxcs', 'idu', 'klkw']\", \"k_1d27\": \"['dxcs', 'idu', 'qne', 'vtclb']\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"k_dbf6\"}"} -{"id": "gen_code:521", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [max(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([9, 3, 4, 0, 7, 3, 2, 2], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_43e7\": \"[3, 3, 7, 7, 4, 3, 9]\", \"k_3a4c\": \"[9, 4, 4, 7, 7, 3, 2]\", \"k_1a62\": \"[7, 7, 4, 4, 3, 3, 9]\", \"k_8750\": \"[9, 9, 4, 7, 7, 3, 3]\"}}}", "gold": "{\"output\": \"k_3a4c\"}"} -{"id": "gen_code:522", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a * b for a, b in zip(first, reversed(second))]\\n\\nresult = blend([1, 9, 9, 2, 6, 3], [6, 8, 9, 6, 8, 5])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_75b2\": \"[5, 27, 54, 72, 48, 12]\", \"k_6c5f\": \"[5, 72, 54, 18, 48, 18]\", \"k_a2d5\": \"[6, 72, 45, 27, 48, 12]\", \"k_704a\": \"[3, 72, 54, 45, 48, 12]\"}}}", "gold": "{\"output\": \"k_6c5f\"}"} -{"id": "gen_code:524", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = abs(total - v)\\n return total\\n\\nresult = sweep([16, 9, 14, 17, 19], 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_da25\": \"9\", \"k_833a\": \"5\", \"k_1a92\": \"15\", \"k_fd4f\": \"13\"}}}", "gold": "{\"output\": \"k_fd4f\"}"} -{"id": "gen_code:525", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = max(total, v) + 1\\n return total\\n\\nresult = sweep([7, 12, 16, 19, 16, 15], 9)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_84da\": \"22\", \"k_3127\": \"21\", \"k_111e\": \"20\", \"k_c9a8\": \"24\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"k_84da\"}"} -{"id": "gen_code:526", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([3, 3, 2, 8, 8, 6], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_c424\": \"[8, 13, 19, 22]\", \"k_81c7\": \"[8, 13, 18, 22]\", \"k_3910\": \"[19, 18, 13, 11]\", \"k_da32\": \"[13, 18, 19, 17]\"}}}", "gold": "{\"output\": \"k_81c7\"}"} -{"id": "gen_code:527", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([3, 1, 2, 8, 1, 2, 2], 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_5e33\": \"[7, 6, 13, 14]\", \"k_96ed\": \"[6, 8, 15, 15]\", \"k_7145\": \"[14, 12, 13, 13]\", \"k_f396\": \"[8, 13, 13, 13]\"}}}", "gold": "{\"output\": \"k_7145\"}"} -{"id": "gen_code:528", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(0, len(values), size)]\\n\\nresult = window([6, 7, 3, 0, 8, 5, 4, 3], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_6726\": \"[10, 4, 13, 9]\", \"k_14b1\": \"[11, 6, 13, 6]\", \"k_a83b\": \"[13, 3, 13, 7]\", \"k_f058\": \"[7, 3, 13, 13]\"}}}", "gold": "{\"output\": \"k_a83b\"}"} -{"id": "gen_code:529", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = abs(total - v)\\n return total\\n\\nresult = sweep([18, 18, 10, 3, 10, 13], 19)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_fe9a\": \"3\", \"k_4a6a\": \"1\", \"k_7477\": \"7\", \"k_9746\": \"9\"}}}", "gold": "{\"output\": \"k_7477\"}"} -{"id": "gen_code:530", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = max(total, v) + 1\\n return total\\n\\nresult = sweep([19, 14, 8, 4, 17, 5], 1)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_7ff3\": \"21\", \"k_cefb\": \"25\", \"k_84e6\": \"23\", \"k_47ca\": \"20\"}}}", "gold": "{\"output\": \"k_cefb\"}"} -{"id": "gen_code:531", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a + b for a, b in zip(first, second)]\\n\\nresult = blend([5, 3, 8, 7], [4, 7, 5, 1])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_62bb\": \"[13, 8, 11, 8]\", \"k_3d27\": \"[7, 10, 15, 8]\", \"k_8b2f\": \"[9, 8, 15, 8]\", \"k_7f37\": \"[9, 10, 13, 8]\"}}}", "gold": "{\"output\": \"k_7f37\"}"} -{"id": "gen_code:532", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = max(total, v) + 1\\n return total\\n\\nresult = sweep([7, 1, 8, 18], 9)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_37f0\": \"20\", \"k_917e\": \"22\", \"k_a557\": \"21\", \"k_6ee8\": \"19\"}}}", "gold": "{\"output\": \"k_6ee8\"}"} -{"id": "gen_code:533", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([2, 6, 3, 5, 3, 1, 0, 7, 6], 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_60a6\": \"[18, 21, 16, 9, 9, 10]\", \"k_51ba\": \"[16, 17, 12, 9, 11, 14]\", \"k_12b0\": \"[16, 17, 16, 9, 11, 14]\", \"k_d28d\": \"[17, 18, 16, 9, 10, 13]\"}}}", "gold": "{\"output\": \"k_51ba\"}"} -{"id": "gen_code:534", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 - v\\n return total\\n\\nresult = sweep([1, 6, 18, 4, 11, 3], 8)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_669d\": \"199\", \"k_6cf0\": \"286\", \"k_8abb\": \"271\", \"k_466a\": \"256\"}}}", "gold": "{\"output\": \"k_669d\"}"} -{"id": "gen_code:535", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size)]\\n\\nresult = window([6, 1, 7, 0, 3, 6, 1, 1, 0], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_dc10\": \"[7, 8, 8, 2, 1, 3, 9]\", \"k_3cc4\": \"[7, 13, 8, 1, 3, 9, 7]\", \"k_c642\": \"[2, 8, 8, 1, 3, 9, 12]\", \"k_c7e7\": \"[7, 8, 7, 3, 9, 7, 2]\"}}}", "gold": "{\"output\": \"k_c7e7\"}"} -{"id": "gen_code:536", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a + b for a, b in zip(first, second)]\\n\\nresult = blend([4, 2, 5, 8], [4, 6, 1, 4])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_3ad0\": \"[8, 8, 6, 12]\", \"k_9af0\": \"[10, 8, 6, 10]\", \"k_01da\": \"[6, 10, 6, 12]\", \"k_9b17\": \"[10, 3, 9, 12]\"}}}", "gold": "{\"output\": \"k_3ad0\"}"} -{"id": "gen_code:537", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 + v\\n return total\\n\\nresult = sweep([16, 20, 3, 5], 19)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_cab0\": \"408\", \"k_1f42\": \"523\", \"k_0d06\": \"412\", \"k_0996\": \"506\"}}}", "gold": "{\"output\": \"k_1f42\"}"} -{"id": "gen_code:538", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v >= floor)\\n\\nresult = tally({'nypap': 3, 'kpp': 1, 'icppx': 0, 'nopo': 5, 'mai': 4, 'ovdni': 3}, 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_51ad\": \"['kpp', 'mai', 'nypap', 'ovdni']\", \"k_fb64\": \"['icppx', 'kpp', 'mai', 'nopo']\", \"k_b295\": \"['icppx', 'kpp', 'nopo', 'ovdni']\", \"k_c3a9\": \"['mai', 'nopo', 'nypap', 'ovdni']\"}}}", "gold": "{\"output\": \"k_c3a9\"}"} -{"id": "gen_code:539", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(0, len(values), size)]\\n\\nresult = window([0, 7, 2, 3, 5, 3, 5, 0, 1], 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_ffae\": \"[13, 11, 2]\", \"k_af4b\": \"[11, 13, 2]\", \"k_2f23\": \"[10, 14, 2]\", \"k_93a1\": \"[12, 13, 1]\"}}}", "gold": "{\"output\": \"k_93a1\"}"} -{"id": "gen_code:540", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a - b for a, b in zip(first, second)]\\n\\nresult = blend([5, 2, 8, 4, 8, 9], [9, 6, 7, 5, 2, 2])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_2112\": \"[-3, -3, 2, 3, 2, 6]\", \"k_1675\": \"[-4, -4, 2, 3, 0, 4]\", \"k_fc98\": \"[-4, -4, 1, -1, 6, 7]\", \"k_ca01\": \"[-4, 2, -5, 4, 6, 2]\"}}}", "gold": "{\"output\": \"k_fc98\"}"} -{"id": "gen_code:541", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [max(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([9, 7, 2, 2, 0, 5, 6], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_1d9b\": \"[7, 9, 9, 9, 6]\", \"k_df99\": \"[9, 7, 2, 5, 6]\", \"k_85d8\": \"[9, 9, 9, 6, 5]\", \"k_924c\": \"[9, 9, 9, 6, 6]\"}}}", "gold": "{\"output\": \"k_df99\"}"} -{"id": "gen_code:543", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 + v\\n return total\\n\\nresult = sweep([3, 13, 4, 1, 9], 0)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_2c9f\": \"179\", \"k_9e41\": \"263\", \"k_d842\": \"122\", \"k_544c\": \"173\"}}}", "gold": "{\"output\": \"k_2c9f\"}"} -{"id": "gen_code:544", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(0, len(values), size)]\\n\\nresult = window([8, 6, 9, 4, 6, 6, 2, 7], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_0e3f\": \"[15, 10, 14, 9]\", \"k_b4ed\": \"[15, 14, 10, 9]\", \"k_8171\": \"[14, 13, 12, 9]\", \"k_4fc6\": \"[15, 12, 12, 9]\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"k_8171\"}"} -{"id": "gen_code:545", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [max(a, b) for a, b in zip(first, second)]\\n\\nresult = blend([5, 9, 6, 5, 9, 4], [9, 8, 8, 7, 7, 9])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_40ed\": \"[5, 9, 8, 6, 9, 9]\", \"k_ef7d\": \"[9, 9, 8, 7, 9, 9]\", \"k_28b0\": \"[9, 8, 8, 6, 9, 9]\", \"k_eca3\": \"[9, 8, 9, 6, 9, 9]\"}}}", "gold": "{\"output\": \"k_ef7d\"}"} -{"id": "gen_code:546", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a + b for a, b in zip(first, second)]\\n\\nresult = blend([5, 8, 6, 8, 6], [9, 8, 3, 7, 9])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_3cb0\": \"[14, 16, 9, 15, 15]\", \"k_bb2c\": \"[13, 17, 9, 17, 13]\", \"k_fef8\": \"[14, 16, 15, 15, 9]\", \"k_e0a4\": \"[11, 16, 12, 17, 13]\"}}}", "gold": "{\"output\": \"k_3cb0\"}"} -{"id": "gen_code:547", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v >= floor)\\n\\nresult = tally({'cnj': 1, 'zehv': 0, 'edjmv': 1, 'qry': 3, 'rwc': 0, 'eqslc': 6}, 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_8d9f\": \"['eqslc', 'qry']\", \"k_0113\": \"['eqslc', 'rwc']\", \"k_9d7c\": \"['cnj', 'eqslc']\", \"k_c66a\": \"['cnj', 'qry']\"}}}", "gold": "{\"output\": \"k_8d9f\"}"} -{"id": "gen_code:548", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 - v\\n return total\\n\\nresult = sweep([17, 3, 5, 15], 15)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_ab30\": \"67\", \"k_9ce9\": \"31\", \"k_bd69\": \"33\", \"k_a412\": \"113\"}}}", "gold": "{\"output\": \"k_ab30\"}"} -{"id": "gen_code:549", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(0, len(values), size)]\\n\\nresult = window([1, 3, 2, 0, 1, 7, 3, 2], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_340e\": \"[10, 5, 1, 3]\", \"k_f8ba\": \"[4, 4, 2, 9]\", \"k_1810\": \"[4, 2, 8, 5]\", \"k_3bb5\": \"[4, 3, 3, 9]\"}}}", "gold": "{\"output\": \"k_1810\"}"} -{"id": "gen_code:550", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = abs(total - v)\\n return total\\n\\nresult = sweep([8, 7, 12, 17, 8, 5], 9)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_9c66\": \"2\", \"k_dbb1\": \"6\", \"k_dcc8\": \"12\", \"k_c87e\": \"0\"}}}", "gold": "{\"output\": \"k_9c66\"}"} -{"id": "gen_code:551", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [max(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([3, 0, 9, 4, 6, 8, 9], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_c1e7\": \"[3, 9, 9, 6, 8, 9]\", \"k_a5f2\": \"[9, 9, 6, 6, 8, 8]\", \"k_571f\": \"[9, 9, 8, 6, 4, 9]\", \"k_95e7\": \"[9, 9, 4, 8, 8, 9]\"}}}", "gold": "{\"output\": \"k_c1e7\"}"} -{"id": "gen_code:552", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v < floor)\\n\\nresult = tally({'ofga': 3, 'jyvd': 4, 'waf': 0, 'pxys': 6, 'gyahm': 0, 'jixr': 6}, 6)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_effa\": \"['gyahm', 'jixr', 'jyvd', 'pxys']\", \"k_5bd3\": \"['jixr', 'jyvd', 'pxys', 'waf']\", \"k_e83a\": \"['gyahm', 'jyvd', 'ofga', 'waf']\", \"k_8ea1\": \"['gyahm', 'jyvd', 'pxys', 'waf']\"}}}", "gold": "{\"output\": \"k_e83a\"}"} -{"id": "gen_code:553", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(0, len(values), size)]\\n\\nresult = window([6, 3, 5, 1, 6, 9, 5, 2, 3], 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_ef2f\": \"[19, 18, 3]\", \"k_aa7d\": \"[15, 22, 3]\", \"k_7350\": \"[12, 25, 3]\", \"k_0174\": \"[21, 16, 3]\"}}}", "gold": "{\"output\": \"k_aa7d\"}"} -{"id": "gen_code:554", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = max(total, v) + 1\\n return total\\n\\nresult = sweep([14, 4, 5, 12, 16], 9)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_bf4f\": \"17\", \"k_f77f\": \"19\", \"k_871b\": \"21\", \"k_98b1\": \"20\"}}}", "gold": "{\"output\": \"k_f77f\"}"} -{"id": "gen_code:555", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a * b for a, b in zip(first, reversed(second))]\\n\\nresult = blend([8, 8, 9, 5, 9], [6, 3, 5, 2, 4])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_4a4e\": \"[32, 16, 45, 15, 54]\", \"k_e852\": \"[32, 16, 45, 54, 15]\", \"k_79f6\": \"[32, 72, 10, 45, 18]\", \"k_446a\": \"[12, 16, 40, 81, 30]\"}}}", "gold": "{\"output\": \"k_4a4e\"}"} -{"id": "gen_code:556", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v >= floor)\\n\\nresult = tally({'gwham': 5, 'qkpw': 8, 'eni': 3, 'zvq': 8, 'cilu': 4, 'psq': 0}, 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_fcf0\": \"['cilu', 'eni', 'psq', 'qkpw']\", \"k_9295\": \"['cilu', 'eni', 'qkpw', 'zvq']\", \"k_49a1\": \"['cilu', 'gwham', 'qkpw', 'zvq']\", \"k_e1cf\": \"['cilu', 'eni', 'gwham', 'qkpw']\"}}}", "gold": "{\"output\": \"k_49a1\"}"} -{"id": "gen_code:557", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a * b for a, b in zip(first, reversed(second))]\\n\\nresult = blend([7, 5, 1, 3], [2, 7, 2, 4])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_7bd5\": \"[28, 10, 21, 2]\", \"k_e704\": \"[28, 6, 35, 2]\", \"k_fe3b\": \"[28, 10, 7, 6]\", \"k_7da0\": \"[12, 14, 35, 2]\"}}}", "gold": "{\"output\": \"k_fe3b\"}"} -{"id": "gen_code:558", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [max(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([0, 0, 2, 2, 6, 1, 6, 4], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_360c\": \"[0, 2, 2, 6, 6, 6, 6]\", \"k_550a\": \"[2, 2, 2, 6, 6, 6, 4]\", \"k_e3a7\": \"[6, 2, 2, 6, 6, 2, 4]\", \"k_7915\": \"[2, 2, 6, 6, 1, 6, 6]\"}}}", "gold": "{\"output\": \"k_360c\"}"} -{"id": "gen_code:559", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = abs(total - v)\\n return total\\n\\nresult = sweep([17, 12, 18, 2], 11)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_06bd\": \"14\", \"k_055b\": \"10\", \"k_97e8\": \"0\", \"k_0462\": \"2\"}}}", "gold": "{\"output\": \"k_055b\"}"} -{"id": "gen_code:560", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v < floor)\\n\\nresult = tally({'pzp': 8, 'cbi': 8, 'szl': 4, 'htbi': 7, 'dfpm': 2, 'pju': 6}, 7)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_1ce4\": \"['cbi', 'dfpm', 'pju']\", \"k_8f58\": \"['htbi', 'pju', 'szl']\", \"k_ac03\": \"['dfpm', 'pju', 'szl']\", \"k_9430\": \"['dfpm', 'pju', 'pzp']\"}}}", "gold": "{\"output\": \"k_ac03\"}"} -{"id": "gen_code:561", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a - b for a, b in zip(first, second)]\\n\\nresult = blend([6, 7, 8, 4], [1, 8, 2, 3])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_fdd4\": \"[5, 0, -5, 1]\", \"k_19dc\": \"[5, -1, 6, 1]\", \"k_901a\": \"[5, 4, -6, -4]\", \"k_33ce\": \"[5, -1, -1, -4]\"}}}", "gold": "{\"output\": \"k_19dc\"}"} -{"id": "gen_code:562", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [max(a, b) for a, b in zip(first, second)]\\n\\nresult = blend([3, 8, 9, 6, 3], [4, 4, 5, 2, 1])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_200c\": \"[4, 8, 9, 6, 3]\", \"k_add9\": \"[4, 8, 6, 2, 9]\", \"k_bcd3\": \"[8, 4, 5, 6, 9]\", \"k_539a\": \"[4, 8, 5, 6, 9]\"}}}", "gold": "{\"output\": \"k_200c\"}"} -{"id": "gen_code:563", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v < floor)\\n\\nresult = tally({'sspbk': 3, 'bljwr': 2, 'nioee': 1, 'mrni': 5, 'aboj': 4, 'epbn': 2}, 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_b092\": \"['bljwr', 'mrni', 'nioee']\", \"k_5f45\": \"['epbn', 'mrni', 'nioee']\", \"k_f411\": \"['mrni', 'nioee', 'sspbk']\", \"k_a3bb\": \"['bljwr', 'epbn', 'nioee']\"}}}", "gold": "{\"output\": \"k_a3bb\"}"} -{"id": "gen_code:564", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a * b for a, b in zip(first, reversed(second))]\\n\\nresult = blend([9, 2, 7, 6, 1, 7], [3, 3, 6, 5, 3, 2])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_7db6\": \"[6, 6, 35, 36, 9, 21]\", \"k_7b0f\": \"[6, 6, 35, 54, 6, 21]\", \"k_6810\": \"[18, 6, 35, 36, 3, 21]\", \"k_70f9\": \"[14, 9, 10, 36, 9, 21]\"}}}", "gold": "{\"output\": \"k_6810\"}"} -{"id": "gen_code:565", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a - b for a, b in zip(first, second)]\\n\\nresult = blend([8, 5, 4, 1, 7, 4], [7, 8, 3, 2, 4, 2])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_8838\": \"[1, -3, 0, -1, 4, 2]\", \"k_0bdc\": \"[1, -3, 1, -1, 3, 2]\", \"k_e4a8\": \"[1, -5, 2, -3, 2, 2]\", \"k_855d\": \"[1, -3, 2, -3, 4, 2]\"}}}", "gold": "{\"output\": \"k_0bdc\"}"} -{"id": "gen_code:566", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = abs(total - v)\\n return total\\n\\nresult = sweep([15, 8, 13, 12, 8], 17)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_e885\": \"1\", \"k_6518\": \"7\", \"k_f79c\": \"3\", \"k_d62e\": \"9\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"k_f79c\"}"} -{"id": "gen_code:567", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 - v\\n return total\\n\\nresult = sweep([8, 4, 19, 19, 5, 5], 6)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_cd28\": \"-179\", \"k_4910\": \"-89\", \"k_ea0d\": \"-149\", \"k_c9eb\": \"-194\"}}}", "gold": "{\"output\": \"k_cd28\"}"} -{"id": "gen_code:568", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([1, 4, 1, 7, 8, 4, 0, 9, 9], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_6500\": \"[5, 5, 8, 16, 9, 9, 13, 12]\", \"k_ffba\": \"[5, 5, 8, 15, 17, 18, 13, 4]\", \"k_1abe\": \"[1, 5, 5, 8, 15, 17, 13, 13]\", \"k_f8ae\": \"[5, 5, 8, 15, 12, 4, 9, 18]\"}}}", "gold": "{\"output\": \"k_f8ae\"}"} -{"id": "gen_code:569", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 - v\\n return total\\n\\nresult = sweep([19, 14, 2], 19)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_2cae\": \"56\", \"k_a991\": \"46\", \"k_e888\": \"97\", \"k_3cab\": \"58\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"k_a991\"}"} -{"id": "gen_code:570", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [max(a, b) for a, b in zip(first, second)]\\n\\nresult = blend([2, 2, 6, 3, 2, 8], [9, 1, 2, 1, 3, 4])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_5969\": \"[9, 6, 3, 3, 2, 8]\", \"k_e67d\": \"[9, 2, 6, 2, 2, 8]\", \"k_e1f2\": \"[9, 2, 6, 3, 3, 8]\", \"k_c3b8\": \"[9, 2, 6, 3, 2, 8]\"}}}", "gold": "{\"output\": \"k_e1f2\"}"} -{"id": "gen_code:571", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 - v\\n return total\\n\\nresult = sweep([18, 18, 12, 12, 12], 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_2036\": \"-262\", \"k_b1d0\": \"-388\", \"k_5fba\": \"-346\", \"k_3b39\": \"-280\"}}}", "gold": "{\"output\": \"k_b1d0\"}"} -{"id": "gen_code:572", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a * b for a, b in zip(first, reversed(second))]\\n\\nresult = blend([1, 4, 3, 7, 3, 5], [6, 5, 1, 1, 9, 5])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_8736\": \"[5, 45, 3, 7, 20, 18]\", \"k_eafa\": \"[5, 36, 3, 7, 15, 30]\", \"k_fc31\": \"[5, 45, 4, 7, 9, 30]\", \"k_e0f2\": \"[5, 45, 3, 21, 4, 30]\"}}}", "gold": "{\"output\": \"k_eafa\"}"} -{"id": "gen_code:573", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 + v\\n return total\\n\\nresult = sweep([13, 16, 1, 5, 5, 4], 8)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_84ed\": \"1251\", \"k_e1e2\": \"1088\", \"k_84f7\": \"1226\", \"k_c528\": \"1062\"}}}", "gold": "{\"output\": \"k_84f7\"}"} -{"id": "gen_code:574", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v >= floor)\\n\\nresult = tally({'vytnf': 5, 'llvxg': 4, 'oqna': 0, 'nnpwi': 0, 'zld': 5, 'yws': 0}, 5)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_a616\": \"['nnpwi', 'vytnf']\", \"k_a121\": \"['vytnf', 'zld']\", \"k_a642\": \"['nnpwi', 'zld']\", \"k_9b35\": \"['vytnf', 'yws']\"}}}", "gold": "{\"output\": \"k_a121\"}"} -{"id": "gen_code:576", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a + b for a, b in zip(first, second)]\\n\\nresult = blend([6, 7, 6, 7], [9, 2, 8, 8])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_5cab\": \"[15, 9, 14, 15]\", \"k_8cf8\": \"[13, 10, 14, 16]\", \"k_32de\": \"[14, 11, 14, 14]\", \"k_f2d5\": \"[17, 10, 12, 14]\"}}}", "gold": "{\"output\": \"k_5cab\"}"} -{"id": "gen_code:577", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [max(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([1, 0, 2, 0, 4, 5], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_3df8\": \"[5, 4, 4, 4]\", \"k_516b\": \"[2, 2, 4, 5]\", \"k_5075\": \"[5, 5, 4, 4]\", \"k_bad5\": \"[4, 4, 5, 5]\"}}}", "gold": "{\"output\": \"k_516b\"}"} -{"id": "gen_code:578", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [max(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([1, 1, 7, 4, 0, 8, 2, 3, 0], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_7042\": \"[1, 2, 7, 7, 4, 8, 8, 3]\", \"k_060b\": \"[1, 7, 7, 3, 8, 8, 2, 4]\", \"k_35fe\": \"[1, 7, 7, 4, 8, 8, 2, 3]\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"none_of_these\"}"} -{"id": "gen_code:579", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a + b for a, b in zip(first, second)]\\n\\nresult = blend([4, 7, 4, 7, 2], [9, 2, 7, 5, 7])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_4c23\": \"[13, 9, 11, 12, 9]\", \"k_357d\": \"[14, 14, 8, 9, 9]\", \"k_fcf7\": \"[11, 14, 9, 11, 9]\", \"k_f6f5\": \"[6, 14, 9, 16, 9]\"}}}", "gold": "{\"output\": \"k_4c23\"}"} -{"id": "gen_code:580", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a * b for a, b in zip(first, reversed(second))]\\n\\nresult = blend([1, 5, 4, 4], [2, 9, 7, 1])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_4216\": \"[1, 35, 36, 8]\", \"k_3007\": \"[4, 5, 63, 8]\", \"k_c50a\": \"[28, 5, 9, 8]\", \"k_c5e6\": \"[4, 7, 45, 8]\"}}}", "gold": "{\"output\": \"k_4216\"}"} -{"id": "gen_code:581", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 + v\\n return total\\n\\nresult = sweep([19, 10, 14, 14, 8], 9)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_88a4\": \"615\", \"k_fd7f\": \"758\", \"k_228a\": \"674\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"none_of_these\"}"} -{"id": "gen_code:582", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v < floor)\\n\\nresult = tally({'frw': 6, 'olzd': 2, 'mio': 4, 'otlyi': 0, 'scsd': 1, 'roez': 5}, 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_c549\": \"['olzd', 'otlyi', 'scsd']\", \"k_23fd\": \"['mio', 'roez', 'scsd']\", \"k_70d6\": \"['otlyi', 'roez', 'scsd']\", \"k_ec33\": \"['frw', 'otlyi', 'scsd']\"}}}", "gold": "{\"output\": \"k_c549\"}"} -{"id": "gen_code:583", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v >= floor)\\n\\nresult = tally({'mtcif': 5, 'olmot': 1, 'wqmr': 7, 'jwc': 1, 'gcj': 7, 'aun': 4}, 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_15d0\": \"['aun', 'gcj', 'mtcif', 'wqmr']\", \"k_e694\": \"['aun', 'gcj', 'olmot', 'wqmr']\", \"k_90fd\": \"['aun', 'gcj', 'jwc', 'wqmr']\", \"k_a820\": \"['gcj', 'jwc', 'mtcif', 'wqmr']\"}}}", "gold": "{\"output\": \"k_15d0\"}"} -{"id": "gen_code:584", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size)]\\n\\nresult = window([7, 5, 0, 3, 8, 1], 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_78be\": \"[15, 16]\", \"k_db84\": \"[11, 12]\", \"k_1002\": \"[13, 9]\", \"k_ab21\": \"[15, 9]\"}}}", "gold": "{\"output\": \"k_78be\"}"} -{"id": "gen_code:585", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [max(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([8, 4, 9, 1, 5, 3, 2, 9, 2], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_24dc\": \"[8, 8, 4, 9, 9, 3, 9, 9]\", \"k_9102\": \"[9, 9, 5, 5, 3, 3, 9, 9]\", \"k_ea6c\": \"[8, 9, 9, 5, 5, 3, 9, 9]\", \"k_fa69\": \"[8, 5, 9, 9, 3, 9, 9, 2]\"}}}", "gold": "{\"output\": \"k_ea6c\"}"} -{"id": "gen_code:586", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([7, 6, 1, 9, 4, 0], 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_2de0\": \"[14, 22, 20]\", \"k_3874\": \"[23, 20, 14]\", \"k_1b88\": \"[21, 26, 22]\", \"k_3f23\": \"[23, 26, 19]\"}}}", "gold": "{\"output\": \"k_3874\"}"} -{"id": "gen_code:587", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a * b for a, b in zip(first, reversed(second))]\\n\\nresult = blend([6, 7, 8, 1, 7], [6, 2, 7, 4, 7])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_675e\": \"[42, 28, 56, 42, 2]\", \"k_0f51\": \"[42, 28, 56, 12, 7]\", \"k_4301\": \"[28, 42, 56, 6, 14]\", \"k_3d71\": \"[42, 28, 56, 2, 42]\"}}}", "gold": "{\"output\": \"k_3d71\"}"} -{"id": "gen_code:588", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(0, len(values), size)]\\n\\nresult = window([6, 8, 7, 8, 4, 1, 4], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_21e8\": \"[9, 11, 10, 8]\", \"k_db77\": \"[8, 12, 14, 4]\", \"k_5dee\": \"[14, 15, 5, 4]\", \"k_6a8e\": \"[9, 13, 12, 4]\"}}}", "gold": "{\"output\": \"k_5dee\"}"} -{"id": "gen_code:589", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v < floor)\\n\\nresult = tally({'wclul': 0, 'zdqqj': 4, 'pvhrw': 6, 'grbge': 7, 'dkrcz': 4, 'aqnor': 7}, 7)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_a5be\": \"['grbge', 'pvhrw', 'wclul', 'zdqqj']\", \"k_399f\": \"['dkrcz', 'grbge', 'pvhrw', 'wclul']\", \"k_8540\": \"['aqnor', 'dkrcz', 'grbge', 'zdqqj']\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"none_of_these\"}"} -{"id": "gen_code:590", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a * b for a, b in zip(first, reversed(second))]\\n\\nresult = blend([2, 8, 1, 1, 1], [3, 6, 5, 5, 3])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_241e\": \"[3, 40, 5, 6, 6]\", \"k_b131\": \"[6, 8, 25, 6, 3]\", \"k_9f7c\": \"[6, 40, 5, 6, 3]\", \"k_21cf\": \"[6, 40, 6, 5, 3]\"}}}", "gold": "{\"output\": \"k_9f7c\"}"} -{"id": "gen_code:591", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [max(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([6, 4, 0, 8, 7, 3, 4, 1, 5], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_9112\": \"[6, 8, 8, 7, 7, 4, 5, 5]\", \"k_3206\": \"[6, 4, 8, 8, 7, 4, 4, 5]\", \"k_5ac5\": \"[6, 4, 8, 8, 7, 7, 4, 5]\", \"k_ced7\": \"[4, 8, 8, 7, 7, 4, 6, 6]\"}}}", "gold": "{\"output\": \"k_3206\"}"} -{"id": "gen_code:592", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v >= floor)\\n\\nresult = tally({'qns': 4, 'mxjdx': 7, 'icdfz': 5, 'dgpnt': 5, 'jciq': 3, 'pxs': 7}, 5)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_3b56\": \"['dgpnt', 'icdfz', 'jciq', 'pxs']\", \"k_e5d2\": \"['icdfz', 'jciq', 'mxjdx', 'pxs']\", \"k_ba03\": \"['dgpnt', 'icdfz', 'mxjdx', 'pxs']\", \"k_3293\": \"['dgpnt', 'icdfz', 'jciq', 'qns']\"}}}", "gold": "{\"output\": \"k_ba03\"}"} -{"id": "gen_code:593", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v >= floor)\\n\\nresult = tally({'vfqkk': 7, 'vfkq': 8, 'kzr': 5, 'zzry': 7, 'sly': 0, 'suvoo': 6}, 6)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_80b0\": \"['sly', 'suvoo', 'vfkq', 'vfqkk']\", \"k_6656\": \"['kzr', 'suvoo', 'vfkq', 'zzry']\", \"k_2f9d\": \"['suvoo', 'vfkq', 'vfqkk', 'zzry']\", \"k_4478\": \"['kzr', 'sly', 'vfkq', 'zzry']\"}}}", "gold": "{\"output\": \"k_2f9d\"}"} -{"id": "gen_code:594", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [max(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([3, 1, 0, 2, 1, 4, 0], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_5cac\": \"[3, 4, 4, 2, 2, 1]\", \"k_4c28\": \"[3, 1, 4, 4, 2, 2]\", \"k_43de\": \"[3, 2, 2, 4, 4, 1]\", \"k_3aa7\": \"[3, 1, 2, 2, 4, 4]\"}}}", "gold": "{\"output\": \"k_3aa7\"}"} -{"id": "gen_code:595", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 - v\\n return total\\n\\nresult = sweep([17, 8, 15, 3, 20], 6)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_eb4e\": \"-294\", \"k_64be\": \"-244\", \"k_f73b\": \"-230\", \"k_fda4\": \"-248\"}}}", "gold": "{\"output\": \"k_f73b\"}"} -{"id": "gen_code:596", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 - v\\n return total\\n\\nresult = sweep([12, 1, 20, 2], 10)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_1de1\": \"18\", \"k_99fc\": \"-20\", \"k_4a83\": \"34\", \"k_99bc\": \"92\"}}}", "gold": "{\"output\": \"k_1de1\"}"} -{"id": "gen_code:597", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v != floor)\\n\\nresult = tally({'xppp': 2, 'achb': 1, 'yla': 3, 'jawd': 1, 'mvgl': 3, 'prebb': 8}, 1)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_4246\": \"['achb', 'jawd', 'prebb', 'yla']\", \"k_6ea6\": \"['mvgl', 'prebb', 'xppp', 'yla']\", \"k_1ce9\": \"['achb', 'jawd', 'prebb', 'xppp']\", \"k_ffdb\": \"['achb', 'prebb', 'xppp', 'yla']\"}}}", "gold": "{\"output\": \"k_6ea6\"}"} -{"id": "gen_code:598", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v != floor)\\n\\nresult = tally({'zkyqw': 0, 'jbv': 0, 'txsld': 7, 'ohvf': 4, 'nyf': 7, 'hemi': 0}, 0)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_d0c1\": \"['hemi', 'nyf', 'txsld']\", \"k_9a3f\": \"['hemi', 'ohvf', 'txsld']\", \"k_af6c\": \"['hemi', 'jbv', 'txsld']\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"none_of_these\"}"} -{"id": "gen_code:599", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = max(total, v) + 1\\n return total\\n\\nresult = sweep([13, 20, 3, 12, 2, 14], 7)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_84a1\": \"26\", \"k_7177\": \"25\", \"k_8cd1\": \"21\", \"k_c587\": \"22\"}}}", "gold": "{\"output\": \"k_7177\"}"} -{"id": "gen_code:600", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v != floor)\\n\\nresult = tally({'mui': 7, 'ocdlp': 8, 'xedvu': 0, 'zhly': 3, 'wtrri': 2, 'tdaeb': 0}, 0)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_60a9\": \"['mui', 'ocdlp', 'wtrri', 'zhly']\", \"k_ee9d\": \"['tdaeb', 'wtrri', 'xedvu', 'zhly']\", \"k_1f40\": \"['mui', 'wtrri', 'xedvu', 'zhly']\", \"k_b6bd\": \"['mui', 'tdaeb', 'wtrri', 'xedvu']\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"k_60a9\"}"} -{"id": "gen_code:601", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 + v\\n return total\\n\\nresult = sweep([19, 4, 19, 16, 3], 20)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_d3b2\": \"1045\", \"k_2799\": \"1087\", \"k_45d9\": \"1147\", \"k_74d8\": \"1135\"}}}", "gold": "{\"output\": \"k_2799\"}"} -{"id": "gen_code:602", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size)]\\n\\nresult = window([6, 3, 9, 9, 5, 7, 9, 8, 8], 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_79b2\": \"[31, 34, 33, 29, 25]\", \"k_6219\": \"[27, 26, 30, 30, 29]\", \"k_71d9\": \"[29, 30, 30, 29, 27]\", \"k_43a0\": \"[29, 30, 30, 33, 27]\"}}}", "gold": "{\"output\": \"k_6219\"}"} -{"id": "gen_code:603", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [max(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([5, 8, 0, 1, 0, 5], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_4384\": \"[8, 8, 8, 1]\", \"k_c9d2\": \"[8, 8, 1, 5]\", \"k_7c21\": \"[5, 8, 8, 8]\", \"k_ca7e\": \"[8, 8, 5, 5]\"}}}", "gold": "{\"output\": \"k_c9d2\"}"} -{"id": "gen_code:604", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v > floor)\\n\\nresult = tally({'smtu': 8, 'icfsw': 4, 'pjsfq': 4, 'lenl': 8, 'ekdht': 2, 'uilji': 1}, 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_8497\": \"['icfsw', 'uilji']\", \"k_d0ff\": \"['pjsfq', 'smtu']\", \"k_6684\": \"['lenl', 'smtu']\", \"k_b22f\": \"['lenl', 'uilji']\"}}}", "gold": "{\"output\": \"k_6684\"}"} -{"id": "gen_code:605", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = abs(total - v)\\n return total\\n\\nresult = sweep([3, 12, 6, 7, 1], 15)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_baf7\": \"4\", \"k_d4c9\": \"0\", \"k_efd5\": \"10\", \"k_8ba0\": \"2\"}}}", "gold": "{\"output\": \"k_d4c9\"}"} -{"id": "gen_code:606", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [max(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([1, 0, 2, 0, 0, 3, 9, 8, 5], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_393a\": \"[8, 8, 8, 2, 3, 9, 9]\", \"k_08dc\": \"[2, 2, 2, 3, 9, 9, 9]\", \"k_4497\": \"[9, 9, 2, 3, 3, 8, 8]\", \"k_2753\": \"[2, 2, 9, 9, 9, 8, 8]\"}}}", "gold": "{\"output\": \"k_08dc\"}"} -{"id": "gen_code:607", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v > floor)\\n\\nresult = tally({'zdj': 7, 'guso': 4, 'xxoro': 3, 'vfqt': 3, 'xvruf': 5, 'kul': 3}, 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_55ae\": \"['guso', 'xvruf', 'zdj']\", \"k_c8e6\": \"['kul', 'vfqt', 'xvruf']\", \"k_619d\": \"['kul', 'xvruf', 'xxoro']\", \"k_3783\": \"['kul', 'xvruf', 'zdj']\"}}}", "gold": "{\"output\": \"k_55ae\"}"} -{"id": "gen_code:608", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a - b for a, b in zip(first, second)]\\n\\nresult = blend([5, 5, 4, 2], [4, 4, 6, 9])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_ad28\": \"[1, 1, -2, -7]\", \"k_bf4c\": \"[3, 5, -2, -1]\", \"k_55a4\": \"[3, 1, 0, -3]\", \"k_1d3f\": \"[-3, 1, -2, -5]\"}}}", "gold": "{\"output\": \"k_ad28\"}"} -{"id": "gen_code:609", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(0, len(values), size)]\\n\\nresult = window([5, 0, 6, 9, 4, 2, 5, 8, 1], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_1251\": \"[5, 15, 6, 13, 1]\", \"k_bc87\": \"[5, 15, 13, 6, 1]\", \"k_2fc4\": \"[5, 15, 9, 10, 1]\", \"k_f8e5\": \"[5, 15, 6, 10, 4]\"}}}", "gold": "{\"output\": \"k_1251\"}"} -{"id": "gen_code:610", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = abs(total - v)\\n return total\\n\\nresult = sweep([8, 13, 15, 4, 2, 15], 1)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_a336\": \"12\", \"k_0eb2\": \"8\", \"k_7b1d\": \"2\", \"k_9e39\": \"0\"}}}", "gold": "{\"output\": \"k_a336\"}"} -{"id": "gen_code:611", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v != floor)\\n\\nresult = tally({'ofvsk': 3, 'wayhi': 6, 'ste': 0, 'qyhtw': 3, 'mnxl': 4, 'hvmnk': 6}, 6)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_369b\": \"['mnxl', 'ofvsk', 'ste', 'wayhi']\", \"k_4b8f\": \"['hvmnk', 'mnxl', 'ofvsk', 'ste']\", \"k_763f\": \"['hvmnk', 'mnxl', 'ste', 'wayhi']\", \"k_a179\": \"['mnxl', 'ofvsk', 'qyhtw', 'ste']\"}}}", "gold": "{\"output\": \"k_a179\"}"} -{"id": "gen_code:612", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = max(total, v) + 1\\n return total\\n\\nresult = sweep([18, 4, 5, 12, 10], 0)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_9e50\": \"20\", \"k_b0de\": \"22\", \"k_fcc5\": \"23\", \"k_675e\": \"19\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"k_fcc5\"}"} -{"id": "gen_code:613", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a * b for a, b in zip(first, reversed(second))]\\n\\nresult = blend([1, 6, 8, 9], [2, 5, 4, 8])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_dc27\": \"[8, 20, 16, 54]\", \"k_f841\": \"[8, 24, 40, 18]\", \"k_e651\": \"[5, 32, 48, 18]\", \"k_46eb\": \"[8, 32, 30, 18]\"}}}", "gold": "{\"output\": \"k_f841\"}"} -{"id": "gen_code:614", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a - b for a, b in zip(first, second)]\\n\\nresult = blend([1, 3, 3, 2, 4, 2], [5, 8, 8, 4, 2, 5])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_927e\": \"[-4, -5, -5, -2, 2, -3]\", \"k_b010\": \"[-4, -1, -5, -2, 6, -3]\", \"k_5f03\": \"[-4, -6, -5, -1, 2, -3]\", \"k_e097\": \"[-1, -5, -5, 1, 2, -3]\"}}}", "gold": "{\"output\": \"k_927e\"}"} -{"id": "gen_code:615", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(0, len(values), size)]\\n\\nresult = window([3, 9, 5, 3, 3, 4, 4, 4, 8], 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_599b\": \"[21, 18, 4]\", \"k_f59b\": \"[20, 14, 9]\", \"k_e4f3\": \"[21, 19, 3]\", \"k_f8ff\": \"[20, 15, 8]\"}}}", "gold": "{\"output\": \"k_f8ff\"}"} -{"id": "gen_code:616", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a * b for a, b in zip(first, reversed(second))]\\n\\nresult = blend([5, 1, 3, 1, 3], [5, 7, 4, 2, 8])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_4c72\": \"[40, 5, 8, 3, 21]\", \"k_8e98\": \"[40, 5, 6, 4, 21]\", \"k_07e8\": \"[40, 5, 9, 4, 14]\", \"k_ab0e\": \"[40, 2, 12, 7, 15]\"}}}", "gold": "{\"output\": \"k_ab0e\"}"} -{"id": "gen_code:617", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a + b for a, b in zip(first, second)]\\n\\nresult = blend([3, 3, 7, 6, 9], [4, 7, 6, 6, 2])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_4b6f\": \"[12, 10, 13, 8, 10]\", \"k_4295\": \"[13, 10, 9, 13, 8]\", \"k_32d5\": \"[5, 10, 13, 10, 15]\", \"k_66a6\": \"[7, 10, 13, 12, 11]\"}}}", "gold": "{\"output\": \"k_66a6\"}"} -{"id": "gen_code:619", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 + v\\n return total\\n\\nresult = sweep([11, 14, 4, 4, 10, 5], 16)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_062e\": \"1716\", \"k_6cb0\": \"1548\", \"k_8bfe\": \"1673\", \"k_f108\": \"1500\"}}}", "gold": "{\"output\": \"k_8bfe\"}"} -{"id": "gen_code:620", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v >= floor)\\n\\nresult = tally({'smhq': 5, 'zvdwr': 5, 'mjf': 0, 'mubql': 3, 'ltby': 6, 'rykh': 4}, 5)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_b742\": \"['ltby', 'smhq', 'zvdwr']\", \"k_5496\": \"['rykh', 'smhq', 'zvdwr']\", \"k_575c\": \"['mjf', 'smhq', 'zvdwr']\", \"k_0605\": \"['ltby', 'mubql', 'zvdwr']\"}}}", "gold": "{\"output\": \"k_b742\"}"} -{"id": "gen_code:621", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size)]\\n\\nresult = window([8, 9, 0, 9, 8, 9, 3, 9, 9], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_d107\": \"[17, 9, 9, 17, 17, 12, 12]\", \"k_92e2\": \"[8, 9, 18, 18, 17, 11, 12]\", \"k_aeeb\": \"[17, 8, 9, 18, 17, 11, 12]\", \"k_e77c\": \"[16, 8, 9, 18, 18, 12, 12]\"}}}", "gold": "{\"output\": \"k_d107\"}"} -{"id": "gen_code:622", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v > floor)\\n\\nresult = tally({'fjtky': 1, 'tav': 3, 'hjhso': 3, 'ors': 1, 'oang': 7, 'mojd': 4}, 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_246b\": \"['fjtky', 'mojd']\", \"k_506b\": \"['mojd', 'oang']\", \"k_f9a6\": \"['oang', 'tav']\", \"k_0e6f\": \"['mojd', 'tav']\"}}}", "gold": "{\"output\": \"k_506b\"}"} -{"id": "gen_code:624", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 - v\\n return total\\n\\nresult = sweep([2, 4, 8], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_8400\": \"-12\", \"k_6108\": \"-24\", \"k_bbb8\": \"-8\", \"k_0fdb\": \"-18\"}}}", "gold": "{\"output\": \"k_bbb8\"}"} -{"id": "gen_code:625", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size)]\\n\\nresult = window([8, 4, 8, 3, 7, 3], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_52ea\": \"[16, 15, 11, 7]\", \"k_968f\": \"[16, 12, 11, 10]\", \"k_a2e5\": \"[16, 12, 7, 6]\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"none_of_these\"}"} -{"id": "gen_code:626", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [max(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([8, 6, 3, 9, 7, 4, 5, 1], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_9e71\": \"[8, 8, 9, 9, 7, 7, 5]\", \"k_5048\": \"[8, 6, 9, 9, 7, 5, 5]\", \"k_601d\": \"[8, 8, 6, 9, 9, 5, 7]\", \"k_92ca\": \"[8, 8, 7, 9, 9, 4, 5]\"}}}", "gold": "{\"output\": \"k_5048\"}"} -{"id": "gen_code:627", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [max(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([6, 2, 0, 4, 7, 4, 4, 9], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_c708\": \"[6, 7, 7, 4, 4, 4, 9]\", \"k_ac93\": \"[7, 6, 2, 4, 4, 4, 9]\", \"k_d57b\": \"[6, 2, 4, 7, 7, 4, 9]\", \"k_ee1a\": \"[7, 6, 4, 4, 4, 4, 9]\"}}}", "gold": "{\"output\": \"k_d57b\"}"} -{"id": "gen_code:628", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a + b for a, b in zip(first, second)]\\n\\nresult = blend([1, 1, 4, 2, 9, 9], [3, 3, 6, 5, 2, 7])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_d610\": \"[4, 4, 6, 14, 11, 13]\", \"k_74d3\": \"[4, 4, 6, 11, 11, 16]\", \"k_1f56\": \"[4, 4, 6, 11, 9, 18]\", \"k_27cb\": \"[4, 4, 10, 7, 11, 16]\"}}}", "gold": "{\"output\": \"k_27cb\"}"} -{"id": "gen_code:629", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 - v\\n return total\\n\\nresult = sweep([10, 11, 20, 19, 9], 16)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_013d\": \"137\", \"k_d467\": \"89\", \"k_a5b7\": \"99\", \"k_0d2d\": \"85\"}}}", "gold": "{\"output\": \"k_013d\"}"} -{"id": "gen_code:630", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v >= floor)\\n\\nresult = tally({'ldk': 2, 'yqd': 4, 'jno': 4, 'sbucn': 3, 'wkhvt': 0, 'zeihu': 4}, 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_ff84\": \"['jno', 'yqd', 'zeihu']\", \"k_e602\": \"['ldk', 'yqd', 'zeihu']\", \"k_3750\": \"['wkhvt', 'yqd', 'zeihu']\", \"k_b1f1\": \"['ldk', 'sbucn', 'yqd']\"}}}", "gold": "{\"output\": \"k_ff84\"}"} -{"id": "gen_code:631", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [max(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([5, 9, 2, 6, 6, 9, 1, 7], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_7f67\": \"[9, 9, 6, 9, 9, 5, 7]\", \"k_797d\": \"[9, 9, 6, 6, 5, 7, 7]\", \"k_1ba8\": \"[9, 9, 9, 9, 6, 5, 7]\", \"k_c222\": \"[9, 9, 6, 6, 9, 9, 7]\"}}}", "gold": "{\"output\": \"k_c222\"}"} -{"id": "gen_code:632", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v >= floor)\\n\\nresult = tally({'kkapw': 2, 'ytkhr': 5, 'ihhx': 6, 'olmgj': 3, 'reqbb': 2, 'evel': 2}, 5)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_5161\": \"['ihhx', 'ytkhr']\", \"k_d80b\": \"['evel', 'ihhx']\", \"k_b2c7\": \"['ihhx', 'olmgj']\", \"k_17c6\": \"['evel', 'reqbb']\"}}}", "gold": "{\"output\": \"k_5161\"}"} -{"id": "gen_code:633", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = abs(total - v)\\n return total\\n\\nresult = sweep([13, 2, 9, 10, 3], 17)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_5382\": \"4\", \"k_e180\": \"0\", \"k_6163\": \"2\", \"k_eaf1\": \"10\"}}}", "gold": "{\"output\": \"k_e180\"}"} -{"id": "gen_code:634", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v >= floor)\\n\\nresult = tally({'apid': 6, 'ujmni': 0, 'piv': 7, 'topj': 8, 'moreq': 3, 'izk': 4}, 6)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_5a95\": \"['apid', 'piv', 'topj']\", \"k_3102\": \"['moreq', 'piv', 'topj']\", \"k_eac3\": \"['apid', 'izk', 'piv']\", \"k_a4fd\": \"['piv', 'topj', 'ujmni']\"}}}", "gold": "{\"output\": \"k_5a95\"}"} -{"id": "gen_code:635", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v < floor)\\n\\nresult = tally({'yfgjw': 7, 'amzy': 6, 'mlx': 7, 'utt': 6, 'rkqq': 7, 'rox': 1}, 7)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_4134\": \"['amzy', 'mlx', 'rox']\", \"k_030b\": \"['amzy', 'rox', 'utt']\", \"k_801c\": \"['mlx', 'rox', 'yfgjw']\", \"k_aa71\": \"['mlx', 'rox', 'utt']\"}}}", "gold": "{\"output\": \"k_030b\"}"} -{"id": "gen_code:636", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v >= floor)\\n\\nresult = tally({'odl': 3, 'stnwj': 1, 'hxlo': 2, 'pon': 0, 'ynjhk': 8, 'atb': 7}, 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_e561\": \"['atb', 'odl', 'stnwj', 'ynjhk']\", \"k_c104\": \"['atb', 'hxlo', 'odl', 'ynjhk']\", \"k_991d\": \"['atb', 'hxlo', 'odl', 'stnwj']\", \"k_726d\": \"['atb', 'odl', 'pon', 'ynjhk']\"}}}", "gold": "{\"output\": \"k_c104\"}"} -{"id": "gen_code:637", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v < floor)\\n\\nresult = tally({'xmg': 6, 'aewen': 4, 'fvqvx': 8, 'oqfgk': 8, 'vpi': 7, 'isy': 3}, 7)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_1d46\": \"['fvqvx', 'oqfgk', 'xmg']\", \"k_a0c8\": \"['fvqvx', 'isy', 'xmg']\", \"k_23c4\": \"['aewen', 'fvqvx', 'xmg']\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"none_of_these\"}"} -{"id": "gen_code:638", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a - b for a, b in zip(first, second)]\\n\\nresult = blend([8, 2, 5, 5, 8], [1, 7, 9, 8, 3])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_1aba\": \"[7, 1, -4, -3, -1]\", \"k_7e78\": \"[5, -5, -4, -3, 7]\", \"k_cc7c\": \"[7, -5, -4, -5, 3]\", \"k_2d38\": \"[7, -5, -4, -3, 5]\"}}}", "gold": "{\"output\": \"k_2d38\"}"} -{"id": "gen_code:639", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size)]\\n\\nresult = window([8, 0, 9, 5, 7, 1, 6], 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_125d\": \"[17, 21, 29]\", \"k_ede2\": \"[22, 21, 22]\", \"k_314f\": \"[21, 29, 21]\", \"k_8129\": \"[21, 15, 23]\"}}}", "gold": "{\"output\": \"k_ede2\"}"} -{"id": "gen_code:640", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 + v\\n return total\\n\\nresult = sweep([7, 16, 8, 9, 4], 0)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_53d4\": \"262\", \"k_c1fd\": \"366\", \"k_81e6\": \"252\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"none_of_these\"}"} -{"id": "gen_code:642", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v > floor)\\n\\nresult = tally({'qdiac': 2, 'okod': 1, 'hohr': 7, 'bdhcv': 3, 'bhygu': 3, 'kgz': 7}, 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_18e7\": \"['bdhcv', 'hohr']\", \"k_8dca\": \"['hohr', 'kgz']\", \"k_0d18\": \"['kgz', 'okod']\", \"k_feec\": \"['bhygu', 'hohr']\"}}}", "gold": "{\"output\": \"k_8dca\"}"} -{"id": "gen_code:643", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v > floor)\\n\\nresult = tally({'hwqqn': 0, 'fmpz': 6, 'tpr': 1, 'ooahv': 7, 'saqgd': 0, 'mvgj': 4}, 0)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_96c3\": \"['mvgj', 'ooahv', 'saqgd', 'tpr']\", \"k_21b0\": \"['fmpz', 'ooahv', 'saqgd', 'tpr']\", \"k_3b08\": \"['hwqqn', 'mvgj', 'ooahv', 'saqgd']\", \"k_6fd5\": \"['fmpz', 'mvgj', 'ooahv', 'tpr']\"}}}", "gold": "{\"output\": \"k_6fd5\"}"} -{"id": "gen_code:644", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v < floor)\\n\\nresult = tally({'pfp': 1, 'yfr': 7, 'ycf': 8, 'bkbf': 2, 'cvkg': 5, 'kona': 5}, 8)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_e1d5\": \"['bkbf', 'cvkg', 'kona', 'pfp', 'yfr']\", \"k_725f\": \"['bkbf', 'cvkg', 'kona', 'ycf', 'yfr']\", \"k_4558\": \"['bkbf', 'cvkg', 'pfp', 'ycf', 'yfr']\", \"k_d534\": \"['cvkg', 'kona', 'pfp', 'ycf', 'yfr']\"}}}", "gold": "{\"output\": \"k_e1d5\"}"} -{"id": "gen_code:645", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [max(a, b) for a, b in zip(first, second)]\\n\\nresult = blend([6, 2, 6, 5], [3, 6, 1, 1])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_71f8\": \"[6, 2, 5, 6]\", \"k_d6c8\": \"[6, 2, 6, 5]\", \"k_977f\": \"[6, 2, 3, 6]\", \"k_3cd1\": \"[6, 6, 6, 5]\"}}}", "gold": "{\"output\": \"k_3cd1\"}"} -{"id": "gen_code:646", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a + b for a, b in zip(first, second)]\\n\\nresult = blend([8, 8, 5, 5], [3, 1, 7, 8])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_1173\": \"[8, 9, 15, 13]\", \"k_92ca\": \"[13, 9, 12, 11]\", \"k_6043\": \"[11, 8, 13, 13]\", \"k_5d9b\": \"[11, 9, 12, 13]\"}}}", "gold": "{\"output\": \"k_5d9b\"}"} -{"id": "gen_code:647", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 - v\\n return total\\n\\nresult = sweep([16, 20, 11, 9, 15], 5)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_2c81\": \"-365\", \"k_6b41\": \"-279\", \"k_0f45\": \"-257\", \"k_993f\": \"-333\"}}}", "gold": "{\"output\": \"k_993f\"}"} -{"id": "gen_code:648", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [max(a, b) for a, b in zip(first, second)]\\n\\nresult = blend([7, 2, 4, 6, 6], [2, 8, 3, 9, 9])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_fdff\": \"[7, 8, 4, 9, 9]\", \"k_2079\": \"[9, 8, 4, 9, 6]\", \"k_1f12\": \"[7, 8, 6, 6, 9]\", \"k_083c\": \"[7, 8, 6, 9, 9]\"}}}", "gold": "{\"output\": \"k_fdff\"}"} -{"id": "gen_code:649", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(0, len(values), size)]\\n\\nresult = window([2, 1, 7, 4, 6, 9, 6], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_b943\": \"[3, 13, 10, 9]\", \"k_847b\": \"[7, 9, 10, 9]\", \"k_557f\": \"[3, 10, 15, 7]\", \"k_9346\": \"[3, 11, 15, 6]\"}}}", "gold": "{\"output\": \"k_9346\"}"} -{"id": "gen_code:650", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 - v\\n return total\\n\\nresult = sweep([14, 17, 8, 2, 4, 4], 0)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_bf56\": \"-492\", \"k_a076\": \"-808\", \"k_2128\": \"-804\", \"k_25d6\": \"-286\"}}}", "gold": "{\"output\": \"k_2128\"}"} -{"id": "gen_code:651", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a * b for a, b in zip(first, reversed(second))]\\n\\nresult = blend([7, 7, 7, 6, 2, 1], [1, 9, 5, 3, 5, 7])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_fedb\": \"[49, 35, 21, 30, 18, 1]\", \"k_31e3\": \"[49, 45, 3, 30, 14, 7]\", \"k_e93e\": \"[49, 45, 18, 35, 14, 1]\", \"k_422e\": \"[14, 35, 27, 35, 42, 1]\"}}}", "gold": "{\"output\": \"k_fedb\"}"} -{"id": "gen_code:652", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v < floor)\\n\\nresult = tally({'gkzp': 6, 'nwwsj': 7, 'rdff': 4, 'lvar': 4, 'gwtl': 0, 'muoj': 2}, 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_5600\": \"['gwtl', 'lvar']\", \"k_0ffa\": \"['gwtl', 'muoj']\", \"k_816f\": \"['gwtl', 'rdff']\", \"k_f2cc\": \"['gkzp', 'gwtl']\"}}}", "gold": "{\"output\": \"k_0ffa\"}"} -{"id": "gen_code:653", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 - v\\n return total\\n\\nresult = sweep([1, 7, 3, 6, 15], 18)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_c82e\": \"465\", \"k_42d7\": \"403\", \"k_b761\": \"463\", \"k_3ea9\": \"431\"}}}", "gold": "{\"output\": \"k_c82e\"}"} -{"id": "gen_code:654", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v < floor)\\n\\nresult = tally({'zdb': 3, 'vwsk': 3, 'qalo': 6, 'jbys': 5, 'wci': 8, 'mecgs': 2}, 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_d8f7\": \"['jbys']\", \"k_175a\": \"['wci']\", \"k_4bcd\": \"['vwsk']\", \"k_d319\": \"['mecgs']\"}}}", "gold": "{\"output\": \"k_d319\"}"} -{"id": "gen_code:655", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a * b for a, b in zip(first, reversed(second))]\\n\\nresult = blend([6, 4, 6, 2, 3, 4], [8, 3, 3, 1, 8, 6])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_366f\": \"[24, 48, 6, 6, 9, 32]\", \"k_4bc4\": \"[36, 32, 6, 6, 9, 32]\", \"k_1bdb\": \"[36, 4, 18, 6, 24, 32]\", \"k_5563\": \"[36, 32, 18, 2, 9, 32]\"}}}", "gold": "{\"output\": \"k_4bc4\"}"} -{"id": "gen_code:656", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v >= floor)\\n\\nresult = tally({'yov': 4, 'kvjc': 4, 'atrie': 5, 'uwowq': 5, 'iidn': 0, 'cxgh': 4}, 5)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_0ae1\": \"['uwowq', 'yov']\", \"k_1d9b\": \"['iidn', 'uwowq']\", \"k_0155\": \"['atrie', 'uwowq']\", \"k_219d\": \"['kvjc', 'uwowq']\"}}}", "gold": "{\"output\": \"k_0155\"}"} -{"id": "gen_code:658", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [max(a, b) for a, b in zip(first, second)]\\n\\nresult = blend([3, 2, 5, 1, 2, 3], [4, 2, 6, 2, 6, 5])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_1302\": \"[3, 2, 5, 6, 6, 5]\", \"k_d11f\": \"[3, 2, 5, 6, 4, 6]\", \"k_aa03\": \"[4, 2, 6, 2, 6, 5]\", \"k_0e6d\": \"[2, 3, 6, 2, 6, 5]\"}}}", "gold": "{\"output\": \"k_aa03\"}"} -{"id": "gen_code:659", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size)]\\n\\nresult = window([9, 7, 7, 2, 1, 5, 7, 2], 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_efa9\": \"[24, 17, 21, 21]\", \"k_6512\": \"[20, 18, 21, 21]\", \"k_ac29\": \"[25, 17, 15, 15]\", \"k_3b48\": \"[19, 17, 21, 21]\"}}}", "gold": "{\"output\": \"k_ac29\"}"} -{"id": "gen_code:660", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 - v\\n return total\\n\\nresult = sweep([19, 19, 16, 3, 15], 17)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_f658\": \"103\", \"k_3366\": \"3\", \"k_7713\": \"221\", \"k_1bec\": \"30\"}}}", "gold": "{\"output\": \"k_3366\"}"} -{"id": "gen_code:661", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 - v\\n return total\\n\\nresult = sweep([10, 17, 2, 1, 20], 13)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_f831\": \"90\", \"k_850c\": \"-21\", \"k_7e93\": \"138\", \"k_54a1\": \"125\"}}}", "gold": "{\"output\": \"k_f831\"}"} -{"id": "gen_code:662", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([5, 5, 2, 0, 2, 6, 9, 0], 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_a15b\": \"[12, 9, 10, 17, 17]\", \"k_544c\": \"[14, 12, 13, 17, 15]\", \"k_b06c\": \"[12, 13, 13, 17, 17]\", \"k_d934\": \"[14, 9, 7, 11, 15]\"}}}", "gold": "{\"output\": \"k_a15b\"}"} -{"id": "gen_code:663", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 - v\\n return total\\n\\nresult = sweep([20, 1, 5, 18, 11, 13], 20)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_c246\": \"377\", \"k_167e\": \"427\", \"k_79f2\": \"273\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"none_of_these\"}"} -{"id": "gen_code:664", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v >= floor)\\n\\nresult = tally({'xdgw': 4, 'xgqfl': 2, 'due': 3, 'fuqhj': 8, 'gclcl': 1, 'ojse': 1}, 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_5bb5\": \"['due', 'gclcl', 'ojse']\", \"k_51f2\": \"['due', 'ojse', 'xdgw']\", \"k_cd29\": \"['due', 'fuqhj', 'xdgw']\", \"k_f4fd\": \"['due', 'fuqhj', 'ojse']\"}}}", "gold": "{\"output\": \"k_cd29\"}"} -{"id": "gen_code:665", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v != floor)\\n\\nresult = tally({'rkdy': 0, 'lhcq': 8, 'erkr': 1, 'rpk': 0, 'avz': 8, 'xis': 0}, 1)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_ff2c\": \"['erkr', 'lhcq', 'rkdy', 'rpk', 'xis']\", \"k_4aee\": \"['avz', 'erkr', 'lhcq', 'rpk', 'xis']\", \"k_89fd\": \"['avz', 'lhcq', 'rkdy', 'rpk', 'xis']\", \"k_23ec\": \"['avz', 'erkr', 'lhcq', 'rkdy', 'xis']\"}}}", "gold": "{\"output\": \"k_89fd\"}"} -{"id": "gen_code:666", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a - b for a, b in zip(first, second)]\\n\\nresult = blend([3, 6, 1, 4, 3, 6], [6, 1, 5, 4, 9, 3])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_0174\": \"[-5, 0, -2, 0, -6, -2]\", \"k_acc9\": \"[2, 0, -4, 0, -6, 3]\", \"k_fb6c\": \"[-3, 5, -4, 0, -6, 3]\", \"k_054b\": \"[-3, 0, -3, -1, -6, -2]\"}}}", "gold": "{\"output\": \"k_fb6c\"}"} -{"id": "gen_code:667", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [max(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([0, 4, 4, 7, 7, 7, 2, 5], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_83c7\": \"[7, 7, 7, 7, 4, 5, 5]\", \"k_7982\": \"[7, 7, 7, 7, 7, 4, 2]\", \"k_416a\": \"[4, 4, 7, 7, 7, 7, 5]\", \"k_8d89\": \"[7, 7, 7, 7, 4, 5, 7]\"}}}", "gold": "{\"output\": \"k_416a\"}"} -{"id": "gen_code:668", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [max(a, b) for a, b in zip(first, second)]\\n\\nresult = blend([7, 1, 3, 2, 5], [8, 8, 3, 6, 3])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_9feb\": \"[8, 8, 7, 3, 5]\", \"k_a8aa\": \"[8, 8, 5, 7, 3]\", \"k_1409\": \"[8, 8, 3, 6, 5]\", \"k_cd45\": \"[8, 8, 3, 7, 3]\"}}}", "gold": "{\"output\": \"k_1409\"}"} -{"id": "gen_code:669", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = max(total, v) + 1\\n return total\\n\\nresult = sweep([2, 7, 14, 19, 2], 1)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_d98c\": \"21\", \"k_26b4\": \"22\", \"k_02cc\": \"23\", \"k_1c04\": \"24\"}}}", "gold": "{\"output\": \"k_d98c\"}"} -{"id": "gen_code:670", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v < floor)\\n\\nresult = tally({'ivc': 2, 'opeg': 3, 'aygl': 5, 'fwgvb': 8, 'acta': 5, 'wogbd': 4}, 5)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_e37d\": \"['acta', 'ivc', 'opeg']\", \"k_787e\": \"['acta', 'aygl', 'wogbd']\", \"k_baeb\": \"['aygl', 'ivc', 'wogbd']\", \"k_c576\": \"['ivc', 'opeg', 'wogbd']\"}}}", "gold": "{\"output\": \"k_c576\"}"} -{"id": "gen_code:671", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v > floor)\\n\\nresult = tally({'cad': 6, 'yrkv': 0, 'ogzaz': 5, 'mdine': 2, 'uhx': 8, 'wzfte': 4}, 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_7ebf\": \"['cad', 'mdine', 'uhx']\", \"k_9d69\": \"['cad', 'uhx', 'wzfte']\", \"k_5657\": \"['cad', 'ogzaz', 'uhx']\", \"k_9d13\": \"['cad', 'ogzaz', 'wzfte']\"}}}", "gold": "{\"output\": \"k_5657\"}"} -{"id": "gen_code:672", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 - v\\n return total\\n\\nresult = sweep([20, 8, 8, 1, 2, 12], 5)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_5ded\": \"-436\", \"k_11be\": \"-342\", \"k_06f6\": \"-532\", \"k_1d40\": \"-534\"}}}", "gold": "{\"output\": \"k_06f6\"}"} -{"id": "gen_code:673", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v >= floor)\\n\\nresult = tally({'xfgv': 5, 'bnj': 8, 'cyu': 6, 'fkps': 5, 'uzhh': 8, 'kwr': 5}, 8)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_0a89\": \"['bnj', 'fkps']\", \"k_8b6e\": \"['bnj', 'xfgv']\", \"k_765e\": \"['bnj', 'cyu']\", \"k_cb92\": \"['bnj', 'uzhh']\"}}}", "gold": "{\"output\": \"k_cb92\"}"} -{"id": "gen_code:675", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v != floor)\\n\\nresult = tally({'sataq': 6, 'hdrvo': 0, 'regr': 2, 'msyid': 6, 'nhy': 8, 'pijqs': 8}, 8)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_148c\": \"['hdrvo', 'msyid', 'nhy', 'sataq']\", \"k_d237\": \"['hdrvo', 'msyid', 'regr', 'sataq']\", \"k_72ea\": \"['msyid', 'nhy', 'regr', 'sataq']\", \"k_5b1a\": \"['hdrvo', 'msyid', 'pijqs', 'regr']\"}}}", "gold": "{\"output\": \"k_d237\"}"} -{"id": "gen_code:676", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v > floor)\\n\\nresult = tally({'spfir': 1, 'jdp': 7, 'ysxv': 2, 'ivbl': 5, 'odxem': 6, 'gaoky': 4}, 5)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_5f9e\": \"['gaoky', 'spfir']\", \"k_71e2\": \"['spfir', 'ysxv']\", \"k_da98\": \"['jdp', 'odxem']\", \"k_9daf\": \"['odxem', 'spfir']\"}}}", "gold": "{\"output\": \"k_da98\"}"} -{"id": "gen_code:677", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a - b for a, b in zip(first, second)]\\n\\nresult = blend([9, 1, 7, 8, 5, 7], [7, 9, 7, 5, 9, 4])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_0036\": \"[4, -1, -6, 2, -2, 3]\", \"k_1261\": \"[2, -1, -2, 2, -8, 3]\", \"k_e895\": \"[2, -8, 0, 3, -4, 3]\", \"k_7dab\": \"[2, -1, -6, 2, -2, 1]\"}}}", "gold": "{\"output\": \"k_e895\"}"} -{"id": "gen_code:678", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a - b for a, b in zip(first, second)]\\n\\nresult = blend([8, 9, 4, 8, 7], [9, 6, 6, 2, 4])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_4599\": \"[-1, 5, 0, 6, 3]\", \"k_cf25\": \"[-1, 7, -2, 2, 3]\", \"k_b087\": \"[-7, 3, -2, 0, 3]\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"none_of_these\"}"} -{"id": "gen_code:679", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v >= floor)\\n\\nresult = tally({'xoogj': 3, 'nrcf': 5, 'arca': 6, 'oza': 8, 'pmgkn': 2, 'uomlb': 0}, 5)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_13c1\": \"['oza', 'pmgkn', 'uomlb']\", \"k_1912\": \"['arca', 'oza', 'pmgkn']\", \"k_a27c\": \"['arca', 'nrcf', 'oza']\", \"k_2f87\": \"['oza', 'pmgkn', 'xoogj']\"}}}", "gold": "{\"output\": \"k_a27c\"}"} -{"id": "gen_code:680", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size)]\\n\\nresult = window([7, 1, 1, 6, 5, 2, 2], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_c874\": \"[9, 8, 12, 13]\", \"k_3f34\": \"[4, 8, 14, 18]\", \"k_cdc2\": \"[13, 12, 13, 9]\", \"k_b590\": \"[10, 4, 9, 12]\"}}}", "gold": "{\"output\": \"k_c874\"}"} -{"id": "gen_code:681", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = max(total, v) + 1\\n return total\\n\\nresult = sweep([6, 2, 7, 12, 12], 5)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_b2ea\": \"16\", \"k_dc93\": \"14\", \"k_2fb9\": \"15\", \"k_da0a\": \"17\"}}}", "gold": "{\"output\": \"k_dc93\"}"} -{"id": "gen_code:682", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v < floor)\\n\\nresult = tally({'utsfc': 3, 'mkhq': 5, 'soy': 0, 'tfncu': 7, 'wib': 7, 'xuxn': 5}, 5)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_cca5\": \"['soy', 'utsfc']\", \"k_22e6\": \"['utsfc', 'wib']\", \"k_72ff\": \"['utsfc', 'xuxn']\", \"k_cbd3\": \"['tfncu', 'utsfc']\"}}}", "gold": "{\"output\": \"k_cca5\"}"} -{"id": "gen_code:683", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v != floor)\\n\\nresult = tally({'flux': 8, 'kejl': 5, 'vll': 5, 'cmofz': 0, 'xhzm': 5, 'skceu': 8}, 5)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_a0e1\": \"['cmofz', 'kejl', 'xhzm']\", \"k_7916\": \"['kejl', 'skceu', 'xhzm']\", \"k_555d\": \"['cmofz', 'skceu', 'xhzm']\", \"k_af69\": \"['cmofz', 'flux', 'skceu']\"}}}", "gold": "{\"output\": \"k_af69\"}"} -{"id": "gen_code:684", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([8, 7, 9, 1, 6, 5, 8, 2, 8], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_23e4\": \"[8, 7, 11, 13, 17, 17, 10, 10]\", \"k_b1ad\": \"[17, 10, 7, 11, 13, 15, 9, 10]\", \"k_6895\": \"[15, 16, 10, 7, 11, 13, 10, 10]\", \"k_a58f\": \"[16, 10, 9, 13, 11, 14, 10, 10]\"}}}", "gold": "{\"output\": \"k_6895\"}"} -{"id": "gen_code:685", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([6, 3, 4, 7, 8, 7, 2, 8, 9], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_c921\": \"[13, 17, 19, 22, 23, 24, 19]\", \"k_35d2\": \"[13, 18, 19, 22, 16, 17, 19]\", \"k_d609\": \"[13, 14, 19, 22, 17, 17, 19]\", \"k_8e74\": \"[14, 19, 22, 21, 15, 16, 19]\"}}}", "gold": "{\"output\": \"k_d609\"}"} -{"id": "gen_code:686", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = max(total, v) + 1\\n return total\\n\\nresult = sweep([2, 18, 9, 17, 12, 20], 13)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_31a6\": \"23\", \"k_61d2\": \"22\", \"k_dbc7\": \"24\", \"k_5ccf\": \"26\"}}}", "gold": "{\"output\": \"k_31a6\"}"} -{"id": "gen_code:687", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = max(total, v) + 1\\n return total\\n\\nresult = sweep([7, 1, 16, 8, 17], 13)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_0160\": \"19\", \"k_0fc7\": \"20\", \"k_ac09\": \"21\", \"k_903d\": \"22\"}}}", "gold": "{\"output\": \"k_0160\"}"} -{"id": "gen_code:688", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a + b for a, b in zip(first, second)]\\n\\nresult = blend([7, 8, 7, 5, 9], [8, 4, 4, 7, 3])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_2c4d\": \"[15, 12, 11, 12, 12]\", \"k_45b8\": \"[15, 7, 14, 9, 17]\", \"k_239b\": \"[15, 11, 11, 8, 17]\", \"k_8ed8\": \"[11, 7, 15, 12, 17]\"}}}", "gold": "{\"output\": \"k_2c4d\"}"} -{"id": "gen_code:689", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v > floor)\\n\\nresult = tally({'yonea': 3, 'tdkd': 1, 'bnn': 7, 'yrxgb': 5, 'fwd': 6, 'bmq': 7}, 5)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_2b16\": \"['bmq', 'bnn', 'fwd']\", \"k_2c07\": \"['bmq', 'fwd', 'yrxgb']\", \"k_be8c\": \"['bmq', 'fwd', 'tdkd']\", \"k_0826\": \"['fwd', 'tdkd', 'yrxgb']\"}}}", "gold": "{\"output\": \"k_2b16\"}"} -{"id": "gen_code:691", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([6, 8, 8, 4, 8, 6, 5, 8, 1], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_f84f\": \"[18, 20, 18, 22, 19, 21, 14]\", \"k_b8f6\": \"[15, 17, 22, 18, 18, 17, 21]\", \"k_0bd7\": \"[22, 20, 20, 18, 19, 19, 14]\", \"k_7887\": \"[20, 18, 18, 17, 21, 21, 17]\"}}}", "gold": "{\"output\": \"k_0bd7\"}"} -{"id": "gen_code:692", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([9, 8, 3, 8, 5, 7], 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_7d8f\": \"[27, 28, 25]\", \"k_da6c\": \"[29, 28, 24]\", \"k_9049\": \"[28, 24, 23]\", \"k_f245\": \"[32, 26, 24]\"}}}", "gold": "{\"output\": \"k_9049\"}"} -{"id": "gen_code:693", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [max(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([5, 1, 4, 1, 2, 7, 1, 7], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_ca7a\": \"[5, 1, 4, 4, 7, 7, 7]\", \"k_74cb\": \"[5, 4, 1, 1, 2, 7, 7]\", \"k_11be\": \"[5, 4, 1, 2, 7, 7, 7]\", \"k_4c97\": \"[5, 4, 4, 2, 7, 7, 7]\"}}}", "gold": "{\"output\": \"k_4c97\"}"} -{"id": "gen_code:694", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v > floor)\\n\\nresult = tally({'kvgno': 3, 'ontjl': 4, 'axwfz': 3, 'eitn': 3, 'dfov': 7, 'sezv': 7}, 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_9b7e\": \"['axwfz', 'kvgno', 'sezv']\", \"k_8c48\": \"['dfov', 'kvgno', 'sezv']\", \"k_584d\": \"['dfov', 'ontjl', 'sezv']\", \"k_8267\": \"['axwfz', 'dfov', 'sezv']\"}}}", "gold": "{\"output\": \"k_584d\"}"} -{"id": "gen_code:695", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = max(total, v) + 1\\n return total\\n\\nresult = sweep([15, 10, 2, 18], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_1457\": \"19\", \"k_7b99\": \"22\", \"k_2932\": \"20\", \"k_8d11\": \"21\"}}}", "gold": "{\"output\": \"k_1457\"}"} -{"id": "gen_code:696", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size)]\\n\\nresult = window([5, 8, 8, 4, 7, 6, 8, 3, 3], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_c022\": \"[16, 13, 9, 11, 10, 9, 14]\", \"k_ff11\": \"[14, 16, 12, 11, 10, 8, 13]\", \"k_5d29\": \"[13, 12, 11, 10, 11, 14, 14]\", \"k_b260\": \"[13, 16, 12, 11, 13, 14, 11]\"}}}", "gold": "{\"output\": \"k_b260\"}"} -{"id": "gen_code:697", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [max(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([7, 3, 6, 5, 9, 6, 5, 9], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_630c\": \"[9, 9, 6, 6, 6, 6, 9]\", \"k_0217\": \"[9, 9, 6, 7, 7, 6, 9]\", \"k_a945\": \"[9, 9, 9, 9, 6, 6, 5]\", \"k_62e1\": \"[7, 6, 6, 9, 9, 6, 9]\"}}}", "gold": "{\"output\": \"k_62e1\"}"} -{"id": "gen_code:698", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v < floor)\\n\\nresult = tally({'aixmg': 2, 'ngycq': 4, 'ddx': 4, 'ocx': 4, 'ntmx': 0, 'bpnio': 1}, 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_eadc\": \"['aixmg', 'bpnio', 'ntmx']\", \"k_3427\": \"['aixmg', 'ntmx', 'ocx']\", \"k_91c6\": \"['aixmg', 'ngycq', 'ntmx']\", \"k_56be\": \"['aixmg', 'ngycq', 'ocx']\"}}}", "gold": "{\"output\": \"k_eadc\"}"} -{"id": "gen_code:699", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v > floor)\\n\\nresult = tally({'uhj': 2, 'pelxb': 5, 'cqfto': 0, 'vly': 3, 'eemc': 6, 'wqsh': 0}, 5)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_130f\": \"['uhj']\", \"k_1ec5\": \"['wqsh']\", \"k_64bf\": \"['vly']\", \"k_2401\": \"['eemc']\"}}}", "gold": "{\"output\": \"k_2401\"}"} -{"id": "gen_code:700", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size)]\\n\\nresult = window([4, 1, 4, 9, 0, 9, 2, 3], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_0bec\": \"[13, 10, 5, 13, 9, 2]\", \"k_cbfd\": \"[5, 5, 13, 18, 9, 2]\", \"k_b36c\": \"[13, 7, 7, 13, 9, 2]\", \"k_f4fc\": \"[5, 5, 13, 9, 9, 11]\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"k_f4fc\"}"} -{"id": "gen_code:702", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(0, len(values), size)]\\n\\nresult = window([3, 4, 5, 7, 9, 6], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_18e6\": \"[13, 9, 12]\", \"k_3b57\": \"[10, 9, 15]\", \"k_a156\": \"[11, 8, 15]\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"none_of_these\"}"} -{"id": "gen_code:703", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a + b for a, b in zip(first, second)]\\n\\nresult = blend([7, 3, 6, 9, 4], [5, 8, 5, 3, 4])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_3a4d\": \"[10, 6, 14, 16, 8]\", \"k_a156\": \"[10, 11, 13, 7, 13]\", \"k_5465\": \"[10, 11, 10, 12, 11]\", \"k_b118\": \"[12, 11, 11, 12, 8]\"}}}", "gold": "{\"output\": \"k_b118\"}"} -{"id": "gen_code:704", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a * b for a, b in zip(first, reversed(second))]\\n\\nresult = blend([8, 7, 7, 4, 5, 6], [1, 6, 6, 7, 8, 6])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_fcc3\": \"[48, 56, 49, 24, 30, 6]\", \"k_8d9f\": \"[48, 56, 28, 36, 30, 7]\", \"k_b633\": \"[48, 49, 56, 24, 30, 6]\", \"k_0a5f\": \"[48, 48, 49, 24, 35, 6]\"}}}", "gold": "{\"output\": \"k_fcc3\"}"} -{"id": "gen_code:705", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = max(total, v) + 1\\n return total\\n\\nresult = sweep([10, 5, 13, 19, 7, 2], 6)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_8d7b\": \"24\", \"k_e8da\": \"22\", \"k_3183\": \"23\", \"k_38ee\": \"25\"}}}", "gold": "{\"output\": \"k_e8da\"}"} -{"id": "gen_code:706", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size)]\\n\\nresult = window([1, 9, 8, 0, 8, 0, 8, 3, 1], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_16ef\": \"[17, 16, 16, 8, 17, 10]\", \"k_1bd3\": \"[16, 17, 17, 9, 17, 12]\", \"k_0624\": \"[18, 17, 16, 8, 16, 11]\", \"k_eb8b\": \"[17, 24, 16, 8, 9, 12]\"}}}", "gold": "{\"output\": \"k_0624\"}"} -{"id": "gen_code:707", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 - v\\n return total\\n\\nresult = sweep([8, 7, 12, 14, 13, 15], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_35d6\": \"-503\", \"k_062a\": \"-531\", \"k_9496\": \"-433\", \"k_002f\": \"-437\"}}}", "gold": "{\"output\": \"k_9496\"}"} -{"id": "gen_code:708", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [max(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([1, 0, 7, 2, 0, 2, 4, 4, 7], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_c9a2\": \"[7, 7, 7, 2, 7, 7, 7]\", \"k_c3e0\": \"[7, 7, 7, 4, 4, 4, 7]\", \"k_fabd\": \"[7, 7, 7, 2, 4, 4, 7]\", \"k_eb7a\": \"[4, 4, 4, 2, 7, 7, 7]\"}}}", "gold": "{\"output\": \"k_fabd\"}"} -{"id": "gen_code:709", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v < floor)\\n\\nresult = tally({'zlzn': 7, 'qawfz': 2, 'ahhk': 0, 'ibl': 5, 'prc': 8, 'zeed': 7}, 5)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_49fb\": \"['ahhk', 'qawfz']\", \"k_022c\": \"['ibl', 'prc']\", \"k_3071\": \"['prc', 'qawfz']\", \"k_595d\": \"['prc', 'zeed']\"}}}", "gold": "{\"output\": \"k_49fb\"}"} -{"id": "gen_code:710", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v > floor)\\n\\nresult = tally({'nvh': 0, 'ixvvw': 2, 'act': 7, 'cklzw': 8, 'dacm': 7, 'gwub': 3}, 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_4548\": \"['act', 'gwub', 'nvh']\", \"k_cfdc\": \"['act', 'cklzw', 'dacm']\", \"k_1e39\": \"['act', 'cklzw', 'ixvvw']\", \"k_2cae\": \"['cklzw', 'dacm', 'nvh']\"}}}", "gold": "{\"output\": \"k_cfdc\"}"} -{"id": "gen_code:711", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 - v\\n return total\\n\\nresult = sweep([12, 12, 11, 10, 13, 7], 20)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_375c\": \"521\", \"k_981b\": \"543\", \"k_4873\": \"517\", \"k_8c45\": \"505\"}}}", "gold": "{\"output\": \"k_981b\"}"} -{"id": "gen_code:712", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a * b for a, b in zip(first, reversed(second))]\\n\\nresult = blend([4, 6, 1, 4, 7, 7], [9, 4, 9, 1, 7, 6])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_f20b\": \"[24, 42, 1, 49, 16, 81]\", \"k_d2f6\": \"[24, 42, 1, 36, 28, 63]\", \"k_9245\": \"[24, 42, 9, 28, 28, 9]\", \"k_4584\": \"[36, 28, 1, 28, 28, 81]\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"k_d2f6\"}"} -{"id": "gen_code:713", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [max(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([3, 9, 6, 1, 6, 2, 6, 8, 3], 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_00ec\": \"[6, 6, 9, 9, 9, 9]\", \"k_5a5c\": \"[9, 9, 9, 9, 6, 8]\", \"k_0b49\": \"[9, 9, 9, 6, 8, 8]\", \"k_a668\": \"[9, 9, 6, 6, 8, 8]\"}}}", "gold": "{\"output\": \"k_a668\"}"} -{"id": "gen_code:714", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v > floor)\\n\\nresult = tally({'stz': 3, 'ybj': 7, 'mjru': 2, 'oimzq': 3, 'xwth': 0, 'xafy': 1}, 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_1f75\": \"['oimzq']\", \"k_6571\": \"['xafy']\", \"k_e37e\": \"['ybj']\", \"k_da35\": \"['mjru']\"}}}", "gold": "{\"output\": \"k_e37e\"}"} -{"id": "gen_code:715", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([6, 1, 7, 2, 6, 3, 9], 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_6af3\": \"[23, 19, 21, 20]\", \"k_6172\": \"[16, 16, 18, 20]\", \"k_e53a\": \"[18, 15, 20, 25]\", \"k_22e3\": \"[20, 16, 24, 20]\"}}}", "gold": "{\"output\": \"k_6172\"}"} -{"id": "gen_code:716", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a - b for a, b in zip(first, second)]\\n\\nresult = blend([3, 1, 2, 1], [8, 2, 6, 9])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_c1be\": \"[2, -1, -1, -8]\", \"k_ff56\": \"[-3, 0, -7, -8]\", \"k_d9a4\": \"[-5, -5, 0, -8]\", \"k_5bd4\": \"[-5, -1, -4, -8]\"}}}", "gold": "{\"output\": \"k_5bd4\"}"} -{"id": "gen_code:718", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size)]\\n\\nresult = window([9, 1, 7, 2, 7, 5], 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_bb64\": \"[19, 17]\", \"k_2072\": \"[22, 15]\", \"k_6fd9\": \"[24, 17]\", \"k_9843\": \"[23, 15]\"}}}", "gold": "{\"output\": \"k_bb64\"}"} -{"id": "gen_code:719", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a - b for a, b in zip(first, second)]\\n\\nresult = blend([4, 3, 6, 6, 8, 8], [9, 2, 8, 4, 2, 9])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_141f\": \"[-7, -1, 4, -2, 4, -1]\", \"k_cf39\": \"[-5, -2, 4, -2, 5, -1]\", \"k_9dbe\": \"[-5, 1, -2, 2, 6, -1]\", \"k_9100\": \"[-2, -1, 7, -2, 6, -1]\"}}}", "gold": "{\"output\": \"k_9dbe\"}"} -{"id": "gen_code:720", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size)]\\n\\nresult = window([4, 3, 3, 6, 0, 4, 5], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_df44\": \"[7, 6, 9, 6, 4]\", \"k_5a0c\": \"[7, 8, 11, 9, 3]\", \"k_5c05\": \"[3, 8, 8, 9, 10]\", \"k_c417\": \"[8, 7, 7, 9, 6]\"}}}", "gold": "{\"output\": \"k_df44\"}"} -{"id": "gen_code:722", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [max(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([7, 0, 2, 7, 9, 0, 9, 7], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_baa1\": \"[7, 9, 9, 9, 9, 9]\", \"k_cb5c\": \"[7, 7, 7, 9, 9, 9]\", \"k_5db9\": \"[7, 7, 9, 9, 9, 9]\", \"k_38ec\": \"[9, 9, 7, 9, 9, 9]\"}}}", "gold": "{\"output\": \"k_5db9\"}"} -{"id": "gen_code:723", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v != floor)\\n\\nresult = tally({'nqqgi': 8, 'brthw': 4, 'gvh': 6, 'ujz': 6, 'yqrt': 6, 'jcdb': 2}, 6)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_eb86\": \"['brthw', 'jcdb', 'nqqgi']\", \"k_c73c\": \"['jcdb', 'nqqgi', 'yqrt']\", \"k_a938\": \"['jcdb', 'ujz', 'yqrt']\", \"k_934b\": \"['gvh', 'nqqgi', 'yqrt']\"}}}", "gold": "{\"output\": \"k_eb86\"}"} -{"id": "gen_code:724", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v != floor)\\n\\nresult = tally({'btrxe': 8, 'dhcfw': 1, 'esec': 1, 'piqyb': 8, 'yolx': 6, 'kolw': 1}, 8)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_b2ae\": \"['btrxe', 'dhcfw', 'esec', 'yolx']\", \"k_a89d\": \"['btrxe', 'dhcfw', 'kolw', 'yolx']\", \"k_132d\": \"['btrxe', 'dhcfw', 'esec', 'kolw']\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"none_of_these\"}"} -{"id": "gen_code:725", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a + b for a, b in zip(first, second)]\\n\\nresult = blend([7, 7, 3, 4, 2, 7], [5, 7, 1, 9, 9, 7])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_f6ad\": \"[12, 16, 10, 3, 13, 14]\", \"k_9fb2\": \"[12, 14, 10, 11, 13, 8]\", \"k_43e9\": \"[14, 14, 4, 11, 13, 12]\", \"k_e94c\": \"[12, 14, 4, 13, 11, 14]\"}}}", "gold": "{\"output\": \"k_e94c\"}"} -{"id": "gen_code:726", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v >= floor)\\n\\nresult = tally({'ieor': 0, 'zagxj': 6, 'uaxqo': 8, 'pig': 1, 'xtux': 2, 'rlol': 2}, 1)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_f8bc\": \"['pig', 'rlol', 'uaxqo', 'xtux', 'zagxj']\", \"k_d36d\": \"['ieor', 'pig', 'uaxqo', 'xtux', 'zagxj']\", \"k_9413\": \"['ieor', 'pig', 'rlol', 'uaxqo', 'zagxj']\", \"k_5022\": \"['ieor', 'pig', 'rlol', 'xtux', 'zagxj']\"}}}", "gold": "{\"output\": \"k_f8bc\"}"} -{"id": "gen_code:727", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 + v\\n return total\\n\\nresult = sweep([1, 12, 5, 15, 13, 10], 6)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_1202\": \"800\", \"k_fcbf\": \"744\", \"k_13d0\": \"1121\", \"k_284e\": \"1072\"}}}", "gold": "{\"output\": \"k_fcbf\"}"} -{"id": "gen_code:728", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v < floor)\\n\\nresult = tally({'xqt': 7, 'hpkdf': 6, 'lco': 8, 'rdeli': 7, 'cxq': 5, 'ovka': 0}, 7)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_8799\": \"['cxq', 'hpkdf', 'ovka']\", \"k_c197\": \"['hpkdf', 'ovka', 'rdeli']\", \"k_6510\": \"['cxq', 'lco', 'ovka']\", \"k_acd1\": \"['cxq', 'ovka', 'rdeli']\"}}}", "gold": "{\"output\": \"k_8799\"}"} -{"id": "gen_code:729", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [max(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([0, 8, 9, 2, 9, 4, 6, 4, 9], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_2fc2\": \"[9, 9, 9, 9, 9, 4, 6, 8]\", \"k_9e81\": \"[9, 9, 9, 9, 6, 6, 4, 8]\", \"k_499c\": \"[8, 9, 9, 9, 9, 6, 6, 9]\", \"k_7096\": \"[6, 9, 9, 9, 9, 9, 9, 8]\"}}}", "gold": "{\"output\": \"k_499c\"}"} -{"id": "gen_code:731", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v >= floor)\\n\\nresult = tally({'cgs': 8, 'phqc': 0, 'icncr': 0, 'lvhuy': 8, 'ibti': 6, 'wyx': 7}, 7)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_94ad\": \"['icncr', 'lvhuy', 'phqc']\", \"k_bfd5\": \"['lvhuy', 'phqc', 'wyx']\", \"k_64f6\": \"['cgs', 'phqc', 'wyx']\", \"k_1634\": \"['cgs', 'lvhuy', 'wyx']\"}}}", "gold": "{\"output\": \"k_1634\"}"} -{"id": "gen_code:732", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 - v\\n return total\\n\\nresult = sweep([8, 17, 1, 6, 19, 8], 7)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_0eb8\": \"-151\", \"k_fd86\": \"-121\", \"k_3ac2\": \"-158\", \"k_02e2\": \"-179\"}}}", "gold": "{\"output\": \"k_3ac2\"}"} -{"id": "gen_code:733", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [max(a, b) for a, b in zip(first, second)]\\n\\nresult = blend([6, 1, 7, 2, 8, 9], [3, 9, 2, 6, 3, 6])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_e64b\": \"[6, 9, 7, 6, 8, 9]\", \"k_65c9\": \"[6, 2, 7, 9, 8, 9]\", \"k_ab50\": \"[6, 2, 7, 9, 9, 8]\", \"k_4ff6\": \"[6, 2, 7, 3, 9, 9]\"}}}", "gold": "{\"output\": \"k_e64b\"}"} -{"id": "gen_code:734", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size)]\\n\\nresult = window([3, 4, 8, 1, 3, 3, 1], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_3f33\": \"[15, 15, 14, 7]\", \"k_644a\": \"[15, 13, 12, 7]\", \"k_5556\": \"[13, 13, 12, 7]\", \"k_39ce\": \"[15, 13, 12, 5]\"}}}", "gold": "{\"output\": \"k_644a\"}"} -{"id": "gen_code:735", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 + v\\n return total\\n\\nresult = sweep([5, 1, 14, 2, 11, 10], 8)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_85c0\": \"840\", \"k_d948\": \"1088\", \"k_54cd\": \"948\", \"k_1904\": \"1044\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"k_85c0\"}"} -{"id": "gen_code:736", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [max(a, b) for a, b in zip(first, second)]\\n\\nresult = blend([1, 8, 8, 1, 3, 6], [9, 6, 7, 8, 7, 7])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_2e5b\": \"[9, 8, 8, 8, 7, 7]\", \"k_bbe4\": \"[3, 8, 8, 7, 9, 7]\", \"k_a765\": \"[9, 8, 8, 7, 7, 7]\", \"k_8b9c\": \"[9, 8, 8, 7, 3, 7]\"}}}", "gold": "{\"output\": \"k_2e5b\"}"} -{"id": "gen_code:737", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([0, 0, 9, 5, 3, 8, 2], 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_9910\": \"[14, 17, 25, 18]\", \"k_d544\": \"[11, 7, 10, 18]\", \"k_56ee\": \"[5, 12, 17, 22]\", \"k_4995\": \"[11, 17, 22, 25]\"}}}", "gold": "{\"output\": \"k_9910\"}"} -{"id": "gen_code:738", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v != floor)\\n\\nresult = tally({'omq': 0, 'qcicz': 6, 'ywuav': 8, 'fnupj': 1, 'ommgh': 8, 'klmqx': 1}, 0)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_aea3\": \"['fnupj', 'klmqx', 'ommgh', 'omq', 'qcicz']\", \"k_1e5b\": \"['fnupj', 'ommgh', 'omq', 'qcicz', 'ywuav']\", \"k_a7a4\": \"['klmqx', 'ommgh', 'omq', 'qcicz', 'ywuav']\", \"k_46c7\": \"['fnupj', 'klmqx', 'ommgh', 'qcicz', 'ywuav']\"}}}", "gold": "{\"output\": \"k_46c7\"}"} -{"id": "gen_code:739", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a + b for a, b in zip(first, second)]\\n\\nresult = blend([2, 3, 4, 6, 5], [6, 3, 3, 3, 5])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_92fd\": \"[6, 9, 9, 6, 10]\", \"k_06f6\": \"[8, 6, 9, 7, 10]\", \"k_bb58\": \"[6, 8, 9, 9, 8]\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"none_of_these\"}"} -{"id": "gen_code:740", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a + b for a, b in zip(first, second)]\\n\\nresult = blend([8, 7, 2, 2, 1, 3], [1, 2, 8, 9, 7, 2])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_3ca1\": \"[3, 8, 10, 11, 15, 5]\", \"k_639c\": \"[2, 9, 10, 4, 15, 12]\", \"k_7c8b\": \"[2, 10, 10, 11, 15, 4]\", \"k_6ad3\": \"[9, 9, 10, 11, 8, 5]\"}}}", "gold": "{\"output\": \"k_6ad3\"}"} -{"id": "gen_code:741", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = max(total, v) + 1\\n return total\\n\\nresult = sweep([16, 1, 20, 3, 10, 14], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_7ccc\": \"26\", \"k_5b22\": \"22\", \"k_460b\": \"24\", \"k_a44e\": \"25\"}}}", "gold": "{\"output\": \"k_460b\"}"} -{"id": "gen_code:742", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 + v\\n return total\\n\\nresult = sweep([1, 18, 6, 15, 19], 20)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_b64d\": \"873\", \"k_8cdd\": \"961\", \"k_5aec\": \"1113\", \"k_bb73\": \"879\"}}}", "gold": "{\"output\": \"k_b64d\"}"} -{"id": "gen_code:743", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a + b for a, b in zip(first, second)]\\n\\nresult = blend([7, 9, 4, 3, 1, 7], [8, 5, 7, 9, 7, 4])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_2ba5\": \"[12, 14, 13, 10, 8, 14]\", \"k_c595\": \"[15, 14, 11, 12, 8, 11]\", \"k_74b8\": \"[14, 14, 13, 10, 8, 12]\", \"k_442e\": \"[15, 14, 13, 4, 14, 11]\"}}}", "gold": "{\"output\": \"k_c595\"}"} -{"id": "gen_code:744", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(0, len(values), size)]\\n\\nresult = window([9, 4, 1, 6, 8, 2, 1, 2, 1], 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_e637\": \"[16, 17, 1]\", \"k_aef3\": \"[20, 13, 1]\", \"k_9d34\": \"[13, 20, 1]\", \"k_ffa3\": \"[24, 9, 1]\"}}}", "gold": "{\"output\": \"k_aef3\"}"} -{"id": "gen_code:745", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(0, len(values), size)]\\n\\nresult = window([5, 8, 9, 8, 2, 7, 0], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_9dcb\": \"[5, 17, 9, 8]\", \"k_6fe0\": \"[13, 15, 11, 0]\", \"k_756a\": \"[13, 17, 9, 0]\", \"k_1609\": \"[14, 10, 15, 0]\"}}}", "gold": "{\"output\": \"k_756a\"}"} -{"id": "gen_code:746", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v != floor)\\n\\nresult = tally({'jnjxt': 5, 'spc': 8, 'wnk': 7, 'hdw': 8, 'agwvb': 4, 'rdju': 2}, 8)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_79d7\": \"['agwvb', 'rdju', 'spc', 'wnk']\", \"k_0f91\": \"['agwvb', 'jnjxt', 'rdju', 'wnk']\", \"k_39e5\": \"['agwvb', 'hdw', 'spc', 'wnk']\", \"k_c071\": \"['agwvb', 'jnjxt', 'spc', 'wnk']\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"k_0f91\"}"} -{"id": "gen_code:747", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v >= floor)\\n\\nresult = tally({'xtohb': 7, 'xias': 4, 'onj': 5, 'wssvh': 1, 'mukk': 0, 'dcnyn': 7}, 5)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_117d\": \"['wssvh', 'xias', 'xtohb']\", \"k_a81f\": \"['mukk', 'xias', 'xtohb']\", \"k_ea93\": \"['dcnyn', 'xias', 'xtohb']\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"none_of_these\"}"} -{"id": "gen_code:749", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v != floor)\\n\\nresult = tally({'kzkxy': 8, 'wcllh': 8, 'ijmni': 2, 'mgemo': 8, 'qcwhf': 2, 'hwgq': 2}, 8)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_87ce\": \"['hwgq', 'mgemo', 'wcllh']\", \"k_e5f4\": \"['hwgq', 'ijmni', 'mgemo']\", \"k_4343\": \"['mgemo', 'qcwhf', 'wcllh']\", \"k_ba46\": \"['hwgq', 'ijmni', 'qcwhf']\"}}}", "gold": "{\"output\": \"k_ba46\"}"} -{"id": "gen_code:750", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v != floor)\\n\\nresult = tally({'ucctf': 8, 'ibwzr': 8, 'inpt': 1, 'zwluh': 2, 'bhhf': 4, 'ktfo': 8}, 8)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_7493\": \"['bhhf', 'ktfo', 'ucctf']\", \"k_f465\": \"['bhhf', 'ucctf', 'zwluh']\", \"k_7da9\": \"['bhhf', 'inpt', 'zwluh']\", \"k_12f8\": \"['bhhf', 'ibwzr', 'zwluh']\"}}}", "gold": "{\"output\": \"k_7da9\"}"} -{"id": "gen_code:751", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [max(a, b) for a, b in zip(first, second)]\\n\\nresult = blend([9, 4, 9, 3], [6, 8, 2, 1])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_62fc\": \"[6, 9, 4, 9]\", \"k_7042\": \"[9, 8, 9, 3]\", \"k_7904\": \"[9, 8, 4, 9]\", \"k_ab0f\": \"[9, 8, 2, 9]\"}}}", "gold": "{\"output\": \"k_7042\"}"} -{"id": "gen_code:752", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [max(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([9, 9, 2, 3, 5, 8, 5, 6, 6], 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_746d\": \"[9, 9, 9, 6, 6, 8]\", \"k_0c9e\": \"[9, 9, 6, 6, 6, 8]\", \"k_3489\": \"[9, 9, 8, 8, 8, 8]\", \"k_1db1\": \"[9, 9, 5, 6, 8, 8]\"}}}", "gold": "{\"output\": \"k_3489\"}"} -{"id": "gen_code:753", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(0, len(values), size)]\\n\\nresult = window([3, 7, 0, 5, 3, 1, 9, 1, 7], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_7f8f\": \"[8, 7, 4, 16, 1]\", \"k_0521\": \"[8, 7, 12, 2, 7]\", \"k_6ac5\": \"[8, 16, 3, 2, 7]\", \"k_d182\": \"[10, 5, 4, 10, 7]\"}}}", "gold": "{\"output\": \"k_d182\"}"} -{"id": "gen_code:754", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([8, 0, 7, 1, 6, 6, 0, 1, 6], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_d504\": \"[9, 8, 13, 12, 6, 1, 1, 6]\", \"k_b363\": \"[15, 8, 7, 12, 6, 1, 1, 6]\", \"k_3f81\": \"[8, 7, 8, 7, 12, 6, 1, 7]\", \"k_9bd1\": \"[15, 8, 7, 12, 6, 1, 7, 6]\"}}}", "gold": "{\"output\": \"k_3f81\"}"} -{"id": "gen_code:755", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 + v\\n return total\\n\\nresult = sweep([19, 6, 18, 14, 18, 13], 12)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_c029\": \"1677\", \"k_ed78\": \"1505\", \"k_c7e3\": \"1845\", \"k_c874\": \"1721\"}}}", "gold": "{\"output\": \"k_c874\"}"} -{"id": "gen_code:756", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([5, 4, 5, 6, 4, 1, 5], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_355e\": \"[13, 14, 15, 12, 11]\", \"k_5d18\": \"[15, 15, 15, 10, 10]\", \"k_0270\": \"[10, 10, 10, 15, 15]\", \"k_d45d\": \"[14, 15, 15, 11, 10]\"}}}", "gold": "{\"output\": \"k_d45d\"}"} -{"id": "gen_code:757", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a * b for a, b in zip(first, reversed(second))]\\n\\nresult = blend([2, 8, 9, 6, 7, 9], [1, 9, 9, 8, 2, 9])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_52e8\": \"[18, 16, 72, 54, 63, 9]\", \"k_1cc8\": \"[18, 16, 54, 72, 63, 9]\", \"k_ba00\": \"[18, 18, 64, 54, 63, 9]\", \"k_d103\": \"[18, 16, 54, 63, 81, 8]\"}}}", "gold": "{\"output\": \"k_52e8\"}"} -{"id": "gen_code:758", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v < floor)\\n\\nresult = tally({'zhq': 8, 'odb': 0, 'snesf': 2, 'nwrnf': 1, 'tlfup': 3, 'rpzdu': 7}, 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_f316\": \"['nwrnf', 'snesf', 'zhq']\", \"k_685a\": \"['odb', 'rpzdu', 'snesf']\", \"k_2d3c\": \"['rpzdu', 'snesf', 'zhq']\", \"k_6654\": \"['nwrnf', 'odb', 'snesf']\"}}}", "gold": "{\"output\": \"k_6654\"}"} -{"id": "gen_code:759", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a * b for a, b in zip(first, reversed(second))]\\n\\nresult = blend([7, 6, 2, 6, 9, 4], [7, 2, 8, 3, 4, 9])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_0739\": \"[63, 48, 6, 24, 63, 8]\", \"k_237d\": \"[72, 24, 6, 42, 63, 8]\", \"k_80e4\": \"[56, 24, 6, 54, 63, 8]\", \"k_4ce5\": \"[63, 24, 6, 48, 18, 28]\"}}}", "gold": "{\"output\": \"k_4ce5\"}"} -{"id": "gen_code:760", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [max(a, b) for a, b in zip(first, second)]\\n\\nresult = blend([2, 1, 1, 7], [6, 9, 5, 9])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_c18a\": \"[7, 6, 5, 9]\", \"k_e743\": \"[6, 9, 5, 9]\", \"k_f655\": \"[9, 2, 5, 9]\", \"k_8a17\": \"[9, 7, 5, 9]\"}}}", "gold": "{\"output\": \"k_e743\"}"} -{"id": "gen_code:761", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a - b for a, b in zip(first, second)]\\n\\nresult = blend([4, 5, 4, 5, 1, 9], [2, 9, 5, 7, 2, 3])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_460f\": \"[2, 4, 4, -2, -1, 1]\", \"k_0baa\": \"[-1, -5, 0, 2, 3, 1]\", \"k_ab29\": \"[2, -4, -1, -2, -1, 6]\", \"k_cc53\": \"[2, -4, 4, -4, -1, -1]\"}}}", "gold": "{\"output\": \"k_ab29\"}"} -{"id": "gen_code:762", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a + b for a, b in zip(first, second)]\\n\\nresult = blend([2, 8, 2, 6, 4, 2], [8, 5, 7, 9, 8, 2])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_54b9\": \"[10, 13, 9, 15, 12, 4]\", \"k_7aaa\": \"[16, 4, 13, 11, 12, 7]\", \"k_0457\": \"[10, 11, 9, 14, 12, 7]\", \"k_6524\": \"[10, 9, 10, 15, 12, 7]\"}}}", "gold": "{\"output\": \"k_54b9\"}"} -{"id": "gen_code:763", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 + v\\n return total\\n\\nresult = sweep([7, 6, 5, 8, 2], 0)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_3aac\": \"184\", \"k_b915\": \"207\", \"k_026d\": \"198\", \"k_7f8c\": \"188\"}}}", "gold": "{\"output\": \"k_026d\"}"} -{"id": "gen_code:764", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 - v\\n return total\\n\\nresult = sweep([12, 19, 1, 20, 5], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_fd3f\": \"-215\", \"k_82f7\": \"-230\", \"k_3b9d\": \"-367\", \"k_e86f\": \"-329\"}}}", "gold": "{\"output\": \"k_e86f\"}"} -{"id": "gen_code:765", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v < floor)\\n\\nresult = tally({'fmu': 2, 'mxte': 6, 'tpivr': 2, 'egvt': 6, 'kmm': 8, 'hekk': 3}, 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_cae8\": \"['fmu', 'mxte']\", \"k_a978\": \"['fmu', 'tpivr']\", \"k_59d1\": \"['mxte', 'tpivr']\", \"k_c94f\": \"['hekk', 'tpivr']\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"k_a978\"}"} -{"id": "gen_code:766", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([8, 9, 3, 9, 2, 9], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_9256\": \"[21, 21, 14, 19]\", \"k_0010\": \"[20, 21, 21, 20]\", \"k_6855\": \"[20, 14, 20, 20]\", \"k_ea34\": \"[20, 21, 14, 20]\"}}}", "gold": "{\"output\": \"k_ea34\"}"} -{"id": "gen_code:767", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(0, len(values), size)]\\n\\nresult = window([1, 0, 9, 3, 5, 7, 5], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_aea3\": \"[1, 12, 12, 5]\", \"k_8eaa\": \"[6, 16, 8, 0]\", \"k_bf7d\": \"[8, 3, 14, 5]\", \"k_52bb\": \"[8, 8, 5, 9]\"}}}", "gold": "{\"output\": \"k_aea3\"}"} -{"id": "gen_code:768", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 - v\\n return total\\n\\nresult = sweep([4, 16, 13, 12, 10, 4], 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_9596\": \"-286\", \"k_dfe8\": \"-294\", \"k_44d2\": \"-300\", \"k_af3f\": \"-304\"}}}", "gold": "{\"output\": \"k_af3f\"}"} -{"id": "gen_code:769", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = max(total, v) + 1\\n return total\\n\\nresult = sweep([5, 15, 17, 14, 2, 7], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_4cff\": \"23\", \"k_9b68\": \"19\", \"k_8961\": \"20\", \"k_e1ac\": \"21\"}}}", "gold": "{\"output\": \"k_e1ac\"}"} -{"id": "gen_code:770", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(0, len(values), size)]\\n\\nresult = window([4, 0, 6, 8, 2, 8, 7, 2], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_69d7\": \"[11, 16, 10]\", \"k_5ddf\": \"[10, 18, 9]\", \"k_6b6e\": \"[6, 22, 9]\", \"k_fd6e\": \"[10, 23, 4]\"}}}", "gold": "{\"output\": \"k_5ddf\"}"} -{"id": "gen_code:771", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(0, len(values), size)]\\n\\nresult = window([7, 9, 1, 3, 5, 7, 9, 8, 4], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_9b4b\": \"[16, 8, 16, 12, 1]\", \"k_b082\": \"[16, 4, 12, 17, 4]\", \"k_23bd\": \"[18, 4, 12, 15, 4]\", \"k_892d\": \"[16, 4, 11, 17, 5]\"}}}", "gold": "{\"output\": \"k_b082\"}"} -{"id": "gen_code:772", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size)]\\n\\nresult = window([8, 0, 6, 9, 0, 4], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_bf52\": \"[8, 6, 15, 9]\", \"k_52be\": \"[12, 4, 9, 9]\", \"k_6407\": \"[14, 6, 4, 13]\", \"k_8ef2\": \"[12, 8, 6, 15]\"}}}", "gold": "{\"output\": \"k_bf52\"}"} -{"id": "gen_code:773", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 + v\\n return total\\n\\nresult = sweep([8, 1, 12], 18)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_0ed1\": \"180\", \"k_4998\": \"202\", \"k_b32f\": \"190\", \"k_93f7\": \"209\"}}}", "gold": "{\"output\": \"k_b32f\"}"} -{"id": "gen_code:774", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v > floor)\\n\\nresult = tally({'osq': 7, 'ctr': 7, 'nhbzn': 1, 'oqms': 6, 'lqtq': 7, 'nfyws': 3}, 6)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_a474\": \"['lqtq', 'oqms', 'osq']\", \"k_1b68\": \"['ctr', 'oqms', 'osq']\", \"k_e76e\": \"['nfyws', 'oqms', 'osq']\", \"k_e961\": \"['ctr', 'lqtq', 'osq']\"}}}", "gold": "{\"output\": \"k_e961\"}"} -{"id": "gen_code:775", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v >= floor)\\n\\nresult = tally({'mgk': 4, 'jily': 2, 'shf': 8, 'nwi': 7, 'rib': 0, 'yvglx': 4}, 7)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_46f7\": \"['nwi', 'rib']\", \"k_5c3a\": \"['mgk', 'shf']\", \"k_5d7c\": \"['nwi', 'shf']\", \"k_bde1\": \"['mgk', 'nwi']\"}}}", "gold": "{\"output\": \"k_5d7c\"}"} -{"id": "gen_code:777", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a + b for a, b in zip(first, second)]\\n\\nresult = blend([1, 6, 1, 5, 2], [3, 4, 4, 1, 2])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_be8b\": \"[4, 10, 5, 6, 4]\", \"k_e120\": \"[4, 8, 6, 6, 5]\", \"k_6b57\": \"[4, 10, 4, 6, 5]\", \"k_732b\": \"[4, 10, 6, 3, 6]\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"k_be8b\"}"} -{"id": "gen_code:779", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = max(total, v) + 1\\n return total\\n\\nresult = sweep([11, 19, 8, 1], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_08c4\": \"23\", \"k_ac27\": \"21\", \"k_3205\": \"20\", \"k_de57\": \"22\"}}}", "gold": "{\"output\": \"k_de57\"}"} -{"id": "gen_code:781", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a * b for a, b in zip(first, reversed(second))]\\n\\nresult = blend([7, 9, 3, 7, 5, 5], [1, 3, 9, 7, 2, 5])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_c750\": \"[25, 18, 21, 49, 27, 5]\", \"k_edcd\": \"[35, 18, 21, 63, 15, 5]\", \"k_c4c3\": \"[25, 18, 15, 63, 21, 7]\", \"k_217f\": \"[25, 18, 21, 21, 7, 45]\"}}}", "gold": "{\"output\": \"k_edcd\"}"} -{"id": "gen_code:783", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = abs(total - v)\\n return total\\n\\nresult = sweep([17, 11, 13, 17], 16)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_1d75\": \"8\", \"k_e141\": \"14\", \"k_ff8f\": \"16\", \"k_968d\": \"6\"}}}", "gold": "{\"output\": \"k_e141\"}"} -{"id": "gen_code:784", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = max(total, v) + 1\\n return total\\n\\nresult = sweep([8, 5, 18, 16, 18, 7], 7)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_9908\": \"20\", \"k_8fdf\": \"21\", \"k_4c82\": \"23\", \"k_7385\": \"22\"}}}", "gold": "{\"output\": \"k_7385\"}"} -{"id": "gen_code:785", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 - v\\n return total\\n\\nresult = sweep([16, 10, 15, 9, 4], 9)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_d33d\": \"-40\", \"k_c32b\": \"-130\", \"k_50b3\": \"-52\", \"k_cb03\": \"-23\"}}}", "gold": "{\"output\": \"k_c32b\"}"} -{"id": "gen_code:786", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a * b for a, b in zip(first, reversed(second))]\\n\\nresult = blend([1, 1, 5, 2, 7], [8, 7, 5, 9, 5])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_b2f9\": \"[35, 9, 25, 16, 7]\", \"k_2bdf\": \"[5, 9, 25, 56, 14]\", \"k_7fbd\": \"[25, 9, 5, 16, 49]\", \"k_a0f9\": \"[5, 9, 25, 14, 56]\"}}}", "gold": "{\"output\": \"k_a0f9\"}"} -{"id": "gen_code:787", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = max(total, v) + 1\\n return total\\n\\nresult = sweep([10, 15, 2, 14, 2], 10)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_11dc\": \"17\", \"k_4ffa\": \"18\", \"k_7a9c\": \"20\", \"k_eb97\": \"19\"}}}", "gold": "{\"output\": \"k_eb97\"}"} -{"id": "gen_code:788", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a + b for a, b in zip(first, second)]\\n\\nresult = blend([1, 2, 3, 7, 5], [9, 9, 3, 5, 8])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_bde4\": \"[10, 11, 6, 12, 13]\", \"k_fefd\": \"[12, 11, 4, 12, 13]\", \"k_2821\": \"[12, 11, 4, 10, 15]\", \"k_e039\": \"[12, 11, 8, 15, 6]\"}}}", "gold": "{\"output\": \"k_bde4\"}"} -{"id": "gen_code:789", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(0, len(values), size)]\\n\\nresult = window([1, 3, 4, 3, 8, 5, 9, 0, 7], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_ad40\": \"[4, 11, 14, 4, 7]\", \"k_0243\": \"[4, 7, 13, 9, 7]\", \"k_9bc7\": \"[4, 17, 8, 4, 7]\", \"k_7b36\": \"[8, 11, 10, 4, 7]\"}}}", "gold": "{\"output\": \"k_0243\"}"} -{"id": "gen_code:790", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v < floor)\\n\\nresult = tally({'kak': 2, 'rtjs': 6, 'lqkg': 6, 'dmy': 4, 'ber': 5, 'rltcn': 3}, 6)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_2b60\": \"['ber', 'dmy', 'rltcn', 'rtjs']\", \"k_da06\": \"['dmy', 'kak', 'rltcn', 'rtjs']\", \"k_5940\": \"['ber', 'dmy', 'kak', 'rltcn']\", \"k_c468\": \"['ber', 'dmy', 'lqkg', 'rltcn']\"}}}", "gold": "{\"output\": \"k_5940\"}"} -{"id": "gen_code:791", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a - b for a, b in zip(first, second)]\\n\\nresult = blend([1, 8, 8, 8, 4], [7, 1, 3, 3, 1])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_24df\": \"[-6, 7, 5, 5, 3]\", \"k_db31\": \"[-6, 7, 5, -2, -4]\", \"k_b891\": \"[1, 0, 5, -2, -4]\", \"k_b052\": \"[-4, 7, 0, -2, 3]\"}}}", "gold": "{\"output\": \"k_24df\"}"} -{"id": "gen_code:792", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size)]\\n\\nresult = window([2, 7, 6, 1, 7, 9, 6], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_8873\": \"[22, 20, 14, 10]\", \"k_c760\": \"[15, 22, 16, 17]\", \"k_b8c2\": \"[16, 20, 14, 16]\", \"k_191a\": \"[15, 14, 14, 17]\"}}}", "gold": "{\"output\": \"k_191a\"}"} -{"id": "gen_code:793", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = abs(total - v)\\n return total\\n\\nresult = sweep([5, 18, 11, 2, 17], 1)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_0976\": \"16\", \"k_58b4\": \"6\", \"k_5422\": \"8\", \"k_2251\": \"4\"}}}", "gold": "{\"output\": \"k_0976\"}"} -{"id": "gen_code:794", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = max(total, v) + 1\\n return total\\n\\nresult = sweep([7, 8, 16, 15], 7)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_d13e\": \"17\", \"k_35ac\": \"18\", \"k_09f4\": \"20\", \"k_7ed2\": \"19\"}}}", "gold": "{\"output\": \"k_35ac\"}"} -{"id": "gen_code:795", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = max(total, v) + 1\\n return total\\n\\nresult = sweep([4, 15, 8, 4], 9)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_c118\": \"19\", \"k_76d9\": \"16\", \"k_807d\": \"17\", \"k_2493\": \"18\"}}}", "gold": "{\"output\": \"k_2493\"}"} -{"id": "gen_code:796", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v < floor)\\n\\nresult = tally({'ozjpk': 5, 'uoz': 8, 'sdq': 1, 'ugb': 5, 'fgmt': 3, 'hosei': 0}, 5)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_c8a5\": \"['fgmt', 'hosei', 'sdq']\", \"k_eed0\": \"['hosei', 'sdq', 'ugb']\", \"k_5804\": \"['hosei', 'ugb', 'uoz']\", \"k_bbc8\": \"['ozjpk', 'sdq', 'ugb']\"}}}", "gold": "{\"output\": \"k_c8a5\"}"} -{"id": "gen_code:797", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = abs(total - v)\\n return total\\n\\nresult = sweep([15, 10, 8, 20, 18], 9)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_5bbc\": \"14\", \"k_4fd4\": \"12\", \"k_8e49\": \"2\", \"k_3a14\": \"6\"}}}", "gold": "{\"output\": \"k_8e49\"}"} -{"id": "gen_code:798", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = abs(total - v)\\n return total\\n\\nresult = sweep([13, 14, 7, 3, 20], 19)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_5ff3\": \"18\", \"k_9f59\": \"2\", \"k_7737\": \"8\", \"k_0cd0\": \"4\"}}}", "gold": "{\"output\": \"k_5ff3\"}"} -{"id": "gen_code:799", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 + v\\n return total\\n\\nresult = sweep([9, 8, 10, 10, 11], 12)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_4610\": \"682\", \"k_5c9c\": \"687\", \"k_c98c\": \"680\", \"k_12ec\": \"663\"}}}", "gold": "{\"output\": \"k_12ec\"}"} -{"id": "gen_code:800", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a - b for a, b in zip(first, second)]\\n\\nresult = blend([2, 1, 3, 8, 2, 3], [2, 4, 6, 7, 7, 3])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_2ba7\": \"[-5, -3, -3, -1, 0, 0]\", \"k_100f\": \"[0, -3, -3, 1, -5, 0]\", \"k_5473\": \"[0, -3, -3, 4, -6, -4]\", \"k_5538\": \"[5, -3, -3, -6, -5, 0]\"}}}", "gold": "{\"output\": \"k_100f\"}"} -{"id": "gen_code:801", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [max(a, b) for a, b in zip(first, second)]\\n\\nresult = blend([3, 4, 4, 6, 1, 4], [5, 2, 9, 3, 5, 4])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_67ae\": \"[4, 4, 9, 6, 4, 5]\", \"k_29e0\": \"[5, 4, 9, 6, 4, 4]\", \"k_e8ed\": \"[5, 4, 9, 6, 5, 4]\", \"k_38b0\": \"[5, 4, 9, 6, 4, 5]\"}}}", "gold": "{\"output\": \"k_e8ed\"}"} -{"id": "gen_code:802", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [max(a, b) for a, b in zip(first, second)]\\n\\nresult = blend([8, 9, 4, 4, 2, 3], [9, 9, 9, 9, 9, 3])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_4f9f\": \"[9, 9, 9, 9, 9, 9]\", \"k_bd9c\": \"[9, 8, 9, 9, 9, 3]\", \"k_b5e8\": \"[9, 9, 9, 9, 9, 4]\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"none_of_these\"}"} -{"id": "gen_code:803", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = max(total, v) + 1\\n return total\\n\\nresult = sweep([13, 4, 17, 20], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_5ead\": \"24\", \"k_a57c\": \"21\", \"k_2598\": \"22\", \"k_a443\": \"23\"}}}", "gold": "{\"output\": \"k_a57c\"}"} -{"id": "gen_code:804", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = max(total, v) + 1\\n return total\\n\\nresult = sweep([10, 6, 15, 2, 18], 12)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_d21e\": \"20\", \"k_c6cb\": \"21\", \"k_1760\": \"23\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"none_of_these\"}"} -{"id": "gen_code:805", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a * b for a, b in zip(first, reversed(second))]\\n\\nresult = blend([8, 1, 4, 6, 1], [9, 3, 9, 5, 9])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_e469\": \"[5, 8, 36, 18, 81]\", \"k_29f1\": \"[72, 5, 36, 18, 9]\", \"k_a401\": \"[1, 20, 54, 27, 72]\", \"k_adf7\": \"[24, 5, 36, 6, 81]\"}}}", "gold": "{\"output\": \"k_29f1\"}"} -{"id": "gen_code:806", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(0, len(values), size)]\\n\\nresult = window([3, 9, 5, 3, 2, 3, 9, 4, 1], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_c776\": \"[21, 8, 10]\", \"k_b75f\": \"[15, 14, 10]\", \"k_1aca\": \"[17, 8, 14]\", \"k_f5d6\": \"[14, 15, 10]\"}}}", "gold": "{\"output\": \"k_1aca\"}"} -{"id": "gen_code:807", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [max(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([3, 5, 1, 2, 1, 6, 8], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_a0e1\": \"[5, 5, 2, 6, 8]\", \"k_99e6\": \"[6, 3, 2, 5, 8]\", \"k_b752\": \"[6, 5, 2, 3, 8]\", \"k_ce25\": \"[5, 2, 3, 6, 8]\"}}}", "gold": "{\"output\": \"k_a0e1\"}"} -{"id": "gen_code:808", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = abs(total - v)\\n return total\\n\\nresult = sweep([4, 6, 10, 13, 16], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_5c72\": \"9\", \"k_79ed\": \"1\", \"k_53f8\": \"5\", \"k_977f\": \"3\"}}}", "gold": "{\"output\": \"k_5c72\"}"} -{"id": "gen_code:809", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = abs(total - v)\\n return total\\n\\nresult = sweep([16, 12, 8, 9, 18], 16)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_3c08\": \"7\", \"k_2d74\": \"13\", \"k_6777\": \"1\", \"k_bafc\": \"3\"}}}", "gold": "{\"output\": \"k_2d74\"}"} -{"id": "gen_code:810", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a + b for a, b in zip(first, second)]\\n\\nresult = blend([2, 4, 2, 1, 6], [9, 1, 2, 6, 6])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_468f\": \"[4, 5, 8, 7, 15]\", \"k_a277\": \"[4, 5, 11, 7, 12]\", \"k_06fb\": \"[11, 5, 4, 7, 12]\", \"k_3d0e\": \"[4, 7, 6, 15, 7]\"}}}", "gold": "{\"output\": \"k_06fb\"}"} -{"id": "gen_code:811", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v != floor)\\n\\nresult = tally({'txox': 3, 'wllzx': 3, 'srlg': 7, 'afp': 7, 'ajt': 2, 'weu': 0}, 7)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_4d71\": \"['srlg', 'txox', 'weu', 'wllzx']\", \"k_1ee7\": \"['ajt', 'txox', 'weu', 'wllzx']\", \"k_743d\": \"['afp', 'srlg', 'weu', 'wllzx']\", \"k_3964\": \"['afp', 'ajt', 'srlg', 'wllzx']\"}}}", "gold": "{\"output\": \"k_1ee7\"}"} -{"id": "gen_code:812", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a + b for a, b in zip(first, second)]\\n\\nresult = blend([7, 4, 3, 9, 6], [5, 7, 8, 9, 3])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_66f9\": \"[12, 11, 11, 18, 9]\", \"k_a87f\": \"[12, 13, 11, 18, 7]\", \"k_2a8c\": \"[10, 10, 11, 18, 12]\", \"k_f11b\": \"[9, 13, 11, 18, 10]\"}}}", "gold": "{\"output\": \"k_66f9\"}"} -{"id": "gen_code:813", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([4, 5, 2, 6, 9, 0, 7, 0, 1], 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_1aff\": \"[24, 22, 17, 8, 9, 8]\", \"k_66bd\": \"[17, 13, 17, 15, 16, 17]\", \"k_59d2\": \"[19, 24, 17, 15, 14, 6]\", \"k_1983\": \"[17, 22, 17, 22, 16, 8]\"}}}", "gold": "{\"output\": \"k_1983\"}"} -{"id": "gen_code:814", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size)]\\n\\nresult = window([0, 4, 7, 0, 0, 4], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_c4e3\": \"[7, 11, 4, 0]\", \"k_0a85\": \"[4, 11, 7, 0]\", \"k_185b\": \"[4, 4, 0, 4]\", \"k_16b7\": \"[7, 7, 0, 4]\"}}}", "gold": "{\"output\": \"k_0a85\"}"} -{"id": "gen_code:815", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = abs(total - v)\\n return total\\n\\nresult = sweep([2, 9, 19, 18], 19)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_44c3\": \"11\", \"k_c480\": \"9\", \"k_f0f9\": \"13\", \"k_6d20\": \"7\"}}}", "gold": "{\"output\": \"k_6d20\"}"} -{"id": "gen_code:816", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v > floor)\\n\\nresult = tally({'aol': 7, 'vrysx': 4, 'sns': 4, 'skyg': 3, 'aquh': 7, 'vcwt': 2}, 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_285a\": \"['aol', 'aquh']\", \"k_77e2\": \"['aol', 'sns']\", \"k_a3b1\": \"['aquh', 'skyg']\", \"k_01c3\": \"['aol', 'vcwt']\"}}}", "gold": "{\"output\": \"k_285a\"}"} -{"id": "gen_code:817", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [max(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([2, 5, 4, 8, 4, 0, 1, 9, 6], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_c89b\": \"[5, 8, 8, 8, 6, 9, 9]\", \"k_f46a\": \"[5, 8, 8, 8, 6, 4, 9]\", \"k_aa43\": \"[4, 8, 8, 8, 6, 5, 9]\", \"k_e153\": \"[5, 8, 8, 8, 4, 9, 9]\"}}}", "gold": "{\"output\": \"k_e153\"}"} -{"id": "gen_code:818", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v >= floor)\\n\\nresult = tally({'xzbuk': 3, 'iyw': 1, 'qxz': 5, 'ggl': 4, 'baz': 6, 'uynt': 5}, 5)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_f5c1\": \"['ggl', 'qxz', 'uynt']\", \"k_90fe\": \"['iyw', 'qxz', 'uynt']\", \"k_a999\": \"['baz', 'qxz', 'uynt']\", \"k_b9ec\": \"['iyw', 'uynt', 'xzbuk']\"}}}", "gold": "{\"output\": \"k_a999\"}"} -{"id": "gen_code:819", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [max(a, b) for a, b in zip(first, second)]\\n\\nresult = blend([1, 5, 6, 9, 3], [9, 8, 5, 8, 7])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_6d2f\": \"[9, 8, 6, 9, 7]\", \"k_7651\": \"[9, 8, 6, 8, 9]\", \"k_34d9\": \"[7, 9, 8, 5, 9]\", \"k_f7e6\": \"[9, 5, 8, 8, 9]\"}}}", "gold": "{\"output\": \"k_6d2f\"}"} -{"id": "gen_code:820", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(0, len(values), size)]\\n\\nresult = window([4, 5, 9, 5, 2, 6, 3, 1], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_a116\": \"[7, 11, 11, 6]\", \"k_a145\": \"[9, 14, 8, 4]\", \"k_32a9\": \"[6, 12, 11, 6]\", \"k_2646\": \"[4, 14, 8, 9]\"}}}", "gold": "{\"output\": \"k_a145\"}"} -{"id": "gen_code:821", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v >= floor)\\n\\nresult = tally({'gxl': 8, 'prnc': 0, 'ykijv': 8, 'yupgd': 6, 'pfwe': 0, 'nlid': 6}, 8)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_b84e\": \"['ykijv', 'yupgd']\", \"k_5f8d\": \"['gxl', 'pfwe']\", \"k_9d6f\": \"['gxl', 'nlid']\", \"k_88f5\": \"['gxl', 'ykijv']\"}}}", "gold": "{\"output\": \"k_88f5\"}"} -{"id": "gen_code:822", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 - v\\n return total\\n\\nresult = sweep([1, 12, 9, 9, 11, 20], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_b33e\": \"-383\", \"k_a55a\": \"-382\", \"k_aca4\": \"-272\", \"k_6424\": \"-182\"}}}", "gold": "{\"output\": \"k_6424\"}"} -{"id": "gen_code:823", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = abs(total - v)\\n return total\\n\\nresult = sweep([11, 1, 3, 2, 18, 8], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_cd98\": \"4\", \"k_c0df\": \"6\", \"k_ccb8\": \"8\", \"k_aadc\": \"0\"}}}", "gold": "{\"output\": \"k_ccb8\"}"} -{"id": "gen_code:824", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(0, len(values), size)]\\n\\nresult = window([5, 6, 4, 1, 9, 3, 2, 1, 4], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_d515\": \"[11, 5, 12, 3, 4]\", \"k_b772\": \"[9, 10, 12, 3, 1]\", \"k_272b\": \"[9, 7, 10, 5, 4]\", \"k_d803\": \"[9, 10, 2, 5, 9]\"}}}", "gold": "{\"output\": \"k_d515\"}"} -{"id": "gen_code:826", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a + b for a, b in zip(first, second)]\\n\\nresult = blend([6, 8, 1, 9, 8, 8], [7, 2, 3, 5, 6, 9])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_6d0e\": \"[13, 10, 4, 14, 14, 17]\", \"k_8cb0\": \"[15, 11, 4, 11, 14, 17]\", \"k_11f9\": \"[15, 10, 9, 6, 15, 17]\", \"k_d5b3\": \"[15, 8, 4, 14, 14, 17]\"}}}", "gold": "{\"output\": \"k_6d0e\"}"} -{"id": "gen_code:827", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([1, 5, 6, 0, 1, 0, 8, 6, 7], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_f08b\": \"[11, 6, 1, 1, 8, 9, 7, 13]\", \"k_d0be\": \"[5, 0, 1, 7, 7, 9, 14, 13]\", \"k_e04b\": \"[6, 11, 6, 1, 1, 8, 14, 13]\", \"k_d9ee\": \"[11, 6, 1, 1, 1, 9, 15, 13]\"}}}", "gold": "{\"output\": \"k_e04b\"}"} -{"id": "gen_code:828", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v < floor)\\n\\nresult = tally({'qpsrw': 7, 'ejbc': 4, 'ndvw': 8, 'mmrbe': 6, 'fzf': 5, 'iyt': 1}, 7)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_be15\": \"['ejbc', 'iyt', 'mmrbe', 'ndvw']\", \"k_43b9\": \"['fzf', 'iyt', 'mmrbe', 'ndvw']\", \"k_4651\": \"['ejbc', 'fzf', 'iyt', 'mmrbe']\", \"k_dc10\": \"['ejbc', 'fzf', 'mmrbe', 'ndvw']\"}}}", "gold": "{\"output\": \"k_4651\"}"} -{"id": "gen_code:829", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v > floor)\\n\\nresult = tally({'kkkc': 7, 'rhz': 0, 'knilc': 7, 'zwcxe': 0, 'ecihm': 6, 'alnoh': 7}, 0)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_2db4\": \"['ecihm', 'kkkc', 'knilc', 'zwcxe']\", \"k_af15\": \"['alnoh', 'ecihm', 'kkkc', 'knilc']\", \"k_1603\": \"['alnoh', 'ecihm', 'kkkc', 'rhz']\", \"k_cd85\": \"['alnoh', 'kkkc', 'knilc', 'rhz']\"}}}", "gold": "{\"output\": \"k_af15\"}"} -{"id": "gen_code:830", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([8, 1, 9, 5, 7, 1, 3, 7], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_2fcf\": \"[16, 9, 11, 9, 17, 17]\", \"k_8d25\": \"[12, 11, 15, 13, 15, 17]\", \"k_788e\": \"[18, 15, 21, 13, 11, 11]\", \"k_2e4b\": \"[10, 5, 9, 15, 21, 23]\"}}}", "gold": "{\"output\": \"k_788e\"}"} -{"id": "gen_code:831", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v > floor)\\n\\nresult = tally({'cth': 0, 'dtjf': 2, 'ssgja': 0, 'dvgi': 3, 'eda': 6, 'aoyxl': 8}, 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_4f3a\": \"['dtjf', 'dvgi', 'eda']\", \"k_beec\": \"['aoyxl', 'eda', 'ssgja']\", \"k_f2f7\": \"['aoyxl', 'dtjf', 'eda']\", \"k_1149\": \"['aoyxl', 'dvgi', 'eda']\"}}}", "gold": "{\"output\": \"k_1149\"}"} -{"id": "gen_code:832", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(0, len(values), size)]\\n\\nresult = window([0, 6, 4, 4, 4, 1, 6, 4, 9], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_2093\": \"[10, 9, 19]\", \"k_3a92\": \"[14, 9, 15]\", \"k_3a5e\": \"[10, 11, 17]\", \"k_90e4\": \"[14, 5, 19]\"}}}", "gold": "{\"output\": \"k_2093\"}"} -{"id": "gen_code:833", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [max(a, b) for a, b in zip(first, second)]\\n\\nresult = blend([7, 2, 2, 5, 1, 5], [5, 7, 5, 6, 1, 8])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_962a\": \"[7, 7, 2, 5, 6, 8]\", \"k_a8de\": \"[7, 7, 5, 6, 1, 8]\", \"k_5de6\": \"[7, 7, 2, 6, 2, 8]\", \"k_3e4d\": \"[7, 7, 2, 6, 5, 8]\"}}}", "gold": "{\"output\": \"k_a8de\"}"} -{"id": "gen_code:835", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v < floor)\\n\\nresult = tally({'zqsb': 6, 'ndz': 0, 'bsxu': 8, 'ldg': 5, 'qmxe': 1, 'bjt': 7}, 7)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_2786\": \"['bjt', 'ndz', 'qmxe', 'zqsb']\", \"k_3195\": \"['bjt', 'ldg', 'ndz', 'qmxe']\", \"k_9963\": \"['bsxu', 'ndz', 'qmxe', 'zqsb']\", \"k_7587\": \"['ldg', 'ndz', 'qmxe', 'zqsb']\"}}}", "gold": "{\"output\": \"k_7587\"}"} -{"id": "gen_code:836", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = max(total, v) + 1\\n return total\\n\\nresult = sweep([7, 4, 3, 10, 7, 19], 7)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_747a\": \"20\", \"k_9911\": \"22\", \"k_3ab5\": \"21\", \"k_a0bc\": \"25\"}}}", "gold": "{\"output\": \"k_747a\"}"} -{"id": "gen_code:837", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 + v\\n return total\\n\\nresult = sweep([14, 17, 4], 19)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_0817\": \"246\", \"k_6fc5\": \"233\", \"k_e405\": \"216\", \"k_2132\": \"252\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"k_0817\"}"} -{"id": "gen_code:838", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a * b for a, b in zip(first, reversed(second))]\\n\\nresult = blend([4, 4, 2, 9, 2, 8], [9, 7, 8, 9, 8, 7])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_f3f6\": \"[28, 32, 72, 18, 56, 18]\", \"k_a869\": \"[28, 32, 18, 72, 14, 72]\", \"k_fc21\": \"[28, 32, 18, 18, 72, 56]\", \"k_e777\": \"[28, 32, 63, 18, 16, 72]\"}}}", "gold": "{\"output\": \"k_a869\"}"} -{"id": "gen_code:839", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a - b for a, b in zip(first, second)]\\n\\nresult = blend([9, 7, 5, 6, 4, 5], [2, 4, 6, 9, 7, 8])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_e9f8\": \"[7, 3, -1, -1, -3, -1]\", \"k_4bc6\": \"[7, 4, -1, -3, -3, -2]\", \"k_f1c5\": \"[7, 3, -2, -4, -1, -3]\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"none_of_these\"}"} -{"id": "gen_code:840", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size)]\\n\\nresult = window([9, 7, 9, 6, 8, 8, 7], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_b8f3\": \"[25, 22, 23, 22]\", \"k_6ae8\": \"[22, 20, 22, 24]\", \"k_3d60\": \"[22, 23, 23, 25]\", \"k_8a97\": \"[24, 22, 21, 23]\"}}}", "gold": "{\"output\": \"k_b8f3\"}"} -{"id": "gen_code:841", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([3, 2, 0, 1, 7, 5, 7], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_489d\": \"[9, 14, 19, 13, 9]\", \"k_b88f\": \"[5, 4, 11, 13, 19]\", \"k_74e1\": \"[5, 3, 8, 13, 19]\", \"k_1d46\": \"[3, 6, 13, 19, 17]\"}}}", "gold": "{\"output\": \"k_74e1\"}"} -{"id": "gen_code:842", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v >= floor)\\n\\nresult = tally({'wujn': 3, 'tavjq': 6, 'oxln': 5, 'kbx': 3, 'mgp': 8, 'nyilm': 8}, 8)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_5f59\": \"['mgp', 'tavjq']\", \"k_064c\": \"['kbx', 'oxln']\", \"k_d316\": \"['kbx', 'mgp']\", \"k_9d15\": \"['mgp', 'nyilm']\"}}}", "gold": "{\"output\": \"k_9d15\"}"} -{"id": "gen_code:843", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v < floor)\\n\\nresult = tally({'pep': 7, 'verp': 0, 'dwn': 4, 'cai': 4, 'ozomu': 4, 'kzgo': 7}, 7)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_ce6e\": \"['cai', 'dwn', 'kzgo', 'pep']\", \"k_71c1\": \"['cai', 'dwn', 'kzgo', 'verp']\", \"k_c412\": \"['cai', 'dwn', 'ozomu', 'verp']\", \"k_20b0\": \"['cai', 'kzgo', 'ozomu', 'verp']\"}}}", "gold": "{\"output\": \"k_c412\"}"} -{"id": "gen_code:844", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 + v\\n return total\\n\\nresult = sweep([16, 20, 11, 20, 4], 5)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_027b\": \"552\", \"k_ea56\": \"680\", \"k_cf4b\": \"714\", \"k_aa75\": \"664\"}}}", "gold": "{\"output\": \"k_aa75\"}"} -{"id": "gen_code:845", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a * b for a, b in zip(first, reversed(second))]\\n\\nresult = blend([1, 1, 6, 3], [2, 2, 4, 3])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_99b4\": \"[3, 4, 12, 6]\", \"k_ce73\": \"[12, 1, 12, 6]\", \"k_813c\": \"[6, 1, 12, 12]\", \"k_cdcb\": \"[8, 3, 6, 6]\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"k_99b4\"}"} -{"id": "gen_code:846", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [max(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([9, 4, 9, 7, 1, 4, 1, 3, 9], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_f5bf\": \"[9, 4, 9, 9, 7, 7, 3, 9]\", \"k_c872\": \"[9, 9, 9, 4, 7, 9, 9, 3]\", \"k_1ae7\": \"[9, 9, 9, 7, 4, 4, 3, 9]\", \"k_a00c\": \"[9, 9, 4, 4, 7, 7, 3, 9]\"}}}", "gold": "{\"output\": \"k_1ae7\"}"} -{"id": "gen_code:847", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [max(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([0, 2, 2, 7, 1, 8, 3, 3, 2], 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_e110\": \"[7, 7, 7, 7, 3, 8]\", \"k_635a\": \"[7, 7, 8, 8, 8, 8]\", \"k_2473\": \"[7, 8, 8, 8, 8, 3]\", \"k_e150\": \"[3, 7, 8, 8, 8, 8]\"}}}", "gold": "{\"output\": \"k_635a\"}"} -{"id": "gen_code:848", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v < floor)\\n\\nresult = tally({'qhxs': 2, 'hogp': 5, 'alev': 3, 'lyid': 4, 'zjo': 6, 'kazvy': 1}, 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_29e1\": \"['hogp', 'qhxs']\", \"k_2750\": \"['kazvy', 'qhxs']\", \"k_c059\": \"['hogp', 'lyid']\", \"k_715b\": \"['lyid', 'qhxs']\"}}}", "gold": "{\"output\": \"k_2750\"}"} -{"id": "gen_code:849", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = max(total, v) + 1\\n return total\\n\\nresult = sweep([14, 17, 20, 3], 0)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_cae0\": \"22\", \"k_aee5\": \"23\", \"k_1c35\": \"21\", \"k_7d1d\": \"24\"}}}", "gold": "{\"output\": \"k_cae0\"}"} -{"id": "gen_code:850", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [max(a, b) for a, b in zip(first, second)]\\n\\nresult = blend([6, 1, 2, 7, 1], [6, 5, 2, 5, 4])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_2488\": \"[6, 5, 2, 7, 4]\", \"k_d22c\": \"[6, 6, 2, 7, 5]\", \"k_a39e\": \"[5, 6, 6, 7, 4]\", \"k_cb2b\": \"[5, 6, 2, 7, 6]\"}}}", "gold": "{\"output\": \"k_2488\"}"} -{"id": "gen_code:852", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 + v\\n return total\\n\\nresult = sweep([7, 6, 10, 12, 4], 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_affb\": \"356\", \"k_5f83\": \"378\", \"k_d703\": \"315\", \"k_39ea\": \"330\"}}}", "gold": "{\"output\": \"k_affb\"}"} -{"id": "gen_code:853", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 + v\\n return total\\n\\nresult = sweep([20, 19, 19, 5, 8, 17], 7)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_03e9\": \"1597\", \"k_d78f\": \"1515\", \"k_96cf\": \"1271\", \"k_d77a\": \"1503\"}}}", "gold": "{\"output\": \"k_03e9\"}"} -{"id": "gen_code:854", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v < floor)\\n\\nresult = tally({'mtfwb': 8, 'nlzkv': 1, 'bipji': 0, 'ccxs': 4, 'pkc': 4, 'cqatb': 3}, 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_be26\": \"['ccxs', 'mtfwb']\", \"k_d845\": \"['ccxs', 'nlzkv']\", \"k_8968\": \"['bipji', 'nlzkv']\", \"k_20a3\": \"['nlzkv', 'pkc']\"}}}", "gold": "{\"output\": \"k_8968\"}"} -{"id": "gen_code:855", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v != floor)\\n\\nresult = tally({'qgot': 8, 'vrdb': 0, 'dam': 3, 'dmrex': 3, 'epc': 8, 'jyh': 0}, 0)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_82f3\": \"['dam', 'epc', 'jyh', 'qgot']\", \"k_683b\": \"['dmrex', 'jyh', 'qgot', 'vrdb']\", \"k_0a4f\": \"['dam', 'dmrex', 'jyh', 'qgot']\", \"k_b132\": \"['dam', 'dmrex', 'epc', 'qgot']\"}}}", "gold": "{\"output\": \"k_b132\"}"} -{"id": "gen_code:856", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = abs(total - v)\\n return total\\n\\nresult = sweep([8, 20, 5, 13], 17)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_88b4\": \"7\", \"k_c5a1\": \"11\", \"k_9110\": \"19\", \"k_272a\": \"3\"}}}", "gold": "{\"output\": \"k_88b4\"}"} -{"id": "gen_code:857", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v != floor)\\n\\nresult = tally({'jyyi': 4, 'wgov': 4, 'rvam': 5, 'euj': 7, 'qypom': 8, 'hfeck': 8}, 5)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_456d\": \"['euj', 'hfeck', 'jyyi', 'qypom', 'rvam']\", \"k_a3d2\": \"['euj', 'hfeck', 'jyyi', 'rvam', 'wgov']\", \"k_8180\": \"['euj', 'hfeck', 'jyyi', 'qypom', 'wgov']\", \"k_51ee\": \"['hfeck', 'jyyi', 'qypom', 'rvam', 'wgov']\"}}}", "gold": "{\"output\": \"k_8180\"}"} -{"id": "gen_code:858", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(0, len(values), size)]\\n\\nresult = window([7, 8, 3, 4, 2, 8, 7, 2, 8], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_659f\": \"[22, 15, 12]\", \"k_3428\": \"[14, 24, 11]\", \"k_1897\": \"[18, 14, 17]\", \"k_2cc9\": \"[17, 15, 17]\"}}}", "gold": "{\"output\": \"k_1897\"}"} -{"id": "gen_code:859", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 + v\\n return total\\n\\nresult = sweep([5, 18, 3, 11, 16, 7], 1)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_276c\": \"619\", \"k_707a\": \"535\", \"k_6d58\": \"471\", \"k_5da5\": \"490\"}}}", "gold": "{\"output\": \"k_276c\"}"} -{"id": "gen_code:860", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v > floor)\\n\\nresult = tally({'ypkl': 4, 'fas': 0, 'jii': 8, 'nlp': 0, 'uzimr': 0, 'wzuv': 0}, 0)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_51a8\": \"['jii', 'ypkl']\", \"k_189d\": \"['fas', 'wzuv']\", \"k_1cf7\": \"['fas', 'jii']\", \"k_dfd3\": \"['jii', 'wzuv']\"}}}", "gold": "{\"output\": \"k_51a8\"}"} -{"id": "gen_code:861", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([2, 0, 1, 0, 7, 9], 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_8445\": \"[12, 11, 18]\", \"k_4fb9\": \"[10, 18, 16]\", \"k_4ca3\": \"[3, 8, 17]\", \"k_9676\": \"[3, 9, 18]\"}}}", "gold": "{\"output\": \"k_4ca3\"}"} -{"id": "gen_code:862", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([5, 9, 2, 5, 2, 1, 7, 6], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_19e6\": \"[16, 9, 7, 7, 3, 6, 11]\", \"k_5d95\": \"[14, 7, 4, 7, 6, 8, 13]\", \"k_5e8a\": \"[14, 11, 7, 7, 3, 8, 13]\", \"k_f269\": \"[10, 3, 7, 7, 7, 12, 13]\"}}}", "gold": "{\"output\": \"k_5e8a\"}"} -{"id": "gen_code:863", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(0, len(values), size)]\\n\\nresult = window([2, 4, 3, 8, 1, 8, 8], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_ff33\": \"[6, 11, 9, 8]\", \"k_8579\": \"[5, 12, 9, 8]\", \"k_9205\": \"[5, 9, 12, 8]\", \"k_6a73\": \"[7, 10, 9, 8]\"}}}", "gold": "{\"output\": \"k_ff33\"}"} -{"id": "gen_code:864", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v >= floor)\\n\\nresult = tally({'bmz': 1, 'hdj': 2, 'fpath': 4, 'xwo': 4, 'nzm': 8, 'vagox': 4}, 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_1622\": \"['fpath', 'hdj', 'nzm', 'vagox']\", \"k_aa6a\": \"['fpath', 'nzm', 'vagox', 'xwo']\", \"k_f716\": \"['fpath', 'hdj', 'nzm', 'xwo']\", \"k_3c28\": \"['bmz', 'fpath', 'vagox', 'xwo']\"}}}", "gold": "{\"output\": \"k_aa6a\"}"} -{"id": "gen_code:865", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v != floor)\\n\\nresult = tally({'dhrkl': 1, 'arbj': 7, 'ixpo': 6, 'dxlaj': 5, 'wmf': 5, 'gpiw': 2}, 5)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_0bc8\": \"['arbj', 'dhrkl', 'gpiw', 'ixpo']\", \"k_acd9\": \"['arbj', 'dhrkl', 'dxlaj', 'ixpo']\", \"k_a191\": \"['dhrkl', 'dxlaj', 'gpiw', 'wmf']\", \"k_2135\": \"['dhrkl', 'gpiw', 'ixpo', 'wmf']\"}}}", "gold": "{\"output\": \"k_0bc8\"}"} -{"id": "gen_code:866", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [max(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([2, 6, 0, 0, 8, 9, 3], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_0164\": \"[9, 9, 9, 8, 8]\", \"k_a366\": \"[9, 9, 3, 6, 8]\", \"k_1e67\": \"[9, 8, 8, 8, 6]\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"none_of_these\"}"} -{"id": "gen_code:867", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(0, len(values), size)]\\n\\nresult = window([1, 5, 4, 4, 7, 5], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_63eb\": \"[6, 9, 11]\", \"k_e8e6\": \"[12, 5, 9]\", \"k_d726\": \"[6, 8, 12]\", \"k_7e44\": \"[6, 12, 8]\"}}}", "gold": "{\"output\": \"k_d726\"}"} -{"id": "gen_code:868", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = max(total, v) + 1\\n return total\\n\\nresult = sweep([12, 7, 7, 10], 8)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_70aa\": \"16\", \"k_23c9\": \"14\", \"k_2ecb\": \"15\", \"k_a942\": \"13\"}}}", "gold": "{\"output\": \"k_70aa\"}"} -{"id": "gen_code:869", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a * b for a, b in zip(first, reversed(second))]\\n\\nresult = blend([4, 6, 5, 3], [6, 9, 4, 9])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_04ae\": \"[27, 16, 54, 30]\", \"k_92db\": \"[36, 24, 45, 18]\", \"k_eb16\": \"[36, 24, 54, 15]\", \"k_813d\": \"[36, 36, 36, 15]\"}}}", "gold": "{\"output\": \"k_92db\"}"} -{"id": "gen_code:870", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([4, 4, 9, 3, 3, 0, 1, 4], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_dd4e\": \"[17, 16, 15, 6, 4, 5]\", \"k_fc9d\": \"[16, 15, 16, 7, 5, 5]\", \"k_04a0\": \"[17, 16, 15, 6, 7, 5]\", \"k_3162\": \"[11, 16, 15, 12, 4, 5]\"}}}", "gold": "{\"output\": \"k_dd4e\"}"} -{"id": "gen_code:871", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [max(a, b) for a, b in zip(first, second)]\\n\\nresult = blend([7, 6, 7, 6, 4], [8, 6, 3, 3, 9])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_d6fc\": \"[8, 7, 7, 6, 9]\", \"k_168a\": \"[8, 6, 7, 6, 9]\", \"k_56f7\": \"[6, 8, 7, 6, 9]\", \"k_f77e\": \"[8, 7, 7, 4, 9]\"}}}", "gold": "{\"output\": \"k_168a\"}"} -{"id": "gen_code:873", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v >= floor)\\n\\nresult = tally({'udah': 8, 'logap': 6, 'alm': 8, 'qbfq': 7, 'hmdm': 6, 'peznf': 4}, 7)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_fc72\": \"['hmdm', 'logap', 'udah']\", \"k_e2f4\": \"['alm', 'qbfq', 'udah']\", \"k_9b12\": \"['alm', 'hmdm', 'qbfq']\", \"k_4c0e\": \"['peznf', 'qbfq', 'udah']\"}}}", "gold": "{\"output\": \"k_e2f4\"}"} -{"id": "gen_code:874", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size)]\\n\\nresult = window([8, 4, 9, 4, 2, 3, 5, 9, 2], 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_65a7\": \"[25, 19, 18, 14, 19]\", \"k_8c47\": \"[24, 26, 30, 24, 20]\", \"k_301c\": \"[30, 26, 24, 18, 14]\", \"k_3d59\": \"[26, 27, 26, 24, 18]\"}}}", "gold": "{\"output\": \"k_65a7\"}"} -{"id": "gen_code:875", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = abs(total - v)\\n return total\\n\\nresult = sweep([5, 4, 20, 10], 12)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_fb55\": \"1\", \"k_03a3\": \"19\", \"k_a5bf\": \"13\", \"k_5dff\": \"7\"}}}", "gold": "{\"output\": \"k_5dff\"}"} -{"id": "gen_code:876", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = max(total, v) + 1\\n return total\\n\\nresult = sweep([12, 6, 12, 16, 1], 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_33b7\": \"19\", \"k_2e82\": \"21\", \"k_a8d0\": \"18\", \"k_d7d5\": \"20\"}}}", "gold": "{\"output\": \"k_a8d0\"}"} -{"id": "gen_code:877", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = abs(total - v)\\n return total\\n\\nresult = sweep([20, 15, 10, 18, 10], 1)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_5c5f\": \"14\", \"k_542a\": \"8\", \"k_6e39\": \"2\", \"k_c943\": \"16\"}}}", "gold": "{\"output\": \"k_6e39\"}"} -{"id": "gen_code:878", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a - b for a, b in zip(first, second)]\\n\\nresult = blend([3, 8, 4, 1, 5], [9, 1, 9, 8, 6])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_a62d\": \"[-6, -7, -5, 7, -1]\", \"k_af93\": \"[-6, 7, -8, 4, -1]\", \"k_dbbc\": \"[-5, 7, -5, 8, -1]\", \"k_41c6\": \"[-6, 7, -5, -7, -1]\"}}}", "gold": "{\"output\": \"k_41c6\"}"} -{"id": "gen_code:879", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size)]\\n\\nresult = window([1, 2, 6, 4, 0, 6, 8, 4, 9], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_d52f\": \"[12, 10, 5, 7, 15, 18]\", \"k_ec32\": \"[9, 12, 10, 10, 14, 18]\", \"k_6930\": \"[9, 11, 10, 10, 10, 18]\", \"k_ccac\": \"[9, 11, 18, 18, 14, 10]\"}}}", "gold": "{\"output\": \"k_ec32\"}"} -{"id": "gen_code:880", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v > floor)\\n\\nresult = tally({'luqyu': 4, 'lvai': 8, 'rwbz': 6, 'keenp': 3, 'klnb': 7, 'tfgx': 2}, 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_5e38\": \"['keenp', 'klnb', 'luqyu', 'rwbz', 'tfgx']\", \"k_b99e\": \"['keenp', 'klnb', 'luqyu', 'lvai', 'rwbz']\", \"k_02ba\": \"['klnb', 'luqyu', 'lvai', 'rwbz', 'tfgx']\", \"k_82a6\": \"['keenp', 'klnb', 'luqyu', 'lvai', 'tfgx']\"}}}", "gold": "{\"output\": \"k_b99e\"}"} -{"id": "gen_code:881", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a - b for a, b in zip(first, second)]\\n\\nresult = blend([1, 7, 3, 9], [3, 6, 8, 4])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_9451\": \"[1, 1, 1, 2]\", \"k_f5cf\": \"[-2, 1, -1, -1]\", \"k_bfb2\": \"[-2, 1, 1, 1]\", \"k_e834\": \"[-2, 1, -5, 5]\"}}}", "gold": "{\"output\": \"k_e834\"}"} -{"id": "gen_code:882", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = max(total, v) + 1\\n return total\\n\\nresult = sweep([5, 5, 7, 14, 6, 9], 8)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_a282\": \"20\", \"k_0b15\": \"18\", \"k_dda3\": \"16\", \"k_1413\": \"17\"}}}", "gold": "{\"output\": \"k_1413\"}"} -{"id": "gen_code:883", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([0, 3, 0, 8, 3, 9, 1, 6], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_b938\": \"[3, 4, 7, 16, 23, 20]\", \"k_9f4c\": \"[3, 11, 11, 20, 13, 16]\", \"k_2c72\": \"[1, 4, 6, 15, 20, 23]\", \"k_6469\": \"[3, 6, 12, 20, 18, 15]\"}}}", "gold": "{\"output\": \"k_9f4c\"}"} -{"id": "gen_code:884", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a - b for a, b in zip(first, second)]\\n\\nresult = blend([3, 2, 3, 6], [1, 8, 6, 6])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_d58a\": \"[0, -7, -4, 0]\", \"k_fd21\": \"[0, -4, -5, -2]\", \"k_229d\": \"[0, -7, 0, -4]\", \"k_e99c\": \"[2, -6, -3, 0]\"}}}", "gold": "{\"output\": \"k_e99c\"}"} -{"id": "gen_code:885", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a - b for a, b in zip(first, second)]\\n\\nresult = blend([2, 3, 5, 3, 3, 4], [6, 6, 2, 6, 9, 1])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_d2b7\": \"[-4, -3, 3, -3, -6, 3]\", \"k_797d\": \"[-4, -3, 3, -5, -6, 1]\", \"k_cd5b\": \"[-4, -3, 4, -3, -6, 2]\", \"k_3bb8\": \"[-4, -3, 3, -3, -6, -3]\"}}}", "gold": "{\"output\": \"k_d2b7\"}"} -{"id": "gen_code:886", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v != floor)\\n\\nresult = tally({'lqnyn': 0, 'uqtj': 8, 'irb': 8, 'zknp': 5, 'sip': 6, 'anypn': 6}, 6)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_a3c0\": \"['irb', 'lqnyn', 'uqtj', 'zknp']\", \"k_7e17\": \"['anypn', 'irb', 'uqtj', 'zknp']\", \"k_52d6\": \"['irb', 'lqnyn', 'sip', 'zknp']\", \"k_bffc\": \"['anypn', 'lqnyn', 'uqtj', 'zknp']\"}}}", "gold": "{\"output\": \"k_a3c0\"}"} -{"id": "gen_code:887", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a - b for a, b in zip(first, second)]\\n\\nresult = blend([6, 4, 5, 4, 8, 1], [7, 1, 9, 6, 6, 6])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_c88d\": \"[-1, 3, -4, -2, 2, -5]\", \"k_3f48\": \"[-1, 3, -4, -5, -2, 2]\", \"k_8682\": \"[5, -5, -1, -2, -6, 2]\", \"k_c8a1\": \"[-1, 3, -1, -2, -5, -1]\"}}}", "gold": "{\"output\": \"k_c88d\"}"} -{"id": "gen_code:888", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size)]\\n\\nresult = window([7, 0, 0, 7, 6, 6, 5, 5], 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_3f04\": \"[14, 12, 11, 17]\", \"k_c169\": \"[13, 13, 13, 18]\", \"k_3ecb\": \"[14, 13, 19, 24]\", \"k_37ee\": \"[19, 18, 17, 17]\"}}}", "gold": "{\"output\": \"k_3ecb\"}"} -{"id": "gen_code:889", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a - b for a, b in zip(first, second)]\\n\\nresult = blend([7, 1, 4, 1], [2, 2, 7, 8])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_3a14\": \"[2, -1, 0, -7]\", \"k_a99a\": \"[-1, -1, -3, -1]\", \"k_e66c\": \"[6, 5, -3, 0]\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"none_of_these\"}"} -{"id": "gen_code:890", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v < floor)\\n\\nresult = tally({'aecaz': 8, 'pzk': 8, 'fbpnw': 6, 'mjkft': 2, 'pbx': 0, 'avf': 8}, 8)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_d2d0\": \"['fbpnw', 'mjkft', 'pbx']\", \"k_57dd\": \"['aecaz', 'avf', 'pbx']\", \"k_6b6d\": \"['aecaz', 'fbpnw', 'pbx']\", \"k_6477\": \"['aecaz', 'fbpnw', 'pzk']\"}}}", "gold": "{\"output\": \"k_d2d0\"}"} -{"id": "gen_code:891", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size)]\\n\\nresult = window([7, 5, 9, 5, 4, 6], 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_0251\": \"[25, 24]\", \"k_9e9b\": \"[26, 23]\", \"k_deb5\": \"[25, 27]\", \"k_1ed3\": \"[22, 24]\"}}}", "gold": "{\"output\": \"k_9e9b\"}"} -{"id": "gen_code:892", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 - v\\n return total\\n\\nresult = sweep([19, 20, 9, 10, 14, 20], 0)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_c5d5\": \"-988\", \"k_9d6a\": \"-1088\", \"k_d915\": \"-1160\", \"k_168a\": \"-1114\"}}}", "gold": "{\"output\": \"k_9d6a\"}"} -{"id": "gen_code:893", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [max(a, b) for a, b in zip(first, second)]\\n\\nresult = blend([5, 3, 3, 6, 2], [3, 6, 3, 9, 6])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_d837\": \"[5, 6, 3, 9, 6]\", \"k_b316\": \"[5, 3, 6, 9, 6]\", \"k_df50\": \"[6, 3, 6, 9, 6]\", \"k_4196\": \"[5, 6, 6, 9, 6]\"}}}", "gold": "{\"output\": \"k_d837\"}"} -{"id": "gen_code:894", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a + b for a, b in zip(first, second)]\\n\\nresult = blend([8, 5, 2, 3, 8], [7, 8, 7, 9, 1])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_a3cf\": \"[16, 13, 9, 4, 16]\", \"k_a3a6\": \"[15, 13, 9, 9, 12]\", \"k_acef\": \"[12, 10, 10, 9, 17]\", \"k_bb6b\": \"[15, 13, 9, 12, 9]\"}}}", "gold": "{\"output\": \"k_bb6b\"}"} -{"id": "gen_code:895", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [max(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([3, 3, 0, 4, 4, 5, 3, 8, 5], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_eb4f\": \"[5, 5, 3, 4, 5, 5, 8, 8]\", \"k_8d1c\": \"[3, 3, 4, 5, 5, 5, 8, 8]\", \"k_38b0\": \"[3, 3, 4, 4, 5, 5, 8, 8]\", \"k_511d\": \"[8, 8, 5, 5, 5, 5, 3, 4]\"}}}", "gold": "{\"output\": \"k_38b0\"}"} -{"id": "gen_code:896", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v > floor)\\n\\nresult = tally({'xouve': 8, 'gsyv': 2, 'cun': 5, 'asoaa': 0, 'bvx': 1, 'mzk': 1}, 1)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_b9db\": \"['asoaa', 'cun', 'gsyv']\", \"k_0c08\": \"['gsyv', 'mzk', 'xouve']\", \"k_1a6f\": \"['cun', 'gsyv', 'xouve']\", \"k_4579\": \"['bvx', 'gsyv', 'xouve']\"}}}", "gold": "{\"output\": \"k_1a6f\"}"} -{"id": "gen_code:897", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size)]\\n\\nresult = window([7, 3, 1, 9, 2, 6, 9, 1], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_3b95\": \"[13, 10, 9, 15, 18]\", \"k_94d1\": \"[16, 10, 9, 12, 20]\", \"k_23dd\": \"[11, 10, 8, 9, 12]\", \"k_ad7e\": \"[11, 13, 12, 17, 17]\"}}}", "gold": "{\"output\": \"k_ad7e\"}"} -{"id": "gen_code:898", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v != floor)\\n\\nresult = tally({'enh': 5, 'kqebu': 5, 'wpcd': 3, 'chh': 0, 'iwtuu': 3, 'zhypp': 3}, 5)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_16ca\": \"['chh', 'iwtuu', 'wpcd', 'zhypp']\", \"k_3ed9\": \"['chh', 'enh', 'wpcd', 'zhypp']\", \"k_d6c1\": \"['chh', 'enh', 'iwtuu', 'zhypp']\", \"k_729a\": \"['chh', 'iwtuu', 'kqebu', 'zhypp']\"}}}", "gold": "{\"output\": \"k_16ca\"}"} -{"id": "gen_code:899", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = abs(total - v)\\n return total\\n\\nresult = sweep([12, 10, 6, 14, 3], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_442b\": \"6\", \"k_6d06\": \"0\", \"k_ab42\": \"4\", \"k_aadf\": \"2\"}}}", "gold": "{\"output\": \"k_442b\"}"} -{"id": "gen_code:900", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v > floor)\\n\\nresult = tally({'vnmu': 4, 'smte': 8, 'vzg': 2, 'pyh': 2, 'ohoiv': 2, 'sape': 2}, 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_5c5e\": \"['smte', 'vzg']\", \"k_f4e1\": \"['smte', 'vnmu']\", \"k_75b7\": \"['pyh', 'vzg']\", \"k_e51d\": \"['vnmu', 'vzg']\"}}}", "gold": "{\"output\": \"k_f4e1\"}"} -{"id": "gen_code:901", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = abs(total - v)\\n return total\\n\\nresult = sweep([3, 6, 5, 14, 3], 13)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_4386\": \"8\", \"k_5a64\": \"2\", \"k_16e2\": \"6\", \"k_08f4\": \"10\"}}}", "gold": "{\"output\": \"k_08f4\"}"} -{"id": "gen_code:902", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v < floor)\\n\\nresult = tally({'azfh': 5, 'xukkr': 2, 'wmnrj': 6, 'hkxc': 6, 'rlmo': 1, 'wpuc': 0}, 5)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_711f\": \"['rlmo', 'wmnrj', 'wpuc']\", \"k_e53d\": \"['azfh', 'rlmo', 'wmnrj']\", \"k_cff7\": \"['rlmo', 'wpuc', 'xukkr']\", \"k_3a52\": \"['hkxc', 'rlmo', 'wpuc']\"}}}", "gold": "{\"output\": \"k_cff7\"}"} -{"id": "gen_code:903", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 + v\\n return total\\n\\nresult = sweep([17, 10, 6, 9], 7)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_6934\": \"245\", \"k_9258\": \"235\", \"k_a65e\": \"300\", \"k_b699\": \"309\"}}}", "gold": "{\"output\": \"k_b699\"}"} -{"id": "gen_code:904", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [max(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([4, 0, 1, 3, 7, 9, 4], 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_adfb\": \"[7, 7, 9, 9]\", \"k_afa7\": \"[4, 7, 9, 9]\", \"k_c2e0\": \"[4, 9, 9, 9]\", \"k_0dd8\": \"[7, 7, 7, 9]\"}}}", "gold": "{\"output\": \"k_afa7\"}"} -{"id": "gen_code:905", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [max(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([2, 9, 9, 6, 1, 0, 4, 4, 5], 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_6c36\": \"[9, 9, 9, 6, 5, 4]\", \"k_93f5\": \"[9, 9, 9, 6, 4, 5]\", \"k_3a0d\": \"[9, 9, 9, 9, 9, 4]\", \"k_0cc0\": \"[9, 9, 6, 9, 9, 9]\"}}}", "gold": "{\"output\": \"k_93f5\"}"} -{"id": "gen_code:906", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a * b for a, b in zip(first, reversed(second))]\\n\\nresult = blend([5, 1, 3, 7, 1, 4], [9, 8, 1, 1, 6, 8])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_2f8a\": \"[5, 6, 3, 56, 8, 36]\", \"k_76e0\": \"[40, 6, 3, 7, 8, 36]\", \"k_c256\": \"[30, 1, 3, 56, 8, 36]\", \"k_dcb8\": \"[30, 8, 3, 7, 8, 36]\"}}}", "gold": "{\"output\": \"k_76e0\"}"} -{"id": "gen_code:907", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([2, 6, 0, 7, 5, 3], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_0e09\": \"[8, 13, 12, 15]\", \"k_f318\": \"[5, 10, 15, 18]\", \"k_a281\": \"[7, 12, 10, 16]\", \"k_1c75\": \"[10, 12, 14, 13]\"}}}", "gold": "{\"output\": \"k_0e09\"}"} -{"id": "gen_code:908", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v != floor)\\n\\nresult = tally({'dhx': 5, 'bhksz': 3, 'wlz': 1, 'asm': 5, 'rro': 1, 'fyh': 4}, 1)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_f84a\": \"['asm', 'bhksz', 'fyh', 'rro']\", \"k_8c42\": \"['asm', 'bhksz', 'dhx', 'fyh']\", \"k_bcae\": \"['asm', 'bhksz', 'rro', 'wlz']\", \"k_9e89\": \"['asm', 'bhksz', 'dhx', 'rro']\"}}}", "gold": "{\"output\": \"k_8c42\"}"} -{"id": "gen_code:909", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = max(total, v) + 1\\n return total\\n\\nresult = sweep([7, 20, 8, 8, 14], 13)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_64aa\": \"25\", \"k_06aa\": \"22\", \"k_b175\": \"24\", \"k_bfe2\": \"23\"}}}", "gold": "{\"output\": \"k_b175\"}"} -{"id": "gen_code:910", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a * b for a, b in zip(first, reversed(second))]\\n\\nresult = blend([7, 1, 8, 3, 2, 3], [4, 4, 7, 7, 2, 6])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_9a52\": \"[7, 12, 56, 28, 6, 12]\", \"k_966e\": \"[42, 2, 56, 21, 8, 12]\", \"k_25f0\": \"[7, 12, 14, 56, 12, 12]\", \"k_eeb5\": \"[7, 48, 14, 21, 8, 12]\"}}}", "gold": "{\"output\": \"k_966e\"}"} -{"id": "gen_code:911", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = max(total, v) + 1\\n return total\\n\\nresult = sweep([4, 9, 1, 14, 13], 8)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_1dd0\": \"17\", \"k_d8e2\": \"16\", \"k_ed1c\": \"18\", \"k_662a\": \"19\"}}}", "gold": "{\"output\": \"k_d8e2\"}"} -{"id": "gen_code:912", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [max(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([5, 3, 8, 4, 6, 3], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_fb36\": \"[6, 6, 4, 8, 8]\", \"k_30c4\": \"[6, 8, 8, 4, 3]\", \"k_bb77\": \"[5, 8, 8, 6, 6]\", \"k_60c8\": \"[6, 6, 8, 8, 3]\"}}}", "gold": "{\"output\": \"k_bb77\"}"} -{"id": "gen_code:913", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a - b for a, b in zip(first, second)]\\n\\nresult = blend([6, 5, 8, 5, 4, 9], [2, 2, 9, 8, 9, 8])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_febe\": \"[4, 6, -4, -4, -4, -1]\", \"k_6f96\": \"[1, 6, -4, -4, -7, 1]\", \"k_2069\": \"[4, 6, -4, -4, 4, 1]\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"none_of_these\"}"} -{"id": "gen_code:915", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a - b for a, b in zip(first, second)]\\n\\nresult = blend([2, 3, 2, 3], [5, 6, 1, 9])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_463f\": \"[-3, 0, 8, 4]\", \"k_72a9\": \"[-3, -3, 1, -6]\", \"k_184d\": \"[-3, 0, 1, 3]\", \"k_bbef\": \"[-3, 0, 1, -3]\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"k_72a9\"}"} -{"id": "gen_code:916", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size)]\\n\\nresult = window([7, 7, 5, 4, 3, 6], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_9b69\": \"[19, 16, 12]\", \"k_1127\": \"[19, 16, 14]\", \"k_7f52\": \"[17, 13, 14]\", \"k_0478\": \"[20, 17, 13]\"}}}", "gold": "{\"output\": \"k_9b69\"}"} -{"id": "gen_code:917", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [max(a, b) for a, b in zip(first, second)]\\n\\nresult = blend([5, 8, 8, 6], [2, 7, 8, 2])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_437f\": \"[2, 8, 8, 8]\", \"k_1a28\": \"[8, 8, 8, 2]\", \"k_d13d\": \"[5, 8, 8, 8]\", \"k_8a0e\": \"[5, 8, 8, 6]\"}}}", "gold": "{\"output\": \"k_8a0e\"}"} -{"id": "gen_code:918", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [max(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([4, 5, 4, 5, 3, 8], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_36f9\": \"[5, 5, 8, 8]\", \"k_b384\": \"[5, 5, 5, 8]\", \"k_cf41\": \"[8, 8, 5, 4]\", \"k_1f0e\": \"[5, 8, 8, 8]\"}}}", "gold": "{\"output\": \"k_b384\"}"} -{"id": "gen_code:919", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([3, 6, 3, 0, 7, 3, 5, 1], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_20d9\": \"[11, 14, 18, 16, 10, 4]\", \"k_0a2d\": \"[9, 12, 16, 13, 12, 6]\", \"k_1bd2\": \"[6, 10, 13, 16, 14, 9]\", \"k_137e\": \"[12, 9, 10, 10, 15, 9]\"}}}", "gold": "{\"output\": \"k_137e\"}"} -{"id": "gen_code:920", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [max(a, b) for a, b in zip(first, second)]\\n\\nresult = blend([9, 1, 7, 5, 1], [9, 2, 9, 9, 8])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_b4d6\": \"[9, 9, 9, 9, 8]\", \"k_121e\": \"[9, 2, 7, 9, 9]\", \"k_163c\": \"[9, 2, 9, 9, 8]\", \"k_68fc\": \"[7, 9, 9, 9, 8]\"}}}", "gold": "{\"output\": \"k_163c\"}"} -{"id": "gen_code:921", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size)]\\n\\nresult = window([8, 3, 8, 2, 5, 8, 7, 7, 6], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_280e\": \"[19, 18, 20, 14, 15, 17]\", \"k_5fbe\": \"[19, 17, 21, 18, 20, 20]\", \"k_d87f\": \"[19, 18, 20, 20, 20, 17]\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"none_of_these\"}"} -{"id": "gen_code:922", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size)]\\n\\nresult = window([4, 6, 1, 0, 5, 7, 2, 7], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_d1c9\": \"[17, 14, 8, 6, 7]\", \"k_7f94\": \"[17, 14, 9, 8, 7]\", \"k_b515\": \"[12, 8, 6, 11, 13]\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"none_of_these\"}"} -{"id": "gen_code:923", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [max(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([8, 9, 7, 4, 7, 2, 8, 9, 0], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_e379\": \"[8, 9, 9, 9, 8, 9, 9]\", \"k_f442\": \"[9, 9, 7, 7, 8, 9, 9]\", \"k_236f\": \"[9, 9, 4, 8, 8, 9, 9]\", \"k_f490\": \"[9, 9, 7, 8, 8, 9, 9]\"}}}", "gold": "{\"output\": \"k_f442\"}"} -{"id": "gen_code:925", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v > floor)\\n\\nresult = tally({'eup': 0, 'purr': 7, 'ptdgc': 4, 'duk': 1, 'ubh': 7, 'muu': 8}, 7)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_7677\": \"['muu']\", \"k_1f9c\": \"['purr']\", \"k_f4fa\": \"['ubh']\", \"k_10e4\": \"['ptdgc']\"}}}", "gold": "{\"output\": \"k_7677\"}"} -{"id": "gen_code:926", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v > floor)\\n\\nresult = tally({'iyndi': 0, 'vplx': 4, 'ughda': 5, 'qdg': 6, 'det': 3, 'tvn': 0}, 5)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_f17a\": \"['det']\", \"k_bd52\": \"['iyndi']\", \"k_286d\": \"['qdg']\", \"k_6af5\": \"['ughda']\"}}}", "gold": "{\"output\": \"k_286d\"}"} -{"id": "gen_code:927", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a + b for a, b in zip(first, second)]\\n\\nresult = blend([6, 9, 7, 1], [5, 6, 3, 2])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_63fe\": \"[11, 15, 5, 8]\", \"k_e0cf\": \"[14, 12, 10, 3]\", \"k_3b07\": \"[11, 8, 10, 10]\", \"k_c602\": \"[11, 15, 10, 3]\"}}}", "gold": "{\"output\": \"k_c602\"}"} -{"id": "gen_code:928", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = max(total, v) + 1\\n return total\\n\\nresult = sweep([16, 20, 4, 15, 8], 14)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_8009\": \"21\", \"k_43c2\": \"23\", \"k_38a3\": \"22\", \"k_24b1\": \"24\"}}}", "gold": "{\"output\": \"k_24b1\"}"} -{"id": "gen_code:929", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 + v\\n return total\\n\\nresult = sweep([8, 12, 17, 13, 5, 6], 18)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_ae82\": \"1788\", \"k_3588\": \"1972\", \"k_30a0\": \"1804\", \"k_7771\": \"1732\"}}}", "gold": "{\"output\": \"k_30a0\"}"} -{"id": "gen_code:930", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 + v\\n return total\\n\\nresult = sweep([1, 14, 6, 15, 8], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_c035\": \"304\", \"k_f8a3\": \"256\", \"k_2018\": \"450\", \"k_cbb2\": \"286\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"k_cbb2\"}"} -{"id": "gen_code:931", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v != floor)\\n\\nresult = tally({'pkr': 5, 'ndrx': 3, 'dpl': 6, 'ith': 5, 'qygx': 7, 'gou': 1}, 5)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_2782\": \"['gou', 'ndrx', 'pkr', 'qygx']\", \"k_7d18\": \"['dpl', 'ith', 'pkr', 'qygx']\", \"k_740b\": \"['dpl', 'gou', 'ndrx', 'qygx']\", \"k_ee0b\": \"['dpl', 'gou', 'pkr', 'qygx']\"}}}", "gold": "{\"output\": \"k_740b\"}"} -{"id": "gen_code:932", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(0, len(values), size)]\\n\\nresult = window([6, 2, 4, 4, 5, 6, 9], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_b418\": \"[12, 6, 9, 9]\", \"k_8e36\": \"[10, 7, 10, 9]\", \"k_d510\": \"[8, 8, 11, 9]\", \"k_37c8\": \"[8, 9, 10, 9]\"}}}", "gold": "{\"output\": \"k_d510\"}"} -{"id": "gen_code:933", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 - v\\n return total\\n\\nresult = sweep([14, 2, 16, 7], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_3580\": \"-102\", \"k_e968\": \"-147\", \"k_a5fe\": \"-111\", \"k_3610\": \"-90\"}}}", "gold": "{\"output\": \"k_a5fe\"}"} -{"id": "gen_code:934", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v < floor)\\n\\nresult = tally({'guerc': 6, 'cpsfc': 3, 'ddaf': 6, 'allbm': 7, 'jgxte': 5, 'akql': 6}, 6)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_5dc2\": \"['cpsfc', 'ddaf']\", \"k_d0e4\": \"['cpsfc', 'jgxte']\", \"k_b008\": \"['cpsfc', 'guerc']\", \"k_b332\": \"['guerc', 'jgxte']\"}}}", "gold": "{\"output\": \"k_d0e4\"}"} -{"id": "gen_code:935", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 - v\\n return total\\n\\nresult = sweep([6, 16, 11, 12, 12], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_6ced\": \"-272\", \"k_b444\": \"-288\", \"k_c37d\": \"-208\", \"k_0568\": \"-188\"}}}", "gold": "{\"output\": \"k_c37d\"}"} -{"id": "gen_code:936", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(0, len(values), size)]\\n\\nresult = window([3, 7, 1, 7, 0, 9, 1], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_5235\": \"[10, 9, 9]\", \"k_0b9c\": \"[17, 2, 9]\", \"k_b996\": \"[11, 16, 1]\", \"k_1c56\": \"[11, 8, 9]\"}}}", "gold": "{\"output\": \"k_b996\"}"} -{"id": "gen_code:937", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(0, len(values), size)]\\n\\nresult = window([8, 8, 6, 0, 1, 2, 1], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_766a\": \"[14, 4, 8]\", \"k_28f1\": \"[16, 4, 6]\", \"k_c056\": \"[14, 11, 1]\", \"k_b464\": \"[22, 3, 1]\"}}}", "gold": "{\"output\": \"k_b464\"}"} -{"id": "gen_code:938", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [max(a, b) for a, b in zip(first, second)]\\n\\nresult = blend([9, 7, 9, 7, 3, 3], [4, 8, 7, 5, 2, 1])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_6e85\": \"[7, 9, 9, 5, 7, 3]\", \"k_cb05\": \"[9, 8, 9, 7, 3, 3]\", \"k_0239\": \"[9, 9, 7, 5, 7, 3]\", \"k_1630\": \"[9, 9, 7, 5, 7, 4]\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"k_cb05\"}"} -{"id": "gen_code:939", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [max(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([0, 4, 3, 0, 5, 7, 8, 9], 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_774f\": \"[4, 5, 7, 8, 9]\", \"k_eb6e\": \"[7, 7, 7, 8, 9]\", \"k_e8f7\": \"[8, 8, 8, 7, 9]\", \"k_d651\": \"[4, 7, 7, 8, 9]\"}}}", "gold": "{\"output\": \"k_774f\"}"} -{"id": "gen_code:940", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = abs(total - v)\\n return total\\n\\nresult = sweep([15, 20, 2, 17, 18, 6], 11)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_eae3\": \"13\", \"k_47c0\": \"1\", \"k_3fde\": \"9\", \"k_d797\": \"15\"}}}", "gold": "{\"output\": \"k_3fde\"}"} -{"id": "gen_code:941", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v < floor)\\n\\nresult = tally({'boegg': 8, 'qui': 8, 'xli': 7, 'rgdu': 4, 'pjvnk': 5, 'vllw': 1}, 8)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_6f1b\": \"['boegg', 'pjvnk', 'vllw', 'xli']\", \"k_0cd7\": \"['pjvnk', 'rgdu', 'vllw', 'xli']\", \"k_3b48\": \"['boegg', 'pjvnk', 'rgdu', 'vllw']\", \"k_1002\": \"['boegg', 'qui', 'rgdu', 'vllw']\"}}}", "gold": "{\"output\": \"k_0cd7\"}"} -{"id": "gen_code:942", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v >= floor)\\n\\nresult = tally({'pedb': 6, 'grlif': 4, 'fnx': 4, 'nxyu': 7, 'ciewg': 7, 'wbcnw': 6}, 6)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_4631\": \"['fnx', 'nxyu', 'pedb', 'wbcnw']\", \"k_4577\": \"['ciewg', 'fnx', 'nxyu', 'wbcnw']\", \"k_290c\": \"['ciewg', 'fnx', 'nxyu', 'pedb']\", \"k_d93a\": \"['ciewg', 'nxyu', 'pedb', 'wbcnw']\"}}}", "gold": "{\"output\": \"k_d93a\"}"} -{"id": "gen_code:943", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = abs(total - v)\\n return total\\n\\nresult = sweep([17, 3, 13, 14, 5, 20], 13)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_5a38\": \"5\", \"k_0c1a\": \"9\", \"k_8a4b\": \"3\", \"k_e07d\": \"17\"}}}", "gold": "{\"output\": \"k_e07d\"}"} -{"id": "gen_code:944", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v < floor)\\n\\nresult = tally({'xnrhk': 3, 'pjw': 7, 'lyq': 4, 'elu': 2, 'mebc': 1, 'bxwg': 2}, 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_0fa6\": \"['bxwg', 'pjw', 'xnrhk']\", \"k_c653\": \"['bxwg', 'lyq', 'mebc']\", \"k_718a\": \"['bxwg', 'elu', 'mebc']\", \"k_a4bc\": \"['lyq', 'mebc', 'pjw']\"}}}", "gold": "{\"output\": \"k_718a\"}"} -{"id": "gen_code:945", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([2, 3, 9, 0, 2, 6, 6], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_4c88\": \"[7, 14, 12, 15, 12]\", \"k_2d90\": \"[10, 11, 14, 12, 15]\", \"k_6c1c\": \"[11, 18, 12, 15, 8]\", \"none_of_these\": \"None of the other options is correct.\"}}}", "gold": "{\"output\": \"none_of_these\"}"} -{"id": "gen_code:946", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = abs(total - v)\\n return total\\n\\nresult = sweep([19, 12, 14, 16], 12)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_3e40\": \"3\", \"k_4651\": \"11\", \"k_611b\": \"7\", \"k_9f70\": \"17\"}}}", "gold": "{\"output\": \"k_611b\"}"} -{"id": "gen_code:947", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [max(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([8, 7, 8, 7, 0, 1, 1], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_7c28\": \"[8, 8, 8, 7, 1]\", \"k_0f82\": \"[8, 8, 8, 8, 8]\", \"k_0101\": \"[7, 7, 8, 8, 8]\", \"k_2c0c\": \"[8, 8, 8, 8, 7]\"}}}", "gold": "{\"output\": \"k_7c28\"}"} -{"id": "gen_code:948", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size)]\\n\\nresult = window([2, 1, 3, 7, 0, 0, 7, 5, 3], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_db81\": \"[11, 7, 13, 10, 7, 2]\", \"k_3f92\": \"[6, 7, 11, 10, 7, 7]\", \"k_9ff8\": \"[3, 4, 10, 13, 10, 10]\", \"k_4016\": \"[6, 11, 10, 7, 7, 12]\"}}}", "gold": "{\"output\": \"k_4016\"}"} -{"id": "gen_code:949", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v < floor)\\n\\nresult = tally({'mhven': 2, 'qtf': 5, 'wzcf': 7, 'ataop': 2, 'xmmrn': 5, 'oomz': 5}, 5)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_aa58\": \"['ataop', 'mhven']\", \"k_6cfa\": \"['ataop', 'wzcf']\", \"k_a29b\": \"['ataop', 'xmmrn']\", \"k_756b\": \"['ataop', 'oomz']\"}}}", "gold": "{\"output\": \"k_aa58\"}"} -{"id": "gen_code:950", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [max(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([7, 2, 1, 3, 4, 3, 3, 4], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_d619\": \"[7, 2, 3, 4, 4, 4, 3]\", \"k_31f5\": \"[7, 2, 3, 4, 4, 3, 4]\", \"k_2a3d\": \"[7, 4, 3, 4, 4, 3, 3]\", \"k_e0aa\": \"[7, 3, 3, 4, 4, 4, 3]\"}}}", "gold": "{\"output\": \"k_31f5\"}"} -{"id": "gen_code:951", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [max(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([7, 2, 1, 0, 1, 2, 1], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_f460\": \"[7, 2, 1, 2, 2]\", \"k_5865\": \"[7, 7, 7, 2, 2]\", \"k_ebec\": \"[7, 2, 2, 2, 2]\", \"k_e1c8\": \"[7, 2, 2, 2, 1]\"}}}", "gold": "{\"output\": \"k_f460\"}"} -{"id": "gen_code:952", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v > floor)\\n\\nresult = tally({'hjhf': 8, 'rur': 3, 'bprih': 3, 'ikcbc': 0, 'ykni': 6, 'flhe': 3}, 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_7e30\": \"['hjhf', 'ikcbc']\", \"k_4319\": \"['hjhf', 'ykni']\", \"k_4ee6\": \"['hjhf', 'rur']\", \"k_d32d\": \"['bprih', 'rur']\"}}}", "gold": "{\"output\": \"k_4319\"}"} -{"id": "gen_code:953", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v >= floor)\\n\\nresult = tally({'insh': 7, 'non': 8, 'lsas': 5, 'zna': 6, 'zpi': 0, 'wnq': 1}, 7)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_8618\": \"['insh', 'non']\", \"k_1de2\": \"['non', 'zna']\", \"k_39f0\": \"['lsas', 'non']\", \"k_8e12\": \"['insh', 'zpi']\"}}}", "gold": "{\"output\": \"k_8618\"}"} -{"id": "gen_code:954", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v < floor)\\n\\nresult = tally({'ozako': 0, 'wixug': 0, 'iow': 5, 'snovc': 7, 'cdkby': 6, 'mge': 8}, 5)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_7483\": \"['mge', 'ozako']\", \"k_868c\": \"['cdkby', 'wixug']\", \"k_e2f7\": \"['ozako', 'wixug']\", \"k_41a8\": \"['cdkby', 'ozako']\"}}}", "gold": "{\"output\": \"k_e2f7\"}"} -{"id": "gen_code:955", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a * b for a, b in zip(first, reversed(second))]\\n\\nresult = blend([6, 9, 6, 1, 8, 3], [3, 7, 5, 7, 3, 8])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_ca55\": \"[18, 9, 48, 35, 56, 9]\", \"k_c984\": \"[48, 27, 5, 42, 56, 9]\", \"k_6cce\": \"[24, 54, 6, 35, 56, 9]\", \"k_bd4a\": \"[48, 27, 42, 5, 56, 9]\"}}}", "gold": "{\"output\": \"k_bd4a\"}"} -{"id": "gen_code:956", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v < floor)\\n\\nresult = tally({'ddrlx': 1, 'nevn': 1, 'cka': 3, 'wkgph': 5, 'yqt': 4, 'leji': 1}, 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_befd\": \"['cka', 'leji', 'yqt']\", \"k_470c\": \"['ddrlx', 'leji', 'nevn']\", \"k_3df5\": \"['leji', 'nevn', 'wkgph']\", \"k_c196\": \"['cka', 'leji', 'nevn']\"}}}", "gold": "{\"output\": \"k_470c\"}"} -{"id": "gen_code:957", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a * b for a, b in zip(first, reversed(second))]\\n\\nresult = blend([7, 9, 7, 2], [8, 6, 3, 6])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_80dd\": \"[21, 36, 63, 16]\", \"k_76bd\": \"[56, 27, 42, 12]\", \"k_d346\": \"[42, 27, 42, 16]\", \"k_80c9\": \"[21, 18, 42, 48]\"}}}", "gold": "{\"output\": \"k_d346\"}"} -{"id": "gen_code:958", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 - v\\n return total\\n\\nresult = sweep([19, 11, 1, 9, 20], 18)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_1a51\": \"145\", \"k_5405\": \"142\", \"k_4225\": \"219\", \"k_b29a\": \"57\"}}}", "gold": "{\"output\": \"k_5405\"}"} -{"id": "gen_code:959", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v < floor)\\n\\nresult = tally({'pfodp': 1, 'jjtzk': 3, 'fxk': 6, 'tjyv': 6, 'muu': 7, 'ijmd': 2}, 6)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_6bf5\": \"['ijmd', 'jjtzk', 'pfodp']\", \"k_8e62\": \"['ijmd', 'muu', 'tjyv']\", \"k_e019\": \"['ijmd', 'muu', 'pfodp']\", \"k_cd7c\": \"['fxk', 'ijmd', 'jjtzk']\"}}}", "gold": "{\"output\": \"k_6bf5\"}"} -{"id": "gen_code:960", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [max(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([7, 3, 5, 8, 6, 7], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_3147\": \"[7, 5, 8, 8, 7]\", \"k_6cea\": \"[7, 6, 8, 8, 7]\", \"k_2452\": \"[7, 8, 8, 6, 7]\", \"k_ee5d\": \"[7, 7, 5, 8, 8]\"}}}", "gold": "{\"output\": \"k_3147\"}"} -{"id": "gen_code:961", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a * b for a, b in zip(first, reversed(second))]\\n\\nresult = blend([2, 3, 6, 6, 8], [8, 5, 9, 8, 2])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_109e\": \"[4, 24, 54, 30, 64]\", \"k_a5e0\": \"[24, 12, 54, 40, 16]\", \"k_d810\": \"[6, 40, 54, 48, 16]\", \"k_c7cf\": \"[6, 64, 54, 30, 16]\"}}}", "gold": "{\"output\": \"k_109e\"}"} -{"id": "gen_code:962", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 - v\\n return total\\n\\nresult = sweep([9, 5, 11, 13, 2, 10], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_c78a\": \"-448\", \"k_c834\": \"-336\", \"k_6102\": \"-394\", \"k_f01b\": \"-241\"}}}", "gold": "{\"output\": \"k_6102\"}"} -{"id": "gen_code:963", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = max(total, v) + 1\\n return total\\n\\nresult = sweep([5, 6, 13, 2, 20], 7)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_1e3d\": \"21\", \"k_7a6f\": \"24\", \"k_aa0b\": \"22\", \"k_a628\": \"25\"}}}", "gold": "{\"output\": \"k_1e3d\"}"} -{"id": "gen_code:965", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v >= floor)\\n\\nresult = tally({'ruifr': 1, 'rat': 8, 'zhp': 3, 'rdryk': 8, 'mntwz': 5, 'klv': 2}, 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_7c8d\": \"['mntwz', 'rat', 'rdryk', 'ruifr', 'zhp']\", \"k_1ca2\": \"['klv', 'mntwz', 'rat', 'rdryk', 'zhp']\", \"k_b31b\": \"['klv', 'rat', 'rdryk', 'ruifr', 'zhp']\", \"k_fd8d\": \"['klv', 'mntwz', 'rat', 'rdryk', 'ruifr']\"}}}", "gold": "{\"output\": \"k_1ca2\"}"} -{"id": "gen_code:966", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(0, len(values), size)]\\n\\nresult = window([7, 1, 5, 3, 9, 2], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_ba65\": \"[4, 12, 11]\", \"k_ea9f\": \"[10, 8, 9]\", \"k_fb6a\": \"[8, 5, 14]\", \"k_91ba\": \"[8, 8, 11]\"}}}", "gold": "{\"output\": \"k_91ba\"}"} -{"id": "gen_code:967", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([0, 0, 1, 5, 6, 2, 1, 5], 3)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_f1cd\": \"[3, 6, 12, 12, 7, 6]\", \"k_094b\": \"[8, 12, 11, 6, 1, 6]\", \"k_a006\": \"[8, 6, 7, 6, 7, 6]\", \"k_0039\": \"[1, 6, 12, 13, 9, 8]\"}}}", "gold": "{\"output\": \"k_0039\"}"} -{"id": "gen_code:968", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a * b for a, b in zip(first, reversed(second))]\\n\\nresult = blend([6, 6, 1, 3, 7, 2], [5, 7, 6, 6, 5, 9])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_25b0\": \"[54, 30, 2, 21, 35, 36]\", \"k_d25d\": \"[54, 30, 6, 18, 49, 10]\", \"k_c97a\": \"[54, 30, 6, 21, 35, 12]\", \"k_915c\": \"[54, 30, 6, 21, 30, 14]\"}}}", "gold": "{\"output\": \"k_d25d\"}"} -{"id": "gen_code:969", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 - v\\n return total\\n\\nresult = sweep([17, 19, 8, 1, 16, 4], 18)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_1950\": \"428\", \"k_1f56\": \"819\", \"k_815e\": \"356\", \"k_b540\": \"200\"}}}", "gold": "{\"output\": \"k_b540\"}"} -{"id": "gen_code:970", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 + v\\n return total\\n\\nresult = sweep([5, 7, 13, 11], 20)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_17cf\": \"473\", \"k_b52e\": \"437\", \"k_f331\": \"425\", \"k_d046\": \"449\"}}}", "gold": "{\"output\": \"k_f331\"}"} -{"id": "gen_code:971", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size)]\\n\\nresult = window([6, 9, 3, 2, 0, 9, 9, 0, 0], 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_d688\": \"[20, 14, 14, 20, 18]\", \"k_8282\": \"[14, 14, 14, 20, 24]\", \"k_411e\": \"[20, 11, 17, 24, 18]\", \"k_ecdf\": \"[23, 14, 11, 17, 15]\"}}}", "gold": "{\"output\": \"k_d688\"}"} -{"id": "gen_code:972", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v < floor)\\n\\nresult = tally({'rfyk': 1, 'dpqe': 6, 'bpe': 0, 'ados': 4, 'ztr': 8, 'umelj': 5}, 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_cd09\": \"['bpe', 'ztr']\", \"k_d785\": \"['ados', 'dpqe']\", \"k_c524\": \"['bpe', 'rfyk']\", \"k_45c5\": \"['bpe', 'dpqe']\"}}}", "gold": "{\"output\": \"k_c524\"}"} -{"id": "gen_code:973", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [max(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([7, 4, 3, 1, 0, 0, 3, 1, 8], 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_c6c7\": \"[7, 7, 7, 3, 3, 8]\", \"k_5fa4\": \"[7, 4, 3, 3, 3, 8]\", \"k_6971\": \"[7, 7, 4, 3, 1, 8]\", \"k_aaf1\": \"[7, 4, 3, 3, 1, 8]\"}}}", "gold": "{\"output\": \"k_5fa4\"}"} -{"id": "gen_code:974", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(0, len(values), size)]\\n\\nresult = window([3, 6, 5, 9, 4, 1, 9], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_db04\": \"[9, 14, 5, 9]\", \"k_c40c\": \"[12, 7, 13, 5]\", \"k_6c13\": \"[9, 10, 9, 9]\", \"k_cba3\": \"[12, 7, 9, 9]\"}}}", "gold": "{\"output\": \"k_db04\"}"} -{"id": "gen_code:975", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 + v\\n return total\\n\\nresult = sweep([11, 5, 11, 15], 12)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_e959\": \"337\", \"k_79e2\": \"341\", \"k_e04a\": \"349\", \"k_e051\": \"367\"}}}", "gold": "{\"output\": \"k_e959\"}"} -{"id": "gen_code:976", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a - b for a, b in zip(first, second)]\\n\\nresult = blend([5, 1, 3, 7, 5], [4, 7, 7, 3, 4])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_0c16\": \"[1, -6, -4, 4, 1]\", \"k_621f\": \"[-2, -3, -1, 4, -2]\", \"k_6b96\": \"[1, -4, -1, 6, -2]\", \"k_252a\": \"[3, -6, -1, 2, -2]\"}}}", "gold": "{\"output\": \"k_0c16\"}"} -{"id": "gen_code:977", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a * b for a, b in zip(first, reversed(second))]\\n\\nresult = blend([9, 2, 1, 9, 1, 8], [7, 7, 6, 9, 8, 2])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_1e45\": \"[18, 16, 9, 54, 7, 56]\", \"k_b609\": \"[14, 72, 18, 6, 9, 56]\", \"k_ca38\": \"[14, 72, 9, 54, 2, 56]\", \"k_6ea7\": \"[14, 16, 9, 54, 9, 56]\"}}}", "gold": "{\"output\": \"k_1e45\"}"} -{"id": "gen_code:978", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a + b for a, b in zip(first, second)]\\n\\nresult = blend([5, 8, 1, 5, 6, 4], [4, 3, 6, 3, 3, 8])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_9d41\": \"[9, 14, 9, 8, 4, 12]\", \"k_e602\": \"[9, 9, 7, 8, 11, 12]\", \"k_ab73\": \"[9, 11, 7, 8, 9, 12]\", \"k_91a6\": \"[11, 12, 7, 8, 6, 12]\"}}}", "gold": "{\"output\": \"k_ab73\"}"} -{"id": "gen_code:979", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v != floor)\\n\\nresult = tally({'hmq': 1, 'hjdmt': 3, 'uxzb': 2, 'hzr': 0, 'uhomi': 0, 'xwreo': 4}, 0)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_fcce\": \"['hmq', 'hzr', 'uxzb', 'xwreo']\", \"k_1460\": \"['hmq', 'uhomi', 'uxzb', 'xwreo']\", \"k_6710\": \"['hmq', 'hzr', 'uhomi', 'uxzb']\", \"k_a034\": \"['hjdmt', 'hmq', 'uxzb', 'xwreo']\"}}}", "gold": "{\"output\": \"k_a034\"}"} -{"id": "gen_code:980", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v != floor)\\n\\nresult = tally({'ixcnk': 4, 'prf': 3, 'ijr': 3, 'lnp': 0, 'ssphn': 5, 'xft': 4}, 5)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_2ca1\": \"['ijr', 'lnp', 'prf', 'ssphn', 'xft']\", \"k_12d4\": \"['ijr', 'ixcnk', 'lnp', 'prf', 'xft']\", \"k_700c\": \"['ijr', 'ixcnk', 'lnp', 'prf', 'ssphn']\", \"k_eb98\": \"['ijr', 'ixcnk', 'prf', 'ssphn', 'xft']\"}}}", "gold": "{\"output\": \"k_12d4\"}"} -{"id": "gen_code:981", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 + v\\n return total\\n\\nresult = sweep([8, 4, 16, 6, 9, 10], 10)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_8a29\": \"1116\", \"k_edb4\": \"1140\", \"k_3a1d\": \"1086\", \"k_c945\": \"1052\"}}}", "gold": "{\"output\": \"k_edb4\"}"} -{"id": "gen_code:982", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v > floor)\\n\\nresult = tally({'yjqd': 1, 'ifhrz': 3, 'rztp': 2, 'bmg': 4, 'wjpv': 2, 'luiu': 4}, 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_df1c\": \"['luiu', 'wjpv', 'yjqd']\", \"k_84b8\": \"['ifhrz', 'luiu', 'wjpv']\", \"k_9af4\": \"['bmg', 'ifhrz', 'luiu']\", \"k_b75b\": \"['bmg', 'luiu', 'wjpv']\"}}}", "gold": "{\"output\": \"k_9af4\"}"} -{"id": "gen_code:983", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 - v\\n return total\\n\\nresult = sweep([19, 9, 7, 11, 19], 19)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_e390\": \"151\", \"k_a6a9\": \"243\", \"k_fd79\": \"83\", \"k_c8f6\": \"163\"}}}", "gold": "{\"output\": \"k_c8f6\"}"} -{"id": "gen_code:984", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v != floor)\\n\\nresult = tally({'mizke': 3, 'tpszn': 1, 'dfsn': 5, 'yogt': 7, 'wvfj': 7, 'qzvi': 1}, 7)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_fa5c\": \"['mizke', 'qzvi', 'tpszn', 'wvfj']\", \"k_7dc4\": \"['dfsn', 'mizke', 'qzvi', 'wvfj']\", \"k_e7b0\": \"['dfsn', 'mizke', 'qzvi', 'tpszn']\", \"k_9616\": \"['dfsn', 'qzvi', 'tpszn', 'wvfj']\"}}}", "gold": "{\"output\": \"k_e7b0\"}"} -{"id": "gen_code:985", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a + b for a, b in zip(first, second)]\\n\\nresult = blend([4, 8, 4, 8, 1], [9, 3, 9, 1, 9])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_dd2c\": \"[12, 11, 13, 10, 10]\", \"k_73a9\": \"[9, 11, 13, 13, 10]\", \"k_da6f\": \"[12, 12, 17, 5, 10]\", \"k_7889\": \"[13, 11, 13, 9, 10]\"}}}", "gold": "{\"output\": \"k_7889\"}"} -{"id": "gen_code:986", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = abs(total - v)\\n return total\\n\\nresult = sweep([1, 16, 11, 6, 17, 12], 10)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_02d3\": \"5\", \"k_aa8d\": \"9\", \"k_b8fa\": \"15\", \"k_4df2\": \"3\"}}}", "gold": "{\"output\": \"k_4df2\"}"} -{"id": "gen_code:987", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v >= floor)\\n\\nresult = tally({'oxg': 2, 'utii': 0, 'vic': 8, 'lcuv': 1, 'vcerc': 4, 'zvg': 4}, 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_b8af\": \"['vcerc', 'vic', 'zvg']\", \"k_1e33\": \"['lcuv', 'utii', 'vcerc']\", \"k_56d7\": \"['lcuv', 'vic', 'zvg']\", \"k_5a04\": \"['lcuv', 'vcerc', 'vic']\"}}}", "gold": "{\"output\": \"k_b8af\"}"} -{"id": "gen_code:988", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v > floor)\\n\\nresult = tally({'wjk': 0, 'kwsl': 6, 'kcd': 8, 'nvz': 5, 'zqej': 2, 'johb': 1}, 1)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_d364\": \"['johb', 'kcd', 'nvz', 'zqej']\", \"k_9139\": \"['kcd', 'kwsl', 'nvz', 'zqej']\", \"k_0414\": \"['johb', 'kcd', 'wjk', 'zqej']\", \"k_645c\": \"['johb', 'nvz', 'wjk', 'zqej']\"}}}", "gold": "{\"output\": \"k_9139\"}"} -{"id": "gen_code:989", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a - b for a, b in zip(first, second)]\\n\\nresult = blend([7, 6, 3, 3], [4, 1, 3, 2])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_07b6\": \"[5, 0, -1, 5]\", \"k_6f86\": \"[5, 4, -1, 1]\", \"k_726e\": \"[3, 5, 0, 1]\", \"k_4cc6\": \"[6, 3, -2, 0]\"}}}", "gold": "{\"output\": \"k_726e\"}"} -{"id": "gen_code:990", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 + v\\n return total\\n\\nresult = sweep([10, 6, 7, 10, 4, 10], 7)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_f9fe\": \"966\", \"k_6ffd\": \"986\", \"k_9ae2\": \"978\", \"k_7730\": \"938\"}}}", "gold": "{\"output\": \"k_9ae2\"}"} -{"id": "gen_code:991", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = total * 2 + v\\n return total\\n\\nresult = sweep([15, 12, 16, 18, 8], 1)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_5a2a\": \"396\", \"k_a502\": \"403\", \"k_870d\": \"476\", \"k_619c\": \"402\"}}}", "gold": "{\"output\": \"k_870d\"}"} -{"id": "gen_code:992", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = max(total, v) + 1\\n return total\\n\\nresult = sweep([19, 10, 7, 13], 11)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_05d5\": \"23\", \"k_359d\": \"22\", \"k_680d\": \"21\", \"k_f08a\": \"20\"}}}", "gold": "{\"output\": \"k_05d5\"}"} -{"id": "gen_code:993", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def blend(first, second):\\n return [a + b for a, b in zip(first, second)]\\n\\nresult = blend([7, 8, 2, 1], [3, 6, 4, 4])\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_6639\": \"[5, 13, 12, 5]\", \"k_3ff1\": \"[10, 14, 6, 5]\", \"k_bcef\": \"[9, 14, 7, 5]\", \"k_871b\": \"[5, 9, 11, 10]\"}}}", "gold": "{\"output\": \"k_3ff1\"}"} -{"id": "gen_code:994", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = abs(total - v)\\n return total\\n\\nresult = sweep([5, 19, 14, 11, 4], 10)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_7c73\": \"3\", \"k_fc3a\": \"13\", \"k_f057\": \"7\", \"k_01d0\": \"17\"}}}", "gold": "{\"output\": \"k_f057\"}"} -{"id": "gen_code:995", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size)]\\n\\nresult = window([9, 1, 8, 3, 0, 7, 2], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_7613\": \"[16, 15, 11, 4, 1]\", \"k_6ab5\": \"[9, 15, 11, 3, 1]\", \"k_5892\": \"[10, 9, 11, 3, 7]\", \"k_d950\": \"[16, 15, 8, 3, 4]\"}}}", "gold": "{\"output\": \"k_5892\"}"} -{"id": "gen_code:996", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size)]\\n\\nresult = window([0, 3, 7, 3, 1, 2], 2)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_0c28\": \"[3, 10, 9, 5]\", \"k_f7ff\": \"[1, 8, 10, 5]\", \"k_ca6b\": \"[10, 3, 3, 5]\", \"k_c187\": \"[3, 10, 10, 4]\"}}}", "gold": "{\"output\": \"k_c187\"}"} -{"id": "gen_code:997", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def tally(counts, floor):\\n return sorted(k for k, v in counts.items() if v < floor)\\n\\nresult = tally({'gqcmz': 2, 'hntg': 3, 'zepy': 0, 'ggxn': 7, 'ozay': 4, 'efyws': 0}, 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_8635\": \"['efyws', 'gqcmz', 'ozay', 'zepy']\", \"k_0020\": \"['efyws', 'gqcmz', 'hntg', 'zepy']\", \"k_028a\": \"['gqcmz', 'hntg', 'ozay', 'zepy']\", \"k_c5e4\": \"['ggxn', 'gqcmz', 'ozay', 'zepy']\"}}}", "gold": "{\"output\": \"k_0020\"}"} -{"id": "gen_code:998", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def sweep(values, start):\\n total = start\\n for v in values:\\n total = max(total, v) + 1\\n return total\\n\\nresult = sweep([14, 16, 19, 7, 8], 1)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_0690\": \"24\", \"k_f2cf\": \"21\", \"k_3e58\": \"22\", \"k_0454\": \"20\"}}}", "gold": "{\"output\": \"k_3e58\"}"} -{"id": "gen_code:999", "source": "gen_code", "family": "reasoning", "licence": "CC-BY-4.0", "state": "\"def window(values, size):\\n return [sum(values[i:i + size]) for i in range(len(values) - size + 1)]\\n\\nresult = window([9, 6, 3, 9, 6, 5, 7, 7], 4)\"", "questions": "{\"output\": {\"type\": \"choice\", \"instructions\": \"What is the value of result after this Python code runs?\", \"criteria\": {\"k_491d\": \"[27, 27, 23, 21, 25]\", \"k_0aeb\": \"[27, 24, 23, 27, 25]\", \"k_a8af\": \"[25, 22, 21, 21, 27]\", \"k_3115\": \"[24, 24, 23, 24, 28]\"}}}", "gold": "{\"output\": \"k_0aeb\"}"}