{"task_id": "swe-fix-function@1", "seed": 0, "instruction": "lib.py is a small module of 3 functions, each documented by its docstring. Users report wrong results; test_lib.py shows one failing case, but the hidden tests check every function thoroughly. Make every function meet its docstring. Submit the complete corrected contents of lib.py as the answer. Reward 1 if every hidden test passes, else 0.", "files": [{"name": "lib.py", "content": "\"\"\"Small utility module. Each function documents its contract.\"\"\"\n\nVALUES = {\"I\": 1, \"V\": 5, \"X\": 10, \"L\": 50, \"C\": 100, \"D\": 500, \"M\": 1000}\n\n\ndef roman_to_int(numeral):\n \"\"\"Convert a valid Roman numeral (I, V, X, L, C, D, M, with subtractive pairs such as IV, IX, XL, XC, CD, CM) to an int.\"\"\"\n total = 0\n for i, ch in enumerate(numeral):\n value = VALUES[ch]\n if i + 1 < len(numeral) and VALUES[numeral[i + 1]] >= value:\n total -= value\n else:\n total += value\n return total\n\n\ndef moving_average(values, k):\n \"\"\"Return the averages of every window of k consecutive values (n - k + 1 windows), each rounded to 3 decimals. Return [] if k <= 0 or k > len(values).\"\"\"\n if k <= 0 or k > len(values):\n return []\n return [round(sum(values[i:i + k]) / k, 3) for i in range(len(values) - k)]\n\n\nimport re\n\nUNITS = {\"d\": 86400, \"h\": 3600, \"m\": 60, \"s\": 1}\n\n\ndef parse_duration(text):\n \"\"\"Parse a duration such as '1h30m', '45s', '2d5s' or '3d4h10m' into total seconds (int). Units: d=86400, h=3600, m=60, s=1; numbers may have several digits. Surrounding whitespace is ignored and the empty string is 0.\"\"\"\n total = 0\n for value, unit in re.findall(r\"(\\d+)([dhms])\", text.strip()):\n total += int(value) * UNITS[unit]\n return total\n"}, {"name": "test_lib.py", "content": "from lib import roman_to_int, moving_average, parse_duration\n\ndef test_case_0():\n assert moving_average([1, 2, 3], 1) == [1.0, 2.0, 3.0]\n\ndef test_case_1():\n assert parse_duration('') == 0\n\ndef test_case_2():\n assert roman_to_int('II') == 2\n\ndef test_case_3():\n assert roman_to_int('II') == 2\n\n\nif __name__ == '__main__':\n for name, fn in list(globals().items()):\n if name.startswith('test_'):\n try:\n fn(); print(name, 'ok')\n except Exception as exc:\n print(name, 'FAILED', type(exc).__name__, exc)\n"}], "reference_answer": "\"\"\"Small utility module. Each function documents its contract.\"\"\"\n\nVALUES = {\"I\": 1, \"V\": 5, \"X\": 10, \"L\": 50, \"C\": 100, \"D\": 500, \"M\": 1000}\n\n\ndef roman_to_int(numeral):\n \"\"\"Convert a valid Roman numeral (I, V, X, L, C, D, M, with subtractive pairs such as IV, IX, XL, XC, CD, CM) to an int.\"\"\"\n total = 0\n for i, ch in enumerate(numeral):\n value = VALUES[ch]\n if i + 1 < len(numeral) and VALUES[numeral[i + 1]] > value:\n total -= value\n else:\n total += value\n return total\n\n\ndef moving_average(values, k):\n \"\"\"Return the averages of every window of k consecutive values (n - k + 1 windows), each rounded to 3 decimals. Return [] if k <= 0 or k > len(values).\"\"\"\n if k <= 0 or k > len(values):\n return []\n return [round(sum(values[i:i + k]) / k, 3) for i in range(len(values) - k + 1)]\n\n\nimport re\n\nUNITS = {\"d\": 86400, \"h\": 3600, \"m\": 60, \"s\": 1}\n\n\ndef parse_duration(text):\n \"\"\"Parse a duration such as '1h30m', '45s', '2d5s' or '3d4h10m' into total seconds (int). Units: d=86400, h=3600, m=60, s=1; numbers may have several digits. Surrounding whitespace is ignored and the empty string is 0.\"\"\"\n total = 0\n for value, unit in re.findall(r\"(\\d+)([dhms])\", text.strip()):\n total += int(value) * UNITS[unit]\n return total\n"} {"task_id": "swe-fix-function@1", "seed": 1, "instruction": "lib.py is a small module of 3 functions, each documented by its docstring. Users report wrong results; test_lib.py shows one failing case, but the hidden tests check every function thoroughly. Make every function meet its docstring. Submit the complete corrected contents of lib.py as the answer. Reward 1 if every hidden test passes, else 0.", "files": [{"name": "lib.py", "content": "\"\"\"Small utility module. Each function documents its contract.\"\"\"\n\ndef paginate(items, page_size, page):\n \"\"\"Return the items on 1-based page `page` when items are split into pages of `page_size`. Return [] if page_size <= 0, page < 1 or the page is past the end.\"\"\"\n if page_size <= 0 or page < 1:\n return []\n start = page * page_size\n return items[start:start + page_size]\n\n\nPAIRS = {\")\": \"(\", \"]\": \"[\", \"}\": \"{\"}\n\n\ndef is_balanced(text):\n \"\"\"Return True if every bracket among (), [] and {} is closed by the matching type in the correct order and nothing is left open. Other characters are ignored.\"\"\"\n stack = []\n for ch in text:\n if ch in \"([{\":\n stack.append(ch)\n elif ch in PAIRS:\n if not stack or not stack.pop():\n return False\n return not stack\n\n\ndef moving_average(values, k):\n \"\"\"Return the averages of every window of k consecutive values (n - k + 1 windows), each rounded to 3 decimals. Return [] if k <= 0 or k > len(values).\"\"\"\n if k <= 0 or k > len(values):\n return []\n return [round(sum(values[i:i + k]) / k, 3) for i in range(len(values) - k + 1)]\n"}, {"name": "test_lib.py", "content": "from lib import paginate, is_balanced, moving_average\n\ndef test_case_0():\n assert is_balanced('(]') == False\n\ndef test_case_1():\n assert paginate([1, 2, 3], 2, 1) == [1, 2]\n\ndef test_case_2():\n assert is_balanced('') == True\n\ndef test_case_3():\n assert moving_average([1, 2, 3], 1) == [1.0, 2.0, 3.0]\n\n\nif __name__ == '__main__':\n for name, fn in list(globals().items()):\n if name.startswith('test_'):\n try:\n fn(); print(name, 'ok')\n except Exception as exc:\n print(name, 'FAILED', type(exc).__name__, exc)\n"}], "reference_answer": "\"\"\"Small utility module. Each function documents its contract.\"\"\"\n\ndef paginate(items, page_size, page):\n \"\"\"Return the items on 1-based page `page` when items are split into pages of `page_size`. Return [] if page_size <= 0, page < 1 or the page is past the end.\"\"\"\n if page_size <= 0 or page < 1:\n return []\n start = (page - 1) * page_size\n return items[start:start + page_size]\n\n\nPAIRS = {\")\": \"(\", \"]\": \"[\", \"}\": \"{\"}\n\n\ndef is_balanced(text):\n \"\"\"Return True if every bracket among (), [] and {} is closed by the matching type in the correct order and nothing is left open. Other characters are ignored.\"\"\"\n stack = []\n for ch in text:\n if ch in \"([{\":\n stack.append(ch)\n elif ch in PAIRS:\n if not stack or stack.pop() != PAIRS[ch]:\n return False\n return not stack\n\n\ndef moving_average(values, k):\n \"\"\"Return the averages of every window of k consecutive values (n - k + 1 windows), each rounded to 3 decimals. Return [] if k <= 0 or k > len(values).\"\"\"\n if k <= 0 or k > len(values):\n return []\n return [round(sum(values[i:i + k]) / k, 3) for i in range(len(values) - k + 1)]\n"} {"task_id": "swe-fix-function@1", "seed": 2, "instruction": "lib.py is a small module of 3 functions, each documented by its docstring. Users report wrong results; test_lib.py shows one failing case, but the hidden tests check every function thoroughly. Make every function meet its docstring. Submit the complete corrected contents of lib.py as the answer. Reward 1 if every hidden test passes, else 0.", "files": [{"name": "lib.py", "content": "\"\"\"Small utility module. Each function documents its contract.\"\"\"\n\ndef merge_intervals(intervals):\n \"\"\"Merge overlapping or touching closed intervals given as [start, end] lists. Return a new list of [start, end] lists sorted by start. Intervals that share an endpoint (e.g. [1, 3] and [3, 5]) are merged. Input may be unsorted or empty.\"\"\"\n result = []\n for start, end in sorted(intervals):\n if result and start <= result[-1][1]:\n result[-1][1] = end\n else:\n result.append([start, end])\n return result\n\n\nPAIRS = {\")\": \"(\", \"]\": \"[\", \"}\": \"{\"}\n\n\ndef is_balanced(text):\n \"\"\"Return True if every bracket among (), [] and {} is closed by the matching type in the correct order and nothing is left open. Other characters are ignored.\"\"\"\n stack = []\n for ch in text:\n if ch in \"([{\":\n stack.append(ch)\n elif ch in PAIRS:\n if not stack or not stack.pop():\n return False\n return not stack\n\n\ndef moving_average(values, k):\n \"\"\"Return the averages of every window of k consecutive values (n - k + 1 windows), each rounded to 3 decimals. Return [] if k <= 0 or k > len(values).\"\"\"\n if k <= 0 or k > len(values):\n return []\n return [round(sum(values[i:i + k]) / k, 3) for i in range(len(values) - k + 1)]\n"}, {"name": "test_lib.py", "content": "from lib import merge_intervals, is_balanced, moving_average\n\ndef test_case_0():\n assert merge_intervals([[1, 10], [2, 3]]) == [[1, 10]]\n\ndef test_case_1():\n assert is_balanced('') == True\n\ndef test_case_2():\n assert moving_average([1, 2, 3], 1) == [1.0, 2.0, 3.0]\n\ndef test_case_3():\n assert merge_intervals([]) == []\n\n\nif __name__ == '__main__':\n for name, fn in list(globals().items()):\n if name.startswith('test_'):\n try:\n fn(); print(name, 'ok')\n except Exception as exc:\n print(name, 'FAILED', type(exc).__name__, exc)\n"}], "reference_answer": "\"\"\"Small utility module. Each function documents its contract.\"\"\"\n\ndef merge_intervals(intervals):\n \"\"\"Merge overlapping or touching closed intervals given as [start, end] lists. Return a new list of [start, end] lists sorted by start. Intervals that share an endpoint (e.g. [1, 3] and [3, 5]) are merged. Input may be unsorted or empty.\"\"\"\n result = []\n for start, end in sorted(intervals):\n if result and start <= result[-1][1]:\n result[-1][1] = max(result[-1][1], end)\n else:\n result.append([start, end])\n return result\n\n\nPAIRS = {\")\": \"(\", \"]\": \"[\", \"}\": \"{\"}\n\n\ndef is_balanced(text):\n \"\"\"Return True if every bracket among (), [] and {} is closed by the matching type in the correct order and nothing is left open. Other characters are ignored.\"\"\"\n stack = []\n for ch in text:\n if ch in \"([{\":\n stack.append(ch)\n elif ch in PAIRS:\n if not stack or stack.pop() != PAIRS[ch]:\n return False\n return not stack\n\n\ndef moving_average(values, k):\n \"\"\"Return the averages of every window of k consecutive values (n - k + 1 windows), each rounded to 3 decimals. Return [] if k <= 0 or k > len(values).\"\"\"\n if k <= 0 or k > len(values):\n return []\n return [round(sum(values[i:i + k]) / k, 3) for i in range(len(values) - k + 1)]\n"} {"task_id": "swe-fix-function@2", "seed": 0, "instruction": "lib.py is a small module of 4 functions, each documented by its docstring. Users report wrong results; test_lib.py shows one failing case, but the hidden tests check every function thoroughly. Make every function meet its docstring. Submit the complete corrected contents of lib.py as the answer. Reward 1 if every hidden test passes, else 0.", "files": [{"name": "lib.py", "content": "\"\"\"Small utility module. Each function documents its contract.\"\"\"\n\ndef moving_average(values, k):\n \"\"\"Return the averages of every window of k consecutive values (n - k + 1 windows), each rounded to 3 decimals. Return [] if k <= 0 or k > len(values).\"\"\"\n if k <= 0 or k > len(values):\n return []\n return [round(sum(values[i:i + k]) / k, 3) for i in range(len(values) - k)]\n\n\nPAIRS = {\")\": \"(\", \"]\": \"[\", \"}\": \"{\"}\n\n\ndef is_balanced(text):\n \"\"\"Return True if every bracket among (), [] and {} is closed by the matching type in the correct order and nothing is left open. Other characters are ignored.\"\"\"\n stack = []\n for ch in text:\n if ch in \"([{\":\n stack.append(ch)\n elif ch in PAIRS:\n if not stack or stack.pop() != PAIRS[ch]:\n return False\n return not stack\n\n\ndef merge_intervals(intervals):\n \"\"\"Merge overlapping or touching closed intervals given as [start, end] lists. Return a new list of [start, end] lists sorted by start. Intervals that share an endpoint (e.g. [1, 3] and [3, 5]) are merged. Input may be unsorted or empty.\"\"\"\n result = []\n for start, end in sorted(intervals):\n if result and start <= result[-1][1]:\n result[-1][1] = end\n else:\n result.append([start, end])\n return result\n\n\nimport re\n\nUNITS = {\"d\": 86400, \"h\": 3600, \"m\": 60, \"s\": 1}\n\n\ndef parse_duration(text):\n \"\"\"Parse a duration such as '1h30m', '45s', '2d5s' or '3d4h10m' into total seconds (int). Units: d=86400, h=3600, m=60, s=1; numbers may have several digits. Surrounding whitespace is ignored and the empty string is 0.\"\"\"\n total = 0\n for value, unit in re.findall(r\"(\\d)([dhms])\", text.strip()):\n total += int(value) * UNITS[unit]\n return total\n"}, {"name": "test_lib.py", "content": "from lib import moving_average, is_balanced, merge_intervals, parse_duration\n\ndef test_case_0():\n assert parse_duration('') == 0\n\ndef test_case_1():\n assert merge_intervals([]) == []\n\ndef test_case_2():\n assert moving_average([1, 2, 3], 1) == [1.0, 2.0, 3.0]\n\ndef test_case_3():\n assert parse_duration('30m') == 1800\n\ndef test_case_4():\n assert is_balanced('') == True\n\n\nif __name__ == '__main__':\n for name, fn in list(globals().items()):\n if name.startswith('test_'):\n try:\n fn(); print(name, 'ok')\n except Exception as exc:\n print(name, 'FAILED', type(exc).__name__, exc)\n"}], "reference_answer": "\"\"\"Small utility module. Each function documents its contract.\"\"\"\n\ndef moving_average(values, k):\n \"\"\"Return the averages of every window of k consecutive values (n - k + 1 windows), each rounded to 3 decimals. Return [] if k <= 0 or k > len(values).\"\"\"\n if k <= 0 or k > len(values):\n return []\n return [round(sum(values[i:i + k]) / k, 3) for i in range(len(values) - k + 1)]\n\n\nPAIRS = {\")\": \"(\", \"]\": \"[\", \"}\": \"{\"}\n\n\ndef is_balanced(text):\n \"\"\"Return True if every bracket among (), [] and {} is closed by the matching type in the correct order and nothing is left open. Other characters are ignored.\"\"\"\n stack = []\n for ch in text:\n if ch in \"([{\":\n stack.append(ch)\n elif ch in PAIRS:\n if not stack or stack.pop() != PAIRS[ch]:\n return False\n return not stack\n\n\ndef merge_intervals(intervals):\n \"\"\"Merge overlapping or touching closed intervals given as [start, end] lists. Return a new list of [start, end] lists sorted by start. Intervals that share an endpoint (e.g. [1, 3] and [3, 5]) are merged. Input may be unsorted or empty.\"\"\"\n result = []\n for start, end in sorted(intervals):\n if result and start <= result[-1][1]:\n result[-1][1] = max(result[-1][1], end)\n else:\n result.append([start, end])\n return result\n\n\nimport re\n\nUNITS = {\"d\": 86400, \"h\": 3600, \"m\": 60, \"s\": 1}\n\n\ndef parse_duration(text):\n \"\"\"Parse a duration such as '1h30m', '45s', '2d5s' or '3d4h10m' into total seconds (int). Units: d=86400, h=3600, m=60, s=1; numbers may have several digits. Surrounding whitespace is ignored and the empty string is 0.\"\"\"\n total = 0\n for value, unit in re.findall(r\"(\\d+)([dhms])\", text.strip()):\n total += int(value) * UNITS[unit]\n return total\n"} {"task_id": "swe-fix-function@2", "seed": 1, "instruction": "lib.py is a small module of 4 functions, each documented by its docstring. Users report wrong results; test_lib.py shows one failing case, but the hidden tests check every function thoroughly. Make every function meet its docstring. Submit the complete corrected contents of lib.py as the answer. Reward 1 if every hidden test passes, else 0.", "files": [{"name": "lib.py", "content": "\"\"\"Small utility module. Each function documents its contract.\"\"\"\n\ndef merge_intervals(intervals):\n \"\"\"Merge overlapping or touching closed intervals given as [start, end] lists. Return a new list of [start, end] lists sorted by start. Intervals that share an endpoint (e.g. [1, 3] and [3, 5]) are merged. Input may be unsorted or empty.\"\"\"\n result = []\n for start, end in sorted(intervals):\n if result and start < result[-1][1]:\n result[-1][1] = max(result[-1][1], end)\n else:\n result.append([start, end])\n return result\n\n\ndef rle_encode(text):\n \"\"\"Run-length encode a string: each maximal run of the same character becomes the character followed by the run length, e.g. 'aaab' -> 'a3b1'. Empty string -> ''.\"\"\"\n if not text:\n return \"\"\n out = []\n current, count = text[0], 1\n for ch in text[1:]:\n if ch == current:\n count += 1\n else:\n out.append(f\"{current}{count}\")\n current, count = ch, 1\n return \"\".join(out)\n\n\nimport re\n\nUNITS = {\"d\": 86400, \"h\": 3600, \"m\": 600, \"s\": 1}\n\n\ndef parse_duration(text):\n \"\"\"Parse a duration such as '1h30m', '45s', '2d5s' or '3d4h10m' into total seconds (int). Units: d=86400, h=3600, m=60, s=1; numbers may have several digits. Surrounding whitespace is ignored and the empty string is 0.\"\"\"\n total = 0\n for value, unit in re.findall(r\"(\\d+)([dhms])\", text.strip()):\n total += int(value) * UNITS[unit]\n return total\n\n\ndef paginate(items, page_size, page):\n \"\"\"Return the items on 1-based page `page` when items are split into pages of `page_size`. Return [] if page_size <= 0, page < 1 or the page is past the end.\"\"\"\n if page_size <= 0 or page < 1:\n return []\n start = (page - 1) * page_size\n return items[start:start + page_size]\n"}, {"name": "test_lib.py", "content": "from lib import merge_intervals, rle_encode, parse_duration, paginate\n\ndef test_case_0():\n assert paginate([1, 2, 3], 2, 1) == [1, 2]\n\ndef test_case_1():\n assert rle_encode('') == ''\n\ndef test_case_2():\n assert parse_duration('') == 0\n\ndef test_case_3():\n assert merge_intervals([]) == []\n\ndef test_case_4():\n assert rle_encode('a') == 'a1'\n\n\nif __name__ == '__main__':\n for name, fn in list(globals().items()):\n if name.startswith('test_'):\n try:\n fn(); print(name, 'ok')\n except Exception as exc:\n print(name, 'FAILED', type(exc).__name__, exc)\n"}], "reference_answer": "\"\"\"Small utility module. Each function documents its contract.\"\"\"\n\ndef merge_intervals(intervals):\n \"\"\"Merge overlapping or touching closed intervals given as [start, end] lists. Return a new list of [start, end] lists sorted by start. Intervals that share an endpoint (e.g. [1, 3] and [3, 5]) are merged. Input may be unsorted or empty.\"\"\"\n result = []\n for start, end in sorted(intervals):\n if result and start <= result[-1][1]:\n result[-1][1] = max(result[-1][1], end)\n else:\n result.append([start, end])\n return result\n\n\ndef rle_encode(text):\n \"\"\"Run-length encode a string: each maximal run of the same character becomes the character followed by the run length, e.g. 'aaab' -> 'a3b1'. Empty string -> ''.\"\"\"\n if not text:\n return \"\"\n out = []\n current, count = text[0], 1\n for ch in text[1:]:\n if ch == current:\n count += 1\n else:\n out.append(f\"{current}{count}\")\n current, count = ch, 1\n out.append(f\"{current}{count}\")\n return \"\".join(out)\n\n\nimport re\n\nUNITS = {\"d\": 86400, \"h\": 3600, \"m\": 60, \"s\": 1}\n\n\ndef parse_duration(text):\n \"\"\"Parse a duration such as '1h30m', '45s', '2d5s' or '3d4h10m' into total seconds (int). Units: d=86400, h=3600, m=60, s=1; numbers may have several digits. Surrounding whitespace is ignored and the empty string is 0.\"\"\"\n total = 0\n for value, unit in re.findall(r\"(\\d+)([dhms])\", text.strip()):\n total += int(value) * UNITS[unit]\n return total\n\n\ndef paginate(items, page_size, page):\n \"\"\"Return the items on 1-based page `page` when items are split into pages of `page_size`. Return [] if page_size <= 0, page < 1 or the page is past the end.\"\"\"\n if page_size <= 0 or page < 1:\n return []\n start = (page - 1) * page_size\n return items[start:start + page_size]\n"} {"task_id": "swe-fix-function@2", "seed": 2, "instruction": "lib.py is a small module of 4 functions, each documented by its docstring. Users report wrong results; test_lib.py shows one failing case, but the hidden tests check every function thoroughly. Make every function meet its docstring. Submit the complete corrected contents of lib.py as the answer. Reward 1 if every hidden test passes, else 0.", "files": [{"name": "lib.py", "content": "\"\"\"Small utility module. Each function documents its contract.\"\"\"\n\ndef paginate(items, page_size, page):\n \"\"\"Return the items on 1-based page `page` when items are split into pages of `page_size`. Return [] if page_size <= 0, page < 1 or the page is past the end.\"\"\"\n if page_size <= 0 or page < 1:\n return []\n start = (page - 1) * page_size\n return items[start:start + page_size]\n\n\ndef rle_encode(text):\n \"\"\"Run-length encode a string: each maximal run of the same character becomes the character followed by the run length, e.g. 'aaab' -> 'a3b1'. Empty string -> ''.\"\"\"\n if not text:\n return \"\"\n out = []\n current, count = text[0], 1\n for ch in text[1:]:\n if ch == current:\n count += 1\n else:\n out.append(f\"{current}{count}\")\n current, count = ch, 1\n return \"\".join(out)\n\n\nPAIRS = {\")\": \"(\", \"]\": \"[\", \"}\": \"{\"}\n\n\ndef is_balanced(text):\n \"\"\"Return True if every bracket among (), [] and {} is closed by the matching type in the correct order and nothing is left open. Other characters are ignored.\"\"\"\n stack = []\n for ch in text:\n if ch in \"([{\":\n stack.append(ch)\n elif ch in PAIRS:\n if not stack or stack.pop() != PAIRS[ch]:\n return False\n return True\n\n\nVALUES = {\"I\": 1, \"V\": 5, \"X\": 10, \"L\": 50, \"C\": 100, \"D\": 500, \"M\": 1000}\n\n\ndef roman_to_int(numeral):\n \"\"\"Convert a valid Roman numeral (I, V, X, L, C, D, M, with subtractive pairs such as IV, IX, XL, XC, CD, CM) to an int.\"\"\"\n total = 0\n for i, ch in enumerate(numeral):\n value = VALUES[ch]\n if i + 1 < len(numeral) and VALUES[numeral[i + 1]] >= value:\n total -= value\n else:\n total += value\n return total\n"}, {"name": "test_lib.py", "content": "from lib import paginate, rle_encode, is_balanced, roman_to_int\n\ndef test_case_0():\n assert roman_to_int('II') == 2\n\ndef test_case_1():\n assert paginate([1, 2, 3], 2, 1) == [1, 2]\n\ndef test_case_2():\n assert is_balanced('') == True\n\ndef test_case_3():\n assert rle_encode('') == ''\n\ndef test_case_4():\n assert rle_encode('a') == 'a1'\n\n\nif __name__ == '__main__':\n for name, fn in list(globals().items()):\n if name.startswith('test_'):\n try:\n fn(); print(name, 'ok')\n except Exception as exc:\n print(name, 'FAILED', type(exc).__name__, exc)\n"}], "reference_answer": "\"\"\"Small utility module. Each function documents its contract.\"\"\"\n\ndef paginate(items, page_size, page):\n \"\"\"Return the items on 1-based page `page` when items are split into pages of `page_size`. Return [] if page_size <= 0, page < 1 or the page is past the end.\"\"\"\n if page_size <= 0 or page < 1:\n return []\n start = (page - 1) * page_size\n return items[start:start + page_size]\n\n\ndef rle_encode(text):\n \"\"\"Run-length encode a string: each maximal run of the same character becomes the character followed by the run length, e.g. 'aaab' -> 'a3b1'. Empty string -> ''.\"\"\"\n if not text:\n return \"\"\n out = []\n current, count = text[0], 1\n for ch in text[1:]:\n if ch == current:\n count += 1\n else:\n out.append(f\"{current}{count}\")\n current, count = ch, 1\n out.append(f\"{current}{count}\")\n return \"\".join(out)\n\n\nPAIRS = {\")\": \"(\", \"]\": \"[\", \"}\": \"{\"}\n\n\ndef is_balanced(text):\n \"\"\"Return True if every bracket among (), [] and {} is closed by the matching type in the correct order and nothing is left open. Other characters are ignored.\"\"\"\n stack = []\n for ch in text:\n if ch in \"([{\":\n stack.append(ch)\n elif ch in PAIRS:\n if not stack or stack.pop() != PAIRS[ch]:\n return False\n return not stack\n\n\nVALUES = {\"I\": 1, \"V\": 5, \"X\": 10, \"L\": 50, \"C\": 100, \"D\": 500, \"M\": 1000}\n\n\ndef roman_to_int(numeral):\n \"\"\"Convert a valid Roman numeral (I, V, X, L, C, D, M, with subtractive pairs such as IV, IX, XL, XC, CD, CM) to an int.\"\"\"\n total = 0\n for i, ch in enumerate(numeral):\n value = VALUES[ch]\n if i + 1 < len(numeral) and VALUES[numeral[i + 1]] > value:\n total -= value\n else:\n total += value\n return total\n"} {"task_id": "swe-implement-spec@1", "seed": 0, "instruction": "Implement paginate(items, page_size, page), parse_duration(text) as described in spec.md (lib.py holds stubs). Submit the complete contents of lib.py as the answer; only the standard library is available. Reward 1 if every function passes all hidden tests, else 0.", "files": [{"name": "lib.py", "content": "def paginate(items, page_size, page):\n raise NotImplementedError\n\n\ndef parse_duration(text):\n raise NotImplementedError\n"}, {"name": "spec.md", "content": "# paginate(items, page_size, page)\n\nReturn the items on 1-based page `page` when items are split into pages of `page_size`. Return [] if page_size <= 0, page < 1 or the page is past the end.\n\n## Examples\n\n paginate([1, 2, 3], 2, 1) == [1, 2]\n paginate([1, 2, 3], 2, 2) == [3]\n paginate([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], 2, 3) == [4, 5]\n paginate([0, 1, 2, 3, 4, 5, 6], 3, 3) == [6]\n\n# parse_duration(text)\n\nParse a duration such as '1h30m', '45s', '2d5s' or '3d4h10m' into total seconds (int). Units: d=86400, h=3600, m=60, s=1; numbers may have several digits. Surrounding whitespace is ignored and the empty string is 0.\n\n## Examples\n\n parse_duration('') == 0\n parse_duration('30m') == 1800\n parse_duration('31d75h') == 2948400\n parse_duration('1d40h52s') == 230452\n"}], "reference_answer": "def paginate(items, page_size, page):\n if page_size <= 0 or page < 1:\n return []\n start = (page - 1) * page_size\n return items[start:start + page_size]\n\n\nimport re\n\nUNITS = {\"d\": 86400, \"h\": 3600, \"m\": 60, \"s\": 1}\n\n\ndef parse_duration(text):\n total = 0\n for value, unit in re.findall(r\"(\\d+)([dhms])\", text.strip()):\n total += int(value) * UNITS[unit]\n return total\n"} {"task_id": "swe-implement-spec@1", "seed": 1, "instruction": "Implement is_balanced(text), moving_average(values, k) as described in spec.md (lib.py holds stubs). Submit the complete contents of lib.py as the answer; only the standard library is available. Reward 1 if every function passes all hidden tests, else 0.", "files": [{"name": "lib.py", "content": "def is_balanced(text):\n raise NotImplementedError\n\n\ndef moving_average(values, k):\n raise NotImplementedError\n"}, {"name": "spec.md", "content": "# is_balanced(text)\n\nReturn True if every bracket among (), [] and {} is closed by the matching type in the correct order and nothing is left open. Other characters are ignored.\n\n## Examples\n\n is_balanced('') == True\n is_balanced('(]') == False\n is_balanced('[]{[()]}') == True\n is_balanced('{}') == True\n\n# moving_average(values, k)\n\nReturn the averages of every window of k consecutive values (n - k + 1 windows), each rounded to 3 decimals. Return [] if k <= 0 or k > len(values).\n\n## Examples\n\n moving_average([1, 2, 3], 1) == [1.0, 2.0, 3.0]\n moving_average([1, 2, 3], 3) == [2.0]\n moving_average([-1, -8, 45, 38, 21], 5) == [19.0]\n moving_average([-20, 31, 33, -22, 30, -2, 1, -7, -15], 5) == [10.4, 14.0, 8.0, 0.0, 1.4]\n"}], "reference_answer": "PAIRS = {\")\": \"(\", \"]\": \"[\", \"}\": \"{\"}\n\n\ndef is_balanced(text):\n stack = []\n for ch in text:\n if ch in \"([{\":\n stack.append(ch)\n elif ch in PAIRS:\n if not stack or stack.pop() != PAIRS[ch]:\n return False\n return not stack\n\n\ndef moving_average(values, k):\n if k <= 0 or k > len(values):\n return []\n return [round(sum(values[i:i + k]) / k, 3) for i in range(len(values) - k + 1)]\n"} {"task_id": "swe-implement-spec@1", "seed": 2, "instruction": "Implement roman_to_int(numeral), moving_average(values, k) as described in spec.md (lib.py holds stubs). Submit the complete contents of lib.py as the answer; only the standard library is available. Reward 1 if every function passes all hidden tests, else 0.", "files": [{"name": "lib.py", "content": "def roman_to_int(numeral):\n raise NotImplementedError\n\n\ndef moving_average(values, k):\n raise NotImplementedError\n"}, {"name": "spec.md", "content": "# roman_to_int(numeral)\n\nConvert a valid Roman numeral (I, V, X, L, C, D, M, with subtractive pairs such as IV, IX, XL, XC, CD, CM) to an int.\n\n## Examples\n\n roman_to_int('II') == 2\n roman_to_int('IV') == 4\n roman_to_int('CCXCII') == 292\n roman_to_int('XXVII') == 27\n\n# moving_average(values, k)\n\nReturn the averages of every window of k consecutive values (n - k + 1 windows), each rounded to 3 decimals. Return [] if k <= 0 or k > len(values).\n\n## Examples\n\n moving_average([1, 2, 3], 1) == [1.0, 2.0, 3.0]\n moving_average([1, 2, 3], 3) == [2.0]\n moving_average([-13, -7, 18, -23, 18, -28, 41], 3) == [-0.667, -4.0, 4.333, -11.0, 10.333]\n moving_average([3, 10, 9, -12, 20], 2) == [6.5, 9.5, -1.5, 4.0]\n"}], "reference_answer": "VALUES = {\"I\": 1, \"V\": 5, \"X\": 10, \"L\": 50, \"C\": 100, \"D\": 500, \"M\": 1000}\n\n\ndef roman_to_int(numeral):\n total = 0\n for i, ch in enumerate(numeral):\n value = VALUES[ch]\n if i + 1 < len(numeral) and VALUES[numeral[i + 1]] > value:\n total -= value\n else:\n total += value\n return total\n\n\ndef moving_average(values, k):\n if k <= 0 or k > len(values):\n return []\n return [round(sum(values[i:i + k]) / k, 3) for i in range(len(values) - k + 1)]\n"} {"task_id": "swe-implement-spec@2", "seed": 0, "instruction": "Implement top_k_words(text, k), paginate(items, page_size, page), is_balanced(text) as described in spec.md (lib.py holds stubs). Submit the complete contents of lib.py as the answer; only the standard library is available. Reward 1 if every function passes all hidden tests, else 0.", "files": [{"name": "lib.py", "content": "def top_k_words(text, k):\n raise NotImplementedError\n\n\ndef paginate(items, page_size, page):\n raise NotImplementedError\n\n\ndef is_balanced(text):\n raise NotImplementedError\n"}, {"name": "spec.md", "content": "# top_k_words(text, k)\n\nLowercase the text, take words matching the regex [a-z]+, and return the k most frequent words as a list ordered by count (descending) and then alphabetically.\n\n## Examples\n\n top_k_words('b a b a c', 2) == ['a', 'b']\n top_k_words('Data data cache', 1) == ['data']\n top_k_words('beta delta delta gamma Alpha Delta, cache.', 1) == ['delta']\n top_k_words('data, delta Gamma data. cache, beta. delta data data beta, Beta. Data Gamma. Gamma', 3) == ['data', 'beta', 'gamma']\n\n# paginate(items, page_size, page)\n\nReturn the items on 1-based page `page` when items are split into pages of `page_size`. Return [] if page_size <= 0, page < 1 or the page is past the end.\n\n## Examples\n\n paginate([1, 2, 3], 2, 1) == [1, 2]\n paginate([1, 2, 3], 2, 2) == [3]\n paginate([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], 3, 3) == [6, 7, 8]\n paginate([0, 1, 2, 3, 4, 5, 6, 7], 2, 1) == [0, 1]\n\n# is_balanced(text)\n\nReturn True if every bracket among (), [] and {} is closed by the matching type in the correct order and nothing is left open. Other characters are ignored.\n\n## Examples\n\n is_balanced('') == True\n is_balanced('(]') == False\n is_balanced('(){}()') == True\n is_balanced('(){[{()}]}') == True\n"}], "reference_answer": "import re\nfrom collections import Counter\n\n\ndef top_k_words(text, k):\n counts = Counter(re.findall(r\"[a-z]+\", text.lower()))\n ranked = sorted(counts.items(), key=lambda item: (-item[1], item[0]))\n return [word for word, _ in ranked[:k]]\n\n\ndef paginate(items, page_size, page):\n if page_size <= 0 or page < 1:\n return []\n start = (page - 1) * page_size\n return items[start:start + page_size]\n\n\nPAIRS = {\")\": \"(\", \"]\": \"[\", \"}\": \"{\"}\n\n\ndef is_balanced(text):\n stack = []\n for ch in text:\n if ch in \"([{\":\n stack.append(ch)\n elif ch in PAIRS:\n if not stack or stack.pop() != PAIRS[ch]:\n return False\n return not stack\n"} {"task_id": "swe-implement-spec@2", "seed": 1, "instruction": "Implement moving_average(values, k), paginate(items, page_size, page), roman_to_int(numeral) as described in spec.md (lib.py holds stubs). Submit the complete contents of lib.py as the answer; only the standard library is available. Reward 1 if every function passes all hidden tests, else 0.", "files": [{"name": "lib.py", "content": "def moving_average(values, k):\n raise NotImplementedError\n\n\ndef paginate(items, page_size, page):\n raise NotImplementedError\n\n\ndef roman_to_int(numeral):\n raise NotImplementedError\n"}, {"name": "spec.md", "content": "# moving_average(values, k)\n\nReturn the averages of every window of k consecutive values (n - k + 1 windows), each rounded to 3 decimals. Return [] if k <= 0 or k > len(values).\n\n## Examples\n\n moving_average([1, 2, 3], 1) == [1.0, 2.0, 3.0]\n moving_average([1, 2, 3], 3) == [2.0]\n moving_average([-50, 4, -44, 8, 16, -47, 14, 4, -4], 5) == [-13.2, -12.6, -10.6, -1.0, -3.4]\n moving_average([19, -17, -5, 39, 13, -38, 45], 4) == [9.0, 7.5, 2.25, 14.75]\n\n# paginate(items, page_size, page)\n\nReturn the items on 1-based page `page` when items are split into pages of `page_size`. Return [] if page_size <= 0, page < 1 or the page is past the end.\n\n## Examples\n\n paginate([1, 2, 3], 2, 1) == [1, 2]\n paginate([1, 2, 3], 2, 2) == [3]\n paginate([0, 1, 2], 1, 3) == [2]\n paginate([0, 1, 2, 3, 4, 5, 6, 7, 8, 9], 5, 1) == [0, 1, 2, 3, 4]\n\n# roman_to_int(numeral)\n\nConvert a valid Roman numeral (I, V, X, L, C, D, M, with subtractive pairs such as IV, IX, XL, XC, CD, CM) to an int.\n\n## Examples\n\n roman_to_int('II') == 2\n roman_to_int('IV') == 4\n roman_to_int('MMMCCCLXXVIII') == 3378\n roman_to_int('MDCXXIII') == 1623\n"}], "reference_answer": "def moving_average(values, k):\n if k <= 0 or k > len(values):\n return []\n return [round(sum(values[i:i + k]) / k, 3) for i in range(len(values) - k + 1)]\n\n\ndef paginate(items, page_size, page):\n if page_size <= 0 or page < 1:\n return []\n start = (page - 1) * page_size\n return items[start:start + page_size]\n\n\nVALUES = {\"I\": 1, \"V\": 5, \"X\": 10, \"L\": 50, \"C\": 100, \"D\": 500, \"M\": 1000}\n\n\ndef roman_to_int(numeral):\n total = 0\n for i, ch in enumerate(numeral):\n value = VALUES[ch]\n if i + 1 < len(numeral) and VALUES[numeral[i + 1]] > value:\n total -= value\n else:\n total += value\n return total\n"} {"task_id": "swe-implement-spec@2", "seed": 2, "instruction": "Implement moving_average(values, k), rle_encode(text), roman_to_int(numeral) as described in spec.md (lib.py holds stubs). Submit the complete contents of lib.py as the answer; only the standard library is available. Reward 1 if every function passes all hidden tests, else 0.", "files": [{"name": "lib.py", "content": "def moving_average(values, k):\n raise NotImplementedError\n\n\ndef rle_encode(text):\n raise NotImplementedError\n\n\ndef roman_to_int(numeral):\n raise NotImplementedError\n"}, {"name": "spec.md", "content": "# moving_average(values, k)\n\nReturn the averages of every window of k consecutive values (n - k + 1 windows), each rounded to 3 decimals. Return [] if k <= 0 or k > len(values).\n\n## Examples\n\n moving_average([1, 2, 3], 1) == [1.0, 2.0, 3.0]\n moving_average([1, 2, 3], 3) == [2.0]\n moving_average([-24, -1, 9, -19, -31], 1) == [-24.0, -1.0, 9.0, -19.0, -31.0]\n moving_average([-44, 24, -34, -45, -33, -29, 24, -28, -38], 2) == [-10.0, -5.0, -39.5, -39.0, -31.0, -2.5, -2.0, -33.0]\n\n# rle_encode(text)\n\nRun-length encode a string: each maximal run of the same character becomes the character followed by the run length, e.g. 'aaab' -> 'a3b1'. Empty string -> ''.\n\n## Examples\n\n rle_encode('') == ''\n rle_encode('a') == 'a1'\n rle_encode('bazzzzzzzzz') == 'b1a1z9'\n rle_encode('zzzzzzaaa') == 'z6a3'\n\n# roman_to_int(numeral)\n\nConvert a valid Roman numeral (I, V, X, L, C, D, M, with subtractive pairs such as IV, IX, XL, XC, CD, CM) to an int.\n\n## Examples\n\n roman_to_int('II') == 2\n roman_to_int('IV') == 4\n roman_to_int('MMCCLXXVII') == 2277\n roman_to_int('MMCCLXXIV') == 2274\n"}], "reference_answer": "def moving_average(values, k):\n if k <= 0 or k > len(values):\n return []\n return [round(sum(values[i:i + k]) / k, 3) for i in range(len(values) - k + 1)]\n\n\ndef rle_encode(text):\n if not text:\n return \"\"\n out = []\n current, count = text[0], 1\n for ch in text[1:]:\n if ch == current:\n count += 1\n else:\n out.append(f\"{current}{count}\")\n current, count = ch, 1\n out.append(f\"{current}{count}\")\n return \"\".join(out)\n\n\nVALUES = {\"I\": 1, \"V\": 5, \"X\": 10, \"L\": 50, \"C\": 100, \"D\": 500, \"M\": 1000}\n\n\ndef roman_to_int(numeral):\n total = 0\n for i, ch in enumerate(numeral):\n value = VALUES[ch]\n if i + 1 < len(numeral) and VALUES[numeral[i + 1]] > value:\n total -= value\n else:\n total += value\n return total\n"} {"task_id": "swe-crash-triage@1", "seed": 0, "instruction": "Running main.py crashes. Find the innermost frame where the exception is raised and the order record that triggers it. Answer format: file:line:ExceptionType:record_id (e.g. util.py:12:IndexError:ORD-1-0). Each of the four parts is worth 0.25.", "files": [{"name": "billing.py", "content": "\"\"\"Order pricing helpers.\"\"\"\n\nTAX_RATE = 0.2\n\n\ndef quantity(order):\n return int(order[\"qty\"])\n\n\ndef order_total(order):\n qty = quantity(order)\n price = unit_price(order)\n return round(qty * price - qty * pack_discount(order), 2)\n\n\ndef pack_discount(order):\n return order[\"discount_per_pack\"] / order[\"pack_size\"]\n\n\ndef format_money(value):\n return f\"${value:,.2f}\"\n\n\ndef bulk_tier(qty):\n if qty >= 100:\n return \"gold\"\n if qty >= 20:\n return \"silver\"\n return \"standard\"\n\n\ndef unit_price(order):\n base = order[\"price\"]\n return base * (1 + TAX_RATE)\n\n\ndef is_valid_sku(sku):\n return len(sku) == 8 and sku[:3].isalpha()\n"}, {"name": "main.py", "content": "import json\n\nfrom billing import order_total\nfrom report import summarize\n\n\ndef main():\n with open(\"orders.json\") as f:\n orders = json.load(f)\n totals = [order_total(o) for o in orders]\n print(summarize(totals))\n\n\nif __name__ == \"__main__\":\n main()\n"}, {"name": "orders.json", "content": "[\n {\n \"id\": \"ORD-15655-0\",\n \"sku\": \"AFD91588\",\n \"qty\": 116,\n \"price\": 190.17,\n \"pack_size\": 9,\n \"discount_per_pack\": 2.32\n },\n {\n \"id\": \"ORD-99422-1\",\n \"sku\": \"FFD25235\",\n \"qty\": \"71\",\n \"price\": 166.8,\n \"pack_size\": 12,\n \"discount_per_pack\": 1.12\n },\n {\n \"id\": \"ORD-89025-2\",\n \"sku\": \"CDA52155\",\n \"qty\": \"96\",\n \"price\": 276.35,\n \"pack_size\": 4,\n \"discount_per_pack\": 1.43\n },\n {\n \"id\": \"ORD-38644-3\",\n \"sku\": \"EAF94004\",\n \"qty\": 57,\n \"price\": 287.18,\n \"pack_size\": 11,\n \"discount_per_pack\": 2.76\n },\n {\n \"id\": \"ORD-14590-4\",\n \"sku\": \"EEG77154\",\n \"qty\": 12,\n \"price\": 7.14,\n \"pack_size\": 4,\n \"discount_per_pack\": 2.92\n },\n {\n \"id\": \"ORD-85686-5\",\n \"sku\": \"CDB70491\",\n \"qty\": 114,\n \"price\": 176.04,\n \"pack_size\": 11,\n \"discount_per_pack\": 1.26\n },\n {\n \"id\": \"ORD-41758-6\",\n \"sku\": \"GCH26303\",\n \"qty\": \"116\",\n \"price\": 150.83,\n \"pack_size\": 9,\n \"discount_per_pack\": 0.79\n },\n {\n \"id\": \"ORD-68557-7\",\n \"sku\": \"GBD44430\",\n \"qty\": 98,\n \"price\": 272.78,\n \"pack_size\": 4,\n \"discount_per_pack\": 2.69\n },\n {\n \"id\": \"ORD-65876-8\",\n \"sku\": \"BFF44271\",\n \"qty\": 69,\n \"price\": 100.08,\n \"pack_size\": 10,\n \"discount_per_pack\": 2.36\n },\n {\n \"id\": \"ORD-65915-9\",\n \"sku\": \"DEE83336\",\n \"qty\": 125,\n \"price\": 109.93,\n \"pack_size\": 12,\n \"discount_per_pack\": 1.35\n },\n {\n \"id\": \"ORD-29135-10\",\n \"sku\": \"BCC44347\",\n \"qty\": \"92\",\n \"price\": 146.42,\n \"pack_size\": 3,\n \"discount_per_pack\": 1.53\n },\n {\n \"id\": \"ORD-94268-11\",\n \"sku\": \"GGD36297\",\n \"qty\": \"45\",\n \"price\": 219.96,\n \"pack_size\": 5,\n \"discount_per_pack\": 1.72\n },\n {\n \"id\": \"ORD-65707-12\",\n \"sku\": \"EGB55152\",\n \"qty\": 67,\n \"price\": 296.11,\n \"pack_size\": 10,\n \"discount_per_pack\": 1.76\n },\n {\n \"id\": \"ORD-82493-13\",\n \"sku\": \"DGC31499\",\n \"qty\": 138,\n \"price\": 129.21,\n \"pack_size\": 8,\n \"discount_per_pack\": 1.86\n },\n {\n \"id\": \"ORD-27079-14\",\n \"sku\": \"DBC83977\",\n \"qty\": 16,\n \"price\": 214.84,\n \"pack_size\": 8,\n \"discount_per_pack\": 1.03\n },\n {\n \"id\": \"ORD-33202-15\",\n \"sku\": \"AEE56390\",\n \"qty\": 138,\n \"price\": 141.24,\n \"pack_size\": 2,\n \"discount_per_pack\": 0.82\n },\n {\n \"id\": \"ORD-34049-16\",\n \"sku\": \"DHB76583\",\n \"qty\": 73,\n \"price\": 164.72,\n \"pack_size\": 9,\n \"discount_per_pack\": 0.2\n },\n {\n \"id\": \"ORD-92312-17\",\n \"sku\": \"DBC30753\",\n \"qty\": 142,\n \"price\": 181.45,\n \"pack_size\": 9,\n \"discount_per_pack\": 2.16\n },\n {\n \"id\": \"ORD-10629-18\",\n \"sku\": \"CEE99531\",\n \"qty\": 128,\n \"price\": 198.29,\n \"pack_size\": 11,\n \"discount_per_pack\": 0.88\n },\n {\n \"id\": \"ORD-64417-19\",\n \"sku\": \"ADC79216\",\n \"qty\": \"148\",\n \"price\": 161.09,\n \"pack_size\": 3,\n \"discount_per_pack\": 0.53\n },\n {\n \"id\": \"ORD-92437-20\",\n \"sku\": \"GGE64792\",\n \"qty\": 2,\n \"price\": 220.86,\n \"pack_size\": 2,\n \"discount_per_pack\": 1.97\n },\n {\n \"id\": \"ORD-97181-21\",\n \"sku\": \"EED53862\",\n \"qty\": 83,\n \"price\": 225.15,\n \"pack_size\": 9,\n \"discount_per_pack\": 0.04\n },\n {\n \"id\": \"ORD-27812-22\",\n \"sku\": \"DHE29300\",\n \"qty\": 102,\n \"price\": 277.24,\n \"pack_size\": 1,\n \"discount_per_pack\": 0.79\n },\n {\n \"id\": \"ORD-47025-23\",\n \"sku\": \"BAB18884\",\n \"qty\": 139,\n \"price\": 61.63,\n \"pack_size\": 8,\n \"discount_per_pack\": 0.39\n },\n {\n \"id\": \"ORD-11650-24\",\n \"sku\": \"AAA66073\",\n \"qty\": \"121\",\n \"price\": 260.04,\n \"pack_size\": 2,\n \"discount_per_pack\": 1.39\n },\n {\n \"id\": \"ORD-34921-25\",\n \"sku\": \"GGC48087\",\n \"qty\": 81,\n \"price\": null,\n \"pack_size\": 10,\n \"discount_per_pack\": 2.68\n },\n {\n \"id\": \"ORD-44620-26\",\n \"sku\": \"EDH39061\",\n \"qty\": 99,\n \"price\": 293.05,\n \"pack_size\": 8,\n \"discount_per_pack\": 0.64\n },\n {\n \"id\": \"ORD-33686-27\",\n \"sku\": \"HGD74383\",\n \"qty\": \"109\",\n \"price\": 298.96,\n \"pack_size\": 9,\n \"discount_per_pack\": 0.05\n },\n {\n \"id\": \"ORD-78809-28\",\n \"sku\": \"EGG28838\",\n \"qty\": \"129\",\n \"price\": 263.11,\n \"pack_size\": 8,\n \"discount_per_pack\": 2.89\n },\n {\n \"id\": \"ORD-20176-29\",\n \"sku\": \"GGH70440\",\n \"qty\": \"22\",\n \"price\": 72.61,\n \"pack_size\": 11,\n \"discount_per_pack\": 1.55\n },\n {\n \"id\": \"ORD-62390-30\",\n \"sku\": \"HFF59108\",\n \"qty\": 120,\n \"price\": 282.44,\n \"pack_size\": 1,\n \"discount_per_pack\": 0.31\n }\n]\n"}, {"name": "report.py", "content": "def summarize(totals):\n return {\"orders\": len(totals), \"revenue\": round(sum(totals), 2)}\n"}], "reference_answer": "billing.py:34:TypeError:ORD-34921-25"} {"task_id": "swe-crash-triage@1", "seed": 1, "instruction": "Running main.py crashes. Find the innermost frame where the exception is raised and the order record that triggers it. Answer format: file:line:ExceptionType:record_id (e.g. util.py:12:IndexError:ORD-1-0). Each of the four parts is worth 0.25.", "files": [{"name": "main.py", "content": "import json\n\nfrom pricing import order_total\nfrom report import summarize\n\n\ndef main():\n with open(\"orders.json\") as f:\n orders = json.load(f)\n totals = [order_total(o) for o in orders]\n print(summarize(totals))\n\n\nif __name__ == \"__main__\":\n main()\n"}, {"name": "orders.json", "content": "[\n {\n \"id\": \"ORD-76662-0\",\n \"sku\": \"FFA62231\",\n \"qty\": \"55\",\n \"price\": 170.33,\n \"pack_size\": 11,\n \"discount_per_pack\": 2.04\n },\n {\n \"id\": \"ORD-62971-1\",\n \"sku\": \"CBG65083\",\n \"qty\": 99,\n \"price\": 60.46,\n \"pack_size\": 3,\n \"discount_per_pack\": 1.96\n },\n {\n \"id\": \"ORD-67673-2\",\n \"sku\": \"CHC23228\",\n \"qty\": 140,\n \"price\": 174.16,\n \"pack_size\": 11,\n \"discount_per_pack\": 0.29\n },\n {\n \"id\": \"ORD-63896-3\",\n \"sku\": \"DDE99674\",\n \"qty\": 40,\n \"price\": 34.41,\n \"pack_size\": 2,\n \"discount_per_pack\": 2.38\n },\n {\n \"id\": \"ORD-14768-4\",\n \"sku\": \"EEF97207\",\n \"qty\": 16,\n \"price\": 82.83,\n \"pack_size\": 10,\n \"discount_per_pack\": 1.1\n },\n {\n \"id\": \"ORD-54019-5\",\n \"sku\": \"ADC57407\",\n \"qty\": 143,\n \"price\": 176.15,\n \"pack_size\": 9,\n \"discount_per_pack\": 0.86\n },\n {\n \"id\": \"ORD-52060-6\",\n \"sku\": \"BDG77050\",\n \"qty\": 45,\n \"price\": 108.09,\n \"pack_size\": 1,\n \"discount_per_pack\": 0.32\n },\n {\n \"id\": \"ORD-28278-7\",\n \"sku\": \"CAG18551\",\n \"qty\": 26,\n \"price\": 252.7,\n \"pack_size\": 11,\n \"discount_per_pack\": 2.64\n },\n {\n \"id\": \"ORD-55124-8\",\n \"sku\": \"FAE64578\",\n \"qty\": 114,\n \"price\": 147.58,\n \"pack_size\": 11,\n \"discount_per_pack\": 2.6\n },\n {\n \"id\": \"ORD-99326-9\",\n \"sku\": \"HEE16347\",\n \"qty\": \"80\",\n \"price\": 83.93,\n \"pack_size\": 7,\n \"discount_per_pack\": 1.76\n },\n {\n \"id\": \"ORD-31957-10\",\n \"sku\": \"HGA70154\",\n \"qty\": 90,\n \"price\": 60.51,\n \"pack_size\": 4,\n \"discount_per_pack\": 0.34\n },\n {\n \"id\": \"ORD-10174-11\",\n \"sku\": \"HFA68576\",\n \"qty\": 100,\n \"pack_size\": 5,\n \"discount_per_pack\": 0.85\n },\n {\n \"id\": \"ORD-57233-12\",\n \"sku\": \"ECB62589\",\n \"qty\": 150,\n \"price\": 80.05,\n \"pack_size\": 5,\n \"discount_per_pack\": 0.34\n },\n {\n \"id\": \"ORD-58038-13\",\n \"sku\": \"AGA97983\",\n \"qty\": 126,\n \"price\": 43.37,\n \"pack_size\": 11,\n \"discount_per_pack\": 0.3\n },\n {\n \"id\": \"ORD-89342-14\",\n \"sku\": \"HDG43541\",\n \"qty\": 63,\n \"price\": 17.77,\n \"pack_size\": 10,\n \"discount_per_pack\": 0.15\n },\n {\n \"id\": \"ORD-87216-15\",\n \"sku\": \"FHB93240\",\n \"qty\": \"90\",\n \"price\": 221.62,\n \"pack_size\": 10,\n \"discount_per_pack\": 2.33\n },\n {\n \"id\": \"ORD-37190-16\",\n \"sku\": \"BCB87239\",\n \"qty\": 89,\n \"price\": 216.69,\n \"pack_size\": 2,\n \"discount_per_pack\": 0.64\n },\n {\n \"id\": \"ORD-18916-17\",\n \"sku\": \"CGB86258\",\n \"qty\": 90,\n \"price\": 203.76,\n \"pack_size\": 10,\n \"discount_per_pack\": 2.34\n },\n {\n \"id\": \"ORD-81606-18\",\n \"sku\": \"EEA78445\",\n \"qty\": \"85\",\n \"price\": 112.21,\n \"pack_size\": 12,\n \"discount_per_pack\": 1.2\n },\n {\n \"id\": \"ORD-80088-19\",\n \"sku\": \"CCB97570\",\n \"qty\": \"129\",\n \"price\": 222.38,\n \"pack_size\": 9,\n \"discount_per_pack\": 0.08\n },\n {\n \"id\": \"ORD-74828-20\",\n \"sku\": \"BBD75577\",\n \"qty\": 8,\n \"price\": 137.01,\n \"pack_size\": 12,\n \"discount_per_pack\": 1.35\n },\n {\n \"id\": \"ORD-51636-21\",\n \"sku\": \"ACH39279\",\n \"qty\": 59,\n \"price\": 32.4,\n \"pack_size\": 2,\n \"discount_per_pack\": 1.54\n },\n {\n \"id\": \"ORD-43277-22\",\n \"sku\": \"FDC20112\",\n \"qty\": \"59\",\n \"price\": 189.33,\n \"pack_size\": 4,\n \"discount_per_pack\": 0.02\n },\n {\n \"id\": \"ORD-70678-23\",\n \"sku\": \"BAD87057\",\n \"qty\": 1,\n \"price\": 198.87,\n \"pack_size\": 4,\n \"discount_per_pack\": 2.08\n },\n {\n \"id\": \"ORD-78008-24\",\n \"sku\": \"EAB17976\",\n \"qty\": 99,\n \"price\": 245.07,\n \"pack_size\": 6,\n \"discount_per_pack\": 1.17\n },\n {\n \"id\": \"ORD-36266-25\",\n \"sku\": \"AED10488\",\n \"qty\": 2,\n \"price\": 5.2,\n \"pack_size\": 1,\n \"discount_per_pack\": 2.23\n },\n {\n \"id\": \"ORD-59044-26\",\n \"sku\": \"AED93779\",\n \"qty\": 111,\n \"price\": 259.23,\n \"pack_size\": 4,\n \"discount_per_pack\": 0.63\n }\n]\n"}, {"name": "pricing.py", "content": "\"\"\"Order pricing helpers.\"\"\"\n\nTAX_RATE = 0.07\n\n\ndef pack_discount(order):\n return order[\"discount_per_pack\"] / order[\"pack_size\"]\n\n\ndef quantity(order):\n return int(order[\"qty\"])\n\n\ndef unit_price(order):\n base = order[\"price\"]\n return base * (1 + TAX_RATE)\n\n\ndef bulk_tier(qty):\n if qty >= 100:\n return \"gold\"\n if qty >= 20:\n return \"silver\"\n return \"standard\"\n\n\ndef format_money(value):\n return f\"${value:,.2f}\"\n\n\ndef order_total(order):\n qty = quantity(order)\n price = unit_price(order)\n return round(qty * price - qty * pack_discount(order), 2)\n\n\ndef is_valid_sku(sku):\n return len(sku) == 8 and sku[:3].isalpha()\n"}, {"name": "report.py", "content": "def summarize(totals):\n return {\"orders\": len(totals), \"revenue\": round(sum(totals), 2)}\n"}], "reference_answer": "pricing.py:15:KeyError:ORD-10174-11"} {"task_id": "swe-crash-triage@1", "seed": 2, "instruction": "Running main.py crashes. Find the innermost frame where the exception is raised and the order record that triggers it. Answer format: file:line:ExceptionType:record_id (e.g. util.py:12:IndexError:ORD-1-0). Each of the four parts is worth 0.25.", "files": [{"name": "costs.py", "content": "\"\"\"Order pricing helpers.\"\"\"\n\nTAX_RATE = 0.07\n\n\ndef quantity(order):\n return int(order[\"qty\"])\n\n\ndef order_total(order):\n qty = quantity(order)\n price = unit_price(order)\n return round(qty * price - qty * pack_discount(order), 2)\n\n\ndef pack_discount(order):\n return order[\"discount_per_pack\"] / order[\"pack_size\"]\n\n\ndef bulk_tier(qty):\n if qty >= 100:\n return \"gold\"\n if qty >= 20:\n return \"silver\"\n return \"standard\"\n\n\ndef format_money(value):\n return f\"${value:,.2f}\"\n\n\ndef unit_price(order):\n base = order[\"price\"]\n return base * (1 + TAX_RATE)\n\n\ndef is_valid_sku(sku):\n return len(sku) == 8 and sku[:3].isalpha()\n"}, {"name": "main.py", "content": "import json\n\nfrom costs import order_total\nfrom report import summarize\n\n\ndef main():\n with open(\"orders.json\") as f:\n orders = json.load(f)\n totals = [order_total(o) for o in orders]\n print(summarize(totals))\n\n\nif __name__ == \"__main__\":\n main()\n"}, {"name": "orders.json", "content": "[\n {\n \"id\": \"ORD-25656-0\",\n \"sku\": \"ECH14510\",\n \"qty\": 113,\n \"price\": 208.82,\n \"pack_size\": 9,\n \"discount_per_pack\": 1.36\n },\n {\n \"id\": \"ORD-26377-1\",\n \"sku\": \"HBE44454\",\n \"qty\": 109,\n \"price\": 222.72,\n \"pack_size\": 5,\n \"discount_per_pack\": 2.03\n },\n {\n \"id\": \"ORD-77649-2\",\n \"sku\": \"HAA59347\",\n \"qty\": \"103\",\n \"price\": 276.93,\n \"pack_size\": 12,\n \"discount_per_pack\": 2.58\n },\n {\n \"id\": \"ORD-52519-3\",\n \"sku\": \"BGE85747\",\n \"qty\": 43,\n \"price\": 91.81,\n \"pack_size\": 2,\n \"discount_per_pack\": 2.77\n },\n {\n \"id\": \"ORD-92970-4\",\n \"sku\": \"EFD24617\",\n \"qty\": 62,\n \"price\": 146.71,\n \"pack_size\": 12,\n \"discount_per_pack\": 1.16\n },\n {\n \"id\": \"ORD-94183-5\",\n \"sku\": \"FEC46743\",\n \"qty\": \"26\",\n \"price\": 10.01,\n \"pack_size\": 2,\n \"discount_per_pack\": 2.77\n },\n {\n \"id\": \"ORD-10841-6\",\n \"sku\": \"CAA18350\",\n \"qty\": 125,\n \"price\": 175.73,\n \"pack_size\": 2,\n \"discount_per_pack\": 1.84\n },\n {\n \"id\": \"ORD-29786-7\",\n \"sku\": \"HED90501\",\n \"qty\": 13,\n \"price\": 292.79,\n \"pack_size\": 8,\n \"discount_per_pack\": 0.89\n },\n {\n \"id\": \"ORD-76282-8\",\n \"sku\": \"CHA25644\",\n \"qty\": 129,\n \"price\": 298.0,\n \"pack_size\": 3,\n \"discount_per_pack\": 2.73\n },\n {\n \"id\": \"ORD-47586-9\",\n \"sku\": \"CED71952\",\n \"qty\": \"22\",\n \"price\": 230.4,\n \"pack_size\": 1,\n \"discount_per_pack\": 2.26\n },\n {\n \"id\": \"ORD-83206-10\",\n \"sku\": \"DGH48656\",\n \"qty\": \"30\",\n \"price\": 271.44,\n \"pack_size\": 2,\n \"discount_per_pack\": 0.16\n },\n {\n \"id\": \"ORD-30507-11\",\n \"sku\": \"DCH94812\",\n \"qty\": \"24\",\n \"price\": 212.2,\n \"pack_size\": 1,\n \"discount_per_pack\": 2.0\n },\n {\n \"id\": \"ORD-27420-12\",\n \"sku\": \"AFH67177\",\n \"qty\": 49,\n \"price\": 287.95,\n \"pack_size\": 9,\n \"discount_per_pack\": 2.29\n },\n {\n \"id\": \"ORD-29967-13\",\n \"sku\": \"ECE70040\",\n \"qty\": 32,\n \"price\": 196.84,\n \"pack_size\": 5,\n \"discount_per_pack\": 1.12\n },\n {\n \"id\": \"ORD-59648-14\",\n \"sku\": \"AHH77591\",\n \"qty\": \"26\",\n \"price\": 9.64,\n \"pack_size\": 10,\n \"discount_per_pack\": 0.79\n },\n {\n \"id\": \"ORD-41442-15\",\n \"sku\": \"GCH69453\",\n \"qty\": 62,\n \"price\": 18.18,\n \"pack_size\": 0,\n \"discount_per_pack\": 1.7\n },\n {\n \"id\": \"ORD-31667-16\",\n \"sku\": \"FEB51138\",\n \"qty\": 124,\n \"price\": 172.24,\n \"pack_size\": 7,\n \"discount_per_pack\": 2.95\n },\n {\n \"id\": \"ORD-86966-17\",\n \"sku\": \"HCD62083\",\n \"qty\": 132,\n \"price\": 93.75,\n \"pack_size\": 8,\n \"discount_per_pack\": 1.07\n },\n {\n \"id\": \"ORD-48233-18\",\n \"sku\": \"ADA71719\",\n \"qty\": 90,\n \"price\": 295.31,\n \"pack_size\": 12,\n \"discount_per_pack\": 1.27\n },\n {\n \"id\": \"ORD-71181-19\",\n \"sku\": \"HDG38442\",\n \"qty\": 120,\n \"price\": 185.63,\n \"pack_size\": 9,\n \"discount_per_pack\": 2.53\n },\n {\n \"id\": \"ORD-28221-20\",\n \"sku\": \"DEA10949\",\n \"qty\": 48,\n \"price\": 31.13,\n \"pack_size\": 8,\n \"discount_per_pack\": 0.24\n },\n {\n \"id\": \"ORD-57130-21\",\n \"sku\": \"GCH78061\",\n \"qty\": 118,\n \"price\": 175.27,\n \"pack_size\": 2,\n \"discount_per_pack\": 0.92\n },\n {\n \"id\": \"ORD-63480-22\",\n \"sku\": \"AFF91845\",\n \"qty\": 117,\n \"price\": 114.72,\n \"pack_size\": 3,\n \"discount_per_pack\": 1.67\n },\n {\n \"id\": \"ORD-42399-23\",\n \"sku\": \"BBB11045\",\n \"qty\": \"114\",\n \"price\": 274.23,\n \"pack_size\": 1,\n \"discount_per_pack\": 0.33\n },\n {\n \"id\": \"ORD-72663-24\",\n \"sku\": \"BEC16983\",\n \"qty\": 8,\n \"price\": 211.9,\n \"pack_size\": 6,\n \"discount_per_pack\": 2.93\n },\n {\n \"id\": \"ORD-13861-25\",\n \"sku\": \"BBF16910\",\n \"qty\": 147,\n \"price\": 103.79,\n \"pack_size\": 3,\n \"discount_per_pack\": 0.71\n },\n {\n \"id\": \"ORD-89467-26\",\n \"sku\": \"FBA65604\",\n \"qty\": \"59\",\n \"price\": 256.06,\n \"pack_size\": 11,\n \"discount_per_pack\": 0.72\n },\n {\n \"id\": \"ORD-29288-27\",\n \"sku\": \"GBD16393\",\n \"qty\": 88,\n \"price\": 41.76,\n \"pack_size\": 2,\n \"discount_per_pack\": 0.98\n },\n {\n \"id\": \"ORD-60404-28\",\n \"sku\": \"BBE56862\",\n \"qty\": 144,\n \"price\": 125.11,\n \"pack_size\": 2,\n \"discount_per_pack\": 0.05\n }\n]\n"}, {"name": "report.py", "content": "def summarize(totals):\n return {\"orders\": len(totals), \"revenue\": round(sum(totals), 2)}\n"}], "reference_answer": "costs.py:17:ZeroDivisionError:ORD-41442-15"} {"task_id": "swe-crash-triage@2", "seed": 0, "instruction": "Running main.py crashes on the first bad order, but there are more. For every order in orders.json that order_total() would fail on by itself, give its id and the exception type it raises, as id:ExceptionType comma-separated in file order (e.g. ORD-1-0:KeyError,ORD-7-3:ValueError).", "files": [{"name": "main.py", "content": "import json\n\nfrom pricing import order_total\nfrom report import summarize\n\n\ndef main():\n with open(\"orders.json\") as f:\n orders = json.load(f)\n totals = [order_total(o) for o in orders]\n print(summarize(totals))\n\n\nif __name__ == \"__main__\":\n main()\n"}, {"name": "orders.json", "content": "[\n {\n \"id\": \"ORD-95478-0\",\n \"sku\": \"HHH54220\",\n \"qty\": \"99\",\n \"price\": 107.98,\n \"pack_size\": 10,\n \"discount_per_pack\": 0.41\n },\n {\n \"id\": \"ORD-50596-1\",\n \"sku\": \"HDD85179\",\n \"qty\": 30,\n \"price\": 125.18,\n \"pack_size\": 3,\n \"discount_per_pack\": 2.67\n },\n {\n \"id\": \"ORD-78218-2\",\n \"sku\": \"HDA41279\",\n \"qty\": \"26\",\n \"price\": 83.76,\n \"pack_size\": 3,\n \"discount_per_pack\": 1.39\n },\n {\n \"id\": \"ORD-88255-3\",\n \"sku\": \"HGG20278\",\n \"qty\": 7,\n \"price\": 94.14,\n \"pack_size\": 12,\n \"discount_per_pack\": 1.34\n },\n {\n \"id\": \"ORD-41419-4\",\n \"sku\": \"CBC31265\",\n \"qty\": 25,\n \"price\": 217.92,\n \"pack_size\": 7,\n \"discount_per_pack\": 2.92\n },\n {\n \"id\": \"ORD-27131-5\",\n \"sku\": \"DCD48511\",\n \"qty\": 90,\n \"price\": 262.02,\n \"pack_size\": 10,\n \"discount_per_pack\": 1.52\n },\n {\n \"id\": \"ORD-52154-6\",\n \"sku\": \"AGC82552\",\n \"qty\": 42,\n \"price\": 290.01,\n \"pack_size\": 11,\n \"discount_per_pack\": 2.15\n },\n {\n \"id\": \"ORD-47064-7\",\n \"sku\": \"ECG30833\",\n \"qty\": 87,\n \"price\": 214.99,\n \"pack_size\": 4,\n \"discount_per_pack\": 2.92\n },\n {\n \"id\": \"ORD-18534-8\",\n \"sku\": \"FAD87391\",\n \"qty\": 80,\n \"price\": 196.23,\n \"pack_size\": 1,\n \"discount_per_pack\": 0.71\n },\n {\n \"id\": \"ORD-64708-9\",\n \"sku\": \"FGG66433\",\n \"qty\": 117,\n \"price\": 146.03,\n \"pack_size\": 4,\n \"discount_per_pack\": 1.48\n },\n {\n \"id\": \"ORD-69894-10\",\n \"sku\": \"EBH24709\",\n \"qty\": 90,\n \"price\": 122.64,\n \"pack_size\": 8,\n \"discount_per_pack\": 0.36\n },\n {\n \"id\": \"ORD-70615-11\",\n \"sku\": \"CDD74279\",\n \"qty\": 34,\n \"pack_size\": 7,\n \"discount_per_pack\": 1.12\n },\n {\n \"id\": \"ORD-73264-12\",\n \"sku\": \"CGE81288\",\n \"qty\": 2,\n \"price\": 60.76,\n \"pack_size\": 12,\n \"discount_per_pack\": 0.88\n },\n {\n \"id\": \"ORD-26738-13\",\n \"sku\": \"DAA49670\",\n \"qty\": \"137\",\n \"price\": 238.91,\n \"pack_size\": 6,\n \"discount_per_pack\": 1.52\n },\n {\n \"id\": \"ORD-31455-14\",\n \"sku\": \"AEB97354\",\n \"qty\": \"n/a\",\n \"price\": 5.65,\n \"pack_size\": 12,\n \"discount_per_pack\": 2.82\n },\n {\n \"id\": \"ORD-42212-15\",\n \"sku\": \"HCG35299\",\n \"qty\": 65,\n \"price\": 74.39,\n \"pack_size\": 12,\n \"discount_per_pack\": 2.55\n },\n {\n \"id\": \"ORD-37320-16\",\n \"sku\": \"AFB66443\",\n \"qty\": 26,\n \"price\": 225.53,\n \"pack_size\": 8,\n \"discount_per_pack\": 0.48\n },\n {\n \"id\": \"ORD-95323-17\",\n \"sku\": \"HAF58099\",\n \"qty\": 136,\n \"price\": 151.07,\n \"pack_size\": 2,\n \"discount_per_pack\": 1.91\n },\n {\n \"id\": \"ORD-90628-18\",\n \"sku\": \"BAA59334\",\n \"qty\": 64,\n \"price\": 143.71,\n \"pack_size\": 4,\n \"discount_per_pack\": 0.77\n },\n {\n \"id\": \"ORD-96113-19\",\n \"sku\": \"ACG10120\",\n \"qty\": 97,\n \"price\": null,\n \"pack_size\": 8,\n \"discount_per_pack\": 2.12\n },\n {\n \"id\": \"ORD-42654-20\",\n \"sku\": \"CDG34047\",\n \"qty\": 49,\n \"price\": 165.79,\n \"pack_size\": 3,\n \"discount_per_pack\": 2.63\n },\n {\n \"id\": \"ORD-53652-21\",\n \"sku\": \"FDF67797\",\n \"qty\": \"9\",\n \"price\": 85.5,\n \"pack_size\": 1,\n \"discount_per_pack\": 1.39\n },\n {\n \"id\": \"ORD-27764-22\",\n \"sku\": \"HAF90367\",\n \"qty\": 75,\n \"price\": 48.96,\n \"pack_size\": 1,\n \"discount_per_pack\": 1.82\n },\n {\n \"id\": \"ORD-75077-23\",\n \"sku\": \"HCG62237\",\n \"qty\": 65,\n \"price\": 65.53,\n \"pack_size\": 8,\n \"discount_per_pack\": 1.59\n },\n {\n \"id\": \"ORD-21721-24\",\n \"sku\": \"CCG95321\",\n \"qty\": 54,\n \"price\": 75.03,\n \"pack_size\": 5,\n \"discount_per_pack\": 2.29\n },\n {\n \"id\": \"ORD-59423-25\",\n \"sku\": \"EAB68103\",\n \"qty\": \"65\",\n \"price\": 10.8,\n \"pack_size\": 12,\n \"discount_per_pack\": 1.86\n },\n {\n \"id\": \"ORD-26751-26\",\n \"sku\": \"EDH10997\",\n \"qty\": \"n/a\",\n \"price\": 102.38,\n \"pack_size\": 4,\n \"discount_per_pack\": 1.2\n },\n {\n \"id\": \"ORD-47195-27\",\n \"sku\": \"FCF90614\",\n \"qty\": 80,\n \"price\": 204.18,\n \"pack_size\": 3,\n \"discount_per_pack\": 0.57\n },\n {\n \"id\": \"ORD-17735-28\",\n \"sku\": \"FAB39276\",\n \"qty\": 118,\n \"price\": 189.3,\n \"pack_size\": 5,\n \"discount_per_pack\": 2.1\n },\n {\n \"id\": \"ORD-17428-29\",\n \"sku\": \"AAH78380\",\n \"qty\": \"134\",\n \"price\": 62.02,\n \"pack_size\": 4,\n \"discount_per_pack\": 2.09\n },\n {\n \"id\": \"ORD-94017-30\",\n \"sku\": \"CAE78268\",\n \"qty\": 44,\n \"price\": 209.47,\n \"pack_size\": 1,\n \"discount_per_pack\": 2.89\n },\n {\n \"id\": \"ORD-49082-31\",\n \"sku\": \"DHF16732\",\n \"qty\": 102,\n \"price\": 229.35,\n \"pack_size\": 6,\n \"discount_per_pack\": 1.08\n },\n {\n \"id\": \"ORD-28035-32\",\n \"sku\": \"FAA41372\",\n \"qty\": \"16\",\n \"price\": 182.14,\n \"pack_size\": 4,\n \"discount_per_pack\": 0.48\n },\n {\n \"id\": \"ORD-69483-33\",\n \"sku\": \"FHA61997\",\n \"qty\": 10,\n \"price\": 137.79,\n \"pack_size\": 8,\n \"discount_per_pack\": 2.9\n }\n]\n"}, {"name": "pricing.py", "content": "\"\"\"Order pricing helpers.\"\"\"\n\nTAX_RATE = 0.05\n\n\ndef format_money(value):\n return f\"${value:,.2f}\"\n\n\ndef is_valid_sku(sku):\n return len(sku) == 8 and sku[:3].isalpha()\n\n\ndef pack_discount(order):\n return order[\"discount_per_pack\"] / order[\"pack_size\"]\n\n\ndef quantity(order):\n return int(order[\"qty\"])\n\n\ndef unit_price(order):\n base = order[\"price\"]\n return base * (1 + TAX_RATE)\n\n\ndef order_total(order):\n qty = quantity(order)\n price = unit_price(order)\n return round(qty * price - qty * pack_discount(order), 2)\n\n\ndef bulk_tier(qty):\n if qty >= 100:\n return \"gold\"\n if qty >= 20:\n return \"silver\"\n return \"standard\"\n"}, {"name": "report.py", "content": "def summarize(totals):\n return {\"orders\": len(totals), \"revenue\": round(sum(totals), 2)}\n"}], "reference_answer": "ORD-70615-11:KeyError,ORD-31455-14:ValueError,ORD-96113-19:TypeError,ORD-26751-26:ValueError"} {"task_id": "swe-crash-triage@2", "seed": 1, "instruction": "Running main.py crashes on the first bad order, but there are more. For every order in orders.json that order_total() would fail on by itself, give its id and the exception type it raises, as id:ExceptionType comma-separated in file order (e.g. ORD-1-0:KeyError,ORD-7-3:ValueError).", "files": [{"name": "billing.py", "content": "\"\"\"Order pricing helpers.\"\"\"\n\nTAX_RATE = 0.2\n\n\ndef order_total(order):\n qty = quantity(order)\n price = unit_price(order)\n return round(qty * price - qty * pack_discount(order), 2)\n\n\ndef pack_discount(order):\n return order[\"discount_per_pack\"] / order[\"pack_size\"]\n\n\ndef is_valid_sku(sku):\n return len(sku) == 8 and sku[:3].isalpha()\n\n\ndef format_money(value):\n return f\"${value:,.2f}\"\n\n\ndef bulk_tier(qty):\n if qty >= 100:\n return \"gold\"\n if qty >= 20:\n return \"silver\"\n return \"standard\"\n\n\ndef quantity(order):\n return int(order[\"qty\"])\n\n\ndef unit_price(order):\n base = order[\"price\"]\n return base * (1 + TAX_RATE)\n"}, {"name": "main.py", "content": "import json\n\nfrom billing import order_total\nfrom report import summarize\n\n\ndef main():\n with open(\"orders.json\") as f:\n orders = json.load(f)\n totals = [order_total(o) for o in orders]\n print(summarize(totals))\n\n\nif __name__ == \"__main__\":\n main()\n"}, {"name": "orders.json", "content": "[\n {\n \"id\": \"ORD-34331-0\",\n \"sku\": \"AAA20428\",\n \"qty\": \"84\",\n \"price\": 17.91,\n \"pack_size\": 7,\n \"discount_per_pack\": 0.48\n },\n {\n \"id\": \"ORD-19093-1\",\n \"sku\": \"BCG70086\",\n \"qty\": 1,\n \"price\": 183.11,\n \"pack_size\": 1,\n \"discount_per_pack\": 1.66\n },\n {\n \"id\": \"ORD-78442-2\",\n \"sku\": \"CGA15961\",\n \"qty\": \"134\",\n \"price\": 89.07,\n \"pack_size\": 2,\n \"discount_per_pack\": 0.84\n },\n {\n \"id\": \"ORD-96845-3\",\n \"sku\": \"FCD48053\",\n \"qty\": \"112\",\n \"price\": 35.75,\n \"pack_size\": 1,\n \"discount_per_pack\": 0.51\n },\n {\n \"id\": \"ORD-81731-4\",\n \"sku\": \"GFB13560\",\n \"qty\": 19,\n \"price\": null,\n \"pack_size\": 2,\n \"discount_per_pack\": 0.78\n },\n {\n \"id\": \"ORD-53814-5\",\n \"sku\": \"BBG90509\",\n \"qty\": 7,\n \"price\": 36.21,\n \"pack_size\": 5,\n \"discount_per_pack\": 1.37\n },\n {\n \"id\": \"ORD-58882-6\",\n \"sku\": \"FHC41077\",\n \"qty\": 34,\n \"price\": 201.71,\n \"pack_size\": 4,\n \"discount_per_pack\": 2.23\n },\n {\n \"id\": \"ORD-66098-7\",\n \"sku\": \"CDD82862\",\n \"qty\": 53,\n \"price\": 117.83,\n \"pack_size\": 1,\n \"discount_per_pack\": 2.93\n },\n {\n \"id\": \"ORD-91959-8\",\n \"sku\": \"GCH90399\",\n \"qty\": \"75\",\n \"price\": 28.96,\n \"pack_size\": 9,\n \"discount_per_pack\": 2.5\n },\n {\n \"id\": \"ORD-69080-9\",\n \"sku\": \"FBF58385\",\n \"qty\": \"n/a\",\n \"price\": 146.66,\n \"pack_size\": 1,\n \"discount_per_pack\": 0.82\n },\n {\n \"id\": \"ORD-44319-10\",\n \"sku\": \"GFG13223\",\n \"qty\": 42,\n \"price\": 267.18,\n \"pack_size\": 8,\n \"discount_per_pack\": 2.12\n },\n {\n \"id\": \"ORD-49241-11\",\n \"sku\": \"GHC19041\",\n \"qty\": 149,\n \"price\": 75.47,\n \"pack_size\": 0,\n \"discount_per_pack\": 2.29\n },\n {\n \"id\": \"ORD-39362-12\",\n \"sku\": \"EDD29705\",\n \"qty\": 17,\n \"pack_size\": 9,\n \"discount_per_pack\": 1.94\n },\n {\n \"id\": \"ORD-43023-13\",\n \"sku\": \"EBA80529\",\n \"qty\": 55,\n \"price\": 6.45,\n \"pack_size\": 2,\n \"discount_per_pack\": 0.57\n },\n {\n \"id\": \"ORD-16307-14\",\n \"sku\": \"CFA69845\",\n \"qty\": 14,\n \"price\": 166.72,\n \"pack_size\": 9,\n \"discount_per_pack\": 1.05\n },\n {\n \"id\": \"ORD-16780-15\",\n \"sku\": \"ADB79048\",\n \"qty\": 118,\n \"price\": 290.36,\n \"pack_size\": 0,\n \"discount_per_pack\": 0.09\n },\n {\n \"id\": \"ORD-91244-16\",\n \"sku\": \"EAF84095\",\n \"qty\": 11,\n \"price\": 53.71,\n \"pack_size\": 5,\n \"discount_per_pack\": 0.04\n },\n {\n \"id\": \"ORD-40791-17\",\n \"sku\": \"BEC63162\",\n \"qty\": 61,\n \"price\": 81.1,\n \"pack_size\": 5,\n \"discount_per_pack\": 2.72\n },\n {\n \"id\": \"ORD-54408-18\",\n \"sku\": \"CFC98243\",\n \"qty\": 67,\n \"price\": 244.07,\n \"pack_size\": 7,\n \"discount_per_pack\": 2.22\n },\n {\n \"id\": \"ORD-23640-19\",\n \"sku\": \"BCE13711\",\n \"qty\": 91,\n \"price\": 171.55,\n \"pack_size\": 9,\n \"discount_per_pack\": 0.88\n },\n {\n \"id\": \"ORD-45233-20\",\n \"sku\": \"HCC90835\",\n \"qty\": 92,\n \"price\": 62.0,\n \"pack_size\": 2,\n \"discount_per_pack\": 0.96\n },\n {\n \"id\": \"ORD-20309-21\",\n \"sku\": \"AHG14705\",\n \"qty\": 91,\n \"price\": 260.01,\n \"pack_size\": 7,\n \"discount_per_pack\": 0.19\n },\n {\n \"id\": \"ORD-38629-22\",\n \"sku\": \"CBE50813\",\n \"qty\": 27,\n \"price\": 148.7,\n \"pack_size\": 9,\n \"discount_per_pack\": 1.35\n },\n {\n \"id\": \"ORD-69554-23\",\n \"sku\": \"FDH49431\",\n \"qty\": \"54\",\n \"price\": 2.21,\n \"pack_size\": 4,\n \"discount_per_pack\": 0.85\n },\n {\n \"id\": \"ORD-93337-24\",\n \"sku\": \"BFG67585\",\n \"qty\": 127,\n \"price\": 243.35,\n \"pack_size\": 12,\n \"discount_per_pack\": 0.44\n },\n {\n \"id\": \"ORD-40542-25\",\n \"sku\": \"GHB46059\",\n \"qty\": 68,\n \"price\": 227.79,\n \"pack_size\": 4,\n \"discount_per_pack\": 2.41\n },\n {\n \"id\": \"ORD-91431-26\",\n \"sku\": \"GCH91053\",\n \"qty\": \"101\",\n \"price\": 3.33,\n \"pack_size\": 1,\n \"discount_per_pack\": 0.58\n },\n {\n \"id\": \"ORD-77240-27\",\n \"sku\": \"HBE45091\",\n \"qty\": 130,\n \"price\": 3.03,\n \"pack_size\": 12,\n \"discount_per_pack\": 2.21\n }\n]\n"}, {"name": "report.py", "content": "def summarize(totals):\n return {\"orders\": len(totals), \"revenue\": round(sum(totals), 2)}\n"}], "reference_answer": "ORD-81731-4:TypeError,ORD-69080-9:ValueError,ORD-49241-11:ZeroDivisionError,ORD-39362-12:KeyError,ORD-16780-15:ZeroDivisionError"} {"task_id": "swe-crash-triage@2", "seed": 2, "instruction": "Running main.py crashes on the first bad order, but there are more. For every order in orders.json that order_total() would fail on by itself, give its id and the exception type it raises, as id:ExceptionType comma-separated in file order (e.g. ORD-1-0:KeyError,ORD-7-3:ValueError).", "files": [{"name": "main.py", "content": "import json\n\nfrom pricing import order_total\nfrom report import summarize\n\n\ndef main():\n with open(\"orders.json\") as f:\n orders = json.load(f)\n totals = [order_total(o) for o in orders]\n print(summarize(totals))\n\n\nif __name__ == \"__main__\":\n main()\n"}, {"name": "orders.json", "content": "[\n {\n \"id\": \"ORD-76968-0\",\n \"sku\": \"HBC49388\",\n \"qty\": \"134\",\n \"price\": 35.94,\n \"pack_size\": 3,\n \"discount_per_pack\": 0.57\n },\n {\n \"id\": \"ORD-90023-1\",\n \"sku\": \"FEF73791\",\n \"qty\": 63,\n \"price\": 212.74,\n \"pack_size\": 3,\n \"discount_per_pack\": 0.17\n },\n {\n \"id\": \"ORD-66412-2\",\n \"sku\": \"HAB42790\",\n \"qty\": 81,\n \"price\": 257.69,\n \"pack_size\": 3,\n \"discount_per_pack\": 2.0\n },\n {\n \"id\": \"ORD-56108-3\",\n \"sku\": \"DFC45964\",\n \"qty\": \"n/a\",\n \"price\": 119.92,\n \"pack_size\": 7,\n \"discount_per_pack\": 1.14\n },\n {\n \"id\": \"ORD-85752-4\",\n \"sku\": \"GCB61327\",\n \"qty\": \"52\",\n \"price\": 93.2,\n \"pack_size\": 4,\n \"discount_per_pack\": 1.03\n },\n {\n \"id\": \"ORD-74572-5\",\n \"sku\": \"EGA92193\",\n \"qty\": \"72\",\n \"price\": 214.92,\n \"pack_size\": 9,\n \"discount_per_pack\": 2.64\n },\n {\n \"id\": \"ORD-81362-6\",\n \"sku\": \"GBA21921\",\n \"qty\": 131,\n \"price\": 206.7,\n \"pack_size\": 1,\n \"discount_per_pack\": 0.82\n },\n {\n \"id\": \"ORD-96559-7\",\n \"sku\": \"BDH60606\",\n \"qty\": 104,\n \"price\": 299.09,\n \"pack_size\": 5,\n \"discount_per_pack\": 1.12\n },\n {\n \"id\": \"ORD-63342-8\",\n \"sku\": \"HDG48691\",\n \"qty\": \"132\",\n \"price\": 235.12,\n \"pack_size\": 9,\n \"discount_per_pack\": 1.44\n },\n {\n \"id\": \"ORD-36406-9\",\n \"sku\": \"EAE30256\",\n \"qty\": 22,\n \"price\": 249.48,\n \"pack_size\": 8,\n \"discount_per_pack\": 2.46\n },\n {\n \"id\": \"ORD-86241-10\",\n \"sku\": \"FGF42549\",\n \"qty\": 149,\n \"price\": 30.49,\n \"pack_size\": 8,\n \"discount_per_pack\": 0.46\n },\n {\n \"id\": \"ORD-55247-11\",\n \"sku\": \"HHA33870\",\n \"qty\": 7,\n \"price\": null,\n \"pack_size\": 9,\n \"discount_per_pack\": 2.49\n },\n {\n \"id\": \"ORD-17383-12\",\n \"sku\": \"FAB23296\",\n \"qty\": 36,\n \"price\": 186.93,\n \"pack_size\": 9,\n \"discount_per_pack\": 2.31\n },\n {\n \"id\": \"ORD-88806-13\",\n \"sku\": \"GAA22382\",\n \"qty\": 91,\n \"price\": 46.65,\n \"pack_size\": 9,\n \"discount_per_pack\": 2.22\n },\n {\n \"id\": \"ORD-28471-14\",\n \"sku\": \"AEG55712\",\n \"qty\": \"56\",\n \"pack_size\": 4,\n \"discount_per_pack\": 1.46\n },\n {\n \"id\": \"ORD-79160-15\",\n \"sku\": \"DDF56927\",\n \"qty\": 9,\n \"price\": 232.81,\n \"pack_size\": 9,\n \"discount_per_pack\": 1.73\n },\n {\n \"id\": \"ORD-37838-16\",\n \"sku\": \"FHE14161\",\n \"qty\": 18,\n \"price\": 195.08,\n \"pack_size\": 11,\n \"discount_per_pack\": 2.64\n },\n {\n \"id\": \"ORD-60639-17\",\n \"sku\": \"FGF53475\",\n \"qty\": \"22\",\n \"price\": 242.34,\n \"pack_size\": 9,\n \"discount_per_pack\": 0.58\n },\n {\n \"id\": \"ORD-30277-18\",\n \"sku\": \"AAE90152\",\n \"qty\": 99,\n \"price\": 105.82,\n \"pack_size\": 1,\n \"discount_per_pack\": 1.68\n },\n {\n \"id\": \"ORD-64502-19\",\n \"sku\": \"CAD85897\",\n \"qty\": 10,\n \"price\": 103.11,\n \"pack_size\": 0,\n \"discount_per_pack\": 1.01\n },\n {\n \"id\": \"ORD-67264-20\",\n \"sku\": \"HEG76573\",\n \"qty\": \"115\",\n \"price\": 67.16,\n \"pack_size\": 5,\n \"discount_per_pack\": 1.45\n },\n {\n \"id\": \"ORD-86837-21\",\n \"sku\": \"EHC66927\",\n \"qty\": 36,\n \"price\": 275.92,\n \"pack_size\": 6,\n \"discount_per_pack\": 0.17\n },\n {\n \"id\": \"ORD-81935-22\",\n \"sku\": \"GGA91357\",\n \"qty\": 91,\n \"price\": 199.88,\n \"pack_size\": 2,\n \"discount_per_pack\": 1.76\n },\n {\n \"id\": \"ORD-24598-23\",\n \"sku\": \"DAD92994\",\n \"qty\": 122,\n \"price\": 121.53,\n \"pack_size\": 7,\n \"discount_per_pack\": 2.27\n },\n {\n \"id\": \"ORD-84994-24\",\n \"sku\": \"FAE33844\",\n \"qty\": 105,\n \"price\": 100.56,\n \"pack_size\": 3,\n \"discount_per_pack\": 0.42\n },\n {\n \"id\": \"ORD-73148-25\",\n \"sku\": \"ABE29983\",\n \"qty\": \"53\",\n \"price\": 147.17,\n \"pack_size\": 12,\n \"discount_per_pack\": 0.21\n },\n {\n \"id\": \"ORD-37875-26\",\n \"sku\": \"GAA58723\",\n \"qty\": \"35\",\n \"price\": 263.47,\n \"pack_size\": 8,\n \"discount_per_pack\": 1.36\n },\n {\n \"id\": \"ORD-90031-27\",\n \"sku\": \"BAC11365\",\n \"qty\": 129,\n \"price\": 33.0,\n \"pack_size\": 7,\n \"discount_per_pack\": 0.11\n },\n {\n \"id\": \"ORD-38551-28\",\n \"sku\": \"FEH15482\",\n \"qty\": \"83\",\n \"price\": 64.48,\n \"pack_size\": 3,\n \"discount_per_pack\": 1.44\n },\n {\n \"id\": \"ORD-70692-29\",\n \"sku\": \"FHB70383\",\n \"qty\": 5,\n \"price\": 271.78,\n \"pack_size\": 6,\n \"discount_per_pack\": 0.84\n },\n {\n \"id\": \"ORD-41511-30\",\n \"sku\": \"FCC41813\",\n \"qty\": 1,\n \"price\": 243.43,\n \"pack_size\": 1,\n \"discount_per_pack\": 0.82\n },\n {\n \"id\": \"ORD-35359-31\",\n \"sku\": \"FCD83402\",\n \"qty\": \"53\",\n \"price\": 137.29,\n \"pack_size\": 4,\n \"discount_per_pack\": 2.62\n },\n {\n \"id\": \"ORD-12763-32\",\n \"sku\": \"HBB14739\",\n \"qty\": 113,\n \"price\": 111.64,\n \"pack_size\": 9,\n \"discount_per_pack\": 1.53\n },\n {\n \"id\": \"ORD-14029-33\",\n \"sku\": \"HGC34604\",\n \"qty\": 7,\n \"price\": 281.0,\n \"pack_size\": 9,\n \"discount_per_pack\": 1.25\n },\n {\n \"id\": \"ORD-60457-34\",\n \"sku\": \"GGH13177\",\n \"qty\": \"1\",\n \"price\": 267.33,\n \"pack_size\": 6,\n \"discount_per_pack\": 0.46\n },\n {\n \"id\": \"ORD-84438-35\",\n \"sku\": \"CFA13178\",\n \"qty\": 36,\n \"price\": 114.53,\n \"pack_size\": 11,\n \"discount_per_pack\": 1.9\n },\n {\n \"id\": \"ORD-66573-36\",\n \"sku\": \"HFG39441\",\n \"qty\": \"20\",\n \"price\": 157.14,\n \"pack_size\": 12,\n \"discount_per_pack\": 2.22\n },\n {\n \"id\": \"ORD-28219-37\",\n \"sku\": \"BEC46660\",\n \"qty\": 79,\n \"price\": 109.25,\n \"pack_size\": 6,\n \"discount_per_pack\": 2.39\n }\n]\n"}, {"name": "pricing.py", "content": "\"\"\"Order pricing helpers.\"\"\"\n\nTAX_RATE = 0.07\n\n# Rates are reviewed quarterly by finance.\n\n\ndef bulk_tier(qty):\n if qty >= 100:\n return \"gold\"\n if qty >= 20:\n return \"silver\"\n return \"standard\"\n\n\ndef format_money(value):\n return f\"${value:,.2f}\"\n\n\ndef unit_price(order):\n base = order[\"price\"]\n return base * (1 + TAX_RATE)\n\n\ndef quantity(order):\n return int(order[\"qty\"])\n\n\ndef pack_discount(order):\n return order[\"discount_per_pack\"] / order[\"pack_size\"]\n\n\ndef order_total(order):\n qty = quantity(order)\n price = unit_price(order)\n return round(qty * price - qty * pack_discount(order), 2)\n\n\ndef is_valid_sku(sku):\n return len(sku) == 8 and sku[:3].isalpha()\n"}, {"name": "report.py", "content": "def summarize(totals):\n return {\"orders\": len(totals), \"revenue\": round(sum(totals), 2)}\n"}], "reference_answer": "ORD-56108-3:ValueError,ORD-55247-11:TypeError,ORD-28471-14:KeyError,ORD-64502-19:ZeroDivisionError"} {"task_id": "ind-vibration-alarm@1", "seed": 0, "instruction": "sensors.csv holds per-minute pump readings; limits.txt defines the alarm rule. List every pump that alarms with the minute of its first alarm, as pump@minute comma-separated and sorted by pump number (e.g. P2@57,P5@88), or none.", "files": [{"name": "limits.txt", "content": "ALARM RULE (rev 9)\nA pump alarms when vibration_mm_s is strictly greater than its limit for its required number of consecutive readings (one reading per minute).\nThe alarm time is the minute of the last reading that completes the run. Only the first alarm per pump matters. Temperature is not part of this rule.\nLimit: 8.1 mm/s for 5 consecutive readings, for every pump.\n"}, {"name": "sensors.csv", "content": "minute,pump,vibration_mm_s,temp_c\n0,P1,6.44,46.4\n0,P2,6.5,46.8\n0,P3,4.4,44.0\n0,P4,6.89,47.3\n0,P5,5.82,40.1\n1,P1,6.57,55.2\n1,P2,6.73,68.2\n1,P3,2.89,59.2\n1,P4,6.95,56.7\n1,P5,5.72,43.3\n2,P1,2.73,71.4\n2,P2,2.73,50.9\n2,P3,5.86,46.0\n2,P4,5.87,59.9\n2,P5,4.65,71.1\n3,P1,5.01,69.3\n3,P2,2.17,51.6\n3,P3,4.5,55.0\n3,P4,6.41,46.6\n3,P5,3.84,46.8\n4,P1,3.8,73.4\n4,P2,5.21,72.1\n4,P3,3.7,65.4\n4,P4,6.24,48.1\n4,P5,6.91,61.3\n5,P1,2.03,48.8\n5,P2,3.74,45.8\n5,P3,6.31,66.1\n5,P4,4.13,62.0\n5,P5,3.55,49.8\n6,P1,3.34,46.2\n6,P2,2.34,54.5\n6,P3,6.18,67.3\n6,P4,6.48,50.0\n6,P5,5.4,68.5\n7,P1,3.9,74.1\n7,P2,6.01,68.9\n7,P3,2.56,51.8\n7,P4,4.84,41.8\n7,P5,2.58,42.5\n8,P1,5.63,63.1\n8,P2,2.65,65.4\n8,P3,2.69,61.0\n8,P4,5.38,71.2\n8,P5,4.92,58.9\n9,P1,2.26,63.5\n9,P2,3.53,52.4\n9,P3,6.0,48.3\n9,P4,3.32,57.1\n9,P5,4.42,62.3\n10,P1,2.0,67.6\n10,P2,3.82,51.8\n10,P3,4.98,59.3\n10,P4,6.51,47.7\n10,P5,5.51,56.0\n11,P1,3.98,63.4\n11,P2,2.96,61.0\n11,P3,4.95,51.1\n11,P4,4.81,69.5\n11,P5,5.01,45.6\n12,P1,6.41,52.6\n12,P2,6.8,66.1\n12,P3,5.47,72.9\n12,P4,4.04,60.7\n12,P5,4.12,46.6\n13,P1,2.45,53.9\n13,P2,6.91,71.4\n13,P3,6.14,68.1\n13,P4,3.93,60.4\n13,P5,2.22,49.2\n14,P1,2.39,70.7\n14,P2,3.51,55.3\n14,P3,5.31,46.1\n14,P4,5.59,52.4\n14,P5,6.7,71.1\n15,P1,6.43,41.0\n15,P2,5.59,46.9\n15,P3,2.99,54.9\n15,P4,6.43,41.1\n15,P5,4.42,47.5\n16,P1,3.7,71.9\n16,P2,3.15,41.9\n16,P3,10.51,59.1\n16,P4,5.63,52.4\n16,P5,4.14,73.6\n17,P1,4.64,65.0\n17,P2,6.54,62.1\n17,P3,9.28,63.2\n17,P4,6.35,70.4\n17,P5,6.26,46.6\n18,P1,6.85,50.9\n18,P2,2.19,50.3\n18,P3,8.92,53.0\n18,P4,6.86,41.4\n18,P5,6.89,62.3\n19,P1,2.89,56.2\n19,P2,6.8,42.0\n19,P3,9.83,40.9\n19,P4,2.86,68.8\n19,P5,5.28,64.8\n20,P1,3.24,58.8\n20,P2,6.95,72.1\n20,P3,7.6,72.9\n20,P4,2.13,60.8\n20,P5,6.41,45.2\n21,P1,4.09,73.1\n21,P2,6.66,56.9\n21,P3,2.08,72.5\n21,P4,5.93,48.8\n21,P5,3.35,49.1\n22,P1,3.43,59.5\n22,P2,4.09,73.6\n22,P3,4.32,73.1\n22,P4,3.17,48.4\n22,P5,3.28,51.2\n23,P1,2.18,68.9\n23,P2,5.86,73.0\n23,P3,2.67,47.8\n23,P4,6.83,56.3\n23,P5,6.37,62.6\n24,P1,3.23,54.1\n24,P2,2.96,56.9\n24,P3,2.6,57.5\n24,P4,2.1,65.7\n24,P5,7.09,52.8\n25,P1,6.21,59.4\n25,P2,6.01,45.2\n25,P3,4.41,52.4\n25,P4,10.63,65.0\n25,P5,3.23,47.7\n26,P1,6.83,47.6\n26,P2,3.72,53.2\n26,P3,5.46,49.9\n26,P4,9.71,53.7\n26,P5,6.48,68.3\n27,P1,4.44,55.4\n27,P2,4.59,44.0\n27,P3,5.83,69.8\n27,P4,9.06,68.8\n27,P5,4.3,63.7\n28,P1,5.16,50.5\n28,P2,5.24,62.3\n28,P3,3.81,48.0\n28,P4,9.31,66.9\n28,P5,3.68,59.7\n29,P1,2.28,51.9\n29,P2,5.54,43.1\n29,P3,2.12,60.3\n29,P4,7.6,71.4\n29,P5,5.19,68.7\n30,P1,4.42,44.8\n30,P2,5.48,49.4\n30,P3,3.26,72.9\n30,P4,4.58,49.2\n30,P5,2.51,55.5\n31,P1,5.69,61.8\n31,P2,5.84,49.4\n31,P3,5.1,60.8\n31,P4,6.73,72.2\n31,P5,2.78,74.9\n32,P1,2.95,48.6\n32,P2,2.8,46.2\n32,P3,11.06,52.8\n32,P4,6.63,62.5\n32,P5,2.39,65.9\n33,P1,3.01,70.6\n33,P2,3.83,71.1\n33,P3,9.91,74.8\n33,P4,2.81,64.8\n33,P5,8.71,46.8\n34,P1,5.82,53.7\n34,P2,6.34,72.6\n34,P3,10.77,54.9\n34,P4,5.51,46.2\n34,P5,9.69,71.9\n35,P1,4.77,70.5\n35,P2,2.34,50.3\n35,P3,10.78,60.9\n35,P4,10.29,42.4\n35,P5,10.76,47.9\n36,P1,2.25,71.1\n36,P2,7.07,49.0\n36,P3,8.1,60.9\n36,P4,9.33,45.8\n36,P5,10.24,45.9\n37,P1,6.77,58.6\n37,P2,3.64,55.1\n37,P3,5.72,61.2\n37,P4,8.68,59.2\n37,P5,8.1,61.1\n38,P1,3.27,61.0\n38,P2,5.65,60.6\n38,P3,5.69,51.9\n38,P4,10.63,48.5\n38,P5,5.29,68.0\n39,P1,4.76,62.6\n39,P2,6.84,66.1\n39,P3,6.06,69.5\n39,P4,10.61,44.8\n39,P5,5.45,41.9\n40,P1,5.76,65.1\n40,P2,6.73,62.7\n40,P3,5.76,62.9\n40,P4,11.05,41.4\n40,P5,6.31,72.6\n41,P1,6.78,49.8\n41,P2,5.5,60.9\n41,P3,3.43,67.6\n41,P4,8.28,73.7\n41,P5,5.47,71.5\n42,P1,2.34,51.7\n42,P2,3.97,40.9\n42,P3,3.79,64.3\n42,P4,3.7,73.4\n42,P5,2.03,54.8\n43,P1,4.78,41.9\n43,P2,4.39,67.1\n43,P3,4.56,58.5\n43,P4,4.07,49.7\n43,P5,4.36,61.3\n44,P1,7.02,46.2\n44,P2,4.56,69.8\n44,P3,5.87,64.2\n44,P4,6.45,70.9\n44,P5,3.49,57.4\n45,P1,6.93,69.1\n45,P2,6.22,61.6\n45,P3,3.21,58.9\n45,P4,2.46,44.7\n45,P5,5.33,70.1\n46,P1,3.96,53.4\n46,P2,5.42,70.8\n46,P3,6.27,48.5\n46,P4,5.94,56.6\n46,P5,2.8,65.3\n47,P1,2.09,65.3\n47,P2,7.0,54.4\n47,P3,2.19,54.7\n47,P4,2.12,61.0\n47,P5,3.7,42.4\n48,P1,2.49,70.0\n48,P2,3.67,62.5\n48,P3,3.64,47.6\n48,P4,3.13,62.1\n48,P5,4.53,54.7\n49,P1,2.43,64.3\n49,P2,3.78,55.2\n49,P3,2.19,68.6\n49,P4,6.42,41.6\n49,P5,4.23,43.2\n50,P1,5.39,68.4\n50,P2,2.34,42.3\n50,P3,2.44,68.9\n50,P4,5.43,43.0\n50,P5,5.33,64.9\n51,P1,2.41,44.8\n51,P2,3.26,57.2\n51,P3,3.0,60.9\n51,P4,4.42,72.3\n51,P5,3.64,56.2\n52,P1,5.21,62.6\n52,P2,3.94,69.7\n52,P3,5.86,61.6\n52,P4,6.85,48.8\n52,P5,4.67,51.9\n53,P1,4.65,66.6\n53,P2,6.52,73.8\n53,P3,5.72,61.2\n53,P4,5.17,42.6\n53,P5,3.69,50.0\n54,P1,3.29,46.2\n54,P2,3.25,40.3\n54,P3,5.28,52.8\n54,P4,2.66,44.2\n54,P5,2.01,52.9\n55,P1,3.67,63.0\n55,P2,5.21,66.2\n55,P3,3.98,41.6\n55,P4,6.02,49.2\n55,P5,5.43,47.4\n56,P1,4.5,63.1\n56,P2,4.74,53.7\n56,P3,3.64,69.3\n56,P4,5.33,45.3\n56,P5,2.91,53.5\n57,P1,5.28,54.0\n57,P2,3.49,71.1\n57,P3,5.14,64.4\n57,P4,4.33,75.0\n57,P5,5.23,51.1\n58,P1,2.07,60.1\n58,P2,4.0,63.5\n58,P3,3.73,63.8\n58,P4,6.15,53.7\n58,P5,4.7,54.6\n59,P1,4.44,42.4\n59,P2,6.92,59.8\n59,P3,2.59,72.4\n59,P4,3.2,46.6\n59,P5,3.51,56.2\n60,P1,4.1,52.6\n60,P2,2.85,54.0\n60,P3,3.81,54.4\n60,P4,5.74,53.5\n60,P5,3.68,43.3\n61,P1,2.33,59.6\n61,P2,2.22,42.3\n61,P3,6.98,41.9\n61,P4,6.58,58.8\n61,P5,3.38,55.6\n62,P1,6.46,59.8\n62,P2,3.66,74.4\n62,P3,5.73,44.6\n62,P4,8.25,52.6\n62,P5,2.4,74.0\n63,P1,3.38,54.1\n63,P2,4.65,62.6\n63,P3,5.69,67.6\n63,P4,10.43,53.7\n63,P5,2.38,42.8\n64,P1,6.28,55.7\n64,P2,6.44,43.4\n64,P3,4.61,52.2\n64,P4,8.59,64.0\n64,P5,6.34,41.6\n65,P1,4.93,48.8\n65,P2,6.87,61.1\n65,P3,3.53,60.8\n65,P4,10.56,47.6\n65,P5,6.46,65.1\n66,P1,4.17,52.8\n66,P2,2.49,47.1\n66,P3,6.9,69.6\n66,P4,7.6,70.3\n66,P5,6.55,56.2\n67,P1,6.35,54.2\n67,P2,7.05,64.3\n67,P3,3.61,40.6\n67,P4,4.0,50.2\n67,P5,2.55,41.1\n68,P1,4.75,52.1\n68,P2,4.17,73.3\n68,P3,2.59,49.7\n68,P4,2.37,71.1\n68,P5,2.38,67.3\n69,P1,6.02,49.2\n69,P2,5.96,72.9\n69,P3,6.92,71.6\n69,P4,4.39,46.2\n69,P5,6.98,72.9\n70,P1,8.73,57.9\n70,P2,5.76,72.0\n70,P3,2.43,72.0\n70,P4,4.99,58.7\n70,P5,6.93,63.9\n71,P1,10.91,48.5\n71,P2,3.62,60.9\n71,P3,2.34,70.9\n71,P4,5.13,70.7\n71,P5,4.92,50.9\n72,P1,8.94,47.0\n72,P2,6.3,65.5\n72,P3,2.54,68.9\n72,P4,5.8,59.4\n72,P5,5.21,46.9\n73,P1,10.06,53.6\n73,P2,5.79,40.7\n73,P3,2.52,74.7\n73,P4,5.36,60.4\n73,P5,6.46,44.1\n74,P1,10.04,47.3\n74,P2,3.32,56.4\n74,P3,2.44,72.8\n74,P4,5.74,57.3\n74,P5,5.02,40.0\n75,P1,10.43,62.5\n75,P2,5.0,68.4\n75,P3,6.76,47.9\n75,P4,2.12,40.9\n75,P5,2.31,52.0\n76,P1,10.75,73.0\n76,P2,3.9,65.1\n76,P3,4.81,61.0\n76,P4,2.38,46.9\n76,P5,3.66,40.0\n77,P1,9.97,66.8\n77,P2,3.51,73.4\n77,P3,5.08,47.9\n77,P4,3.64,70.6\n77,P5,2.21,64.4\n78,P1,5.41,46.9\n78,P2,4.99,72.4\n78,P3,3.37,61.5\n78,P4,3.77,49.3\n78,P5,3.84,60.7\n79,P1,6.8,52.4\n79,P2,4.3,72.0\n79,P3,5.05,72.7\n79,P4,2.91,42.2\n79,P5,2.24,62.3\n80,P1,4.59,71.1\n80,P2,2.55,61.3\n80,P3,3.24,40.6\n80,P4,6.51,51.6\n80,P5,6.2,49.4\n81,P1,6.55,53.3\n81,P2,3.37,59.0\n81,P3,3.24,58.1\n81,P4,5.58,74.2\n81,P5,6.79,59.0\n82,P1,2.32,66.6\n82,P2,4.38,69.1\n82,P3,6.15,53.3\n82,P4,2.07,73.9\n82,P5,3.29,43.3\n83,P1,3.59,49.4\n83,P2,3.39,47.4\n83,P3,6.15,49.1\n83,P4,2.41,65.0\n83,P5,6.74,70.0\n84,P1,3.34,51.4\n84,P2,6.89,43.9\n84,P3,4.09,52.4\n84,P4,2.11,73.8\n84,P5,6.53,49.3\n85,P1,5.47,71.6\n85,P2,5.2,50.4\n85,P3,5.18,46.2\n85,P4,5.43,57.7\n85,P5,6.3,52.1\n86,P1,5.92,47.5\n86,P2,5.28,57.3\n86,P3,3.63,42.4\n86,P4,3.53,47.0\n86,P5,4.11,72.0\n87,P1,3.87,40.2\n87,P2,5.35,74.0\n87,P3,6.83,71.0\n87,P4,6.69,53.3\n87,P5,3.58,44.5\n88,P1,3.84,56.9\n88,P2,5.68,59.6\n88,P3,4.62,68.1\n88,P4,2.12,40.5\n88,P5,5.62,61.6\n89,P1,5.04,51.6\n89,P2,4.18,62.5\n89,P3,7.04,74.2\n89,P4,5.16,68.7\n89,P5,7.03,48.4\n90,P1,3.48,72.2\n90,P2,4.94,50.5\n90,P3,6.5,53.8\n90,P4,6.88,42.1\n90,P5,3.75,64.2\n91,P1,4.69,40.6\n91,P2,6.4,41.9\n91,P3,6.62,44.4\n91,P4,4.89,62.9\n91,P5,2.26,47.3\n92,P1,4.92,42.8\n92,P2,4.31,42.6\n92,P3,4.62,63.7\n92,P4,2.9,61.3\n92,P5,4.6,72.3\n93,P1,4.58,55.8\n93,P2,2.17,65.8\n93,P3,4.86,57.5\n93,P4,5.78,66.3\n93,P5,4.29,42.5\n94,P1,3.85,68.8\n94,P2,6.26,64.1\n94,P3,4.24,58.9\n94,P4,5.52,64.6\n94,P5,6.4,55.0\n95,P1,5.19,43.7\n95,P2,3.26,72.7\n95,P3,4.25,71.6\n95,P4,2.77,67.4\n95,P5,6.19,54.3\n96,P1,2.21,70.3\n96,P2,5.65,53.8\n96,P3,6.43,59.4\n96,P4,2.21,43.3\n96,P5,6.24,49.5\n97,P1,6.84,46.1\n97,P2,2.25,50.7\n97,P3,5.75,54.6\n97,P4,4.03,57.9\n97,P5,6.94,41.8\n98,P1,4.89,64.5\n98,P2,6.82,40.8\n98,P3,4.93,60.9\n98,P4,2.65,65.0\n98,P5,3.74,57.5\n99,P1,6.7,61.4\n99,P2,3.98,42.0\n99,P3,3.79,69.5\n99,P4,5.1,72.9\n99,P5,5.16,59.5\n100,P1,5.02,40.0\n100,P2,2.72,59.2\n100,P3,3.75,47.3\n100,P4,6.18,68.9\n100,P5,4.56,42.8\n101,P1,2.14,73.1\n101,P2,2.48,48.2\n101,P3,4.4,70.4\n101,P4,3.14,44.3\n101,P5,4.76,73.1\n102,P1,3.12,71.8\n102,P2,4.74,59.2\n102,P3,2.52,73.6\n102,P4,7.09,44.9\n102,P5,6.12,69.0\n103,P1,2.15,41.3\n103,P2,4.03,52.8\n103,P3,4.56,69.0\n103,P4,3.47,48.2\n103,P5,5.59,57.4\n104,P1,5.16,70.2\n104,P2,5.45,52.7\n104,P3,3.97,62.0\n104,P4,4.31,59.4\n104,P5,5.32,68.9\n105,P1,3.69,43.8\n105,P2,5.36,49.4\n105,P3,5.6,58.5\n105,P4,4.27,60.6\n105,P5,6.16,56.6\n106,P1,2.61,51.1\n106,P2,3.75,60.9\n106,P3,5.17,72.3\n106,P4,4.98,60.1\n106,P5,5.31,53.7\n107,P1,6.44,67.6\n107,P2,4.2,68.6\n107,P3,6.7,48.3\n107,P4,6.55,45.0\n107,P5,4.1,41.9\n108,P1,2.35,62.5\n108,P2,5.86,73.9\n108,P3,7.07,63.7\n108,P4,6.98,63.5\n108,P5,4.14,56.7\n109,P1,3.03,66.7\n109,P2,3.84,55.2\n109,P3,3.16,68.3\n109,P4,2.65,65.2\n109,P5,4.62,56.8\n110,P1,3.36,60.2\n110,P2,4.3,69.2\n110,P3,6.63,67.6\n110,P4,3.99,41.0\n110,P5,2.63,57.4\n111,P1,6.03,51.3\n111,P2,5.66,68.4\n111,P3,2.31,50.2\n111,P4,6.4,64.9\n111,P5,5.36,53.5\n112,P1,3.08,57.4\n112,P2,4.27,43.7\n112,P3,4.35,70.5\n112,P4,6.45,60.6\n112,P5,4.26,42.2\n113,P1,3.09,62.8\n113,P2,6.01,60.3\n113,P3,4.79,50.7\n113,P4,3.74,73.5\n113,P5,6.29,63.7\n114,P1,4.4,72.3\n114,P2,4.5,40.7\n114,P3,6.41,47.2\n114,P4,4.55,59.2\n114,P5,5.83,46.5\n115,P1,2.03,54.9\n115,P2,3.82,44.3\n115,P3,3.07,72.1\n115,P4,6.41,56.0\n115,P5,4.54,57.6\n116,P1,3.25,57.7\n116,P2,5.79,53.4\n116,P3,7.06,68.0\n116,P4,5.64,49.5\n116,P5,4.18,57.7\n117,P1,2.83,46.0\n117,P2,2.01,44.2\n117,P3,2.69,73.1\n117,P4,2.84,41.4\n117,P5,3.6,63.8\n118,P1,3.58,72.8\n118,P2,3.24,63.7\n118,P3,3.02,40.3\n118,P4,5.78,59.7\n118,P5,7.05,53.2\n119,P1,7.05,67.8\n119,P2,6.5,58.4\n119,P3,4.09,48.1\n119,P4,3.36,45.5\n119,P5,2.27,40.6\n"}], "reference_answer": "P1@74,P4@39"} {"task_id": "ind-vibration-alarm@1", "seed": 1, "instruction": "sensors.csv holds per-minute pump readings; limits.txt defines the alarm rule. List every pump that alarms with the minute of its first alarm, as pump@minute comma-separated and sorted by pump number (e.g. P2@57,P5@88), or none.", "files": [{"name": "limits.txt", "content": "ALARM RULE (rev 6)\nA pump alarms when vibration_mm_s is strictly greater than its limit for its required number of consecutive readings (one reading per minute).\nThe alarm time is the minute of the last reading that completes the run. Only the first alarm per pump matters. Temperature is not part of this rule.\nLimit: 8.1 mm/s for 5 consecutive readings, for every pump.\n"}, {"name": "sensors.csv", "content": "minute,pump,vibration_mm_s,temp_c\n0,P1,4.21,71.8\n0,P2,5.2,52.7\n0,P3,2.32,53.1\n0,P4,6.51,52.5\n0,P5,6.87,50.0\n0,P6,5.51,63.3\n1,P1,3.45,56.0\n1,P2,6.34,44.6\n1,P3,5.1,42.9\n1,P4,5.78,59.5\n1,P5,2.98,59.7\n1,P6,4.35,48.8\n2,P1,2.84,66.3\n2,P2,2.53,49.0\n2,P3,3.11,49.5\n2,P4,6.28,53.6\n2,P5,3.13,74.1\n2,P6,3.7,70.6\n3,P1,5.55,54.2\n3,P2,5.05,73.7\n3,P3,5.17,43.2\n3,P4,4.23,70.2\n3,P5,4.41,44.1\n3,P6,3.59,73.1\n4,P1,6.69,65.8\n4,P2,2.11,67.5\n4,P3,4.29,54.0\n4,P4,2.4,41.4\n4,P5,2.18,52.7\n4,P6,3.35,44.3\n5,P1,5.55,59.7\n5,P2,6.19,55.9\n5,P3,5.31,45.0\n5,P4,2.99,64.2\n5,P5,2.6,51.2\n5,P6,5.73,66.7\n6,P1,4.07,51.9\n6,P2,3.67,54.6\n6,P3,4.15,60.3\n6,P4,5.07,63.3\n6,P5,2.87,50.0\n6,P6,6.06,57.3\n7,P1,5.93,51.5\n7,P2,5.32,64.1\n7,P3,6.47,59.8\n7,P4,5.56,74.6\n7,P5,2.47,74.6\n7,P6,4.32,62.6\n8,P1,4.26,64.5\n8,P2,5.84,65.0\n8,P3,2.9,59.4\n8,P4,5.63,66.8\n8,P5,4.78,42.9\n8,P6,5.64,58.5\n9,P1,4.65,46.8\n9,P2,2.36,64.2\n9,P3,2.83,56.1\n9,P4,4.29,40.0\n9,P5,4.91,52.4\n9,P6,3.66,64.4\n10,P1,4.3,46.0\n10,P2,5.37,50.8\n10,P3,5.45,62.0\n10,P4,5.26,48.8\n10,P5,4.28,46.2\n10,P6,5.78,70.3\n11,P1,3.2,63.9\n11,P2,3.43,61.0\n11,P3,3.02,51.8\n11,P4,4.53,70.9\n11,P5,5.23,66.8\n11,P6,6.91,68.7\n12,P1,2.03,72.0\n12,P2,2.37,41.3\n12,P3,4.74,71.5\n12,P4,3.67,68.3\n12,P5,2.07,53.1\n12,P6,5.11,60.0\n13,P1,2.98,40.6\n13,P2,4.49,40.1\n13,P3,4.17,44.2\n13,P4,3.26,51.8\n13,P5,5.1,44.9\n13,P6,6.08,42.3\n14,P1,2.86,51.3\n14,P2,6.5,48.1\n14,P3,5.59,60.6\n14,P4,5.63,50.2\n14,P5,5.82,50.5\n14,P6,5.67,49.8\n15,P1,3.97,51.5\n15,P2,7.03,62.4\n15,P3,5.76,43.9\n15,P4,3.99,46.8\n15,P5,5.56,53.1\n15,P6,4.48,56.7\n16,P1,5.54,70.3\n16,P2,2.39,44.8\n16,P3,4.71,47.5\n16,P4,6.65,67.1\n16,P5,6.2,72.2\n16,P6,5.43,42.1\n17,P1,5.72,67.6\n17,P2,3.04,56.6\n17,P3,6.14,54.9\n17,P4,3.63,52.3\n17,P5,3.46,58.8\n17,P6,5.62,50.1\n18,P1,4.51,45.8\n18,P2,2.87,42.7\n18,P3,6.03,71.9\n18,P4,3.2,48.7\n18,P5,3.99,42.3\n18,P6,6.32,64.3\n19,P1,10.84,72.3\n19,P2,4.35,68.8\n19,P3,6.14,70.4\n19,P4,6.0,70.7\n19,P5,4.1,48.2\n19,P6,3.0,72.5\n20,P1,9.89,60.4\n20,P2,5.43,69.9\n20,P3,3.2,69.4\n20,P4,7.07,66.3\n20,P5,2.49,63.6\n20,P6,2.71,65.0\n21,P1,9.24,56.5\n21,P2,5.51,73.2\n21,P3,4.91,58.2\n21,P4,3.72,66.9\n21,P5,3.6,40.4\n21,P6,5.98,59.3\n22,P1,9.51,52.5\n22,P2,4.27,57.0\n22,P3,5.74,51.6\n22,P4,2.34,70.8\n22,P5,5.58,43.9\n22,P6,3.57,66.2\n23,P1,7.6,63.2\n23,P2,4.28,44.3\n23,P3,2.64,46.5\n23,P4,6.18,58.9\n23,P5,2.09,43.1\n23,P6,2.2,43.1\n24,P1,6.16,50.6\n24,P2,4.38,40.4\n24,P3,6.99,57.1\n24,P4,5.61,44.7\n24,P5,4.24,68.6\n24,P6,4.81,59.5\n25,P1,5.07,57.0\n25,P2,5.9,41.2\n25,P3,4.63,66.2\n25,P4,4.77,66.7\n25,P5,6.92,63.6\n25,P6,6.3,51.7\n26,P1,5.17,56.8\n26,P2,4.52,65.1\n26,P3,4.85,68.3\n26,P4,6.18,64.9\n26,P5,4.49,72.4\n26,P6,2.6,67.0\n27,P1,5.16,71.6\n27,P2,4.31,52.4\n27,P3,4.79,41.9\n27,P4,4.76,71.1\n27,P5,3.63,53.7\n27,P6,5.95,47.9\n28,P1,6.36,48.3\n28,P2,2.6,64.8\n28,P3,3.11,68.0\n28,P4,5.63,52.6\n28,P5,5.2,61.8\n28,P6,6.48,63.8\n29,P1,6.07,64.8\n29,P2,4.08,69.9\n29,P3,6.68,47.9\n29,P4,3.95,65.6\n29,P5,5.25,43.8\n29,P6,6.67,64.0\n30,P1,4.48,45.4\n30,P2,6.01,54.9\n30,P3,3.33,57.6\n30,P4,6.02,71.8\n30,P5,2.63,53.8\n30,P6,4.62,51.5\n31,P1,5.56,44.0\n31,P2,3.65,53.8\n31,P3,3.78,66.4\n31,P4,5.85,49.7\n31,P5,5.81,42.2\n31,P6,2.58,67.6\n32,P1,6.47,66.4\n32,P2,3.41,40.3\n32,P3,2.12,67.8\n32,P4,3.72,50.5\n32,P5,5.22,45.6\n32,P6,6.68,56.8\n33,P1,4.9,71.1\n33,P2,2.05,59.4\n33,P3,5.44,71.4\n33,P4,4.12,57.3\n33,P5,2.55,51.6\n33,P6,5.73,63.0\n34,P1,2.72,57.7\n34,P2,2.02,50.7\n34,P3,4.77,67.1\n34,P4,3.8,61.9\n34,P5,4.26,53.5\n34,P6,6.23,71.4\n35,P1,2.07,52.5\n35,P2,3.59,56.1\n35,P3,7.04,51.5\n35,P4,5.34,61.0\n35,P5,8.4,67.2\n35,P6,4.48,47.1\n36,P1,3.71,42.6\n36,P2,3.37,74.2\n36,P3,4.21,60.0\n36,P4,4.66,74.3\n36,P5,8.42,44.4\n36,P6,6.47,41.4\n37,P1,6.36,56.9\n37,P2,2.67,48.6\n37,P3,2.1,70.7\n37,P4,2.05,65.2\n37,P5,9.34,59.2\n37,P6,6.91,50.6\n38,P1,2.59,44.8\n38,P2,2.19,66.2\n38,P3,3.94,40.8\n38,P4,2.86,59.6\n38,P5,9.28,60.0\n38,P6,6.61,48.1\n39,P1,4.65,62.1\n39,P2,2.73,73.3\n39,P3,3.62,69.9\n39,P4,3.96,56.0\n39,P5,7.6,48.2\n39,P6,3.4,44.0\n40,P1,7.08,74.5\n40,P2,5.16,41.8\n40,P3,6.67,46.5\n40,P4,6.8,56.7\n40,P5,5.39,69.5\n40,P6,5.39,51.3\n41,P1,3.55,54.4\n41,P2,2.13,48.4\n41,P3,4.75,63.8\n41,P4,3.13,48.8\n41,P5,4.6,45.1\n41,P6,4.28,67.9\n42,P1,2.34,57.8\n42,P2,2.8,68.6\n42,P3,5.31,55.7\n42,P4,2.03,44.3\n42,P5,3.6,61.8\n42,P6,6.33,69.1\n43,P1,5.18,72.9\n43,P2,4.36,44.3\n43,P3,2.05,67.9\n43,P4,5.98,45.9\n43,P5,4.64,49.3\n43,P6,6.84,42.7\n44,P1,4.17,63.9\n44,P2,5.91,58.7\n44,P3,5.35,48.0\n44,P4,2.57,51.7\n44,P5,7.09,57.5\n44,P6,4.44,50.8\n45,P1,6.69,53.2\n45,P2,4.76,51.5\n45,P3,6.03,71.8\n45,P4,2.78,58.9\n45,P5,5.01,66.1\n45,P6,3.3,60.3\n46,P1,2.99,44.0\n46,P2,6.52,69.4\n46,P3,6.68,54.3\n46,P4,6.91,69.0\n46,P5,2.38,68.8\n46,P6,2.16,41.4\n47,P1,6.44,69.3\n47,P2,4.67,73.9\n47,P3,7.07,42.7\n47,P4,3.83,62.2\n47,P5,4.67,73.1\n47,P6,6.52,44.9\n48,P1,2.2,45.3\n48,P2,3.57,63.0\n48,P3,5.25,63.7\n48,P4,6.36,44.2\n48,P5,3.03,70.8\n48,P6,6.17,46.5\n49,P1,5.84,60.3\n49,P2,4.66,67.0\n49,P3,6.34,65.2\n49,P4,3.95,66.4\n49,P5,2.86,48.8\n49,P6,5.36,53.4\n50,P1,2.6,41.9\n50,P2,2.28,68.5\n50,P3,4.82,51.3\n50,P4,3.25,61.3\n50,P5,3.2,61.8\n50,P6,6.38,63.8\n51,P1,5.37,40.5\n51,P2,6.93,63.2\n51,P3,2.77,56.6\n51,P4,2.5,45.8\n51,P5,6.64,42.5\n51,P6,3.32,68.7\n52,P1,4.77,45.3\n52,P2,5.65,51.2\n52,P3,2.04,46.3\n52,P4,5.49,49.2\n52,P5,3.98,53.0\n52,P6,6.89,59.8\n53,P1,3.88,56.7\n53,P2,6.99,45.9\n53,P3,4.22,73.9\n53,P4,3.68,46.0\n53,P5,5.86,50.2\n53,P6,5.4,47.1\n54,P1,4.99,43.1\n54,P2,4.27,49.3\n54,P3,3.94,73.2\n54,P4,6.32,45.1\n54,P5,5.65,41.3\n54,P6,6.84,50.1\n55,P1,3.51,73.8\n55,P2,5.94,41.5\n55,P3,5.73,67.9\n55,P4,4.42,72.1\n55,P5,3.19,58.2\n55,P6,2.98,46.9\n56,P1,6.02,67.4\n56,P2,3.19,51.7\n56,P3,3.33,54.2\n56,P4,2.98,70.0\n56,P5,4.83,65.3\n56,P6,3.43,67.6\n57,P1,6.59,47.5\n57,P2,3.11,56.8\n57,P3,2.17,42.7\n57,P4,6.54,64.3\n57,P5,2.62,65.5\n57,P6,5.3,67.0\n58,P1,6.67,41.7\n58,P2,3.91,71.2\n58,P3,2.01,53.4\n58,P4,6.27,48.1\n58,P5,6.63,46.7\n58,P6,3.22,67.5\n59,P1,4.36,50.6\n59,P2,3.08,55.6\n59,P3,5.77,61.7\n59,P4,2.83,41.3\n59,P5,2.36,58.5\n59,P6,6.68,64.1\n60,P1,6.12,46.0\n60,P2,4.01,50.7\n60,P3,2.94,52.1\n60,P4,3.04,42.9\n60,P5,5.2,73.4\n60,P6,4.1,57.2\n61,P1,3.06,44.8\n61,P2,3.0,65.0\n61,P3,6.46,61.1\n61,P4,4.39,44.6\n61,P5,3.73,41.5\n61,P6,3.38,72.7\n62,P1,6.34,72.8\n62,P2,6.77,62.8\n62,P3,3.76,54.5\n62,P4,2.67,67.4\n62,P5,6.9,56.4\n62,P6,5.07,55.1\n63,P1,3.48,59.5\n63,P2,3.25,67.0\n63,P3,5.59,61.7\n63,P4,4.9,73.0\n63,P5,3.24,54.6\n63,P6,3.21,53.0\n64,P1,6.25,46.3\n64,P2,4.59,49.7\n64,P3,5.71,48.8\n64,P4,4.82,58.0\n64,P5,2.39,52.1\n64,P6,3.02,72.6\n65,P1,6.17,52.7\n65,P2,2.83,42.8\n65,P3,2.85,42.6\n65,P4,6.46,48.7\n65,P5,5.95,43.0\n65,P6,2.4,54.2\n66,P1,4.28,63.6\n66,P2,2.67,50.5\n66,P3,5.02,46.5\n66,P4,6.56,43.6\n66,P5,4.06,46.0\n66,P6,2.23,57.1\n67,P1,3.32,47.5\n67,P2,3.83,71.6\n67,P3,2.29,49.6\n67,P4,5.82,74.0\n67,P5,4.73,47.0\n67,P6,2.56,46.2\n68,P1,4.23,40.2\n68,P2,2.39,63.7\n68,P3,3.11,49.5\n68,P4,3.99,62.7\n68,P5,3.78,53.0\n68,P6,5.04,64.4\n69,P1,5.03,66.0\n69,P2,5.6,65.4\n69,P3,6.91,40.6\n69,P4,3.58,48.3\n69,P5,6.1,68.4\n69,P6,3.54,55.3\n70,P1,2.35,73.3\n70,P2,2.99,45.0\n70,P3,4.69,56.3\n70,P4,4.29,52.1\n70,P5,3.63,47.4\n70,P6,3.66,73.9\n71,P1,2.96,70.6\n71,P2,6.01,49.1\n71,P3,3.61,65.5\n71,P4,6.24,65.0\n71,P5,3.81,57.2\n71,P6,3.43,58.3\n72,P1,5.45,59.7\n72,P2,6.8,71.8\n72,P3,4.6,51.9\n72,P4,6.43,50.1\n72,P5,6.79,60.9\n72,P6,2.23,52.2\n73,P1,2.07,67.6\n73,P2,3.79,46.0\n73,P3,6.71,55.3\n73,P4,2.21,51.0\n73,P5,5.15,47.2\n73,P6,6.13,69.0\n74,P1,2.27,50.8\n74,P2,4.72,68.0\n74,P3,2.37,46.5\n74,P4,6.31,58.2\n74,P5,3.37,41.6\n74,P6,4.01,48.8\n75,P1,2.23,55.1\n75,P2,4.83,71.3\n75,P3,4.2,48.0\n75,P4,2.28,62.8\n75,P5,6.69,57.9\n75,P6,2.12,69.0\n76,P1,2.2,40.5\n76,P2,5.67,43.2\n76,P3,5.8,60.7\n76,P4,6.31,62.2\n76,P5,5.59,61.8\n76,P6,3.15,51.5\n77,P1,3.56,62.9\n77,P2,2.11,51.7\n77,P3,5.89,71.2\n77,P4,3.66,58.7\n77,P5,4.36,62.3\n77,P6,5.25,70.4\n78,P1,4.8,70.5\n78,P2,2.1,55.3\n78,P3,5.86,63.1\n78,P4,6.26,59.8\n78,P5,3.5,64.6\n78,P6,4.48,64.2\n79,P1,3.9,66.6\n79,P2,6.36,59.2\n79,P3,2.03,71.4\n79,P4,2.22,69.9\n79,P5,2.3,52.5\n79,P6,4.56,41.2\n80,P1,5.1,74.4\n80,P2,4.03,53.8\n80,P3,5.82,42.1\n80,P4,4.97,60.3\n80,P5,4.21,49.9\n80,P6,3.84,48.1\n81,P1,5.48,47.9\n81,P2,6.53,64.7\n81,P3,7.07,46.7\n81,P4,5.25,47.1\n81,P5,4.46,57.4\n81,P6,5.22,49.7\n82,P1,4.08,62.8\n82,P2,6.27,74.9\n82,P3,6.34,52.2\n82,P4,3.37,71.5\n82,P5,5.96,58.2\n82,P6,2.76,63.5\n83,P1,5.36,53.2\n83,P2,3.43,62.1\n83,P3,6.9,74.0\n83,P4,6.65,45.9\n83,P5,5.94,51.0\n83,P6,5.87,45.3\n84,P1,2.26,55.5\n84,P2,5.44,60.9\n84,P3,4.03,48.6\n84,P4,4.92,57.8\n84,P5,3.11,45.2\n84,P6,5.3,66.2\n85,P1,3.24,72.8\n85,P2,2.01,54.1\n85,P3,5.61,43.3\n85,P4,2.61,74.5\n85,P5,5.29,47.4\n85,P6,2.73,48.5\n86,P1,4.23,73.7\n86,P2,5.69,70.2\n86,P3,3.63,62.5\n86,P4,4.39,46.9\n86,P5,4.91,57.2\n86,P6,6.68,68.8\n87,P1,3.21,42.3\n87,P2,2.39,41.8\n87,P3,3.89,55.3\n87,P4,5.28,60.3\n87,P5,4.29,45.5\n87,P6,4.53,59.3\n88,P1,2.68,56.7\n88,P2,4.19,51.4\n88,P3,3.22,55.3\n88,P4,2.71,50.7\n88,P5,5.77,44.4\n88,P6,4.73,64.6\n89,P1,3.05,42.8\n89,P2,3.32,66.2\n89,P3,3.2,57.9\n89,P4,5.31,42.3\n89,P5,6.45,49.4\n89,P6,4.74,66.9\n90,P1,5.32,48.8\n90,P2,3.6,60.3\n90,P3,2.32,65.9\n90,P4,2.47,74.1\n90,P5,2.35,59.1\n90,P6,4.6,60.6\n91,P1,2.83,41.0\n91,P2,3.3,70.2\n91,P3,3.57,71.4\n91,P4,5.27,42.6\n91,P5,6.62,62.4\n91,P6,4.15,45.4\n92,P1,2.06,50.3\n92,P2,2.7,68.0\n92,P3,4.39,44.3\n92,P4,6.5,62.9\n92,P5,2.35,47.5\n92,P6,3.73,59.8\n93,P1,5.05,46.6\n93,P2,6.85,61.0\n93,P3,4.6,65.7\n93,P4,4.88,43.4\n93,P5,2.39,74.1\n93,P6,5.28,67.9\n94,P1,3.89,58.6\n94,P2,4.06,49.6\n94,P3,5.4,54.6\n94,P4,5.35,60.4\n94,P5,6.4,70.2\n94,P6,5.99,70.0\n95,P1,5.45,60.4\n95,P2,3.12,62.6\n95,P3,2.92,70.6\n95,P4,2.19,61.2\n95,P5,3.05,60.4\n95,P6,6.63,49.9\n96,P1,6.98,61.1\n96,P2,8.47,47.8\n96,P3,6.02,67.3\n96,P4,3.9,71.2\n96,P5,4.79,47.9\n96,P6,2.97,57.0\n97,P1,5.95,57.0\n97,P2,9.46,73.0\n97,P3,2.51,45.7\n97,P4,2.71,48.5\n97,P5,6.43,71.5\n97,P6,4.7,49.4\n98,P1,3.74,47.9\n98,P2,9.65,57.2\n98,P3,2.94,70.1\n98,P4,5.07,61.0\n98,P5,2.21,40.1\n98,P6,6.56,40.9\n99,P1,2.49,66.0\n99,P2,8.55,53.3\n99,P3,4.01,73.5\n99,P4,2.67,66.7\n99,P5,4.67,59.0\n99,P6,2.34,40.7\n100,P1,5.51,58.6\n100,P2,10.33,59.9\n100,P3,5.35,62.0\n100,P4,6.83,74.3\n100,P5,7.06,41.4\n100,P6,7.07,62.1\n101,P1,5.61,45.3\n101,P2,10.94,51.1\n101,P3,3.2,50.4\n101,P4,2.28,51.5\n101,P5,4.47,47.6\n101,P6,2.29,65.8\n102,P1,3.18,70.0\n102,P2,10.9,42.2\n102,P3,5.37,66.9\n102,P4,8.36,51.5\n102,P5,3.16,53.5\n102,P6,7.05,59.1\n103,P1,5.72,62.3\n103,P2,5.44,69.8\n103,P3,3.1,54.7\n103,P4,9.9,50.4\n103,P5,4.48,73.4\n103,P6,5.75,45.8\n104,P1,6.15,59.2\n104,P2,2.5,56.6\n104,P3,5.96,47.3\n104,P4,10.37,65.9\n104,P5,4.2,63.6\n104,P6,4.97,67.2\n105,P1,5.65,71.8\n105,P2,5.06,40.1\n105,P3,2.3,47.7\n105,P4,10.47,50.0\n105,P5,4.51,73.9\n105,P6,5.62,60.1\n106,P1,5.25,70.1\n106,P2,5.13,55.8\n106,P3,6.75,67.6\n106,P4,7.6,63.9\n106,P5,2.32,48.4\n106,P6,6.31,66.8\n107,P1,2.59,74.8\n107,P2,4.59,55.9\n107,P3,5.13,41.5\n107,P4,6.3,56.8\n107,P5,2.17,41.9\n107,P6,4.64,42.1\n108,P1,3.57,65.8\n108,P2,5.62,71.9\n108,P3,4.69,60.9\n108,P4,4.2,62.4\n108,P5,6.16,45.0\n108,P6,3.83,45.4\n109,P1,5.1,73.2\n109,P2,3.42,58.0\n109,P3,6.62,56.2\n109,P4,6.09,43.2\n109,P5,6.18,57.6\n109,P6,4.98,56.1\n110,P1,2.12,58.6\n110,P2,4.8,65.3\n110,P3,3.45,69.0\n110,P4,4.66,69.0\n110,P5,6.25,57.7\n110,P6,2.87,46.2\n111,P1,5.02,50.0\n111,P2,2.65,48.5\n111,P3,6.65,60.7\n111,P4,5.3,51.1\n111,P5,4.24,65.3\n111,P6,2.38,62.5\n112,P1,6.79,48.0\n112,P2,5.25,72.8\n112,P3,3.09,60.3\n112,P4,3.73,64.2\n112,P5,6.64,54.3\n112,P6,5.27,74.8\n113,P1,3.8,68.5\n113,P2,5.51,43.6\n113,P3,6.86,60.3\n113,P4,2.1,63.2\n113,P5,6.08,72.8\n113,P6,4.05,66.2\n114,P1,5.28,74.7\n114,P2,5.31,56.7\n114,P3,6.47,45.8\n114,P4,5.3,71.7\n114,P5,4.12,42.0\n114,P6,3.56,56.9\n115,P1,6.28,68.1\n115,P2,2.46,68.6\n115,P3,5.08,53.8\n115,P4,3.06,46.9\n115,P5,6.16,69.4\n115,P6,4.0,70.2\n116,P1,5.67,55.2\n116,P2,2.54,60.4\n116,P3,7.01,53.0\n116,P4,3.95,42.5\n116,P5,2.29,60.8\n116,P6,5.67,47.6\n117,P1,5.2,47.6\n117,P2,4.81,55.5\n117,P3,6.08,42.0\n117,P4,5.55,60.1\n117,P5,4.71,68.7\n117,P6,4.85,52.0\n118,P1,2.79,40.7\n118,P2,4.07,66.6\n118,P3,7.09,64.1\n118,P4,4.68,41.9\n118,P5,3.49,41.5\n118,P6,6.54,54.7\n119,P1,4.88,49.1\n119,P2,4.18,42.0\n119,P3,2.11,64.3\n119,P4,2.02,68.4\n119,P5,6.24,69.7\n119,P6,3.56,74.5\n"}], "reference_answer": "P2@100"} {"task_id": "ind-vibration-alarm@1", "seed": 2, "instruction": "sensors.csv holds per-minute pump readings; limits.txt defines the alarm rule. List every pump that alarms with the minute of its first alarm, as pump@minute comma-separated and sorted by pump number (e.g. P2@57,P5@88), or none.", "files": [{"name": "limits.txt", "content": "ALARM RULE (rev 6)\nA pump alarms when vibration_mm_s is strictly greater than its limit for its required number of consecutive readings (one reading per minute).\nThe alarm time is the minute of the last reading that completes the run. Only the first alarm per pump matters. Temperature is not part of this rule.\nLimit: 8.7 mm/s for 4 consecutive readings, for every pump.\n"}, {"name": "sensors.csv", "content": "minute,pump,vibration_mm_s,temp_c\n0,P1,6.99,68.0\n0,P2,5.67,65.5\n0,P3,3.73,69.8\n0,P4,3.89,45.0\n0,P5,4.76,62.9\n0,P6,4.18,48.0\n1,P1,7.18,57.2\n1,P2,3.25,60.2\n1,P3,3.8,58.8\n1,P4,2.42,41.8\n1,P5,6.39,63.0\n1,P6,5.12,70.5\n2,P1,4.4,72.6\n2,P2,7.21,45.9\n2,P3,4.71,48.0\n2,P4,6.09,55.2\n2,P5,6.28,65.5\n2,P6,6.29,42.1\n3,P1,6.57,49.4\n3,P2,4.76,63.6\n3,P3,4.69,42.5\n3,P4,5.63,43.6\n3,P5,3.84,69.0\n3,P6,3.67,58.1\n4,P1,7.3,60.0\n4,P2,3.4,41.1\n4,P3,6.05,56.6\n4,P4,4.97,50.1\n4,P5,7.56,44.0\n4,P6,5.13,67.1\n5,P1,4.38,60.9\n5,P2,2.44,67.2\n5,P3,5.19,57.8\n5,P4,6.94,48.6\n5,P5,7.18,43.3\n5,P6,7.21,68.0\n6,P1,6.48,66.2\n6,P2,4.95,57.5\n6,P3,4.33,63.8\n6,P4,3.83,58.2\n6,P5,2.76,62.6\n6,P6,2.42,51.8\n7,P1,5.63,67.2\n7,P2,5.37,68.2\n7,P3,2.47,50.6\n7,P4,6.59,63.2\n7,P5,6.23,47.6\n7,P6,7.33,58.9\n8,P1,2.79,62.8\n8,P2,3.9,68.6\n8,P3,4.41,44.5\n8,P4,3.92,74.1\n8,P5,3.99,44.2\n8,P6,2.02,60.4\n9,P1,2.54,54.5\n9,P2,3.95,74.8\n9,P3,3.03,62.8\n9,P4,4.73,42.8\n9,P5,3.94,46.8\n9,P6,7.16,52.0\n10,P1,2.47,70.8\n10,P2,4.57,71.8\n10,P3,2.74,67.6\n10,P4,2.22,60.9\n10,P5,6.61,64.8\n10,P6,2.37,63.2\n11,P1,2.3,65.6\n11,P2,7.3,72.3\n11,P3,3.23,53.3\n11,P4,7.42,69.3\n11,P5,5.28,61.9\n11,P6,5.39,52.7\n12,P1,7.41,63.1\n12,P2,3.65,43.2\n12,P3,5.78,54.5\n12,P4,4.15,51.9\n12,P5,4.95,44.8\n12,P6,4.47,45.9\n13,P1,6.84,53.1\n13,P2,3.37,70.7\n13,P3,5.22,63.3\n13,P4,4.86,46.8\n13,P5,5.7,45.8\n13,P6,3.91,54.9\n14,P1,4.89,44.9\n14,P2,5.26,67.5\n14,P3,5.23,41.6\n14,P4,5.49,41.5\n14,P5,5.27,55.7\n14,P6,6.64,62.5\n15,P1,3.12,48.3\n15,P2,7.25,49.1\n15,P3,5.26,56.1\n15,P4,3.89,68.3\n15,P5,3.74,55.0\n15,P6,2.9,46.5\n16,P1,2.83,46.7\n16,P2,3.1,68.2\n16,P3,3.1,66.7\n16,P4,4.76,44.7\n16,P5,2.84,46.2\n16,P6,2.44,58.8\n17,P1,6.62,55.4\n17,P2,4.7,42.4\n17,P3,4.96,43.3\n17,P4,3.28,40.9\n17,P5,5.31,55.3\n17,P6,6.83,61.6\n18,P1,6.92,71.4\n18,P2,4.75,60.3\n18,P3,4.88,74.0\n18,P4,4.35,68.2\n18,P5,4.54,57.0\n18,P6,6.85,52.2\n19,P1,2.45,56.3\n19,P2,4.5,66.2\n19,P3,2.32,61.3\n19,P4,5.9,59.2\n19,P5,4.23,65.6\n19,P6,2.81,51.6\n20,P1,9.78,74.1\n20,P2,3.42,71.7\n20,P3,2.77,41.4\n20,P4,4.55,43.5\n20,P5,6.34,68.8\n20,P6,6.67,51.2\n21,P1,9.4,63.1\n21,P2,7.42,54.5\n21,P3,5.93,70.3\n21,P4,5.27,40.7\n21,P5,6.81,59.0\n21,P6,4.78,48.4\n22,P1,9.17,67.0\n22,P2,6.46,44.0\n22,P3,5.82,66.3\n22,P4,6.43,63.9\n22,P5,4.71,66.1\n22,P6,4.32,62.0\n23,P1,8.2,42.3\n23,P2,4.74,64.5\n23,P3,5.0,56.4\n23,P4,3.01,60.7\n23,P5,2.85,52.4\n23,P6,2.43,43.2\n24,P1,4.36,43.4\n24,P2,6.54,54.6\n24,P3,2.4,63.4\n24,P4,6.7,66.4\n24,P5,5.71,50.8\n24,P6,5.66,67.0\n25,P1,4.18,42.2\n25,P2,4.82,68.7\n25,P3,4.96,57.5\n25,P4,3.95,52.6\n25,P5,7.64,64.0\n25,P6,2.45,43.8\n26,P1,11.04,65.1\n26,P2,6.68,73.1\n26,P3,2.85,40.3\n26,P4,5.61,64.4\n26,P5,3.78,71.6\n26,P6,3.32,71.3\n27,P1,10.21,65.2\n27,P2,3.21,59.5\n27,P3,4.61,42.6\n27,P4,6.73,59.0\n27,P5,7.67,61.5\n27,P6,6.98,67.5\n28,P1,10.15,64.2\n28,P2,2.09,52.7\n28,P3,2.81,72.1\n28,P4,2.38,44.6\n28,P5,6.37,63.4\n28,P6,4.66,51.9\n29,P1,8.2,65.5\n29,P2,6.41,43.0\n29,P3,5.81,48.6\n29,P4,5.02,66.9\n29,P5,3.49,55.3\n29,P6,3.96,69.6\n30,P1,2.86,57.8\n30,P2,2.14,69.0\n30,P3,4.92,58.0\n30,P4,2.0,61.2\n30,P5,2.24,44.9\n30,P6,3.83,75.0\n31,P1,2.53,40.4\n31,P2,3.68,69.1\n31,P3,2.59,62.9\n31,P4,2.19,41.1\n31,P5,3.72,46.5\n31,P6,2.58,70.7\n32,P1,3.26,73.3\n32,P2,2.62,46.1\n32,P3,4.46,69.1\n32,P4,5.48,66.0\n32,P5,6.46,74.9\n32,P6,2.58,49.6\n33,P1,3.21,72.7\n33,P2,6.99,62.9\n33,P3,7.03,54.2\n33,P4,4.21,54.2\n33,P5,2.09,63.0\n33,P6,6.45,44.9\n34,P1,3.95,71.8\n34,P2,6.46,69.1\n34,P3,3.33,66.1\n34,P4,4.34,53.2\n34,P5,5.5,59.3\n34,P6,6.01,41.7\n35,P1,3.92,57.8\n35,P2,3.29,44.3\n35,P3,7.5,66.6\n35,P4,5.89,41.5\n35,P5,2.75,50.6\n35,P6,9.87,51.3\n36,P1,2.73,57.5\n36,P2,7.69,52.1\n36,P3,5.13,51.6\n36,P4,6.39,74.9\n36,P5,3.44,46.0\n36,P6,10.29,62.7\n37,P1,7.34,53.5\n37,P2,2.5,73.8\n37,P3,4.93,64.2\n37,P4,4.58,47.2\n37,P5,3.17,62.8\n37,P6,8.81,48.3\n38,P1,6.29,54.3\n38,P2,2.72,54.5\n38,P3,2.76,63.9\n38,P4,5.66,71.9\n38,P5,4.65,62.5\n38,P6,8.7,46.9\n39,P1,4.26,69.8\n39,P2,6.38,55.9\n39,P3,7.66,51.3\n39,P4,2.62,74.1\n39,P5,2.36,73.4\n39,P6,3.58,49.5\n40,P1,6.33,61.5\n40,P2,6.86,69.9\n40,P3,4.26,62.5\n40,P4,7.66,60.6\n40,P5,3.23,47.8\n40,P6,4.19,65.7\n41,P1,4.67,56.8\n41,P2,6.04,41.4\n41,P3,2.33,71.8\n41,P4,6.29,61.0\n41,P5,3.49,40.2\n41,P6,5.16,73.5\n42,P1,5.57,46.1\n42,P2,6.99,63.4\n42,P3,5.78,59.2\n42,P4,5.0,43.6\n42,P5,2.02,41.1\n42,P6,3.19,74.0\n43,P1,4.32,61.5\n43,P2,4.53,61.5\n43,P3,5.06,56.1\n43,P4,5.21,51.8\n43,P5,6.61,63.0\n43,P6,2.99,43.5\n44,P1,6.31,58.6\n44,P2,7.56,57.6\n44,P3,7.13,40.3\n44,P4,2.25,59.1\n44,P5,6.71,74.8\n44,P6,3.31,51.7\n45,P1,3.04,71.2\n45,P2,5.7,69.3\n45,P3,7.48,74.6\n45,P4,5.67,71.3\n45,P5,7.27,42.6\n45,P6,3.79,42.7\n46,P1,2.01,66.1\n46,P2,7.18,52.8\n46,P3,5.18,45.3\n46,P4,6.52,74.8\n46,P5,5.24,59.2\n46,P6,5.77,48.6\n47,P1,3.0,69.2\n47,P2,4.93,68.2\n47,P3,6.38,72.5\n47,P4,2.68,40.2\n47,P5,3.83,56.7\n47,P6,2.31,66.0\n48,P1,3.84,74.9\n48,P2,4.93,62.4\n48,P3,3.07,72.9\n48,P4,2.71,59.0\n48,P5,4.55,74.5\n48,P6,6.8,74.1\n49,P1,7.24,61.7\n49,P2,2.09,46.0\n49,P3,4.39,74.9\n49,P4,2.44,74.5\n49,P5,7.62,71.4\n49,P6,6.43,62.7\n50,P1,5.67,71.4\n50,P2,3.8,54.4\n50,P3,3.49,60.8\n50,P4,3.81,68.0\n50,P5,3.19,65.3\n50,P6,3.64,70.7\n51,P1,2.39,57.0\n51,P2,2.06,69.2\n51,P3,4.44,67.3\n51,P4,3.3,43.2\n51,P5,4.86,64.8\n51,P6,3.25,71.4\n52,P1,3.49,52.6\n52,P2,4.1,40.1\n52,P3,6.43,43.6\n52,P4,5.71,41.5\n52,P5,2.43,51.0\n52,P6,7.64,47.8\n53,P1,7.34,63.7\n53,P2,5.0,55.1\n53,P3,4.7,42.1\n53,P4,6.79,55.2\n53,P5,4.96,71.7\n53,P6,3.15,68.6\n54,P1,4.52,69.6\n54,P2,4.59,54.8\n54,P3,3.33,64.2\n54,P4,4.06,48.5\n54,P5,3.25,58.1\n54,P6,2.96,53.0\n55,P1,6.45,45.7\n55,P2,3.06,43.5\n55,P3,5.61,66.1\n55,P4,6.35,71.4\n55,P5,3.13,68.2\n55,P6,2.4,44.6\n56,P1,5.59,74.2\n56,P2,4.58,63.0\n56,P3,4.36,74.7\n56,P4,6.31,45.0\n56,P5,7.04,57.1\n56,P6,3.84,73.2\n57,P1,5.92,67.6\n57,P2,3.83,56.6\n57,P3,6.31,46.1\n57,P4,3.65,42.5\n57,P5,6.14,41.2\n57,P6,5.26,74.9\n58,P1,6.49,41.8\n58,P2,2.21,65.8\n58,P3,5.38,57.2\n58,P4,5.06,43.3\n58,P5,4.13,45.8\n58,P6,3.63,69.0\n59,P1,3.15,62.1\n59,P2,7.37,68.0\n59,P3,7.26,71.9\n59,P4,5.62,65.8\n59,P5,5.1,67.1\n59,P6,6.79,72.5\n60,P1,2.77,64.2\n60,P2,6.9,73.4\n60,P3,2.77,72.3\n60,P4,5.5,57.8\n60,P5,7.32,45.1\n60,P6,3.99,52.0\n61,P1,2.05,66.8\n61,P2,6.87,61.8\n61,P3,2.97,60.9\n61,P4,5.29,59.8\n61,P5,6.1,60.8\n61,P6,6.0,65.2\n62,P1,5.65,62.1\n62,P2,7.62,57.6\n62,P3,4.28,59.0\n62,P4,2.89,62.0\n62,P5,3.76,57.2\n62,P6,6.32,60.3\n63,P1,5.51,61.4\n63,P2,4.19,50.1\n63,P3,7.03,45.5\n63,P4,3.08,65.3\n63,P5,6.93,53.4\n63,P6,5.33,73.5\n64,P1,6.68,55.3\n64,P2,3.61,48.3\n64,P3,5.48,54.4\n64,P4,2.46,47.7\n64,P5,2.57,46.6\n64,P6,5.17,40.4\n65,P1,3.3,48.0\n65,P2,2.71,51.3\n65,P3,3.79,58.4\n65,P4,3.32,44.5\n65,P5,2.71,59.8\n65,P6,4.35,41.0\n66,P1,4.45,57.3\n66,P2,5.15,58.8\n66,P3,4.63,71.4\n66,P4,5.44,56.3\n66,P5,4.14,41.5\n66,P6,5.41,48.8\n67,P1,2.78,54.8\n67,P2,4.85,55.5\n67,P3,3.4,67.3\n67,P4,6.05,41.3\n67,P5,3.67,51.1\n67,P6,3.44,59.0\n68,P1,2.43,72.0\n68,P2,5.48,52.8\n68,P3,6.77,54.7\n68,P4,4.15,73.2\n68,P5,7.02,58.6\n68,P6,2.57,53.1\n69,P1,5.17,43.3\n69,P2,5.85,47.0\n69,P3,7.38,61.8\n69,P4,5.36,71.5\n69,P5,5.26,61.7\n69,P6,6.59,57.8\n70,P1,5.92,71.3\n70,P2,2.51,50.6\n70,P3,9.88,57.3\n70,P4,5.59,59.2\n70,P5,6.77,65.7\n70,P6,5.99,45.0\n71,P1,2.37,44.6\n71,P2,5.6,74.6\n71,P3,9.85,65.1\n71,P4,2.37,64.5\n71,P5,6.54,52.2\n71,P6,2.99,42.9\n72,P1,6.45,41.2\n72,P2,5.2,43.1\n72,P3,10.09,43.1\n72,P4,3.57,42.8\n72,P5,3.29,56.5\n72,P6,6.54,73.3\n73,P1,7.09,42.0\n73,P2,6.35,50.7\n73,P3,8.2,45.3\n73,P4,6.21,56.8\n73,P5,4.54,70.8\n73,P6,3.51,63.9\n74,P1,10.37,66.6\n74,P2,6.03,50.9\n74,P3,6.27,57.5\n74,P4,2.64,71.8\n74,P5,5.3,70.6\n74,P6,2.63,58.0\n75,P1,10.43,62.5\n75,P2,5.05,53.2\n75,P3,2.35,42.9\n75,P4,6.67,40.6\n75,P5,6.9,57.7\n75,P6,3.4,61.4\n76,P1,9.73,48.1\n76,P2,7.11,67.2\n76,P3,4.86,70.3\n76,P4,6.48,46.8\n76,P5,7.38,41.1\n76,P6,7.61,64.4\n77,P1,11.31,45.2\n77,P2,3.99,53.6\n77,P3,2.18,72.0\n77,P4,4.44,64.7\n77,P5,6.76,72.2\n77,P6,3.75,57.7\n78,P1,10.89,49.6\n78,P2,6.0,71.7\n78,P3,3.49,50.8\n78,P4,4.42,70.6\n78,P5,5.67,40.2\n78,P6,7.5,72.7\n79,P1,11.03,54.7\n79,P2,4.42,49.8\n79,P3,3.8,57.0\n79,P4,3.97,45.6\n79,P5,5.7,40.2\n79,P6,4.9,47.3\n80,P1,6.54,59.9\n80,P2,4.47,48.7\n80,P3,7.43,54.1\n80,P4,3.55,65.4\n80,P5,3.84,43.3\n80,P6,5.55,49.0\n81,P1,7.64,51.7\n81,P2,3.43,48.1\n81,P3,3.23,47.0\n81,P4,3.75,43.2\n81,P5,5.38,53.5\n81,P6,7.1,64.9\n82,P1,6.18,56.2\n82,P2,6.6,55.6\n82,P3,3.73,61.9\n82,P4,4.71,58.3\n82,P5,3.33,71.2\n82,P6,3.35,63.6\n83,P1,7.3,69.0\n83,P2,3.06,57.7\n83,P3,7.26,47.1\n83,P4,7.26,40.1\n83,P5,2.49,62.3\n83,P6,6.28,42.3\n84,P1,4.31,42.6\n84,P2,3.38,66.1\n84,P3,3.53,48.9\n84,P4,5.74,53.5\n84,P5,6.15,67.5\n84,P6,2.93,44.8\n85,P1,7.1,70.1\n85,P2,2.71,45.4\n85,P3,4.32,46.2\n85,P4,2.65,71.9\n85,P5,7.18,74.2\n85,P6,7.25,65.3\n86,P1,6.63,60.0\n86,P2,2.57,60.1\n86,P3,7.02,53.9\n86,P4,7.15,43.1\n86,P5,2.47,62.3\n86,P6,6.65,43.0\n87,P1,4.29,65.5\n87,P2,6.03,46.8\n87,P3,7.26,61.0\n87,P4,2.35,57.5\n87,P5,7.2,73.2\n87,P6,7.17,60.2\n88,P1,7.27,51.1\n88,P2,2.13,40.6\n88,P3,2.23,40.7\n88,P4,5.79,71.2\n88,P5,2.73,48.7\n88,P6,2.32,49.7\n89,P1,3.83,46.8\n89,P2,7.42,54.3\n89,P3,4.08,61.9\n89,P4,7.41,52.5\n89,P5,3.32,43.9\n89,P6,3.75,56.5\n90,P1,5.81,54.6\n90,P2,6.08,49.7\n90,P3,5.34,71.1\n90,P4,3.25,74.4\n90,P5,4.83,63.9\n90,P6,5.43,56.0\n91,P1,5.58,47.5\n91,P2,4.41,43.1\n91,P3,4.16,61.8\n91,P4,6.66,62.8\n91,P5,7.45,41.3\n91,P6,4.48,71.8\n92,P1,5.2,41.2\n92,P2,5.07,65.0\n92,P3,3.9,68.6\n92,P4,6.65,64.8\n92,P5,4.66,57.6\n92,P6,5.52,43.2\n93,P1,7.66,50.3\n93,P2,7.55,57.1\n93,P3,6.37,50.8\n93,P4,6.08,64.2\n93,P5,2.4,42.9\n93,P6,4.48,62.5\n94,P1,2.48,71.4\n94,P2,6.89,56.1\n94,P3,5.65,63.2\n94,P4,6.22,67.8\n94,P5,2.4,44.6\n94,P6,2.36,62.5\n95,P1,4.03,70.6\n95,P2,3.42,60.1\n95,P3,5.41,74.7\n95,P4,6.61,62.6\n95,P5,6.33,68.9\n95,P6,4.5,49.9\n96,P1,5.42,51.7\n96,P2,2.93,68.4\n96,P3,4.73,41.4\n96,P4,4.01,71.3\n96,P5,6.32,59.5\n96,P6,3.51,58.9\n97,P1,7.35,51.3\n97,P2,6.05,71.8\n97,P3,6.26,73.5\n97,P4,2.63,44.3\n97,P5,5.38,63.8\n97,P6,2.32,65.6\n98,P1,6.15,73.1\n98,P2,2.43,40.8\n98,P3,7.29,40.1\n98,P4,6.18,74.1\n98,P5,3.57,54.2\n98,P6,3.45,40.1\n99,P1,7.11,62.0\n99,P2,3.79,54.0\n99,P3,4.41,43.5\n99,P4,3.9,46.0\n99,P5,6.4,47.0\n99,P6,6.45,62.2\n100,P1,6.26,47.4\n100,P2,5.73,52.1\n100,P3,2.39,49.5\n100,P4,2.39,61.2\n100,P5,5.24,65.0\n100,P6,6.56,45.6\n101,P1,3.53,51.2\n101,P2,4.96,59.5\n101,P3,7.57,74.8\n101,P4,4.81,71.1\n101,P5,5.08,70.5\n101,P6,2.97,46.3\n102,P1,6.12,67.7\n102,P2,6.93,40.0\n102,P3,4.37,62.3\n102,P4,5.06,63.5\n102,P5,5.21,51.5\n102,P6,4.42,63.9\n103,P1,2.6,41.8\n103,P2,5.17,41.5\n103,P3,5.85,61.9\n103,P4,3.78,65.5\n103,P5,5.38,67.9\n103,P6,4.96,48.2\n104,P1,2.64,59.8\n104,P2,7.27,71.4\n104,P3,5.58,43.2\n104,P4,3.93,69.1\n104,P5,4.19,72.6\n104,P6,7.58,48.7\n105,P1,2.94,45.6\n105,P2,2.35,42.9\n105,P3,7.56,71.7\n105,P4,4.62,58.4\n105,P5,5.54,53.9\n105,P6,4.66,51.2\n106,P1,5.9,69.7\n106,P2,3.42,68.1\n106,P3,2.95,66.9\n106,P4,5.91,56.9\n106,P5,4.53,68.7\n106,P6,3.54,50.9\n107,P1,6.15,53.8\n107,P2,4.37,52.2\n107,P3,5.21,56.6\n107,P4,7.05,46.8\n107,P5,2.04,71.7\n107,P6,2.35,68.2\n108,P1,6.47,67.6\n108,P2,6.76,56.8\n108,P3,6.43,43.0\n108,P4,3.72,52.0\n108,P5,6.22,42.5\n108,P6,4.8,57.4\n109,P1,4.84,73.2\n109,P2,2.8,68.0\n109,P3,6.45,45.3\n109,P4,6.7,45.1\n109,P5,6.55,63.6\n109,P6,7.1,46.2\n110,P1,3.03,45.6\n110,P2,4.26,48.0\n110,P3,2.41,58.6\n110,P4,4.09,42.1\n110,P5,2.64,46.8\n110,P6,3.04,68.2\n111,P1,6.3,57.8\n111,P2,4.53,67.6\n111,P3,7.14,45.2\n111,P4,6.68,60.0\n111,P5,2.48,72.4\n111,P6,7.02,68.7\n112,P1,3.48,52.7\n112,P2,6.71,61.5\n112,P3,2.2,62.3\n112,P4,5.23,58.0\n112,P5,5.55,66.6\n112,P6,7.29,54.6\n113,P1,2.98,63.4\n113,P2,4.41,45.6\n113,P3,2.98,54.6\n113,P4,2.1,44.6\n113,P5,5.7,61.7\n113,P6,5.58,54.1\n114,P1,2.28,46.0\n114,P2,3.05,43.5\n114,P3,6.81,50.5\n114,P4,6.0,56.9\n114,P5,2.57,56.3\n114,P6,4.33,73.9\n115,P1,2.69,42.9\n115,P2,6.99,63.2\n115,P3,4.8,50.0\n115,P4,7.2,62.7\n115,P5,6.06,61.8\n115,P6,6.53,60.2\n116,P1,4.24,53.7\n116,P2,3.89,62.5\n116,P3,4.44,63.6\n116,P4,4.93,60.3\n116,P5,2.97,44.1\n116,P6,4.44,63.7\n117,P1,2.26,46.7\n117,P2,2.06,73.1\n117,P3,5.44,44.0\n117,P4,4.02,54.4\n117,P5,3.74,64.6\n117,P6,6.09,56.3\n118,P1,2.51,63.5\n118,P2,4.65,46.1\n118,P3,6.61,56.9\n118,P4,6.36,67.8\n118,P5,3.41,59.9\n118,P6,6.61,45.6\n119,P1,4.9,53.6\n119,P2,5.72,65.5\n119,P3,2.76,54.3\n119,P4,4.59,43.0\n119,P5,4.81,55.6\n119,P6,5.05,46.4\n"}], "reference_answer": "P1@77"} {"task_id": "ind-vibration-alarm@2", "seed": 0, "instruction": "sensors.csv holds per-minute pump readings; limits.txt defines the alarm rule. List every pump that alarms with the minute of its first alarm, as pump@minute comma-separated and sorted by pump number (e.g. P2@57,P5@88), or none.", "files": [{"name": "limits.txt", "content": "ALARM RULE (rev 7)\nA pump alarms when vibration_mm_s is strictly greater than its limit for its required number of consecutive readings (one reading per minute).\nThe alarm time is the minute of the last reading that completes the run. Only the first alarm per pump matters. Temperature is not part of this rule.\nLimits per pump are in pump_limits.csv. A minute with no reading for a pump breaks its run (the count restarts). Readings inside that pump's maintenance window [start_min, end_min) in maintenance.csv do not count and also restart the run. sensors.csv rows are not in time order.\n"}, {"name": "maintenance.csv", "content": "pump,start_min,end_min\nP7,81,100\nP2,72,80\n"}, {"name": "pump_limits.csv", "content": "pump,limit_mm_s,consecutive_readings\nP1,4.7,7\nP2,6.2,6\nP3,5.2,8\nP4,6.2,6\nP5,7.7,8\nP6,6.2,6\nP7,7.2,7\nP8,6.2,6\nP9,6.2,6\n"}, {"name": "sensors.csv", "content": "minute,pump,vibration_mm_s,temp_c\n23,P3,2.21,41.4\n74,P1,2.25,72.6\n41,P8,3.22,60.6\n48,P3,2.48,66.2\n26,P1,2.47,53.9\n85,P8,3.09,47.1\n7,P5,3.17,41.1\n10,P3,2.45,68.7\n17,P8,3.09,50.6\n72,P8,3.6,48.2\n34,P2,6.46,64.3\n89,P3,2.97,72.6\n102,P4,3.67,52.1\n55,P5,3.58,72.4\n95,P1,3.0,59.0\n71,P7,3.31,70.1\n69,P6,3.7,64.8\n9,P8,2.41,60.7\n19,P7,2.6,69.4\n116,P5,3.34,54.4\n104,P7,3.22,69.2\n59,P3,2.79,54.0\n6,P7,2.03,70.7\n117,P9,2.71,46.5\n75,P5,2.27,57.7\n25,P9,3.19,48.8\n110,P8,3.59,53.5\n57,P5,2.23,55.3\n67,P5,3.33,42.6\n93,P4,3.01,60.7\n53,P9,2.98,51.8\n74,P9,3.63,61.4\n17,P5,3.17,52.8\n77,P6,3.63,46.6\n109,P4,2.16,57.9\n55,P6,5.7,47.3\n96,P2,2.83,70.3\n114,P1,2.83,69.3\n69,P9,3.6,43.4\n109,P3,3.29,60.8\n52,P9,3.31,70.8\n42,P8,3.25,68.3\n55,P1,3.28,47.1\n47,P2,3.7,48.7\n77,P4,2.41,59.6\n30,P4,3.7,67.6\n95,P7,9.02,70.8\n38,P4,2.58,71.7\n35,P1,3.65,65.1\n3,P4,2.6,61.9\n38,P1,2.49,59.1\n78,P2,2.51,60.9\n85,P2,3.68,65.9\n81,P2,2.82,55.8\n62,P6,2.52,40.5\n29,P1,3.3,51.8\n61,P4,3.35,54.2\n32,P6,3.26,65.0\n118,P8,3.12,71.3\n45,P3,2.54,48.0\n1,P2,2.86,49.6\n13,P9,3.61,51.3\n75,P9,3.69,47.8\n118,P1,2.47,68.0\n32,P5,2.25,71.0\n43,P4,2.34,44.0\n39,P8,3.3,42.6\n95,P3,3.47,67.4\n13,P1,2.22,41.9\n35,P2,7.53,48.2\n46,P7,3.52,56.2\n100,P2,2.65,74.9\n5,P6,2.73,74.8\n73,P6,3.52,48.6\n114,P3,2.08,68.3\n6,P1,2.61,47.8\n103,P8,2.52,58.9\n93,P8,8.85,62.0\n35,P3,2.49,59.6\n110,P9,3.35,54.4\n18,P2,2.83,57.0\n80,P3,2.83,56.8\n35,P4,3.43,67.7\n40,P4,2.86,56.3\n39,P6,5.7,74.1\n56,P3,3.49,66.0\n98,P4,3.51,55.5\n105,P1,3.29,66.4\n56,P1,3.13,68.3\n93,P9,3.3,46.7\n119,P1,2.21,58.6\n88,P5,2.21,44.6\n29,P5,2.62,70.7\n74,P7,2.46,51.9\n14,P7,8.03,56.9\n15,P9,2.32,62.1\n29,P7,9.03,72.0\n115,P1,3.16,66.0\n6,P2,2.76,73.5\n7,P3,2.1,52.3\n57,P6,3.11,46.8\n116,P4,2.81,55.2\n84,P7,3.57,46.7\n32,P9,3.11,69.1\n88,P6,2.02,62.1\n56,P4,2.97,63.4\n76,P3,3.19,40.1\n47,P3,3.63,40.7\n36,P3,3.21,51.6\n4,P1,2.26,44.7\n81,P6,3.43,65.0\n0,P5,2.63,50.8\n115,P2,2.95,51.5\n55,P8,2.81,69.3\n61,P1,3.38,44.2\n45,P9,3.36,69.0\n20,P9,3.6,51.9\n107,P8,2.99,57.3\n91,P7,2.47,49.6\n36,P6,7.79,50.4\n11,P4,3.53,67.2\n114,P7,2.85,56.6\n5,P7,2.75,56.4\n3,P6,2.31,61.1\n35,P6,8.98,67.3\n78,P1,3.57,57.4\n18,P3,2.28,40.9\n66,P9,2.7,71.8\n36,P7,8.43,69.0\n46,P5,8.24,58.8\n18,P9,3.46,58.5\n101,P3,2.98,40.2\n19,P2,2.22,54.8\n39,P5,3.41,74.9\n8,P6,3.56,73.9\n10,P6,3.58,61.2\n11,P5,2.31,64.6\n114,P2,2.6,43.4\n80,P6,2.51,46.9\n50,P2,2.33,41.9\n112,P6,2.17,40.7\n119,P5,2.32,58.5\n52,P6,8.05,72.6\n47,P5,9.31,65.3\n20,P5,2.35,74.7\n47,P9,3.36,51.2\n62,P3,3.44,66.1\n58,P1,2.61,70.9\n8,P8,2.75,52.7\n93,P2,2.16,52.9\n88,P9,6.87,74.5\n104,P6,3.33,71.5\n50,P7,8.35,58.1\n5,P2,2.95,43.2\n117,P5,3.6,69.1\n58,P6,3.21,62.4\n114,P9,2.5,62.7\n115,P7,3.08,50.0\n59,P1,2.58,74.8\n57,P2,3.57,55.3\n42,P7,3.37,51.0\n94,P7,8.13,45.8\n58,P4,2.29,50.6\n32,P7,7.69,47.4\n82,P2,2.16,57.5\n16,P8,2.3,58.7\n62,P4,2.95,62.5\n28,P3,2.45,57.6\n79,P4,3.64,60.0\n54,P7,2.78,65.7\n25,P4,2.81,71.0\n55,P7,2.8,54.5\n64,P5,2.84,74.9\n115,P9,2.49,70.3\n69,P7,3.28,50.0\n82,P6,2.01,40.9\n71,P6,3.34,53.6\n70,P9,2.78,52.5\n91,P5,3.02,57.9\n73,P7,2.05,52.2\n4,P8,3.14,71.7\n83,P5,2.17,59.4\n112,P5,3.66,43.9\n12,P6,2.41,42.7\n63,P3,3.01,62.6\n73,P4,3.36,46.2\n17,P7,6.7,47.0\n20,P8,2.13,49.5\n12,P7,8.03,56.2\n39,P4,2.29,66.7\n101,P5,3.38,56.0\n24,P1,2.66,63.0\n22,P3,2.79,73.4\n46,P4,3.45,72.9\n91,P2,2.12,56.5\n106,P3,3.02,45.9\n3,P8,2.75,58.2\n53,P2,3.46,59.8\n23,P5,2.59,47.8\n46,P3,2.39,71.6\n89,P8,7.78,68.6\n85,P9,3.57,63.0\n104,P5,3.03,72.6\n68,P6,2.93,65.6\n65,P5,2.13,65.8\n18,P6,3.23,46.6\n26,P6,3.55,60.7\n109,P6,2.38,59.7\n33,P2,6.37,61.1\n16,P5,2.76,55.8\n95,P4,3.24,47.5\n97,P2,2.05,74.0\n50,P1,3.33,67.1\n88,P3,2.2,59.2\n57,P4,3.05,51.2\n104,P2,2.28,44.6\n76,P6,2.79,41.5\n5,P4,3.5,54.4\n113,P6,2.33,50.4\n44,P4,2.98,64.7\n78,P8,2.59,48.6\n106,P6,2.54,52.3\n80,P5,3.53,60.6\n63,P2,2.57,74.5\n79,P6,3.17,68.6\n4,P5,2.94,41.9\n42,P6,2.8,59.4\n47,P8,3.09,51.6\n29,P9,3.03,53.8\n59,P9,2.8,67.2\n61,P5,3.19,42.1\n99,P5,2.2,59.1\n74,P5,2.46,45.0\n20,P1,3.46,74.3\n112,P1,2.36,66.9\n113,P7,3.36,51.0\n11,P8,3.38,58.6\n14,P1,2.21,44.9\n76,P8,3.44,68.1\n65,P7,3.22,74.5\n106,P7,2.33,72.1\n51,P1,2.44,45.1\n99,P1,2.51,48.4\n90,P8,8.71,41.4\n12,P8,3.53,52.4\n32,P8,3.51,58.6\n31,P7,7.41,60.9\n56,P8,3.42,51.5\n64,P1,3.66,45.7\n86,P1,2.55,73.1\n103,P5,2.16,40.7\n107,P5,2.52,68.4\n96,P4,2.6,63.4\n63,P5,2.32,48.9\n95,P5,3.56,53.0\n52,P2,3.37,49.6\n114,P6,2.0,50.8\n107,P6,3.5,60.4\n14,P8,2.82,47.2\n41,P5,2.36,61.5\n84,P6,3.2,53.1\n28,P4,3.45,67.8\n85,P1,2.54,69.7\n42,P3,2.32,73.8\n62,P7,3.24,58.4\n91,P4,6.2,66.1\n72,P6,2.6,41.5\n9,P3,2.99,65.7\n69,P4,2.31,68.4\n92,P5,3.63,57.3\n54,P8,3.45,54.6\n105,P5,3.41,51.1\n105,P6,3.31,45.7\n48,P5,10.05,53.6\n90,P7,3.63,70.3\n66,P4,2.7,56.1\n97,P7,7.7,40.6\n1,P4,2.49,73.6\n99,P4,2.62,58.2\n34,P1,2.28,55.2\n70,P2,2.57,48.8\n85,P6,2.32,51.5\n58,P8,2.25,53.3\n111,P2,2.72,60.6\n45,P1,2.95,66.8\n67,P9,3.61,54.0\n40,P2,3.2,72.4\n25,P2,3.37,68.6\n103,P9,3.37,44.0\n78,P6,3.33,70.9\n64,P7,2.81,69.4\n68,P8,2.69,58.5\n27,P8,2.51,62.7\n27,P1,2.56,65.7\n34,P5,3.59,71.3\n28,P5,2.28,42.5\n48,P8,2.83,50.4\n78,P7,3.56,59.8\n118,P6,2.81,47.7\n109,P8,2.39,47.4\n61,P7,3.08,63.1\n33,P4,3.11,73.8\n60,P2,2.45,56.5\n3,P5,3.45,62.0\n117,P4,3.19,41.5\n13,P2,2.93,70.9\n29,P8,2.31,41.4\n34,P6,6.51,46.0\n39,P7,3.67,70.7\n25,P6,2.33,61.0\n37,P6,7.41,64.3\n71,P2,3.2,61.7\n75,P4,2.93,42.1\n52,P4,2.2,42.3\n10,P2,3.7,67.3\n11,P1,2.82,48.7\n95,P8,3.46,46.1\n19,P3,2.17,70.3\n75,P1,3.0,40.0\n94,P4,2.11,43.0\n33,P9,3.67,65.9\n104,P1,2.3,62.9\n9,P4,2.06,54.7\n60,P5,2.57,44.0\n51,P8,3.15,56.1\n17,P9,2.91,57.5\n72,P1,2.39,48.0\n72,P7,2.72,43.1\n55,P3,2.99,58.3\n102,P8,2.03,52.3\n107,P3,2.5,63.3\n60,P8,3.27,54.2\n89,P5,2.44,65.6\n91,P9,8.46,40.2\n54,P4,3.18,63.9\n15,P1,3.17,74.7\n2,P2,3.14,59.9\n63,P9,2.94,69.0\n62,P1,3.09,70.0\n36,P2,7.51,45.3\n57,P8,3.47,43.6\n80,P1,2.5,44.7\n63,P7,3.66,73.6\n41,P6,2.65,63.4\n64,P9,3.29,63.7\n119,P8,2.3,56.8\n50,P6,8.86,51.1\n22,P7,2.54,55.6\n66,P2,2.84,48.6\n118,P5,2.23,53.1\n103,P1,3.28,66.0\n49,P8,2.17,56.7\n116,P7,2.58,49.9\n28,P2,2.26,49.2\n15,P5,2.49,61.7\n33,P7,7.96,66.1\n36,P8,2.61,48.4\n90,P2,3.39,44.5\n75,P8,2.11,68.9\n39,P2,2.24,70.7\n46,P2,3.47,74.2\n79,P8,3.3,72.1\n13,P7,9.6,58.2\n83,P7,3.23,67.6\n67,P7,2.04,59.8\n36,P9,2.23,69.3\n42,P4,2.98,70.9\n78,P9,2.29,61.9\n13,P3,2.02,60.2\n54,P3,2.63,67.9\n52,P1,2.38,74.6\n101,P9,3.03,63.5\n60,P6,3.41,65.1\n86,P5,2.46,66.1\n115,P3,2.39,50.3\n84,P4,2.87,69.8\n56,P7,3.1,63.0\n44,P3,3.56,60.6\n40,P3,3.54,68.3\n34,P3,2.39,46.5\n37,P9,3.45,44.0\n91,P1,2.8,73.0\n93,P5,2.15,64.2\n27,P9,3.38,70.0\n38,P3,2.3,40.4\n53,P4,3.19,72.1\n25,P3,2.64,72.9\n96,P6,2.35,56.2\n100,P9,3.66,51.3\n100,P8,3.09,50.7\n7,P9,2.72,51.5\n46,P8,2.51,64.2\n6,P8,3.25,65.3\n44,P1,3.69,74.7\n66,P8,2.69,41.0\n2,P1,3.21,41.0\n111,P8,3.47,50.7\n24,P5,2.46,61.4\n35,P5,2.07,71.6\n5,P8,2.11,44.1\n67,P3,2.56,56.4\n14,P5,3.12,70.8\n24,P6,3.02,49.2\n26,P2,2.17,48.5\n54,P6,8.41,67.4\n102,P2,2.88,53.2\n77,P9,3.32,62.5\n12,P3,2.38,41.9\n10,P8,2.04,73.9\n1,P6,3.66,42.7\n13,P8,2.52,66.6\n80,P4,3.28,50.6\n40,P9,2.06,44.2\n69,P5,2.38,42.7\n25,P5,3.27,54.5\n44,P2,3.42,41.8\n117,P8,2.47,47.2\n74,P8,2.69,45.9\n19,P9,3.04,53.0\n101,P4,3.39,47.8\n12,P2,2.38,52.0\n107,P7,2.43,54.3\n117,P7,2.32,54.6\n38,P6,9.07,62.2\n96,P7,8.54,59.8\n113,P8,2.28,62.9\n4,P6,2.53,57.9\n100,P6,3.46,65.2\n34,P7,7.35,56.5\n22,P4,3.07,45.1\n0,P2,3.63,40.3\n112,P4,2.83,47.6\n72,P5,2.23,73.0\n48,P2,3.65,64.2\n67,P8,2.25,50.5\n85,P5,2.36,40.4\n76,P9,2.82,64.4\n107,P1,2.33,43.5\n98,P3,3.57,40.9\n56,P2,3.59,72.4\n28,P9,2.62,61.7\n72,P2,3.23,53.2\n23,P4,2.17,66.5\n105,P8,2.39,70.4\n70,P5,3.32,59.7\n105,P4,2.03,42.6\n108,P9,2.89,42.1\n53,P7,6.7,46.7\n81,P5,2.19,46.5\n10,P5,3.65,41.4\n24,P8,2.14,55.9\n67,P1,3.55,45.1\n110,P3,3.11,56.8\n110,P4,3.7,64.8\n35,P7,8.54,45.5\n48,P4,2.52,72.8\n88,P1,2.2,69.4\n66,P6,3.25,73.9\n11,P6,2.42,57.6\n68,P1,2.96,46.1\n36,P1,2.99,67.1\n93,P1,2.93,68.0\n29,P6,2.67,52.5\n28,P8,2.99,42.0\n17,P1,2.39,73.2\n77,P1,2.52,61.8\n98,P8,2.82,46.1\n98,P7,8.9,50.5\n16,P2,2.24,70.1\n76,P4,3.2,44.0\n72,P3,2.56,66.7\n53,P6,7.22,50.9\n8,P4,2.5,62.0\n88,P2,3.04,69.1\n31,P8,2.44,65.5\n103,P3,3.62,70.7\n50,P8,2.25,53.3\n86,P7,3.02,51.9\n116,P3,3.0,63.6\n49,P6,2.64,70.0\n30,P2,2.99,53.3\n62,P5,3.57,45.1\n92,P8,8.07,43.3\n53,P8,2.44,43.1\n81,P3,2.73,67.5\n37,P2,7.57,69.0\n76,P5,2.48,41.0\n119,P4,2.56,51.7\n48,P1,2.6,48.9\n119,P6,2.14,65.6\n40,P5,3.48,68.2\n87,P1,2.69,68.7\n77,P8,3.4,45.6\n0,P3,2.96,62.9\n112,P7,2.34,54.8\n112,P9,2.46,49.9\n19,P6,3.22,60.6\n45,P7,2.35,47.2\n65,P9,3.19,60.7\n74,P3,2.45,53.1\n66,P5,2.37,56.9\n82,P3,2.37,46.8\n19,P4,2.88,71.4\n26,P9,3.43,71.3\n2,P5,2.8,74.5\n73,P8,3.51,46.5\n65,P4,3.56,67.8\n59,P7,3.68,63.7\n51,P3,3.5,53.8\n102,P5,3.65,60.4\n55,P9,2.6,68.8\n64,P6,2.18,57.0\n20,P6,2.72,69.0\n65,P8,3.49,72.1\n15,P6,2.1,50.7\n60,P9,3.26,40.9\n109,P2,2.91,58.4\n81,P7,2.49,40.7\n92,P6,2.05,52.6\n87,P2,2.08,43.8\n7,P4,2.21,45.1\n115,P6,3.7,55.9\n105,P3,3.12,61.2\n90,P5,2.25,62.4\n67,P6,2.58,45.2\n92,P7,2.64,64.5\n39,P9,3.13,57.8\n89,P2,2.42,58.9\n93,P7,3.4,53.1\n0,P9,2.07,63.3\n38,P7,9.23,64.4\n87,P3,2.79,68.9\n5,P1,3.58,73.4\n86,P4,7.83,64.7\n10,P4,2.84,68.3\n43,P2,3.68,65.2\n3,P2,3.68,67.4\n23,P1,3.32,62.9\n52,P8,2.22,43.0\n43,P9,3.37,54.8\n58,P7,3.39,71.9\n41,P2,2.2,57.6\n100,P3,3.18,43.8\n104,P3,2.01,56.0\n42,P5,2.87,55.1\n80,P9,2.9,61.0\n74,P2,3.21,66.9\n117,P6,2.9,61.1\n21,P1,3.0,56.1\n0,P1,3.21,44.8\n82,P9,2.3,62.7\n52,P5,8.54,53.2\n12,P5,2.28,58.1\n53,P5,8.36,73.2\n11,P9,2.68,51.0\n81,P8,3.69,57.2\n71,P3,2.88,55.2\n97,P3,2.61,45.3\n116,P9,3.39,52.4\n43,P1,2.02,71.7\n90,P9,6.42,70.6\n90,P4,8.91,43.4\n66,P3,2.04,71.4\n21,P5,2.05,48.4\n2,P3,2.04,59.7\n41,P3,3.69,65.9\n83,P3,3.69,59.1\n21,P2,2.1,45.6\n61,P2,2.94,53.9\n8,P5,3.49,73.4\n73,P3,2.11,43.1\n87,P9,6.86,60.0\n117,P1,2.49,73.8\n51,P6,9.0,55.7\n53,P3,3.02,65.0\n83,P6,2.84,73.8\n59,P6,3.31,55.5\n18,P1,2.35,65.1\n63,P6,2.61,72.3\n84,P8,2.85,51.3\n87,P7,3.45,66.2\n108,P1,2.23,52.5\n20,P3,3.36,53.3\n59,P4,2.01,66.3\n0,P6,2.3,65.0\n30,P1,3.65,72.4\n33,P8,2.28,63.6\n81,P1,2.64,43.6\n21,P6,3.02,73.9\n95,P6,3.53,40.2\n88,P8,2.47,71.2\n94,P8,5.7,47.2\n108,P5,2.53,69.4\n110,P1,3.08,52.6\n23,P9,2.89,70.9\n83,P2,3.25,57.9\n103,P6,2.39,70.2\n4,P4,2.01,45.6\n97,P1,2.64,74.5\n92,P9,7.6,51.9\n50,P3,2.63,41.3\n88,P7,2.97,65.0\n43,P7,2.93,61.5\n73,P9,3.36,66.8\n22,P8,2.86,47.2\n116,P1,3.53,74.3\n89,P7,3.06,73.9\n5,P5,3.29,54.5\n89,P9,8.01,62.8\n40,P1,3.45,41.8\n42,P1,2.13,47.6\n0,P8,3.19,66.3\n63,P8,2.15,45.2\n101,P7,2.66,74.7\n116,P8,2.05,64.5\n119,P7,3.35,54.7\n100,P7,6.7,40.0\n84,P5,2.49,48.7\n62,P8,3.32,73.9\n64,P8,2.29,48.8\n24,P7,3.58,69.8\n21,P3,2.21,54.8\n111,P9,3.4,55.1\n62,P9,2.28,60.5\n5,P3,2.16,72.8\n35,P8,3.57,44.6\n37,P4,2.35,43.8\n85,P7,2.96,41.5\n14,P6,2.17,63.8\n114,P4,2.39,51.4\n51,P5,9.37,52.6\n108,P7,2.17,72.7\n69,P3,2.3,71.6\n31,P5,3.12,57.4\n59,P8,3.19,42.3\n11,P2,2.66,49.9\n65,P3,2.31,44.3\n70,P4,3.31,50.4\n71,P9,2.35,73.5\n92,P2,2.67,69.1\n49,P9,2.09,54.6\n17,P2,2.36,66.1\n92,P1,2.26,65.7\n58,P9,2.71,43.4\n39,P1,2.36,58.2\n7,P8,3.67,52.1\n76,P1,3.69,44.2\n73,P1,2.35,50.9\n77,P2,2.27,65.4\n16,P9,3.21,52.6\n7,P7,3.66,47.7\n64,P2,2.44,45.8\n102,P1,2.33,71.8\n101,P2,2.49,54.9\n93,P6,2.89,67.8\n109,P9,3.33,70.7\n107,P2,3.5,74.7\n55,P4,2.27,70.8\n106,P5,3.4,58.3\n92,P3,2.46,66.9\n81,P4,3.32,65.7\n16,P1,2.28,40.3\n113,P2,3.61,59.4\n108,P8,2.43,68.6\n1,P3,2.9,69.4\n36,P4,2.96,59.6\n112,P8,3.06,57.9\n41,P4,2.52,66.2\n106,P4,2.6,57.2\n38,P8,3.22,45.4\n21,P4,2.94,50.9\n89,P1,3.41,56.2\n70,P7,3.04,47.8\n6,P9,3.62,49.7\n57,P7,2.85,49.0\n40,P8,2.12,63.4\n83,P1,2.46,45.1\n94,P6,2.45,43.4\n31,P1,2.44,45.0\n31,P2,3.37,63.6\n6,P3,2.75,63.7\n102,P3,2.18,43.4\n75,P7,2.12,44.8\n44,P6,2.43,70.8\n70,P3,3.7,73.4\n79,P7,2.78,67.7\n0,P4,3.6,54.5\n77,P7,3.39,61.2\n114,P5,3.52,43.6\n110,P7,2.36,61.3\n44,P7,3.69,46.8\n83,P4,2.94,40.8\n78,P3,2.52,43.2\n68,P4,3.1,45.5\n96,P9,2.38,59.6\n26,P5,2.83,66.7\n27,P5,3.22,61.6\n54,P9,2.33,40.2\n14,P3,3.26,60.7\n68,P2,3.26,64.4\n44,P5,7.8,58.5\n13,P4,2.21,56.9\n86,P2,2.93,62.0\n15,P4,2.83,71.4\n22,P2,2.81,42.9\n115,P4,3.27,53.2\n106,P8,2.8,50.4\n67,P2,2.36,72.5\n16,P4,3.27,51.2\n50,P5,9.72,42.3\n70,P1,3.12,60.5\n80,P2,3.05,54.7\n65,P6,3.24,50.7\n23,P2,2.39,71.3\n49,P1,2.17,52.8\n54,P5,8.01,51.3\n11,P3,3.13,43.3\n30,P9,2.19,59.6\n77,P5,2.84,61.3\n79,P3,2.85,62.1\n8,P7,2.09,44.4\n72,P4,2.09,40.8\n24,P4,3.15,63.3\n79,P2,3.56,70.7\n105,P9,2.27,70.3\n69,P2,2.02,70.3\n64,P4,3.12,72.5\n82,P1,2.2,41.5\n70,P6,2.75,65.5\n24,P9,3.18,43.2\n56,P5,2.56,48.4\n22,P6,3.06,42.5\n42,P2,2.84,67.8\n93,P3,2.71,60.5\n86,P3,2.91,56.4\n98,P1,2.13,72.0\n105,P7,3.61,51.9\n8,P2,2.18,67.1\n97,P5,3.47,53.8\n19,P5,2.51,67.4\n26,P4,3.22,43.8\n33,P1,3.09,55.1\n111,P1,2.51,68.4\n103,P2,2.86,44.3\n100,P5,2.23,42.1\n91,P3,2.5,53.9\n52,P3,2.78,48.9\n43,P8,3.59,40.4\n38,P5,2.28,49.7\n6,P4,3.55,62.3\n26,P3,2.73,60.7\n97,P8,3.3,62.4\n110,P6,2.2,68.7\n51,P2,2.43,48.1\n18,P8,2.34,55.6\n91,P8,8.96,54.0\n49,P2,2.14,40.9\n98,P6,2.22,53.7\n18,P4,2.36,71.1\n9,P2,2.64,73.4\n37,P5,3.26,51.9\n71,P4,3.53,67.2\n6,P5,3.33,49.3\n6,P6,2.24,53.1\n1,P5,2.61,68.5\n47,P6,2.36,67.4\n28,P1,2.84,63.5\n45,P2,2.21,53.9\n66,P1,2.18,64.6\n31,P9,3.36,70.7\n56,P6,2.19,63.1\n97,P9,2.87,51.7\n4,P3,3.69,43.2\n96,P3,2.29,43.5\n1,P1,2.16,58.2\n10,P9,2.96,40.4\n80,P8,2.83,73.0\n117,P2,2.21,61.6\n48,P7,9.6,51.0\n34,P4,2.22,61.3\n75,P3,2.89,70.6\n27,P2,2.06,45.5\n2,P7,3.37,62.3\n75,P2,2.64,69.8\n106,P2,3.05,53.6\n68,P5,2.78,67.8\n46,P9,2.07,62.8\n111,P3,3.14,70.5\n58,P2,3.62,54.2\n8,P3,2.63,56.8\n12,P1,3.46,62.3\n31,P3,3.55,50.7\n113,P4,3.48,43.0\n111,P4,2.87,59.7\n97,P6,3.45,67.8\n49,P3,3.28,50.9\n9,P7,2.59,49.2\n76,P7,2.13,63.4\n99,P6,3.36,72.3\n87,P6,2.84,60.9\n30,P5,2.94,67.5\n112,P3,2.66,45.9\n43,P6,3.64,50.2\n94,P2,3.4,62.8\n99,P8,3.65,41.0\n102,P9,2.29,41.4\n54,P1,3.36,50.9\n82,P8,3.01,47.1\n117,P3,3.47,74.5\n15,P2,3.35,41.1\n113,P1,3.62,41.3\n113,P9,2.48,54.4\n57,P3,2.68,61.1\n118,P2,2.12,52.8\n42,P9,3.05,73.2\n44,P9,3.22,72.5\n27,P7,2.13,71.2\n118,P3,3.59,52.2\n106,P1,2.42,50.7\n116,P6,3.32,66.7\n86,P8,3.6,70.3\n108,P3,2.8,74.7\n48,P9,3.37,61.8\n31,P6,2.22,71.2\n26,P7,2.48,64.0\n33,P6,3.11,47.0\n17,P6,2.89,63.3\n54,P2,2.51,41.2\n40,P6,3.37,74.5\n37,P3,2.37,69.2\n2,P6,2.28,68.5\n16,P6,3.36,60.7\n90,P3,2.47,62.8\n23,P8,3.35,46.3\n33,P5,3.49,49.6\n111,P7,3.62,72.5\n37,P7,8.4,47.2\n18,P7,2.6,48.1\n118,P4,3.06,72.0\n49,P4,3.49,65.3\n51,P9,2.82,70.7\n3,P3,2.7,71.4\n46,P1,3.56,70.6\n33,P3,3.48,61.2\n109,P5,2.13,52.7\n103,P7,3.64,46.4\n40,P7,3.26,71.2\n55,P2,2.33,70.3\n113,P3,2.24,56.1\n84,P1,3.52,41.9\n63,P1,3.25,41.8\n111,P6,2.3,56.9\n73,P2,3.56,56.2\n65,P1,2.7,47.2\n112,P2,2.68,61.6\n15,P3,2.79,48.1\n4,P9,3.24,73.3\n82,P7,3.15,49.8\n18,P5,2.45,42.7\n22,P5,2.07,65.0\n12,P9,3.35,72.0\n32,P2,3.27,46.3\n94,P5,2.7,67.2\n109,P7,2.15,70.2\n104,P9,2.29,70.1\n50,P4,3.62,72.9\n32,P3,2.05,65.7\n97,P4,3.24,65.4\n73,P5,2.73,46.6\n13,P5,2.67,55.6\n107,P4,2.4,43.2\n96,P8,3.58,71.6\n57,P1,3.18,40.9\n25,P7,3.7,54.6\n67,P4,3.31,43.9\n114,P8,2.78,42.7\n39,P3,3.65,42.3\n119,P2,3.69,58.2\n101,P6,3.4,67.6\n118,P9,3.62,58.3\n110,P2,2.4,46.4\n105,P2,2.12,72.0\n2,P9,3.02,45.4\n4,P7,3.67,53.6\n115,P5,3.67,60.9\n100,P4,3.06,70.6\n87,P4,7.97,50.7\n86,P6,2.12,71.4\n27,P6,2.49,70.4\n69,P8,3.28,47.7\n111,P5,2.27,59.1\n107,P9,3.35,69.5\n4,P2,3.4,52.0\n99,P9,3.28,74.6\n43,P5,8.83,54.5\n11,P7,9.05,53.7\n65,P2,3.01,59.4\n41,P7,2.01,66.8\n41,P9,3.65,58.4\n70,P8,2.63,53.8\n22,P1,2.04,64.7\n98,P2,2.45,47.3\n91,P6,2.64,52.9\n30,P7,7.64,49.3\n43,P3,3.23,63.9\n21,P7,3.55,54.8\n45,P6,2.23,57.9\n45,P4,2.0,73.8\n49,P7,9.09,67.2\n61,P9,3.31,52.8\n74,P4,2.29,72.3\n99,P3,2.45,53.9\n3,P7,2.77,70.6\n84,P9,3.47,70.1\n115,P8,3.39,59.5\n35,P9,2.66,44.3\n31,P4,3.03,52.0\n1,P9,3.39,68.2\n47,P1,3.68,65.3\n77,P3,3.15,55.3\n34,P9,2.98,55.1\n51,P7,9.14,58.5\n72,P9,2.05,55.6\n99,P2,3.16,43.3\n17,P4,3.06,53.4\n56,P9,2.55,55.5\n100,P1,3.66,69.6\n108,P2,2.79,58.7\n20,P7,2.41,50.9\n20,P2,3.66,42.4\n29,P2,2.38,56.3\n92,P4,2.98,40.8\n58,P5,3.4,66.0\n19,P8,2.42,49.5\n82,P4,3.14,52.7\n101,P8,3.7,41.9\n98,P5,2.17,57.4\n27,P3,2.99,48.7\n28,P6,2.73,55.6\n94,P3,2.17,66.8\n101,P1,2.66,72.1\n71,P1,3.31,68.1\n57,P9,2.19,46.5\n79,P5,3.61,71.9\n74,P6,2.82,59.2\n106,P9,3.22,43.1\n95,P9,2.66,52.1\n12,P4,3.62,73.9\n60,P3,2.11,51.8\n16,P3,2.73,54.5\n89,P6,2.13,45.9\n9,P9,2.65,42.9\n27,P4,3.16,70.8\n0,P7,3.63,46.3\n19,P1,2.25,54.4\n2,P8,3.09,47.6\n110,P5,3.22,67.7\n47,P4,2.86,59.7\n98,P9,3.65,48.8\n75,P6,2.38,48.7\n48,P6,3.37,52.4\n24,P2,2.35,64.7\n60,P1,2.84,73.6\n61,P3,3.54,52.4\n20,P4,3.46,52.8\n119,P9,2.86,63.6\n9,P1,3.21,46.8\n104,P8,2.91,73.4\n116,P2,2.36,48.4\n1,P7,2.83,71.7\n68,P7,3.36,47.7\n96,P1,3.61,68.7\n25,P1,3.1,45.3\n46,P6,2.58,54.3\n103,P4,2.76,71.6\n24,P3,3.62,49.1\n28,P7,3.59,51.5\n41,P1,2.86,41.7\n87,P8,3.41,46.5\n9,P5,2.27,63.3\n86,P9,2.41,67.1\n2,P4,3.49,71.5\n99,P7,8.6,55.6\n26,P8,3.2,44.6\n85,P3,2.62,61.9\n83,P8,3.59,70.6\n30,P3,2.65,45.9\n36,P5,2.67,69.3\n9,P6,2.82,43.0\n69,P1,2.01,58.6\n32,P4,3.11,63.5\n90,P6,3.4,41.3\n102,P7,2.84,60.2\n109,P1,2.06,49.8\n15,P8,3.05,51.1\n7,P1,3.15,58.9\n23,P6,2.5,59.1\n51,P4,2.57,47.8\n23,P7,3.16,54.6\n10,P7,2.57,51.4\n78,P4,2.43,67.7\n38,P2,5.7,62.4\n61,P8,2.4,66.7\n45,P5,10.59,59.1\n3,P9,3.25,64.5\n13,P6,2.68,55.2\n30,P6,3.31,67.6\n85,P4,3.3,52.6\n3,P1,3.56,69.4\n10,P1,2.65,47.7\n68,P9,2.85,70.9\n45,P8,3.5,42.7\n5,P9,2.18,44.4\n16,P7,8.29,68.2\n17,P3,2.23,56.4\n25,P8,3.3,74.1\n81,P9,2.75,58.3\n63,P4,3.13,58.7\n71,P5,2.73,42.9\n14,P2,2.05,63.4\n8,P1,3.44,44.6\n14,P9,2.64,48.5\n29,P3,2.42,74.0\n82,P5,3.65,40.7\n22,P9,2.83,50.8\n95,P2,3.26,46.6\n7,P2,2.02,58.0\n37,P1,3.47,65.5\n7,P6,3.64,71.8\n44,P8,3.12,69.3\n108,P4,2.83,51.1\n89,P4,8.06,49.8\n15,P7,7.66,70.4\n78,P5,3.06,74.3\n71,P8,3.37,42.0\n102,P6,3.11,55.1\n66,P7,2.34,71.3\n90,P1,3.67,69.9\n104,P4,2.26,42.5\n108,P6,2.83,49.5\n21,P8,2.83,55.0\n58,P3,2.43,61.5\n62,P2,2.82,63.6\n53,P1,3.31,46.9\n83,P9,3.54,56.0\n60,P7,2.95,48.6\n76,P2,3.29,51.5\n94,P1,2.36,70.4\n87,P5,2.37,70.6\n61,P6,3.31,45.2\n118,P7,2.41,44.9\n21,P9,2.93,58.2\n60,P4,2.53,45.8\n1,P8,3.05,60.8\n113,P5,2.43,73.0\n50,P9,2.24,67.9\n80,P7,2.61,62.9\n68,P3,2.82,53.6\n79,P9,2.41,57.4\n59,P2,3.46,46.8\n"}], "reference_answer": "P7@35,P9@92"} {"task_id": "ind-vibration-alarm@2", "seed": 1, "instruction": "sensors.csv holds per-minute pump readings; limits.txt defines the alarm rule. List every pump that alarms with the minute of its first alarm, as pump@minute comma-separated and sorted by pump number (e.g. P2@57,P5@88), or none.", "files": [{"name": "limits.txt", "content": "ALARM RULE (rev 9)\nA pump alarms when vibration_mm_s is strictly greater than its limit for its required number of consecutive readings (one reading per minute).\nThe alarm time is the minute of the last reading that completes the run. Only the first alarm per pump matters. Temperature is not part of this rule.\nLimits per pump are in pump_limits.csv. A minute with no reading for a pump breaks its run (the count restarts). Readings inside that pump's maintenance window [start_min, end_min) in maintenance.csv do not count and also restart the run. sensors.csv rows are not in time order.\n"}, {"name": "maintenance.csv", "content": "pump,start_min,end_min\nP1,31,39\nP4,68,74\n"}, {"name": "pump_limits.csv", "content": "pump,limit_mm_s,consecutive_readings\nP1,8.2,7\nP2,7.2,6\nP3,7.2,6\nP4,5.7,7\nP5,7.2,6\nP6,8.7,8\n"}, {"name": "sensors.csv", "content": "minute,pump,vibration_mm_s,temp_c\n34,P5,7.84,48.8\n97,P1,10.2,57.8\n112,P6,4.06,51.5\n8,P5,4.4,50.9\n89,P3,2.32,56.9\n43,P6,9.85,53.1\n104,P5,3.82,73.3\n12,P2,2.61,65.7\n113,P6,2.28,58.1\n6,P6,2.05,67.2\n77,P3,3.69,42.6\n42,P1,3.94,44.0\n94,P2,3.53,55.8\n50,P3,3.89,63.9\n102,P1,2.04,45.5\n94,P5,4.01,73.1\n106,P5,2.73,66.4\n111,P2,8.64,66.9\n13,P3,2.03,43.6\n17,P3,2.3,59.3\n85,P5,3.67,54.3\n92,P1,10.34,57.4\n93,P4,2.59,49.4\n41,P3,2.66,67.8\n19,P5,4.01,42.3\n115,P5,8.35,56.9\n86,P1,3.05,68.0\n118,P2,3.43,52.9\n10,P1,2.48,44.3\n105,P6,4.54,43.8\n71,P2,2.83,70.4\n85,P4,3.93,48.6\n95,P1,8.73,72.4\n71,P4,3.78,74.1\n117,P3,2.31,72.6\n104,P1,2.28,53.5\n42,P2,2.86,48.8\n40,P6,11.45,61.4\n29,P3,3.44,47.4\n25,P3,3.24,59.0\n9,P1,2.34,64.5\n95,P5,3.88,51.1\n20,P6,4.5,53.2\n74,P4,2.17,73.4\n22,P3,2.16,63.9\n36,P1,7.7,41.5\n115,P6,3.88,61.0\n11,P5,3.16,56.8\n43,P4,3.7,64.7\n4,P6,4.19,57.8\n19,P3,2.46,50.7\n4,P5,2.02,48.9\n8,P1,2.08,61.6\n16,P4,2.76,73.8\n41,P2,3.79,58.2\n83,P2,3.02,72.8\n78,P5,2.06,44.5\n62,P2,2.98,72.3\n113,P5,7.56,64.0\n54,P2,4.4,43.3\n117,P1,2.88,45.6\n52,P6,4.4,71.0\n27,P1,10.8,43.7\n3,P3,2.5,65.0\n38,P3,4.5,72.2\n12,P4,3.12,73.8\n27,P4,3.79,44.4\n17,P2,2.35,63.2\n112,P1,2.47,74.1\n88,P2,3.89,63.8\n6,P1,4.09,40.6\n39,P4,3.53,73.4\n118,P4,2.39,49.5\n21,P2,2.51,69.0\n92,P5,2.17,54.9\n89,P4,2.43,70.5\n104,P4,3.05,71.0\n47,P2,2.62,71.0\n102,P5,4.4,48.4\n50,P5,3.96,42.4\n115,P3,2.2,61.1\n49,P2,4.19,60.9\n61,P2,3.09,44.1\n4,P3,2.89,68.1\n85,P2,2.99,53.6\n53,P2,2.68,64.8\n65,P3,4.55,71.8\n85,P1,3.98,70.7\n78,P2,3.7,43.3\n56,P5,2.22,67.9\n92,P2,2.02,52.2\n60,P3,2.24,71.6\n13,P4,3.97,52.1\n75,P1,3.96,59.3\n74,P1,4.44,71.7\n62,P3,3.93,51.3\n52,P5,2.05,42.9\n62,P5,2.25,62.5\n46,P6,8.89,44.6\n64,P6,9.52,50.4\n82,P4,3.73,67.3\n48,P3,2.86,58.3\n29,P6,2.07,67.8\n70,P4,4.58,67.5\n72,P5,4.49,49.9\n69,P2,3.87,70.5\n33,P1,9.79,52.9\n96,P6,3.48,44.2\n17,P6,4.25,42.4\n117,P5,10.19,41.7\n59,P4,4.06,42.0\n96,P3,3.08,41.4\n117,P2,3.22,65.8\n23,P4,2.14,42.8\n31,P3,3.12,59.0\n47,P5,2.34,66.2\n11,P3,3.58,69.1\n66,P6,11.45,59.4\n59,P6,10.91,50.8\n65,P5,4.21,50.8\n29,P2,2.28,58.0\n54,P4,2.34,40.1\n23,P6,3.35,56.2\n112,P2,8.71,74.6\n76,P3,4.22,44.3\n59,P1,3.84,55.0\n67,P4,3.58,73.4\n70,P1,4.4,72.0\n103,P6,3.47,48.8\n90,P4,3.36,56.6\n104,P6,4.54,58.1\n93,P5,2.31,40.9\n88,P3,2.56,47.9\n118,P6,3.2,42.8\n7,P2,2.74,55.8\n58,P5,2.03,46.0\n105,P4,4.3,55.3\n75,P3,3.61,46.7\n33,P2,3.02,66.5\n45,P5,3.25,43.9\n56,P6,10.9,50.7\n41,P4,2.51,68.0\n92,P6,4.03,64.2\n74,P2,2.32,74.1\n46,P4,3.32,68.0\n6,P4,4.16,65.7\n74,P6,3.06,43.5\n93,P6,3.15,72.8\n72,P2,2.17,63.7\n87,P5,2.65,44.0\n43,P2,2.58,45.1\n97,P5,3.12,74.6\n79,P6,2.43,65.2\n30,P4,2.11,63.3\n68,P6,11.14,46.6\n93,P3,3.93,44.0\n30,P5,3.51,54.3\n49,P3,3.15,68.5\n52,P3,3.91,59.0\n3,P2,4.19,59.5\n77,P1,3.33,68.4\n81,P4,2.84,63.4\n1,P4,2.6,68.5\n8,P2,3.38,51.4\n21,P6,2.37,61.3\n4,P4,2.24,69.3\n107,P6,3.21,40.2\n66,P3,4.44,64.7\n12,P1,4.03,57.6\n76,P6,3.56,47.6\n53,P3,2.1,59.7\n64,P5,2.11,53.3\n114,P1,2.18,72.0\n108,P2,9.04,40.1\n68,P4,4.56,40.8\n115,P1,2.92,54.7\n18,P5,3.11,50.1\n30,P1,9.93,42.8\n81,P6,4.33,56.7\n99,P2,7.86,47.8\n91,P2,2.7,61.8\n113,P2,9.29,66.4\n67,P1,2.69,71.6\n47,P4,2.79,40.7\n53,P1,2.67,60.6\n49,P4,4.39,59.7\n20,P4,4.24,59.6\n36,P6,4.55,45.8\n102,P4,2.2,58.4\n65,P6,8.89,54.6\n3,P6,2.81,72.3\n117,P4,2.27,69.7\n100,P1,2.03,52.4\n58,P2,3.21,50.2\n13,P6,3.29,65.2\n36,P4,4.61,53.8\n24,P2,4.46,74.1\n23,P3,4.2,52.5\n95,P4,2.72,52.5\n26,P2,4.68,40.1\n38,P6,9.72,56.4\n91,P6,4.69,54.8\n103,P5,3.78,43.1\n101,P5,3.75,68.9\n17,P1,3.37,59.9\n98,P5,3.84,56.0\n92,P3,2.01,68.0\n79,P1,2.87,56.8\n50,P6,2.26,71.9\n54,P6,3.28,63.0\n37,P6,11.3,46.6\n20,P2,4.25,53.2\n60,P1,4.04,46.4\n42,P3,3.95,65.4\n16,P1,4.42,49.0\n112,P5,4.46,51.8\n40,P5,2.36,74.6\n18,P1,2.48,49.6\n118,P1,2.88,68.1\n39,P3,2.51,59.3\n65,P1,3.69,55.7\n39,P6,11.64,65.0\n87,P3,2.23,67.8\n100,P6,2.31,43.8\n107,P3,4.21,71.6\n14,P5,3.12,66.4\n3,P1,4.63,44.2\n110,P3,3.99,63.0\n40,P4,3.9,55.6\n68,P5,2.84,56.9\n45,P6,11.13,42.7\n81,P2,2.41,43.0\n2,P4,2.92,48.0\n5,P4,2.85,68.4\n89,P2,4.4,69.6\n68,P2,2.63,74.0\n72,P6,3.39,49.9\n9,P2,4.13,40.8\n2,P2,2.88,57.2\n69,P5,2.99,64.6\n17,P5,2.86,42.2\n99,P4,3.84,69.5\n1,P6,4.27,69.1\n33,P3,3.07,52.9\n66,P5,3.25,63.5\n68,P1,3.39,73.4\n99,P3,3.05,51.2\n86,P4,3.59,41.8\n67,P2,2.71,68.3\n98,P3,2.81,68.8\n102,P3,2.45,55.3\n94,P1,8.62,66.1\n39,P5,4.35,67.7\n32,P3,4.2,73.0\n51,P1,4.43,53.1\n108,P4,4.59,66.3\n82,P2,2.95,72.9\n32,P2,2.19,44.4\n44,P6,9.74,67.3\n7,P3,3.87,43.4\n99,P5,3.02,52.7\n69,P4,3.33,63.1\n43,P1,4.02,42.9\n99,P1,4.65,61.3\n35,P2,2.05,71.3\n36,P5,6.7,50.1\n89,P5,3.2,59.5\n52,P1,2.43,67.5\n78,P6,3.22,60.6\n79,P3,2.67,59.0\n24,P4,4.62,72.9\n48,P6,4.64,65.3\n89,P6,2.66,61.4\n81,P3,2.99,43.6\n36,P2,2.03,64.8\n100,P3,2.35,44.4\n31,P1,10.46,61.9\n37,P2,3.52,43.4\n94,P4,2.64,41.5\n24,P6,4.62,48.1\n43,P3,3.22,53.4\n28,P6,4.54,72.8\n82,P3,4.53,65.8\n10,P5,2.67,48.3\n81,P5,2.27,48.0\n47,P6,4.12,61.0\n98,P2,7.92,64.7\n103,P1,4.47,73.1\n56,P3,2.62,49.0\n73,P2,2.29,58.7\n97,P4,2.56,59.5\n9,P5,2.91,57.8\n31,P6,2.2,54.1\n119,P3,3.93,58.1\n110,P4,2.84,56.7\n90,P6,3.71,45.4\n114,P5,10.04,52.5\n44,P2,2.0,50.2\n107,P1,2.44,74.6\n45,P3,4.35,42.3\n33,P6,3.22,62.2\n38,P5,4.17,46.9\n29,P5,2.99,58.4\n32,P6,3.4,42.2\n36,P3,2.3,74.4\n78,P1,4.39,57.3\n55,P1,4.35,71.2\n56,P4,2.92,45.5\n102,P2,9.51,71.6\n102,P6,4.25,51.9\n29,P1,10.73,59.4\n69,P3,2.97,60.6\n87,P4,3.05,45.2\n78,P4,3.81,52.6\n6,P2,4.63,49.8\n54,P1,3.98,44.2\n32,P5,9.92,57.5\n73,P4,3.54,71.9\n52,P4,4.57,69.0\n1,P2,3.42,55.1\n106,P3,3.77,64.7\n92,P4,3.83,65.1\n84,P6,4.32,43.9\n33,P4,2.86,51.7\n40,P1,8.52,51.2\n80,P6,3.82,45.3\n67,P5,3.28,65.8\n11,P2,3.37,52.9\n93,P1,8.32,68.8\n31,P5,9.42,47.3\n10,P6,3.23,58.1\n24,P1,9.43,46.0\n84,P4,2.83,50.4\n82,P6,2.19,65.6\n10,P4,2.41,49.2\n5,P1,2.6,43.6\n26,P4,4.25,54.3\n88,P1,2.88,60.1\n93,P2,2.07,67.9\n87,P1,2.2,65.2\n69,P1,4.23,61.3\n51,P2,4.4,65.1\n107,P5,3.71,63.3\n90,P2,4.28,42.2\n119,P1,2.06,45.8\n77,P4,2.63,59.2\n118,P3,3.18,56.3\n20,P3,3.41,63.9\n9,P6,2.69,55.3\n0,P6,3.4,68.3\n63,P6,9.6,67.4\n0,P4,4.67,57.7\n58,P4,4.1,40.5\n63,P1,2.94,69.5\n48,P4,4.15,46.8\n101,P2,7.65,45.4\n85,P3,2.19,72.9\n26,P1,9.91,56.8\n85,P6,2.19,50.7\n2,P5,4.46,46.8\n62,P6,10.16,64.0\n91,P4,2.09,54.2\n105,P2,7.95,44.8\n10,P2,2.42,64.5\n34,P2,3.31,60.5\n11,P4,3.32,59.5\n75,P2,4.6,46.5\n42,P5,4.65,49.0\n98,P4,3.77,44.8\n80,P2,3.17,63.7\n13,P1,3.18,64.6\n57,P3,2.81,56.3\n109,P3,2.06,74.5\n26,P5,4.22,40.6\n46,P2,4.4,62.8\n5,P2,2.54,51.3\n48,P5,4.28,59.0\n22,P4,4.64,73.6\n94,P6,3.91,51.4\n27,P6,4.19,69.7\n110,P6,2.2,67.7\n70,P6,8.2,73.8\n67,P3,3.1,50.6\n44,P4,3.07,41.6\n62,P1,4.33,55.6\n40,P2,3.26,53.3\n110,P5,4.12,53.2\n111,P1,4.41,72.8\n24,P3,3.57,60.6\n0,P5,2.46,74.1\n108,P1,3.82,66.3\n62,P4,3.68,68.8\n26,P6,3.4,52.3\n26,P3,2.83,73.1\n98,P1,9.59,64.7\n108,P6,4.31,48.7\n83,P1,4.3,63.2\n22,P1,10.31,43.8\n50,P4,4.57,45.7\n34,P1,10.63,55.3\n116,P1,4.52,68.5\n88,P6,4.67,52.7\n119,P2,2.27,44.8\n10,P3,3.49,64.1\n57,P2,4.32,74.0\n48,P2,2.76,60.4\n97,P2,2.91,41.4\n70,P2,3.04,55.4\n27,P5,2.44,51.9\n107,P2,8.07,44.8\n28,P1,10.71,72.2\n109,P5,4.06,71.6\n38,P4,2.29,48.7\n48,P1,2.52,72.6\n37,P4,2.52,74.7\n44,P5,3.99,66.8\n22,P5,3.53,54.4\n64,P3,3.11,52.8\n44,P3,2.52,50.9\n96,P1,8.56,60.3\n107,P4,4.12,44.4\n34,P6,2.49,56.2\n59,P2,4.54,68.1\n63,P3,3.4,43.3\n46,P3,4.22,45.0\n109,P2,8.4,49.8\n84,P2,4.47,53.7\n80,P4,4.26,55.4\n23,P1,8.36,74.6\n63,P2,2.25,52.1\n76,P2,2.96,61.1\n3,P5,3.65,74.3\n20,P5,3.34,71.4\n53,P4,2.6,53.0\n101,P3,3.92,73.3\n18,P3,4.15,43.2\n104,P2,8.02,52.9\n115,P2,2.71,50.6\n5,P3,3.62,67.1\n52,P2,3.18,40.5\n49,P1,4.0,58.4\n30,P6,2.3,74.3\n72,P1,2.06,64.9\n15,P1,3.78,71.4\n53,P6,4.03,67.5\n71,P5,3.03,45.7\n119,P6,2.93,64.7\n14,P2,3.03,69.0\n5,P6,3.08,63.0\n84,P1,2.51,60.7\n51,P3,2.49,63.3\n21,P4,3.24,72.4\n1,P1,2.44,53.4\n37,P3,3.24,65.4\n110,P2,9.27,74.0\n73,P5,2.6,56.2\n57,P6,9.25,61.0\n19,P6,3.9,51.6\n61,P1,2.43,48.9\n67,P6,11.35,68.3\n56,P1,3.84,48.3\n114,P3,2.26,65.3\n103,P3,3.2,40.9\n57,P4,3.24,70.5\n71,P3,2.62,73.4\n19,P4,2.23,69.6\n109,P1,2.24,63.4\n73,P3,4.29,43.2\n25,P1,10.56,71.9\n118,P5,6.7,54.3\n13,P5,2.63,43.3\n35,P5,8.9,56.2\n111,P3,3.18,57.8\n65,P4,4.33,61.7\n114,P2,4.04,55.4\n25,P6,4.02,50.2\n55,P4,2.73,44.1\n49,P6,2.84,71.7\n27,P2,3.72,45.9\n94,P3,2.64,54.3\n16,P6,2.18,45.0\n83,P3,4.31,65.6\n22,P6,4.42,72.2\n42,P6,11.6,60.9\n22,P2,3.65,59.2\n15,P6,2.57,73.6\n55,P5,3.19,70.5\n95,P2,2.88,67.1\n50,P1,2.6,67.6\n18,P4,2.89,65.8\n108,P5,3.31,69.0\n45,P2,2.67,51.9\n25,P4,4.25,67.8\n116,P2,3.71,69.6\n35,P6,3.29,40.4\n39,P1,8.92,43.6\n41,P1,7.7,54.3\n28,P4,2.13,71.2\n108,P3,2.58,45.4\n31,P4,3.19,69.4\n2,P6,3.57,51.4\n110,P1,4.53,73.3\n82,P1,3.41,43.7\n11,P1,3.7,58.8\n91,P3,4.66,55.0\n83,P4,2.26,62.7\n2,P1,3.7,43.3\n59,P3,2.13,54.0\n101,P4,2.05,51.7\n4,P1,2.7,46.3\n101,P6,2.49,72.7\n30,P2,2.51,49.4\n84,P5,4.3,74.9\n74,P5,2.78,63.9\n55,P2,4.58,55.0\n99,P6,3.68,74.9\n77,P5,4.11,72.0\n15,P2,3.43,43.4\n111,P5,3.64,50.4\n84,P3,4.27,48.2\n24,P5,2.72,44.8\n117,P6,3.54,56.5\n0,P3,2.81,71.0\n116,P4,2.42,47.0\n25,P2,4.52,66.4\n87,P2,3.33,73.0\n58,P3,3.59,63.0\n35,P1,9.86,74.7\n58,P1,4.42,73.6\n0,P1,2.63,41.5\n15,P3,2.34,68.1\n72,P3,3.38,44.6\n88,P4,3.75,63.0\n28,P5,3.94,61.7\n106,P1,2.94,57.1\n11,P6,4.14,74.3\n113,P1,3.7,57.3\n28,P2,2.37,64.3\n97,P3,2.82,63.4\n46,P5,2.45,63.9\n37,P1,8.48,62.2\n54,P3,4.59,63.3\n71,P6,2.67,50.4\n103,P2,6.7,52.1\n79,P5,2.82,66.0\n116,P6,3.57,74.1\n79,P2,2.44,51.1\n106,P2,9.95,64.1\n98,P6,3.85,50.0\n69,P6,9.58,73.1\n8,P4,3.25,63.0\n89,P1,2.03,57.4\n4,P2,3.92,56.7\n77,P2,2.31,52.1\n12,P6,4.03,41.0\n106,P6,3.35,51.4\n83,P5,3.04,65.4\n16,P3,3.77,52.6\n38,P2,3.55,68.9\n54,P5,3.84,60.2\n58,P6,9.55,70.8\n86,P5,2.81,67.8\n60,P4,4.65,71.0\n73,P1,3.35,66.8\n9,P3,3.74,46.3\n31,P2,4.39,57.7\n75,P4,2.24,72.7\n50,P2,3.23,65.5\n61,P3,4.34,43.2\n5,P5,4.34,51.1\n116,P3,2.83,71.3\n113,P3,2.3,55.6\n103,P4,3.21,74.5\n29,P4,4.63,53.5\n74,P3,4.63,71.8\n37,P5,3.97,64.2\n55,P6,4.21,41.3\n105,P1,3.55,48.7\n73,P6,3.73,71.8\n14,P3,2.32,55.2\n9,P4,4.47,46.1\n39,P2,2.74,59.0\n119,P4,4.28,58.4\n100,P2,8.45,58.2\n80,P5,2.9,71.7\n14,P1,2.0,64.6\n49,P5,3.39,52.5\n6,P5,4.57,64.6\n77,P6,3.11,68.2\n90,P5,4.28,46.6\n65,P2,2.89,55.3\n6,P3,4.38,68.4\n51,P4,2.68,44.0\n16,P5,2.48,46.1\n34,P4,2.13,72.1\n0,P2,2.84,59.7\n47,P3,3.56,53.7\n63,P4,2.82,43.1\n21,P5,3.12,56.0\n27,P3,3.27,60.0\n96,P2,3.9,69.8\n105,P5,2.55,59.8\n19,P2,3.35,67.0\n12,P5,2.1,58.1\n40,P3,3.91,55.7\n66,P2,2.67,56.4\n56,P2,2.13,41.0\n112,P4,3.26,66.1\n111,P6,2.46,44.1\n106,P4,3.63,72.4\n64,P4,4.06,66.9\n38,P1,10.69,47.3\n116,P5,8.84,59.9\n111,P4,4.28,42.5\n61,P5,4.13,52.7\n80,P1,3.85,73.3\n3,P4,3.04,60.3\n21,P3,3.65,56.7\n95,P3,4.1,65.9\n60,P2,3.94,64.6\n114,P4,3.0,52.9\n8,P3,4.01,45.5\n28,P3,3.84,59.7\n32,P4,4.52,53.4\n16,P2,3.62,73.3\n33,P5,7.44,65.7\n95,P6,2.92,42.6\n41,P5,4.3,45.0\n57,P5,3.25,65.2\n42,P4,2.78,45.1\n75,P6,3.12,42.9\n100,P5,3.24,50.2\n86,P3,3.78,49.2\n119,P5,3.59,62.8\n7,P5,2.25,47.2\n60,P6,11.63,74.3\n76,P5,4.5,41.9\n82,P5,2.53,57.3\n114,P6,3.67,66.5\n45,P4,4.44,47.6\n51,P6,2.95,45.0\n61,P6,9.95,49.2\n70,P5,3.95,56.6\n86,P2,3.73,40.0\n81,P1,2.16,56.0\n47,P1,3.55,46.5\n53,P5,3.28,50.1\n113,P4,4.34,69.3\n25,P5,2.61,74.5\n1,P3,2.47,46.5\n66,P4,4.49,41.6\n23,P5,4.26,63.3\n20,P1,3.33,74.6\n7,P6,2.85,60.5\n51,P5,3.22,53.4\n35,P4,3.64,42.2\n68,P3,2.7,69.7\n23,P2,2.11,66.2\n109,P6,3.14,56.0\n60,P5,4.09,53.9\n105,P3,4.29,43.7\n101,P1,2.15,71.3\n87,P6,4.37,57.9\n44,P1,3.43,68.8\n13,P2,3.5,52.8\n14,P6,4.49,51.9\n70,P3,4.36,73.4\n91,P5,2.09,50.9\n90,P3,4.28,47.5\n112,P3,4.4,63.9\n59,P5,2.31,53.2\n61,P4,4.42,53.8\n78,P3,3.16,68.6\n41,P6,9.98,42.4\n15,P5,3.93,72.3\n96,P4,4.69,72.8\n83,P6,4.39,41.8\n30,P3,3.75,63.6\n115,P4,3.2,52.2\n35,P3,3.91,62.2\n14,P4,2.46,63.2\n76,P4,3.47,73.0\n12,P3,3.28,47.1\n1,P5,4.13,63.3\n19,P1,3.78,46.0\n64,P1,2.97,66.4\n91,P1,10.2,40.6\n86,P6,4.33,58.1\n46,P1,3.15,60.8\n18,P6,3.35,64.5\n57,P1,2.71,59.0\n17,P4,2.56,48.5\n55,P3,2.68,74.3\n21,P1,9.14,70.7\n71,P1,4.67,51.1\n80,P3,3.29,40.8\n88,P5,4.49,56.3\n72,P4,4.12,66.5\n45,P1,3.81,48.0\n90,P1,10.95,55.2\n75,P5,3.36,46.5\n66,P1,2.91,57.0\n34,P3,2.53,49.8\n8,P6,4.15,46.5\n7,P1,4.22,66.2\n15,P4,4.23,69.3\n43,P5,2.48,42.7\n76,P1,3.17,65.9\n7,P4,4.11,69.0\n100,P4,2.53,73.7\n32,P1,10.96,48.1\n79,P4,3.04,45.9\n"}], "reference_answer": "P1@27,P2@109,P6@44"} {"task_id": "ind-vibration-alarm@2", "seed": 2, "instruction": "sensors.csv holds per-minute pump readings; limits.txt defines the alarm rule. List every pump that alarms with the minute of its first alarm, as pump@minute comma-separated and sorted by pump number (e.g. P2@57,P5@88), or none.", "files": [{"name": "limits.txt", "content": "ALARM RULE (rev 8)\nA pump alarms when vibration_mm_s is strictly greater than its limit for its required number of consecutive readings (one reading per minute).\nThe alarm time is the minute of the last reading that completes the run. Only the first alarm per pump matters. Temperature is not part of this rule.\nLimits per pump are in pump_limits.csv. A minute with no reading for a pump breaks its run (the count restarts). Readings inside that pump's maintenance window [start_min, end_min) in maintenance.csv do not count and also restart the run. sensors.csv rows are not in time order.\n"}, {"name": "maintenance.csv", "content": "pump,start_min,end_min\nP8,16,34\nP1,81,90\n"}, {"name": "pump_limits.csv", "content": "pump,limit_mm_s,consecutive_readings\nP1,6.2,5\nP2,6.2,3\nP3,5.7,6\nP4,7.2,4\nP5,5.7,5\nP6,7.2,4\nP7,7.2,4\nP8,7.2,4\nP9,7.2,4\n"}, {"name": "sensors.csv", "content": "minute,pump,vibration_mm_s,temp_c\n15,P3,2.34,74.3\n50,P4,2.41,73.9\n88,P7,2.72,60.3\n80,P1,3.6,55.5\n117,P9,3.5,49.1\n106,P6,3.35,50.5\n93,P2,2.96,51.8\n35,P4,4.27,51.5\n4,P3,3.77,49.4\n46,P4,3.89,65.4\n22,P3,4.22,51.0\n84,P2,3.77,56.2\n62,P7,4.02,67.9\n74,P2,2.94,41.9\n20,P1,2.64,46.3\n113,P7,9.79,56.7\n15,P6,4.05,74.3\n71,P2,7.03,43.1\n51,P8,2.17,55.2\n10,P5,3.76,46.9\n75,P3,2.43,70.7\n49,P8,4.11,66.4\n59,P6,2.94,46.8\n11,P1,4.5,54.2\n105,P2,2.83,52.6\n79,P1,3.73,60.6\n103,P3,3.0,48.2\n36,P6,4.51,46.6\n4,P7,3.9,53.7\n110,P2,4.06,44.9\n51,P9,3.66,50.5\n97,P1,4.01,63.3\n110,P3,2.63,70.2\n108,P5,7.72,65.7\n79,P3,2.62,54.4\n16,P5,2.17,44.4\n7,P4,2.78,60.9\n108,P1,3.28,63.0\n85,P4,8.6,56.3\n12,P6,4.15,73.7\n64,P6,3.31,43.6\n22,P6,4.04,53.7\n54,P3,2.86,56.8\n8,P6,3.54,69.6\n33,P2,2.93,49.8\n21,P5,3.25,41.9\n71,P8,4.49,45.9\n7,P1,3.64,45.3\n40,P2,3.18,54.1\n36,P2,4.2,60.5\n43,P8,2.08,50.1\n89,P8,2.54,62.2\n72,P8,4.18,50.6\n94,P4,3.3,40.1\n26,P9,7.78,70.7\n47,P6,2.71,61.2\n47,P2,3.47,51.3\n23,P2,3.08,43.4\n59,P4,4.38,73.6\n0,P2,4.56,63.5\n118,P4,2.3,42.5\n78,P8,3.14,60.3\n87,P6,2.64,44.8\n81,P9,2.64,45.9\n73,P4,3.03,65.5\n60,P8,3.9,43.4\n0,P6,2.17,49.3\n99,P7,2.26,71.1\n43,P5,2.87,70.5\n21,P4,4.21,46.4\n33,P5,2.33,51.9\n39,P2,3.78,41.8\n62,P1,3.17,51.3\n28,P3,2.43,67.2\n117,P1,3.72,40.9\n23,P7,3.98,48.0\n12,P1,3.64,40.1\n63,P6,3.35,43.5\n30,P7,3.88,66.3\n38,P2,4.03,67.3\n52,P9,2.19,65.1\n40,P5,2.19,60.5\n45,P7,4.32,40.5\n118,P6,2.14,68.8\n25,P3,3.58,55.7\n108,P7,3.72,64.0\n113,P9,4.26,53.7\n112,P2,4.02,59.0\n55,P2,3.29,62.3\n18,P3,3.79,40.9\n32,P4,2.85,55.9\n48,P6,3.27,48.3\n85,P9,2.28,67.0\n23,P6,3.87,57.1\n90,P7,4.13,69.0\n77,P6,4.32,40.4\n51,P1,3.28,73.4\n20,P9,3.58,47.4\n35,P5,3.04,65.5\n68,P7,4.39,66.8\n30,P4,2.42,42.2\n46,P5,2.88,49.3\n74,P4,2.12,58.2\n79,P5,2.69,56.1\n83,P9,4.13,72.9\n81,P5,3.63,48.0\n106,P8,4.48,69.5\n11,P7,4.08,59.5\n4,P8,2.62,48.9\n43,P4,4.51,47.7\n73,P2,6.2,42.5\n90,P6,4.11,51.4\n81,P3,3.34,57.4\n102,P3,3.85,74.2\n51,P3,6.98,63.2\n87,P9,3.23,53.1\n73,P3,3.57,42.0\n91,P1,2.26,56.5\n67,P5,4.23,67.8\n9,P1,4.13,40.4\n44,P6,6.7,50.4\n96,P5,2.36,49.3\n70,P6,3.92,68.1\n25,P9,4.53,61.7\n10,P2,8.09,44.3\n2,P4,2.32,45.0\n77,P7,2.16,71.2\n28,P4,2.31,63.0\n101,P2,2.86,73.8\n53,P5,3.26,71.0\n26,P3,3.54,43.9\n86,P7,3.52,45.6\n75,P4,4.69,70.3\n40,P3,2.31,55.8\n115,P1,2.42,65.2\n6,P2,2.98,71.4\n100,P8,4.18,50.1\n71,P4,2.39,55.1\n99,P4,3.61,75.0\n6,P4,2.83,65.6\n91,P6,2.91,59.4\n80,P7,2.7,61.5\n83,P5,7.53,60.0\n86,P4,9.97,41.2\n40,P1,4.46,64.2\n71,P3,2.67,51.3\n15,P9,4.05,48.0\n57,P3,3.02,53.1\n45,P6,3.16,48.3\n50,P5,3.59,42.0\n77,P4,3.79,64.6\n116,P5,2.15,65.1\n71,P6,4.62,47.2\n11,P4,2.32,64.8\n38,P1,3.42,54.6\n109,P2,3.66,54.7\n6,P7,3.67,65.0\n43,P6,9.4,40.5\n96,P6,3.74,42.9\n69,P5,2.58,44.5\n89,P6,2.32,73.3\n49,P7,2.2,44.2\n107,P9,3.29,72.5\n82,P3,3.97,50.4\n83,P8,4.13,45.3\n62,P2,4.38,40.6\n78,P5,3.52,50.2\n82,P5,3.82,43.2\n15,P4,3.44,51.9\n63,P3,4.29,54.1\n116,P7,7.2,73.0\n3,P1,3.55,50.7\n42,P2,2.56,74.2\n98,P2,4.55,45.7\n119,P3,2.03,74.2\n13,P5,3.97,61.5\n61,P2,3.53,62.3\n47,P1,4.27,64.9\n91,P7,3.1,54.2\n1,P1,2.26,43.6\n13,P7,2.18,72.0\n81,P1,2.35,54.4\n75,P1,2.03,49.4\n110,P4,2.14,60.0\n118,P1,4.58,61.6\n115,P4,2.82,67.3\n0,P1,4.57,60.6\n4,P9,3.68,55.0\n73,P8,3.72,49.3\n41,P9,2.82,63.8\n62,P8,4.41,66.2\n104,P4,3.63,60.7\n76,P6,3.94,66.0\n27,P7,4.05,54.5\n6,P8,4.26,56.3\n14,P7,4.56,70.0\n95,P2,3.91,71.2\n37,P2,3.04,46.2\n68,P8,3.47,53.7\n83,P7,3.75,53.9\n39,P9,2.21,69.7\n71,P5,4.32,55.4\n38,P7,3.46,46.2\n115,P2,3.22,63.6\n5,P8,2.96,58.0\n70,P4,2.2,72.3\n1,P3,3.42,68.8\n1,P6,3.89,65.3\n15,P7,2.06,74.4\n64,P8,4.46,43.9\n116,P6,4.14,50.3\n40,P9,3.49,65.4\n14,P4,3.81,55.6\n83,P6,3.99,47.0\n98,P5,3.73,74.6\n41,P2,2.29,42.7\n41,P8,2.7,46.8\n111,P4,2.72,60.9\n67,P1,4.29,50.8\n66,P1,2.29,48.5\n19,P7,4.28,52.6\n30,P1,3.8,68.1\n56,P1,3.22,49.6\n100,P5,4.22,69.7\n72,P9,2.87,45.0\n105,P1,3.51,66.0\n83,P1,3.95,42.1\n38,P5,4.4,62.5\n81,P8,3.59,59.1\n110,P7,2.53,51.7\n82,P9,2.38,64.0\n57,P4,4.65,73.9\n59,P1,3.51,70.4\n21,P1,4.59,41.6\n108,P6,3.2,51.0\n93,P6,4.26,52.5\n102,P2,4.56,42.4\n1,P2,3.83,66.4\n43,P3,3.22,49.0\n114,P2,2.33,56.4\n102,P6,3.61,54.2\n94,P3,4.33,71.0\n51,P4,3.29,58.4\n18,P1,2.84,46.5\n119,P5,4.2,52.6\n83,P4,3.87,53.8\n37,P3,4.65,65.6\n39,P8,3.13,50.9\n117,P8,4.06,69.4\n57,P7,4.67,68.2\n95,P1,3.88,50.1\n51,P6,2.85,74.2\n5,P7,4.28,40.8\n1,P5,3.89,43.1\n64,P2,3.38,74.7\n43,P1,3.96,74.7\n79,P6,3.45,60.9\n27,P8,4.24,55.1\n45,P5,2.35,63.9\n109,P4,2.89,65.3\n81,P4,4.24,49.3\n49,P5,3.71,40.2\n43,P9,2.25,71.2\n98,P7,2.67,43.5\n101,P5,3.27,41.0\n12,P4,4.28,48.5\n102,P1,3.37,43.2\n92,P3,3.47,65.4\n17,P6,2.95,67.9\n106,P1,3.86,44.2\n10,P9,3.54,58.2\n117,P2,2.79,73.9\n101,P6,3.95,64.1\n97,P8,2.53,48.5\n48,P3,7.19,72.5\n75,P5,4.0,61.5\n72,P6,3.15,54.9\n13,P9,4.48,63.3\n96,P4,4.24,56.7\n86,P8,2.36,57.2\n105,P7,2.35,66.9\n92,P4,2.25,50.8\n95,P3,2.37,47.1\n47,P3,7.03,72.4\n20,P6,3.49,46.5\n113,P4,3.94,72.8\n14,P8,3.77,45.3\n44,P1,2.71,64.5\n43,P2,3.28,45.5\n16,P9,2.48,57.2\n35,P3,2.29,56.8\n116,P1,3.46,63.2\n108,P4,2.43,45.8\n18,P5,2.52,52.8\n24,P6,3.88,65.0\n112,P1,2.75,49.5\n67,P4,3.08,62.7\n93,P4,2.02,60.7\n105,P6,2.37,60.0\n1,P9,2.13,47.7\n29,P8,10.05,62.4\n84,P8,3.58,65.7\n2,P2,3.06,61.7\n17,P4,3.38,45.0\n62,P9,3.72,41.4\n78,P4,2.93,44.7\n55,P9,4.45,50.1\n80,P4,3.31,72.4\n88,P5,7.86,65.7\n80,P6,3.4,40.3\n11,P9,4.58,48.7\n47,P8,2.8,58.1\n93,P8,4.22,63.1\n12,P8,2.97,73.9\n10,P6,3.62,60.9\n46,P6,3.61,54.6\n4,P4,2.82,48.3\n92,P5,2.44,69.9\n63,P1,4.46,47.0\n59,P7,2.04,69.6\n78,P3,2.69,64.8\n26,P8,2.0,55.3\n61,P5,4.47,60.5\n111,P8,2.61,54.6\n21,P8,4.2,64.5\n60,P4,2.57,58.8\n69,P1,4.69,65.5\n18,P6,3.47,49.4\n90,P2,3.2,47.7\n41,P1,2.0,67.4\n8,P2,2.13,41.1\n32,P7,2.62,51.4\n5,P1,2.13,73.3\n65,P6,3.64,46.6\n22,P1,4.59,61.1\n48,P8,2.6,64.9\n12,P9,3.47,52.9\n116,P8,2.29,53.7\n39,P1,3.57,59.9\n55,P8,2.69,45.3\n86,P2,4.46,47.0\n53,P3,3.63,52.8\n32,P9,4.69,42.4\n64,P5,2.71,71.9\n94,P2,4.5,52.7\n118,P8,3.78,58.6\n16,P6,2.36,45.6\n47,P4,3.89,41.7\n110,P1,3.72,51.6\n2,P3,2.19,73.9\n113,P2,4.16,51.5\n106,P9,3.63,67.4\n41,P4,3.33,54.3\n24,P9,3.37,73.3\n82,P6,2.7,48.7\n14,P5,2.04,54.4\n37,P8,2.48,57.5\n89,P7,3.07,61.7\n28,P1,4.58,61.7\n61,P8,3.0,69.1\n55,P3,2.29,45.5\n113,P3,2.68,64.5\n117,P7,4.01,47.9\n100,P3,4.59,47.1\n58,P9,2.18,68.0\n101,P9,4.09,71.3\n37,P9,4.66,40.3\n84,P4,2.28,43.8\n47,P7,4.05,61.0\n94,P5,4.33,52.9\n74,P3,2.7,53.6\n58,P7,3.67,72.6\n14,P9,4.05,63.5\n117,P6,2.98,51.2\n115,P9,3.82,64.5\n51,P5,2.91,56.9\n49,P9,2.58,67.2\n28,P7,3.26,40.3\n12,P2,6.2,49.8\n55,P1,4.22,50.2\n9,P2,3.15,58.5\n34,P5,2.6,40.0\n59,P9,2.51,57.1\n27,P9,8.65,46.4\n40,P7,2.32,56.6\n116,P3,2.5,70.9\n53,P7,4.01,42.5\n48,P5,4.68,44.5\n34,P7,4.63,40.5\n79,P4,3.93,63.9\n44,P7,4.37,52.6\n10,P3,2.56,67.8\n82,P4,4.37,47.2\n24,P7,2.67,71.8\n7,P3,3.14,62.1\n109,P6,3.35,64.6\n84,P3,2.23,59.1\n3,P6,3.83,52.4\n35,P2,4.51,50.1\n61,P9,4.7,54.8\n16,P8,8.13,55.2\n81,P6,3.59,41.6\n86,P6,3.82,59.3\n102,P7,4.06,73.6\n38,P9,3.34,44.8\n78,P2,2.96,42.0\n45,P3,2.14,59.0\n3,P4,2.1,42.1\n65,P9,2.71,50.0\n32,P8,6.7,40.9\n115,P6,4.38,63.5\n102,P8,3.65,45.2\n34,P8,4.28,50.9\n4,P5,2.03,55.9\n99,P3,3.2,46.1\n28,P9,7.51,64.9\n8,P5,2.34,74.0\n75,P7,2.72,58.6\n31,P6,4.62,50.8\n66,P7,2.37,51.0\n90,P1,2.04,41.3\n56,P8,2.48,40.5\n8,P1,2.75,50.6\n55,P6,3.97,58.7\n119,P9,3.78,73.3\n30,P5,2.56,50.7\n44,P4,2.21,41.9\n62,P3,4.37,74.9\n114,P9,3.98,40.3\n95,P9,2.04,53.6\n103,P1,3.22,66.5\n8,P3,4.4,72.5\n35,P7,2.14,55.3\n87,P4,9.23,63.9\n23,P1,4.22,42.3\n76,P5,4.6,52.9\n60,P1,4.14,72.9\n93,P5,3.71,55.3\n45,P1,4.37,63.3\n63,P4,3.6,45.2\n20,P4,3.94,62.1\n64,P3,3.76,62.3\n13,P3,3.36,70.7\n67,P8,4.29,67.2\n74,P6,2.87,59.8\n97,P9,4.35,56.9\n117,P4,3.1,65.5\n42,P1,3.99,48.6\n44,P3,2.28,61.1\n44,P9,4.51,46.0\n63,P2,2.94,67.9\n50,P3,8.46,71.6\n32,P6,3.57,59.0\n96,P3,3.11,62.3\n2,P5,4.21,69.0\n99,P8,2.63,54.5\n103,P9,4.25,55.6\n70,P2,2.49,40.7\n76,P3,2.07,68.2\n101,P7,2.9,57.8\n10,P4,2.3,47.8\n37,P5,4.23,45.3\n95,P7,2.23,59.4\n89,P2,2.15,51.1\n90,P4,8.9,64.9\n27,P3,4.39,67.3\n116,P9,3.36,69.1\n19,P5,4.52,45.3\n114,P7,9.78,43.2\n65,P5,3.91,62.1\n82,P2,3.37,56.8\n110,P8,2.88,74.7\n19,P2,4.28,47.4\n27,P2,3.64,53.5\n71,P7,2.9,66.4\n58,P8,3.9,41.2\n92,P9,2.69,46.9\n104,P6,2.08,57.5\n108,P9,4.27,64.5\n67,P9,3.66,50.1\n16,P2,3.77,62.4\n63,P7,4.47,48.6\n60,P2,3.43,59.8\n36,P3,4.16,66.5\n92,P8,3.26,44.8\n31,P8,8.07,65.1\n59,P3,4.53,68.4\n75,P6,2.25,57.0\n93,P9,3.54,57.9\n3,P2,3.76,52.8\n32,P1,2.19,61.9\n41,P5,3.84,44.4\n61,P7,2.39,67.7\n64,P4,2.12,68.3\n52,P1,2.03,72.7\n68,P5,3.73,65.6\n89,P4,7.65,51.8\n108,P2,3.83,47.7\n20,P5,3.09,68.1\n65,P4,4.25,57.8\n73,P7,4.48,44.7\n78,P9,2.68,47.2\n118,P5,2.15,66.3\n9,P6,4.05,69.0\n17,P1,3.58,59.7\n11,P8,2.64,54.2\n88,P4,10.04,64.4\n65,P7,4.68,73.2\n54,P9,3.72,68.9\n89,P3,3.0,74.0\n1,P8,3.62,54.1\n23,P9,2.93,70.5\n57,P8,3.83,60.5\n52,P6,2.22,71.4\n112,P7,2.16,46.7\n22,P5,3.9,53.6\n58,P2,4.69,52.8\n49,P6,2.86,45.8\n5,P4,2.58,63.9\n86,P5,7.04,72.9\n107,P2,2.19,54.7\n42,P4,4.5,49.0\n42,P8,3.24,73.2\n22,P7,2.65,68.9\n67,P6,2.21,51.4\n87,P8,4.36,68.9\n46,P7,3.92,73.2\n100,P4,3.24,56.7\n86,P3,4.39,48.4\n31,P9,2.13,49.6\n36,P4,2.25,48.2\n50,P6,4.48,67.9\n77,P8,4.08,53.8\n40,P8,2.32,58.4\n63,P8,2.59,54.8\n53,P2,2.82,48.2\n100,P1,2.04,44.3\n48,P9,2.45,64.0\n26,P6,4.61,63.2\n83,P3,4.42,45.5\n23,P8,3.67,56.1\n49,P4,3.76,66.2\n50,P9,2.72,66.2\n20,P8,3.22,61.0\n9,P9,4.56,63.4\n34,P9,3.6,58.6\n13,P4,3.83,63.8\n118,P3,4.26,56.7\n77,P1,3.09,60.5\n40,P6,2.15,70.5\n95,P8,3.05,62.2\n99,P5,4.13,59.3\n2,P6,3.83,60.8\n106,P2,3.49,41.7\n46,P2,3.76,46.9\n34,P3,4.47,71.9\n29,P1,3.13,65.2\n53,P4,2.15,69.5\n10,P8,3.81,50.0\n91,P8,2.16,54.0\n87,P3,4.62,67.3\n112,P8,4.66,58.5\n118,P2,2.59,53.7\n112,P9,2.88,62.8\n30,P3,3.53,63.5\n78,P1,3.14,64.5\n87,P1,2.71,49.6\n33,P4,3.27,57.6\n24,P3,2.78,61.8\n60,P9,2.36,72.3\n95,P4,3.62,74.7\n76,P7,2.63,55.9\n67,P7,4.01,62.3\n0,P4,4.13,69.9\n113,P6,4.47,43.9\n58,P1,2.5,71.7\n84,P1,3.0,74.1\n71,P9,2.45,43.4\n85,P3,4.45,59.0\n81,P2,4.08,59.8\n103,P4,2.4,57.7\n27,P1,4.31,53.8\n0,P5,3.96,58.5\n20,P3,4.02,48.1\n14,P2,2.18,60.1\n34,P4,4.35,49.1\n21,P2,3.62,62.0\n107,P3,3.2,74.2\n5,P5,3.09,58.4\n53,P6,3.82,43.4\n87,P5,6.62,51.1\n48,P2,2.49,44.4\n60,P7,4.1,71.5\n88,P8,2.22,41.3\n97,P5,3.24,72.9\n35,P9,3.36,52.2\n104,P9,2.2,52.9\n41,P3,2.85,62.2\n8,P8,4.19,53.6\n80,P5,2.99,59.9\n74,P9,3.33,67.9\n94,P8,2.16,65.0\n66,P6,2.32,40.2\n92,P6,4.54,47.9\n84,P5,5.81,69.0\n98,P8,4.39,48.4\n6,P5,3.43,48.8\n36,P8,2.27,40.9\n19,P4,4.29,50.0\n100,P9,4.48,52.1\n56,P9,3.72,62.4\n21,P7,4.17,60.6\n36,P1,2.23,60.9\n57,P6,3.53,70.2\n24,P1,2.97,64.0\n111,P6,3.17,69.4\n16,P3,3.36,74.1\n68,P6,2.15,40.7\n58,P6,3.36,66.8\n24,P5,2.46,60.0\n112,P5,2.62,63.5\n111,P5,5.2,42.9\n45,P8,3.36,59.2\n3,P3,2.65,67.4\n108,P3,2.46,65.4\n56,P5,2.02,59.5\n74,P5,4.36,74.3\n99,P1,2.59,73.2\n49,P1,3.67,49.6\n69,P6,2.06,44.7\n115,P5,4.63,60.5\n107,P6,3.49,64.2\n113,P8,4.1,56.1\n22,P4,4.37,58.6\n115,P7,9.99,47.3\n69,P8,2.25,51.2\n114,P6,2.75,74.0\n110,P9,3.02,66.8\n17,P2,4.36,61.9\n70,P1,2.0,58.0\n8,P7,3.79,67.8\n80,P2,2.92,49.4\n11,P5,2.46,69.3\n73,P1,2.77,48.8\n76,P4,3.65,62.5\n5,P3,3.07,47.4\n74,P8,2.45,68.8\n0,P8,2.5,65.7\n104,P2,4.33,42.2\n50,P8,4.32,47.4\n25,P1,4.35,71.7\n103,P8,2.35,72.4\n96,P2,3.07,50.6\n82,P7,3.13,48.5\n23,P3,2.07,49.9\n111,P2,2.55,45.4\n54,P1,2.71,70.6\n39,P3,2.72,58.3\n34,P6,2.11,50.8\n42,P5,2.3,41.6\n2,P8,2.37,63.6\n2,P1,2.84,68.8\n69,P9,3.68,57.0\n41,P7,4.19,61.4\n35,P6,2.78,70.9\n75,P2,4.49,71.7\n46,P9,4.33,56.4\n79,P9,3.94,57.5\n119,P6,2.23,52.9\n7,P9,4.05,58.6\n36,P7,3.06,60.4\n7,P7,3.61,58.7\n91,P9,3.58,63.7\n8,P4,3.23,69.7\n46,P8,3.37,74.3\n66,P8,2.27,67.0\n0,P3,2.48,63.5\n28,P2,4.32,57.7\n0,P9,2.71,45.6\n24,P8,3.65,56.1\n85,P6,2.37,61.4\n68,P3,2.12,64.0\n75,P9,4.15,52.8\n69,P7,4.34,71.8\n89,P5,7.37,69.3\n72,P3,4.04,51.8\n34,P2,4.69,40.5\n56,P2,3.2,68.3\n85,P7,3.24,66.2\n103,P5,3.84,46.7\n87,P2,2.41,64.7\n66,P3,2.43,49.7\n44,P2,2.9,44.0\n115,P8,2.74,68.8\n109,P9,3.42,74.1\n17,P8,8.59,57.7\n107,P4,3.92,62.9\n19,P3,3.61,61.2\n109,P1,3.66,41.1\n70,P8,2.51,61.8\n62,P5,4.39,54.9\n44,P5,4.54,73.2\n37,P4,3.76,53.0\n50,P7,2.36,51.6\n16,P7,2.22,48.9\n29,P3,4.41,51.6\n56,P6,2.61,42.1\n19,P6,3.81,62.0\n26,P7,4.42,46.8\n14,P1,3.73,52.3\n57,P1,4.61,61.3\n111,P1,3.43,61.2\n64,P9,3.52,47.1\n70,P9,2.0,43.9\n76,P1,3.99,43.0\n71,P1,4.01,45.9\n33,P3,2.86,70.6\n55,P4,2.78,60.2\n40,P4,4.26,54.1\n99,P9,2.71,72.5\n28,P5,4.11,71.0\n101,P8,3.73,74.3\n57,P2,4.45,54.3\n119,P4,4.69,49.9\n9,P7,3.67,57.5\n42,P9,4.45,70.1\n22,P9,3.74,58.4\n107,P5,6.87,56.8\n32,P3,2.47,62.6\n39,P5,2.26,65.3\n32,P5,3.38,64.4\n55,P7,2.11,58.7\n107,P8,2.6,48.6\n96,P9,4.0,62.4\n19,P1,4.0,44.9\n105,P5,2.97,61.4\n31,P5,2.22,56.1\n57,P5,3.12,55.5\n29,P9,7.2,69.0\n18,P9,2.31,70.5\n17,P3,3.29,42.9\n103,P6,2.41,53.6\n97,P6,3.34,56.1\n59,P5,4.41,60.0\n73,P9,3.97,74.7\n80,P9,4.42,63.5\n13,P2,3.05,59.9\n7,P2,3.9,73.7\n85,P1,4.14,69.5\n21,P6,3.38,52.3\n98,P1,2.95,47.9\n49,P2,2.88,44.1\n8,P9,3.12,40.8\n104,P3,2.94,69.6\n62,P6,2.99,57.7\n63,P9,2.74,73.1\n119,P2,2.97,45.5\n5,P9,3.34,65.4\n23,P5,2.08,40.5\n63,P5,2.97,62.8\n75,P8,4.12,50.8\n3,P8,2.38,56.1\n59,P8,2.27,56.3\n31,P3,3.08,58.2\n24,P2,4.13,40.6\n79,P7,3.04,53.3\n74,P7,3.34,73.0\n58,P5,2.51,58.9\n69,P4,2.72,71.5\n110,P6,4.32,73.6\n114,P1,3.95,57.7\n51,P2,4.16,58.9\n102,P9,2.27,40.8\n39,P6,2.8,53.5\n48,P7,4.46,73.4\n20,P7,4.4,65.0\n33,P7,3.33,49.6\n116,P2,4.08,47.3\n7,P8,3.03,51.3\n84,P9,2.86,42.4\n65,P2,4.03,47.1\n15,P5,3.85,42.7\n100,P6,2.44,67.2\n26,P1,4.37,61.5\n72,P5,3.25,48.3\n52,P3,5.7,50.9\n73,P6,4.27,48.2\n61,P3,2.22,48.7\n29,P7,2.01,53.7\n76,P2,3.61,71.6\n110,P5,7.33,46.8\n0,P7,4.67,49.9\n33,P1,4.61,60.4\n109,P3,2.41,51.5\n101,P1,3.68,73.0\n60,P3,3.3,68.7\n93,P7,4.5,67.5\n24,P4,4.0,73.0\n100,P7,4.11,67.5\n17,P9,3.55,52.4\n117,P5,2.16,42.8\n77,P2,3.73,45.5\n53,P9,3.04,74.7\n97,P3,4.7,57.5\n1,P7,3.93,45.7\n32,P2,4.22,64.0\n9,P8,2.56,48.0\n79,P8,4.66,43.5\n94,P7,4.56,40.2\n102,P4,4.23,72.5\n119,P8,2.61,66.2\n97,P4,4.58,65.8\n72,P1,3.25,67.2\n37,P6,2.1,69.6\n6,P3,3.22,65.2\n116,P4,3.92,60.9\n91,P2,3.28,48.4\n39,P7,2.55,71.4\n111,P7,4.12,68.9\n80,P3,2.66,69.4\n59,P2,2.08,71.3\n17,P5,4.58,43.0\n53,P1,2.3,69.6\n87,P7,2.55,67.1\n13,P1,4.43,74.4\n25,P4,4.51,43.3\n99,P6,2.12,49.4\n21,P9,3.21,58.8\n96,P7,3.61,51.2\n56,P3,2.12,68.3\n43,P7,4.25,41.3\n29,P5,2.25,52.8\n69,P2,3.12,44.8\n103,P2,4.47,71.0\n118,P9,4.38,45.1\n46,P3,3.14,49.0\n112,P3,2.44,51.0\n61,P4,2.24,45.1\n12,P3,2.9,56.5\n82,P1,4.15,69.2\n56,P4,2.39,74.6\n78,P6,3.51,45.8\n118,P7,4.11,57.5\n33,P6,2.9,53.9\n65,P8,2.49,67.4\n84,P7,2.46,65.8\n111,P9,3.34,48.3\n12,P5,4.63,57.5\n7,P6,2.18,68.1\n113,P1,4.45,74.4\n88,P2,4.26,48.5\n25,P7,2.7,75.0\n94,P9,4.3,64.2\n11,P3,3.77,43.8\n37,P1,4.11,53.1\n58,P4,3.36,48.7\n98,P9,4.22,52.6\n92,P2,3.21,49.4\n31,P7,3.49,64.1\n69,P3,2.82,48.5\n9,P5,3.95,72.8\n76,P9,3.86,40.0\n68,P9,2.12,72.9\n105,P9,2.63,58.4\n117,P3,3.47,51.5\n6,P9,2.86,47.9\n5,P6,2.25,50.3\n73,P5,4.21,48.7\n52,P5,2.66,49.3\n39,P4,4.32,44.9\n68,P1,3.89,54.1\n74,P1,3.52,48.0\n100,P2,3.98,54.6\n30,P2,3.05,66.7\n42,P3,3.52,66.0\n45,P9,3.87,48.4\n9,P3,4.43,56.5\n27,P5,3.65,51.0\n119,P7,4.15,68.7\n88,P1,4.52,55.6\n22,P2,2.24,59.3\n29,P6,3.02,68.0\n12,P7,3.74,58.2\n2,P9,4.66,66.9\n84,P6,2.73,64.1\n22,P8,4.36,43.7\n19,P9,3.41,70.0\n88,P6,3.72,70.7\n42,P6,8.77,41.4\n106,P4,4.06,59.3\n48,P1,2.62,68.9\n31,P2,3.08,72.9\n7,P5,4.23,56.6\n48,P4,2.9,73.2\n111,P3,3.91,61.3\n97,P2,2.2,44.9\n47,P5,3.89,47.5\n89,P1,2.26,64.8\n15,P2,4.14,61.1\n54,P6,2.43,73.2\n64,P1,2.1,60.6\n18,P7,2.28,68.3\n106,P7,2.72,54.1\n85,P8,4.07,43.7\n61,P6,2.91,75.0\n1,P4,3.7,54.3\n23,P4,2.98,68.0\n91,P4,7.56,54.8\n65,P3,4.04,57.7\n42,P7,4.54,61.6\n20,P2,4.64,42.5\n15,P8,3.2,64.7\n81,P7,4.06,65.8\n38,P4,4.38,68.7\n10,P1,2.08,42.2\n77,P9,3.43,55.2\n104,P5,4.2,55.9\n4,P2,2.65,51.6\n46,P1,2.35,71.0\n70,P7,3.02,67.6\n56,P7,2.63,60.1\n11,P6,4.24,60.4\n14,P3,2.72,71.0\n37,P7,3.29,65.8\n106,P3,2.15,44.0\n82,P8,2.19,61.8\n27,P6,2.84,43.4\n3,P9,4.45,62.0\n28,P6,3.0,57.6\n6,P6,4.21,47.1\n61,P1,2.06,54.3\n88,P9,2.17,53.1\n103,P7,4.61,63.1\n26,P2,2.9,66.7\n26,P4,3.42,60.9\n109,P7,4.18,72.5\n5,P2,3.83,66.0\n9,P4,2.21,60.4\n95,P5,2.29,71.9\n62,P4,3.94,51.7\n35,P8,4.27,71.1\n50,P2,2.18,48.8\n105,P8,2.1,66.4\n119,P1,4.64,69.5\n105,P3,4.24,72.8\n98,P6,3.63,74.1\n101,P4,4.53,49.0\n36,P9,3.91,68.6\n38,P8,3.99,68.9\n51,P7,4.09,44.9\n68,P2,3.86,50.4\n17,P7,2.56,57.7\n6,P1,4.64,56.4\n96,P1,2.84,59.1\n29,P2,2.36,69.1\n86,P9,2.05,46.5\n26,P5,3.98,62.5\n4,P1,2.2,49.0\n88,P3,2.79,51.1\n72,P7,2.35,64.4\n13,P8,4.28,73.1\n25,P5,4.5,64.8\n94,P6,2.98,60.1\n29,P4,2.37,52.4\n89,P9,2.94,43.5\n66,P4,4.68,61.0\n30,P8,9.27,70.5\n104,P8,3.51,66.2\n90,P9,3.38,55.1\n70,P3,2.66,55.0\n28,P8,2.94,73.0\n41,P6,8.25,54.2\n27,P4,2.58,52.3\n52,P4,4.64,62.5\n109,P5,7.16,52.7\n83,P2,3.61,40.6\n36,P5,3.55,65.6\n45,P2,2.8,51.2\n25,P6,2.95,70.7\n99,P2,3.06,58.0\n16,P4,2.28,56.6\n53,P8,3.94,56.1\n114,P8,2.2,45.6\n60,P5,3.62,74.1\n108,P8,4.5,49.2\n3,P5,4.49,65.2\n52,P8,4.02,44.7\n90,P5,8.25,55.0\n92,P1,3.3,61.1\n57,P9,4.5,58.0\n112,P4,2.52,65.6\n30,P6,4.6,71.8\n65,P1,2.96,73.0\n90,P8,4.54,49.0\n18,P8,8.16,52.3\n90,P3,3.47,54.1\n31,P1,2.93,68.8\n91,P3,3.59,69.6\n101,P3,2.47,41.2\n38,P6,2.43,56.5\n77,P5,2.21,58.3\n33,P9,3.91,67.5\n64,P7,4.65,40.6\n113,P5,3.32,44.3\n112,P6,4.29,56.1\n2,P7,4.48,64.9\n45,P4,3.83,52.9\n54,P2,2.9,67.0\n25,P8,2.2,68.3\n21,P3,3.15,47.2\n98,P3,4.43,56.2\n96,P8,3.5,40.7\n38,P3,3.08,66.0\n70,P5,3.96,60.8\n68,P4,2.34,46.1\n97,P7,2.13,65.7\n67,P2,3.9,61.6\n106,P5,3.19,53.1\n85,P5,5.98,44.9\n55,P5,3.95,67.3\n105,P4,2.7,60.0\n80,P8,2.28,51.3\n93,P1,2.05,57.3\n50,P1,3.01,70.4\n78,P7,4.3,40.5\n93,P3,3.24,43.3\n14,P6,2.23,69.0\n13,P6,2.26,48.6\n98,P4,4.62,70.9\n52,P7,2.24,53.7\n94,P1,4.48,46.2\n52,P2,3.87,69.1\n91,P5,8.41,67.5\n54,P5,3.82,70.2\n34,P1,2.23,44.7\n10,P7,2.45,61.0\n18,P4,3.91,42.0\n54,P4,3.69,55.6\n44,P8,3.79,65.3\n33,P8,2.07,68.2\n60,P6,3.74,70.8\n54,P8,4.23,58.3\n72,P2,7.6,60.9\n11,P2,7.07,44.0\n19,P8,6.7,40.9\n104,P7,3.31,71.6\n66,P5,3.55,60.2\n47,P9,4.34,57.0\n107,P7,3.28,61.0\n102,P5,3.86,69.2\n107,P1,2.46,57.0\n104,P1,2.12,50.0\n4,P6,3.36,73.9\n77,P3,3.7,51.5\n31,P4,3.79,55.7\n66,P9,4.53,60.4\n3,P7,4.04,60.7\n25,P2,3.92,66.5\n109,P8,2.41,48.7\n79,P2,2.64,71.3\n35,P1,4.63,63.6\n114,P4,3.85,62.9\n114,P3,3.5,50.3\n49,P3,8.68,73.8\n85,P2,2.8,65.8\n30,P9,2.1,56.3\n114,P5,2.52,69.0\n67,P3,2.5,56.3\n15,P1,2.6,43.1\n54,P7,2.39,66.3\n92,P7,2.89,40.8\n"}], "reference_answer": "P4@88,P5@87"} {"task_id": "ind-tank-balance@1", "seed": 0, "instruction": "Simulate the tank in model.txt with schedule.csv. Answer overflow_minute,level_at_minute_63 (litres for the level), e.g. 131,4520. Each part counts equally.", "files": [{"name": "model.txt", "content": "Tank capacity: 11100 L. Level at minute 0: 3425 L.\nMinute t covers the interval (t-1, t]. A segment with start=a and end=b is active in every minute t with a <= t <= b and moves `rate_l_per_min` litres during that minute (kind=in adds, kind=out removes).\nLevel after minute t = max(0, level after minute t-1 + inflow_t - outflow_t). Overflow is the first minute whose ending level is strictly above capacity.\n"}, {"name": "schedule.csv", "content": "source,kind,start,end,rate_l_per_min\ndrain_2,out,41,57,80\ndrain_1,out,64,81,60\nvalve_C,in,70,104,50\nvalve_C,in,75,131,51\nvalve_C,in,97,126,80\ndrain_1,out,100,114,68\nvalve_A,in,118,176,25\ndrain_1,out,171,204,70\nvalve_B,in,172,238,87\nvalve_A,in,183,234,56\n"}], "reference_answer": "211,2065"} {"task_id": "ind-tank-balance@1", "seed": 1, "instruction": "Simulate the tank in model.txt with schedule.csv. Answer overflow_minute,level_at_minute_30 (litres for the level), e.g. 131,4520. Each part counts equally.", "files": [{"name": "model.txt", "content": "Tank capacity: 10100 L. Level at minute 0: 4315 L.\nMinute t covers the interval (t-1, t]. A segment with start=a and end=b is active in every minute t with a <= t <= b and moves `rate_l_per_min` litres during that minute (kind=in adds, kind=out removes).\nLevel after minute t = max(0, level after minute t-1 + inflow_t - outflow_t). Overflow is the first minute whose ending level is strictly above capacity.\n"}, {"name": "schedule.csv", "content": "source,kind,start,end,rate_l_per_min\nvalve_A,in,39,111,48\nvalve_A,in,43,81,42\nvalve_B,in,88,155,79\ndrain_1,out,115,141,57\nvalve_C,in,159,173,76\nvalve_C,in,170,225,39\ndrain_1,out,172,185,30\nvalve_A,in,180,215,69\nvalve_B,in,203,221,57\ndrain_2,out,209,221,28\n"}], "reference_answer": "102,4315"} {"task_id": "ind-tank-balance@1", "seed": 2, "instruction": "Simulate the tank in model.txt with schedule.csv. Answer overflow_minute,level_at_minute_45 (litres for the level), e.g. 131,4520. Each part counts equally.", "files": [{"name": "model.txt", "content": "Tank capacity: 8500 L. Level at minute 0: 3185 L.\nMinute t covers the interval (t-1, t]. A segment with start=a and end=b is active in every minute t with a <= t <= b and moves `rate_l_per_min` litres during that minute (kind=in adds, kind=out removes).\nLevel after minute t = max(0, level after minute t-1 + inflow_t - outflow_t). Overflow is the first minute whose ending level is strictly above capacity.\n"}, {"name": "schedule.csv", "content": "source,kind,start,end,rate_l_per_min\ndrain_2,out,31,49,59\nvalve_A,in,49,128,69\nvalve_C,in,51,73,57\ndrain_1,out,78,151,41\nvalve_C,in,112,140,63\nvalve_B,in,145,196,84\nvalve_B,in,154,200,65\ndrain_1,out,155,219,18\ndrain_2,out,161,215,20\n"}], "reference_answer": "154,2300"} {"task_id": "ind-tank-balance@2", "seed": 0, "instruction": "Simulate the tank in model.txt with schedule.csv. Answer overflow_minute,level_at_minute_123,minutes_valve_A_was_scheduled_open_but_forced_shut (litres for the level), e.g. 131,4520,7. Each part counts equally.", "files": [{"name": "model.txt", "content": "Tank capacity: 11000 L. Level at minute 0: 4530 L.\nMinute t covers the interval (t-1, t]. A segment with start=a and end=b is active in every minute t with a <= t <= b and moves `rate_l_per_min` litres during that minute (kind=in adds, kind=out removes).\nLevel after minute t = max(0, level after minute t-1 + inflow_t - outflow_t). Overflow is the first minute whose ending level is strictly above capacity.\nInterlock: when the level at the end of a minute is above 9350 L, valve_A is forced shut from the next minute on, and it reopens (following its schedule) from the minute after the level ends below 7150 L. Other sources are not affected.\n"}, {"name": "schedule.csv", "content": "source,kind,start,end,rate_l_per_min\nvalve_C,in,17,55,51\ndrain_1,out,74,134,20\nvalve_B,in,122,201,80\nvalve_C,in,131,217,34\ndrain_2,out,166,225,37\ndrain_1,out,181,210,31\nvalve_A,in,211,216,104\nvalve_C,in,218,231,76\n"}], "reference_answer": "178,5679,6"} {"task_id": "ind-tank-balance@2", "seed": 1, "instruction": "Simulate the tank in model.txt with schedule.csv. Answer overflow_minute,level_at_minute_49,minutes_valve_A_was_scheduled_open_but_forced_shut (litres for the level), e.g. 131,4520,7. Each part counts equally.", "files": [{"name": "model.txt", "content": "Tank capacity: 4900 L. Level at minute 0: 1395 L.\nMinute t covers the interval (t-1, t]. A segment with start=a and end=b is active in every minute t with a <= t <= b and moves `rate_l_per_min` litres during that minute (kind=in adds, kind=out removes).\nLevel after minute t = max(0, level after minute t-1 + inflow_t - outflow_t). Overflow is the first minute whose ending level is strictly above capacity.\nInterlock: when the level at the end of a minute is above 4165 L, valve_A is forced shut from the next minute on, and it reopens (following its schedule) from the minute after the level ends below 3185 L. Other sources are not affected.\n"}, {"name": "schedule.csv", "content": "source,kind,start,end,rate_l_per_min\ndrain_1,out,11,24,31\nvalve_B,in,27,51,55\nvalve_B,in,28,103,60\nvalve_B,in,37,73,75\ndrain_1,out,69,132,68\nvalve_C,in,75,83,66\nvalve_C,in,128,147,37\ndrain_2,out,147,182,57\nvalve_A,in,171,208,101\ndrain_2,out,205,234,45\ndrain_1,out,207,215,46\n"}], "reference_answer": "51,4521,38"} {"task_id": "ind-tank-balance@2", "seed": 2, "instruction": "Simulate the tank in model.txt with schedule.csv. Answer overflow_minute,level_at_minute_167,minutes_valve_A_was_scheduled_open_but_forced_shut (litres for the level), e.g. 131,4520,7. Each part counts equally.", "files": [{"name": "model.txt", "content": "Tank capacity: 5900 L. Level at minute 0: 2915 L.\nMinute t covers the interval (t-1, t]. A segment with start=a and end=b is active in every minute t with a <= t <= b and moves `rate_l_per_min` litres during that minute (kind=in adds, kind=out removes).\nLevel after minute t = max(0, level after minute t-1 + inflow_t - outflow_t). Overflow is the first minute whose ending level is strictly above capacity.\nInterlock: when the level at the end of a minute is above 5015 L, valve_A is forced shut from the next minute on, and it reopens (following its schedule) from the minute after the level ends below 3835 L. Other sources are not affected.\n"}, {"name": "schedule.csv", "content": "source,kind,start,end,rate_l_per_min\nvalve_A,in,43,48,118\ndrain_1,out,66,127,66\nvalve_A,in,109,119,128\nvalve_C,in,127,199,68\ndrain_1,out,144,161,18\ndrain_2,out,147,211,27\nvalve_B,in,165,203,43\nvalve_A,in,200,216,72\nvalve_B,in,215,228,90\n"}], "reference_answer": "219,2965,17"} {"task_id": "ind-oee@1", "seed": 0, "instruction": "Using definitions.txt, compute the OEE of line L1 for this shift as a percentage with one decimal (e.g. 63.4).", "files": [{"name": "breaks.csv", "content": "line,start_min,end_min\nL1,240,270\nL1,360,375\nL2,120,135\nL2,200,220\nL3,360,375\nL3,120,135\n"}, {"name": "definitions.txt", "content": "OEE = Availability x Performance x Quality\nPlanned production time = shift_minutes minus planned breaks (breaks.csv).\nAvailability = run_time / planned production time, run_time = planned production time - downtime.\nDowntime is the total length of the union of that line's downtime intervals [start_min, end_min), counting only time inside the shift [0, shift_minutes) and outside planned breaks. Overlapping or duplicate reports count once.\nPerformance = ideal_cycle_s * total_count / (run_time * 60).\nQuality = (total_count - reject_count) / total_count. Reworked parts (rework_ok) are still rejects.\n"}, {"name": "downtime.csv", "content": "line,start_min,end_min,reason\nL2,360,399,cleaning\nL2,62,71,changeover\nL1,338,377,cleaning\nL1,67,90,jam\nL3,413,432,cleaning\nL3,354,380,sensor fault\nL3,406,417,jam\nL3,277,317,material wait\nL2,432,455,cleaning\nL1,1,7,material wait\nL2,214,240,cleaning\nL2,191,229,cleaning\nL3,416,433,jam\nL2,98,125,changeover\nL1,340,379,changeover\nL1,353,380,material wait\nL1,109,130,changeover\nL1,263,296,changeover\n"}, {"name": "lines.csv", "content": "line,shift_minutes,ideal_cycle_s,total_count,reject_count,rework_ok\nL1,510,24,748,45,9\nL2,510,12,1421,77,40\nL3,510,15,1472,83,45\n"}], "reference_answer": "60.5"} {"task_id": "ind-oee@1", "seed": 1, "instruction": "Using definitions.txt, compute the OEE of line L4 for this shift as a percentage with one decimal (e.g. 63.4).", "files": [{"name": "breaks.csv", "content": "line,start_min,end_min\nL1,360,375\nL1,240,270\nL2,120,135\nL2,360,375\nL3,120,135\nL3,240,270\nL4,120,135\nL4,240,270\n"}, {"name": "definitions.txt", "content": "OEE = Availability x Performance x Quality\nPlanned production time = shift_minutes minus planned breaks (breaks.csv).\nAvailability = run_time / planned production time, run_time = planned production time - downtime.\nDowntime is the total length of the union of that line's downtime intervals [start_min, end_min), counting only time inside the shift [0, shift_minutes) and outside planned breaks. Overlapping or duplicate reports count once.\nPerformance = ideal_cycle_s * total_count / (run_time * 60).\nQuality = (total_count - reject_count) / total_count. Reworked parts (rework_ok) are still rejects.\n"}, {"name": "downtime.csv", "content": "line,start_min,end_min,reason\nL4,204,235,cleaning\nL3,232,280,changeover\nL2,317,340,cleaning\nL4,234,278,material wait\nL2,352,378,material wait\nL2,292,301,sensor fault\nL4,145,189,cleaning\nL2,296,303,sensor fault\nL1,114,126,material wait\nL1,54,73,jam\nL4,231,277,sensor fault\nL3,415,460,jam\nL3,167,200,sensor fault\nL3,57,81,material wait\nL1,198,208,cleaning\nL3,282,325,jam\nL1,59,83,cleaning\nL4,33,65,jam\nL3,441,468,material wait\nL1,463,485,changeover\nL1,394,434,cleaning\nL3,164,190,cleaning\nL4,317,345,jam\nL2,293,336,material wait\nL4,21,59,material wait\nL2,403,430,material wait\nL3,371,388,changeover\nL1,237,280,cleaning\n"}, {"name": "lines.csv", "content": "line,shift_minutes,ideal_cycle_s,total_count,reject_count,rework_ok\nL1,510,30,588,40,10\nL2,510,30,754,12,2\nL3,510,30,396,21,10\nL4,510,15,856,28,6\n"}], "reference_answer": "44.5"} {"task_id": "ind-oee@1", "seed": 2, "instruction": "Using definitions.txt, compute the OEE of line L3 for this shift as a percentage with one decimal (e.g. 63.4).", "files": [{"name": "breaks.csv", "content": "line,start_min,end_min\nL1,240,270\nL1,120,135\nL2,200,220\nL2,240,270\nL3,120,135\nL3,240,270\n"}, {"name": "definitions.txt", "content": "OEE = Availability x Performance x Quality\nPlanned production time = shift_minutes minus planned breaks (breaks.csv).\nAvailability = run_time / planned production time, run_time = planned production time - downtime.\nDowntime is the total length of the union of that line's downtime intervals [start_min, end_min), counting only time inside the shift [0, shift_minutes) and outside planned breaks. Overlapping or duplicate reports count once.\nPerformance = ideal_cycle_s * total_count / (run_time * 60).\nQuality = (total_count - reject_count) / total_count. Reworked parts (rework_ok) are still rejects.\n"}, {"name": "downtime.csv", "content": "line,start_min,end_min,reason\nL2,195,225,material wait\nL3,68,81,jam\nL2,343,386,jam\nL3,237,278,sensor fault\nL3,355,395,changeover\nL2,66,74,jam\nL3,504,524,changeover\nL1,127,139,material wait\nL1,329,363,sensor fault\nL3,402,439,changeover\nL1,231,274,jam\nL2,60,91,cleaning\nL3,508,525,cleaning\nL3,520,558,material wait\nL1,473,506,jam\nL2,85,107,jam\nL2,506,542,cleaning\nL2,177,203,jam\n"}, {"name": "lines.csv", "content": "line,shift_minutes,ideal_cycle_s,total_count,reject_count,rework_ok\nL1,540,12,1463,47,21\nL2,540,20,744,46,26\nL3,540,20,929,37,21\n"}], "reference_answer": "60.1"} {"task_id": "ind-oee@2", "seed": 0, "instruction": "Using definitions.txt, find the line with the lowest OEE this shift and the plant OEE, as line,percent with one decimal (e.g. L2,61.8). Each part is worth 0.5.", "files": [{"name": "breaks.csv", "content": "line,start_min,end_min\nL1,360,375\nL1,240,270\nL2,360,375\nL2,200,220\nL3,120,135\nL3,360,375\nL4,120,135\nL4,200,220\n"}, {"name": "definitions.txt", "content": "OEE = Availability x Performance x Quality\nPlanned production time = shift_minutes minus planned breaks (breaks.csv).\nAvailability = run_time / planned production time, run_time = planned production time - downtime.\nDowntime is the total length of the union of that line's downtime intervals [start_min, end_min), counting only time inside the shift [0, shift_minutes) and outside planned breaks. Overlapping or duplicate reports count once.\nPerformance = ideal_cycle_s * total_count / (run_time * 60).\nQuality = (total_count - reject_count) / total_count. Reworked parts (rework_ok) are still rejects.\nPlant OEE = sum over lines of ideal_cycle_s * good_count, divided by the sum over lines of planned production time in seconds (good_count = total_count - reject_count).\n"}, {"name": "downtime.csv", "content": "line,start_min,end_min,reason\nL2,16,57,changeover\nL2,356,379,changeover\nL1,243,253,jam\nL1,238,278,cleaning\nL4,38,67,cleaning\nL3,355,381,jam\nL2,72,90,material wait\nL4,297,315,material wait\nL4,180,209,jam\nL4,194,223,jam\nL2,103,140,sensor fault\nL4,37,61,cleaning\nL3,331,370,sensor fault\nL3,59,92,jam\nL1,234,274,sensor fault\nL4,403,411,cleaning\nL1,364,382,cleaning\nL3,82,121,material wait\nL4,416,451,material wait\nL2,182,223,material wait\nL2,258,302,sensor fault\nL2,43,66,sensor fault\nL1,151,157,cleaning\nL1,70,111,cleaning\nL3,110,123,material wait\nL4,134,142,sensor fault\nL2,69,83,sensor fault\nL3,55,84,material wait\nL3,228,235,cleaning\n"}, {"name": "lines.csv", "content": "line,shift_minutes,ideal_cycle_s,total_count,reject_count,rework_ok\nL1,480,12,1617,75,44\nL2,480,24,625,7,2\nL3,480,15,1187,88,19\nL4,480,24,746,41,8\n"}], "reference_answer": "L2,62.7"} {"task_id": "ind-oee@2", "seed": 1, "instruction": "Using definitions.txt, find the line with the lowest OEE this shift and the plant OEE, as line,percent with one decimal (e.g. L2,61.8). Each part is worth 0.5.", "files": [{"name": "breaks.csv", "content": "line,start_min,end_min\nL1,240,270\nL1,120,135\nL2,120,135\nL2,360,375\nL3,200,220\nL3,120,135\nL4,120,135\nL4,360,375\n"}, {"name": "definitions.txt", "content": "OEE = Availability x Performance x Quality\nPlanned production time = shift_minutes minus planned breaks (breaks.csv).\nAvailability = run_time / planned production time, run_time = planned production time - downtime.\nDowntime is the total length of the union of that line's downtime intervals [start_min, end_min), counting only time inside the shift [0, shift_minutes) and outside planned breaks. Overlapping or duplicate reports count once.\nPerformance = ideal_cycle_s * total_count / (run_time * 60).\nQuality = (total_count - reject_count) / total_count. Reworked parts (rework_ok) are still rejects.\nPlant OEE = sum over lines of ideal_cycle_s * good_count, divided by the sum over lines of planned production time in seconds (good_count = total_count - reject_count).\n"}, {"name": "downtime.csv", "content": "line,start_min,end_min,reason\nL4,223,246,cleaning\nL3,464,496,material wait\nL1,203,226,cleaning\nL4,376,405,jam\nL2,25,47,material wait\nL4,115,143,sensor fault\nL1,219,257,changeover\nL3,323,352,cleaning\nL2,415,451,cleaning\nL2,252,272,cleaning\nL3,222,250,sensor fault\nL1,277,283,material wait\nL3,194,228,sensor fault\nL4,67,97,jam\nL2,23,39,cleaning\nL4,354,365,cleaning\nL4,182,215,cleaning\nL1,217,249,material wait\nL4,402,410,jam\nL2,355,385,sensor fault\nL4,180,214,sensor fault\nL3,285,313,jam\nL1,116,141,changeover\nL2,343,387,material wait\nL3,147,182,jam\nL3,322,342,cleaning\n"}, {"name": "lines.csv", "content": "line,shift_minutes,ideal_cycle_s,total_count,reject_count,rework_ok\nL1,510,30,674,51,18\nL2,510,24,846,21,9\nL3,510,24,571,19,7\nL4,510,12,1641,87,41\n"}], "reference_answer": "L3,61.7"} {"task_id": "ind-oee@2", "seed": 2, "instruction": "Using definitions.txt, find the line with the lowest OEE this shift and the plant OEE, as line,percent with one decimal (e.g. L2,61.8). Each part is worth 0.5.", "files": [{"name": "breaks.csv", "content": "line,start_min,end_min\nL1,120,135\nL1,200,220\nL2,200,220\nL2,240,270\nL3,360,375\nL3,240,270\n"}, {"name": "definitions.txt", "content": "OEE = Availability x Performance x Quality\nPlanned production time = shift_minutes minus planned breaks (breaks.csv).\nAvailability = run_time / planned production time, run_time = planned production time - downtime.\nDowntime is the total length of the union of that line's downtime intervals [start_min, end_min), counting only time inside the shift [0, shift_minutes) and outside planned breaks. Overlapping or duplicate reports count once.\nPerformance = ideal_cycle_s * total_count / (run_time * 60).\nQuality = (total_count - reject_count) / total_count. Reworked parts (rework_ok) are still rejects.\nPlant OEE = sum over lines of ideal_cycle_s * good_count, divided by the sum over lines of planned production time in seconds (good_count = total_count - reject_count).\n"}, {"name": "downtime.csv", "content": "line,start_min,end_min,reason\nL3,432,452,cleaning\nL1,437,456,material wait\nL3,236,274,sensor fault\nL2,367,374,cleaning\nL1,89,106,cleaning\nL3,411,423,jam\nL1,112,139,material wait\nL3,298,310,material wait\nL2,371,378,sensor fault\nL2,151,165,changeover\nL1,333,367,material wait\nL2,194,230,cleaning\nL2,418,435,changeover\nL2,287,329,changeover\n"}, {"name": "lines.csv", "content": "line,shift_minutes,ideal_cycle_s,total_count,reject_count,rework_ok\nL1,480,12,1449,44,14\nL2,480,12,1258,72,15\nL3,480,15,1469,29,15\n"}], "reference_answer": "L2,67.0"} {"task_id": "sci-longest-orf@1", "seed": 0, "instruction": "sequence.fasta is a DNA forward strand; codon_table.txt maps codons to amino acids (* = stop). Find the longest open reading frame on this strand only, in any of the three frames: it starts at ATG and ends at the first in-frame stop codon. Answer its protein in one-letter code, starting with M and without the stop.", "files": [{"name": "codon_table.txt", "content": "AAA K\nAAC N\nAAG K\nAAT N\nACA T\nACC T\nACG T\nACT T\nAGA R\nAGC S\nAGG R\nAGT S\nATA I\nATC I\nATG M\nATT I\nCAA Q\nCAC H\nCAG Q\nCAT H\nCCA P\nCCC P\nCCG P\nCCT P\nCGA R\nCGC R\nCGG R\nCGT R\nCTA L\nCTC L\nCTG L\nCTT L\nGAA E\nGAC D\nGAG E\nGAT D\nGCA A\nGCC A\nGCG A\nGCT A\nGGA G\nGGC G\nGGG G\nGGT G\nGTA V\nGTC V\nGTG V\nGTT V\nTAA *\nTAC Y\nTAG *\nTAT Y\nTCA S\nTCC S\nTCG S\nTCT S\nTGA *\nTGC C\nTGG W\nTGT C\nTTA L\nTTC F\nTTG L\nTTT F\n"}, {"name": "sequence.fasta", "content": ">sample_155 forward strand\nGGCGCATGGACTAGCGAGGTCTAGACAAATAGTTTCATGAGCGACCTCGAGGGCATCGCT\nACCACTTGCTTCGCCCGGATGTACCAGAGTCTCTCGCGCCGGAAGACTGGCGCAGCACTT\nACTGCTCCGAATACGGTGCCGACTGTCTCGAGCAAGAACACTTGGTCGTTACCAATGCGC\nCTAAGTGAGTACTACGTTATTGCGAATGCTGGTTTAAGGCGTGCCAGGAAATCATCAGCA\nCAATAAATTACATGGACTCGGAAAGGGAAGCCCCACGGTTGAACTGTTCTGACCTCAACT\nTGACGAGCAATACCCTCCATCGCGTAATTAATGGCGGCTAGATCCTAGATTGTGCTGGCT\nGGTGATCAATGAGAGGAGTCGGGATAGGCTTTGCCCAGAATGACATCCAAACCTCATTTT\nACGGTTGTAAAATGGGATACCCACAAAGCAATCCCCTCGCATACGCATGAAAAGGCGGCG\nATTTTAA\n"}], "reference_answer": "MSDLEGIATTCFARMYQSLSRRKTGAALTAPNTVPTVSSKNTWSLPMRLSEYYVIANAGLRRARKSSAQ"} {"task_id": "sci-longest-orf@1", "seed": 1, "instruction": "sequence.fasta is a DNA forward strand; codon_table.txt maps codons to amino acids (* = stop). Find the longest open reading frame on this strand only, in any of the three frames: it starts at ATG and ends at the first in-frame stop codon. Answer its protein in one-letter code, starting with M and without the stop.", "files": [{"name": "codon_table.txt", "content": "AAA K\nAAC N\nAAG K\nAAT N\nACA T\nACC T\nACG T\nACT T\nAGA R\nAGC S\nAGG R\nAGT S\nATA I\nATC I\nATG M\nATT I\nCAA Q\nCAC H\nCAG Q\nCAT H\nCCA P\nCCC P\nCCG P\nCCT P\nCGA R\nCGC R\nCGG R\nCGT R\nCTA L\nCTC L\nCTG L\nCTT L\nGAA E\nGAC D\nGAG E\nGAT D\nGCA A\nGCC A\nGCG A\nGCT A\nGGA G\nGGC G\nGGG G\nGGT G\nGTA V\nGTC V\nGTG V\nGTT V\nTAA *\nTAC Y\nTAG *\nTAT Y\nTCA S\nTCC S\nTCG S\nTCT S\nTGA *\nTGC C\nTGG W\nTGT C\nTTA L\nTTC F\nTTG L\nTTT F\n"}, {"name": "sequence.fasta", "content": ">sample_837 forward strand\nCGCCTACGTGAGCGCCTCAGGATTACTAGGGCGAGACCCATCGCCTTTAAAGGAGATGGA\nACCCACACCACAGAAACGACTCGAATGCGTGCACACTTTTTTCGATTGTGGATGCAGAAA\nGGGCTTGTGCAGCAGATGTACAACTGGGCCAGCCAACAAAATTTCATAAGTCTAACCATT\nTCCTGTCGGACGATACGAATTAGACCGACAACCATCGATGTGAATACTTCGTCTCGAGCA\nAGTAAGCAGTAAGCGGTTGCGATGTGAGCTCCCTACGAAGGTAAGAGAGGTCAAAGAGTT\nCTGCAAGTCTCTAAAGAGCTTAGACAGGAGTACCCGCGATGAGAACCTACGGTCTATAGC\nATGGCCCGGATCGGTTGAACAGTGATAGTCGCAATTGCCCGCCGATTACATGGCGGGGCC\nTAAGCTGTGGGTTAGATAGTAAGC\n"}], "reference_answer": "MRAHFFRLWMQKGLVQQMYNWASQQNFISLTISCRTIRIRPTTIDVNTSSRASKQ"} {"task_id": "sci-longest-orf@1", "seed": 2, "instruction": "sequence.fasta is a DNA forward strand; codon_table.txt maps codons to amino acids (* = stop). Find the longest open reading frame on this strand only, in any of the three frames: it starts at ATG and ends at the first in-frame stop codon. Answer its protein in one-letter code, starting with M and without the stop.", "files": [{"name": "codon_table.txt", "content": "AAA K\nAAC N\nAAG K\nAAT N\nACA T\nACC T\nACG T\nACT T\nAGA R\nAGC S\nAGG R\nAGT S\nATA I\nATC I\nATG M\nATT I\nCAA Q\nCAC H\nCAG Q\nCAT H\nCCA P\nCCC P\nCCG P\nCCT P\nCGA R\nCGC R\nCGG R\nCGT R\nCTA L\nCTC L\nCTG L\nCTT L\nGAA E\nGAC D\nGAG E\nGAT D\nGCA A\nGCC A\nGCG A\nGCT A\nGGA G\nGGC G\nGGG G\nGGT G\nGTA V\nGTC V\nGTG V\nGTT V\nTAA *\nTAC Y\nTAG *\nTAT Y\nTCA S\nTCC S\nTCG S\nTCT S\nTGA *\nTGC C\nTGG W\nTGT C\nTTA L\nTTC F\nTTG L\nTTT F\n"}, {"name": "sequence.fasta", "content": ">sample_421 forward strand\nACCTACCACAGTCGACGACGGATTGCAAAGGACTGATCTTGACTCCTAAGGTTCTGGTAC\nTGGCTTAGCTTGCTTCGGGTTTGCGTGTGTGAGAACAGCCGGAAGATAGGGCGAGCGGCA\nACGACCGATGCCAGGCCGGACGGCAACCACTTCGCAGGTGCTCGGCGGGTATCAGCCGCC\nGCATGCCATGCTTGTACTACAGCATCCCGGACGAGACCACTTTGTCGCAATGTGGAGATC\nAATCTCCTCATCACCGTACTGGTGTCAGTATTGGCACACACGGATGCCACAACAATCGCA\nTACGTCATAGGTCATGTCTTTTATAAGAGCCATCCTAAGCTGGAGCACCAACAGGACGTC\nTTTGCTCCGGCGCTATAACGGAAGGCAATTACCCACATCTCGTAATAAACCGTCAACAAA\nTAGGGACTGGTAGCAGAAACATACGGCTGGCTGTGAGGTCCGTATGACCGGGAAGGCGGT\nCGTGCATCGGTTCTAAGTAGCCTGGATCGAGTTGCCCCGGGTCACTAGCACAGCTCAATA\nCATAATAGGGGTAACGACCCCTCGAGCGCTGTTGCCCAATAACGCCATTGGGGCACGGAT\nG\n"}], "reference_answer": "MPGRTATTSQVLGGYQPPHAMLVLQHPGRDHFVAMWRSISSSPYWCQYWHTRMPQQSHTS"} {"task_id": "sci-longest-orf@2", "seed": 0, "instruction": "sequence.fasta is one strand of a DNA molecule; codon_table.txt maps codons to amino acids (* = stop). Find the longest open reading frame on either strand (the given strand '+' or its reverse complement '-'), any frame: it starts at ATG and ends at the first in-frame stop codon; reading frames without a stop do not count. Answer strand,protein (one-letter code, starting with M, no stop), e.g. -,MKT... Both parts must be right.", "files": [{"name": "codon_table.txt", "content": "AAA K\nAAC N\nAAG K\nAAT N\nACA T\nACC T\nACG T\nACT T\nAGA R\nAGC S\nAGG R\nAGT S\nATA I\nATC I\nATG M\nATT I\nCAA Q\nCAC H\nCAG Q\nCAT H\nCCA P\nCCC P\nCCG P\nCCT P\nCGA R\nCGC R\nCGG R\nCGT R\nCTA L\nCTC L\nCTG L\nCTT L\nGAA E\nGAC D\nGAG E\nGAT D\nGCA A\nGCC A\nGCG A\nGCT A\nGGA G\nGGC G\nGGG G\nGGT G\nGTA V\nGTC V\nGTG V\nGTT V\nTAA *\nTAC Y\nTAG *\nTAT Y\nTCA S\nTCC S\nTCG S\nTCT S\nTGA *\nTGC C\nTGG W\nTGT C\nTTA L\nTTC F\nTTG L\nTTT F\n"}, {"name": "sequence.fasta", "content": ">sample_214 forward strand\nAGTCCCGGAAGAAGAGGCAGAAAAGACATGTTCTGCAGTTTTGTACAGCTTAAAATGGGT\nATTCCAGGAGAGTTCCTTTACGTCCAAGTCATCGGCTTGTCCCCAGATCACGAGGAAATG\nGGACTATCCAGCCACGTAACAAAATATCTCCCCGCTACCTAAGACAAACCGGTAGCTATT\nATCGGCCACAAAGCCGGATGGCGGTTGAGGGCGGACAGAAGTACAACTAAAGTGGTCGTC\nAAGTCTTACGGAACATGTGTCTCACTTTCAAGTCCCGAGGGCTTTCCTCCTGTATGGGGG\nCCGTCGTCGCTTATCAGGCTGCGTTAGTCTTGCCTGAGAAAGTTATCCGTATCACAGACC\nACCTGACTACAGCACATCGAGCACTGCGCATTGGCACACACACCGGGCAATTAGCCCACG\nGAGCAAAAACCCCAGGACAATTCAGAGATCAGGAAGCAAGGGCTGTTGCTGAATCACTAA\nTGTAGTACTATTAGAGTACCGGTCACTCTAATACCCGAAACTGCCTATACAATGCTGCCA\nACTCCCCTCGCACGTCT\n"}], "reference_answer": "+,MCLTFKSRGLSSCMGAVVAYQAALVLPEKVIRITDHLTTAHRALRIGTHTGQLAHGAKTPGQFRDQEARAVAESLM"} {"task_id": "sci-longest-orf@2", "seed": 1, "instruction": "sequence.fasta is one strand of a DNA molecule; codon_table.txt maps codons to amino acids (* = stop). Find the longest open reading frame on either strand (the given strand '+' or its reverse complement '-'), any frame: it starts at ATG and ends at the first in-frame stop codon; reading frames without a stop do not count. Answer strand,protein (one-letter code, starting with M, no stop), e.g. -,MKT... Both parts must be right.", "files": [{"name": "codon_table.txt", "content": "AAA K\nAAC N\nAAG K\nAAT N\nACA T\nACC T\nACG T\nACT T\nAGA R\nAGC S\nAGG R\nAGT S\nATA I\nATC I\nATG M\nATT I\nCAA Q\nCAC H\nCAG Q\nCAT H\nCCA P\nCCC P\nCCG P\nCCT P\nCGA R\nCGC R\nCGG R\nCGT R\nCTA L\nCTC L\nCTG L\nCTT L\nGAA E\nGAC D\nGAG E\nGAT D\nGCA A\nGCC A\nGCG A\nGCT A\nGGA G\nGGC G\nGGG G\nGGT G\nGTA V\nGTC V\nGTG V\nGTT V\nTAA *\nTAC Y\nTAG *\nTAT Y\nTCA S\nTCC S\nTCG S\nTCT S\nTGA *\nTGC C\nTGG W\nTGT C\nTTA L\nTTC F\nTTG L\nTTT F\n"}, {"name": "sequence.fasta", "content": ">sample_934 forward strand\nCAGGTGAAGCGTCTCATAGTGGGAAGCTACATCTGAAGATATGGTGCGGCAATCATGCGT\nGGTCAGAGAAGTAGGGTTCGAGCACTCTGATCAACACAATTGGGCCTCCGCTCTGTTGCG\nGGACCCGCCTGTAGATAACGCGAGGGTATCCAGGAAGCATGAATCACTTATTTTTGTACG\nCTCCGAGGTGCATTATACGGGTGGCTTGTAAACCCCAGTGGATCCAGCCTAAGGGTAGTT\nGACTCGGCATCCGGATACGCCCTTGCCCCCCCCTCTGGTTAAAGCGGCCGACACCAGGTA\nCCTTAATTTGAGTCGTGCCTCCGGTCAGCGGTGAGTTGCCGGTGCTCTTTGGATGACTCA\nTAGGCTAAATAATGTGCCGTCCCCGGGGGACAACAGTGACCCGAAAGTAACACCACCAAA\nGATATATGGCTGGCGTCCGCCCTCGACGGCTAGCAGGAAATCAGCGATGGCGGATTAAGA\nGCATAACAACGTGTACTCGCTCTTAATCACTCAAGCTATTATTGATTTACTCG\n"}], "reference_answer": "-,MSHPKSTGNSPLTGGTTQIKVPGVGRFNQRGGQGRIRMPSQLPLGWIHWGLQATRIMHLGAYKNK"} {"task_id": "sci-longest-orf@2", "seed": 2, "instruction": "sequence.fasta is one strand of a DNA molecule; codon_table.txt maps codons to amino acids (* = stop). Find the longest open reading frame on either strand (the given strand '+' or its reverse complement '-'), any frame: it starts at ATG and ends at the first in-frame stop codon; reading frames without a stop do not count. Answer strand,protein (one-letter code, starting with M, no stop), e.g. -,MKT... Both parts must be right.", "files": [{"name": "codon_table.txt", "content": "AAA K\nAAC N\nAAG K\nAAT N\nACA T\nACC T\nACG T\nACT T\nAGA R\nAGC S\nAGG R\nAGT S\nATA I\nATC I\nATG M\nATT I\nCAA Q\nCAC H\nCAG Q\nCAT H\nCCA P\nCCC P\nCCG P\nCCT P\nCGA R\nCGC R\nCGG R\nCGT R\nCTA L\nCTC L\nCTG L\nCTT L\nGAA E\nGAC D\nGAG E\nGAT D\nGCA A\nGCC A\nGCG A\nGCT A\nGGA G\nGGC G\nGGG G\nGGT G\nGTA V\nGTC V\nGTG V\nGTT V\nTAA *\nTAC Y\nTAG *\nTAT Y\nTCA S\nTCC S\nTCG S\nTCT S\nTGA *\nTGC C\nTGG W\nTGT C\nTTA L\nTTC F\nTTG L\nTTT F\n"}, {"name": "sequence.fasta", "content": ">sample_728 forward strand\nATCAGTGCTCTTGCCCGCGTCATAGAACTCCGTAATTCGGCTTAGCCGCAGTTCAACCCA\nAATTGTTTTCTGCCATTATCTACATTCATAAAGTATCCGCCACACGGGCATATTGTTCCT\nACGCGATCAGACTGCACGAATAACGAGTATTCCCGGCCTTGGTGCTACCAATGTTTTCGC\nATTTACCGATCACTTATGAATGTCTTTACCGACTGTGAAAGCACCATGCGTAAAGCCTGT\nAATAGTTTGACATGGGTTGTCGGCTTTCCTAACATGGCGGAATTCTTGGATCCGGCCTTT\nGTTATCGTTTCCATCTTGCGAGCCAGATACTTCATGTGTAAGGAAGCAAGCTCTACCCTA\nCAACCTCGCTGGCCTGCTGGCCTTATGCCGCAGTACTGGGGCAACTTACTCACTGGGATA\nCGGACGTTGACAAATAGTCTATACCCAGCCTAATGTACCTTACTTGGAGGAGCTTACCGA\nATTGGTGAGCCGGGGCATAA\n"}], "reference_answer": "+,MNVFTDCESTMRKACNSLTWVVGFPNMAEFLDPAFVIVSILRARYFMCKEASSTLQPRWPAGLMPQYWGNLLTGIRTLTNSLYPA"} {"task_id": "sci-limiting-reagent@1", "seed": 0, "instruction": "Using lab_notes.txt and atomic_masses.csv, identify the limiting reactant and the grams of H2O actually isolated (2 decimals). Answer formula,grams e.g. O2,12.34. Each part is worth 0.5; grams within 0.5% count.", "files": [{"name": "atomic_masses.csv", "content": "element,g_per_mol\nAl,26.982\nC,12.011\nCa,40.078\nCl,35.45\nFe,55.845\nH,1.008\nMg,24.305\nN,14.007\nNa,22.99\nO,15.999\nS,32.06\n"}, {"name": "lab_notes.txt", "content": "Reaction: CaCO3 + 2 HCl -> CaCl2 + H2O + CO2\nCharged CaCO3: 201.8 g\nCharged HCl: 105.22 g\nIsolated yield: 75% of theoretical\n"}], "reference_answer": "HCl,19.50"} {"task_id": "sci-limiting-reagent@1", "seed": 1, "instruction": "Using lab_notes.txt and atomic_masses.csv, identify the limiting reactant and the grams of CO2 actually isolated (2 decimals). Answer formula,grams e.g. O2,12.34. Each part is worth 0.5; grams within 0.5% count.", "files": [{"name": "atomic_masses.csv", "content": "element,g_per_mol\nAl,26.982\nC,12.011\nCa,40.078\nCl,35.45\nFe,55.845\nH,1.008\nMg,24.305\nN,14.007\nNa,22.99\nO,15.999\nS,32.06\n"}, {"name": "lab_notes.txt", "content": "Reaction: Fe2O3 + 3 CO -> 2 Fe + 3 CO2\nCharged Fe2O3: 78.04 g\nCharged CO: 133.4 g\nIsolated yield: 100% of theoretical\n"}], "reference_answer": "Fe2O3,64.52"} {"task_id": "sci-limiting-reagent@1", "seed": 2, "instruction": "Using lab_notes.txt and atomic_masses.csv, identify the limiting reactant and the grams of Al2O3 actually isolated (2 decimals). Answer formula,grams e.g. O2,12.34. Each part is worth 0.5; grams within 0.5% count.", "files": [{"name": "atomic_masses.csv", "content": "element,g_per_mol\nAl,26.982\nC,12.011\nCa,40.078\nCl,35.45\nFe,55.845\nH,1.008\nMg,24.305\nN,14.007\nNa,22.99\nO,15.999\nS,32.06\n"}, {"name": "lab_notes.txt", "content": "Reaction: 4 Al + 3 O2 -> 2 Al2O3\nCharged Al: 249.02 g\nCharged O2: 200.36 g\nIsolated yield: 75% of theoretical\n"}], "reference_answer": "O2,319.22"} {"task_id": "sci-limiting-reagent@2", "seed": 0, "instruction": "Using lab_notes.txt and atomic_masses.csv, identify the limiting reactant and the grams of H2O actually isolated (2 decimals). Answer formula,grams e.g. O2,12.34. Each part is worth 0.5; grams within 0.5% count.", "files": [{"name": "atomic_masses.csv", "content": "element,g_per_mol\nAl,26.982\nC,12.011\nCa,40.078\nCl,35.45\nFe,55.845\nH,1.008\nMg,24.305\nN,14.007\nNa,22.99\nO,15.999\nS,32.06\n"}, {"name": "lab_notes.txt", "content": "Reaction: C3H8 + 5 O2 -> 3 CO2 + 4 H2O\nCharged C3H8: 108.86 g of 80% purity (by mass)\nCharged O2: 0.04631 kg of 98.5% purity (by mass)\nIsolated yield: 88% of theoretical\n"}], "reference_answer": "O2,18.08"} {"task_id": "sci-limiting-reagent@2", "seed": 1, "instruction": "Using lab_notes.txt and atomic_masses.csv, identify the limiting reactant and the grams of H2O actually isolated (2 decimals). Answer formula,grams e.g. O2,12.34. Each part is worth 0.5; grams within 0.5% count.", "files": [{"name": "atomic_masses.csv", "content": "element,g_per_mol\nAl,26.982\nC,12.011\nCa,40.078\nCl,35.45\nFe,55.845\nH,1.008\nMg,24.305\nN,14.007\nNa,22.99\nO,15.999\nS,32.06\n"}, {"name": "lab_notes.txt", "content": "Reaction: C3H8 + 5 O2 -> 3 CO2 + 4 H2O\nCharged C3H8: 216.32 g of 98.5% purity (by mass)\nCharged O2: 235.38 g of 98.5% purity (by mass)\nIsolated yield: 75% of theoretical\n"}], "reference_answer": "O2,78.32"} {"task_id": "sci-limiting-reagent@2", "seed": 2, "instruction": "Using lab_notes.txt and atomic_masses.csv, identify the limiting reactant and the grams of MgO actually isolated (2 decimals). Answer formula,grams e.g. O2,12.34. Each part is worth 0.5; grams within 0.5% count.", "files": [{"name": "atomic_masses.csv", "content": "element,g_per_mol\nAl,26.982\nC,12.011\nCa,40.078\nCl,35.45\nFe,55.845\nH,1.008\nMg,24.305\nN,14.007\nNa,22.99\nO,15.999\nS,32.06\n"}, {"name": "lab_notes.txt", "content": "Reaction: 2 Mg + O2 -> 2 MgO\nCharged Mg: 88.75 g of 100% purity (by mass)\nCharged O2: 158.49 g of 95% purity (by mass)\nIsolated yield: 100% of theoretical\n"}], "reference_answer": "Mg,147.17"} {"task_id": "sci-dilution-series@1", "seed": 0, "instruction": "From protocol.txt and absorbance.csv, compute the analyte concentration in the original stock in mM (Beer-Lambert, blank-corrected means). Answer a number; within 1% counts.", "files": [{"name": "absorbance.csv", "content": "well,replicate,A\nblank,1,0.032\nblank,2,0.041\nblank,3,0.058\nsample,1,0.747\nsample,2,0.757\nsample,3,0.752\n"}, {"name": "protocol.txt", "content": "Analyte: bilirubin. Molar absorptivity 18300 L/(mol*cm). Cuvette path 0.5 cm.\nSerial dilution of the stock (each step uses the previous tube):\n Step 1: transfer 0.5 mL into 7.5 mL diluent and mix.\n Step 2: transfer 5.0 mL into 18.0 mL diluent and mix.\n Step 3: transfer 2.5 mL into 18.0 mL diluent and mix.\n Step 4: transfer 0.5 mL into 45.0 mL diluent and mix.\nAbsorbance of the final tube and of a reagent blank was read in triplicate.\n"}], "reference_answer": "4252"} {"task_id": "sci-dilution-series@1", "seed": 1, "instruction": "From protocol.txt and absorbance.csv, compute the analyte concentration in the original stock in mM (Beer-Lambert, blank-corrected means). Answer a number; within 1% counts.", "files": [{"name": "absorbance.csv", "content": "well,replicate,A\nblank,1,0.053\nblank,2,0.044\nblank,3,0.059\nsample,1,0.527\nsample,2,0.525\nsample,3,0.54\n"}, {"name": "protocol.txt", "content": "Analyte: riboflavin. Molar absorptivity 12200 L/(mol*cm). Cuvette path 1.0 cm.\nSerial dilution of the stock (each step uses the previous tube):\n Step 1: transfer 2.0 mL into 18.0 mL diluent and mix.\n Step 2: transfer 5.0 mL into 9.0 mL diluent and mix.\nAbsorbance of the final tube and of a reagent blank was read in triplicate.\n"}], "reference_answer": "1.099"} {"task_id": "sci-dilution-series@1", "seed": 2, "instruction": "From protocol.txt and absorbance.csv, compute the analyte concentration in the original stock in mM (Beer-Lambert, blank-corrected means). Answer a number; within 1% counts.", "files": [{"name": "absorbance.csv", "content": "well,replicate,A\nblank,1,0.058\nblank,2,0.036\nblank,3,0.047\nsample,1,0.505\nsample,2,0.51\nsample,3,0.498\n"}, {"name": "protocol.txt", "content": "Analyte: riboflavin. Molar absorptivity 33000 L/(mol*cm). Cuvette path 1.0 cm.\nSerial dilution of the stock (each step uses the previous tube):\n Step 1: transfer 0.5 mL into 19.0 mL diluent and mix.\n Step 2: transfer 2.0 mL into 18.0 mL diluent and mix.\nAbsorbance of the final tube and of a reagent blank was read in triplicate.\n"}], "reference_answer": "5.405"} {"task_id": "sci-dilution-series@2", "seed": 0, "instruction": "From protocol.txt and readings.csv, compute the analyte concentration in the original stock in mM. Answer a number; within 1% counts.", "files": [{"name": "protocol.txt", "content": "Analyte: riboflavin.\nSerial dilution of the stock (each step uses the previous tube):\n Step 1: transfer 2.0 mL into 19.0 mL diluent and mix.\n Step 2: transfer 0.5 mL into 9.0 mL diluent and mix.\n Step 3: transfer 5.0 mL into 4.5 mL diluent and mix.\n Step 4: transfer 2.5 mL into 18.0 mL diluent and mix.\nThe final tube was read alongside standards of known concentration (uM).\nFit absorbance = a + b * concentration to the standards by ordinary least squares and invert it for the mean of the final tube's valid readings. Readings with a note are invalid.\n"}, {"name": "readings.csv", "content": "kind,concentration_uM,A,note\nstandard,5,0.0983,\nstandard,10,0.1779,\nstandard,20,0.3344,\nstandard,40,0.6569,\nstandard,80,1.2892,\nstandard,100,1.6015,\nsample,,0.7837,\nsample,,0.9296,bubble\nsample,,0.7796,\nsample,,0.7874,\n"}], "reference_answer": "149.86"} {"task_id": "sci-dilution-series@2", "seed": 1, "instruction": "From protocol.txt and readings.csv, compute the analyte concentration in the original stock in mM. Answer a number; within 1% counts.", "files": [{"name": "protocol.txt", "content": "Analyte: methylene blue.\nSerial dilution of the stock (each step uses the previous tube):\n Step 1: transfer 0.5 mL into 45.0 mL diluent and mix.\n Step 2: transfer 5.0 mL into 45.0 mL diluent and mix.\n Step 3: transfer 2.5 mL into 4.5 mL diluent and mix.\nThe final tube was read alongside standards of known concentration (uM).\nFit absorbance = a + b * concentration to the standards by ordinary least squares and invert it for the mean of the final tube's valid readings. Readings with a note are invalid.\n"}, {"name": "readings.csv", "content": "kind,concentration_uM,A,note\nstandard,0,0.0097,\nstandard,5,0.1135,\nstandard,10,0.2214,\nstandard,20,0.419,\nstandard,40,0.8183,\nstandard,80,1.6008,\nsample,,1.019,\nsample,,1.028,\nsample,,1.0299,\nsample,,1.1799,bubble\n"}], "reference_answer": "129.39"} {"task_id": "sci-dilution-series@2", "seed": 2, "instruction": "From protocol.txt and readings.csv, compute the analyte concentration in the original stock in mM. Answer a number; within 1% counts.", "files": [{"name": "protocol.txt", "content": "Analyte: methylene blue.\nSerial dilution of the stock (each step uses the previous tube):\n Step 1: transfer 2.0 mL into 19.0 mL diluent and mix.\n Step 2: transfer 2.5 mL into 4.5 mL diluent and mix.\n Step 3: transfer 5.0 mL into 18.0 mL diluent and mix.\nThe final tube was read alongside standards of known concentration (uM).\nFit absorbance = a + b * concentration to the standards by ordinary least squares and invert it for the mean of the final tube's valid readings. Readings with a note are invalid.\n"}, {"name": "readings.csv", "content": "kind,concentration_uM,A,note\nstandard,0,0.0385,\nstandard,5,0.0758,\nstandard,40,0.2829,\nstandard,60,0.3902,\nstandard,80,0.5022,\nstandard,100,0.613,\nsample,,0.42,\nsample,,0.4194,\nsample,,0.4173,\nsample,,0.6673,bubble\n"}], "reference_answer": "8.8335"} {"task_id": "off-meeting-slot@1", "seed": 0, "instruction": "Find the earliest 45-minute slot this week (Mon-Fri) when Amara, Bruno, Freya, Emeka are all free and inside everyone's local working hours. Calendars are in calendars/; slots start on a quarter hour in UTC. Answer the UTC start as Day HH:MM, e.g. Tue 13:45.", "files": [{"name": "calendars/amara.txt", "content": "# Amara - timezone UTC+01:00 - working hours 09:00-17:00 local\n# busy blocks in local time\nMon 09:00-09:30 call\nMon 12:00-12:30 review\nMon 13:45-15:45 standup\nMon 16:15-17:00 standup\nTue 09:30-10:00 call\nTue 09:45-10:30 standup\nTue 13:00-13:30 standup\nTue 14:15-15:45 focus\nWed 09:45-10:30 call\nWed 10:00-10:45 1:1\nThu 11:15-11:45 review\nThu 11:30-12:15 review\nThu 16:15-17:00 1:1\nFri 10:45-11:15 1:1\nFri 11:15-11:45 1:1\n"}, {"name": "calendars/bruno.txt", "content": "# Bruno - timezone UTC+00:00 - working hours 09:00-17:00 local\n# busy blocks in local time\nMon 13:00-14:00 1:1\nMon 15:30-17:00 call\nTue 09:30-11:00 call\nTue 12:00-13:00 call\nTue 13:45-14:45 standup\nTue 15:00-16:30 focus\nWed 15:30-17:00 call\nThu 11:45-12:45 1:1\nThu 13:15-14:00 standup\nThu 14:30-15:15 standup\nThu 14:45-15:45 review\nFri 16:15-16:45 review\n"}, {"name": "calendars/emeka.txt", "content": "# Emeka - timezone UTC+05:30 - working hours 09:00-17:00 local\n# busy blocks in local time\nMon 11:30-12:15 review\nTue 11:45-12:15 1:1\nTue 11:45-12:30 1:1\nWed 14:00-15:00 1:1\nWed 15:00-17:00 1:1\nThu 09:30-10:15 call\nThu 10:15-11:45 call\nThu 14:15-16:15 focus\nThu 14:45-15:45 1:1\nFri 12:00-13:30 review\nFri 15:15-15:45 focus\n"}, {"name": "calendars/freya.txt", "content": "# Freya - timezone UTC+05:30 - working hours 09:00-17:00 local\n# busy blocks in local time\nMon 09:00-09:30 review\nMon 12:30-14:00 standup\nTue 13:30-14:00 standup\nTue 13:45-14:15 standup\nTue 13:45-15:15 call\nWed 15:00-15:30 call\nWed 15:30-16:30 focus\nThu 09:15-10:15 call\nThu 11:15-12:45 focus\nThu 13:15-15:15 standup\nThu 16:15-17:00 focus\nFri 09:30-10:00 call\nFri 14:30-16:30 call\nFri 16:15-17:00 call\n"}], "reference_answer": "Mon 09:00"} {"task_id": "off-meeting-slot@1", "seed": 1, "instruction": "Find the earliest 45-minute slot this week (Mon-Fri) when Freya, Amara, Chen, Bruno are all free and inside everyone's local working hours. Calendars are in calendars/; slots start on a quarter hour in UTC. Answer the UTC start as Day HH:MM, e.g. Tue 13:45.", "files": [{"name": "calendars/amara.txt", "content": "# Amara - timezone UTC+00:00 - working hours 09:00-17:00 local\n# busy blocks in local time\nMon 16:15-17:00 focus\nTue 12:15-13:15 review\nTue 16:15-17:00 focus\nWed 12:15-12:45 focus\nWed 12:30-13:30 1:1\nWed 13:15-14:00 focus\nWed 13:45-14:15 call\nThu 13:00-14:30 review\nFri 11:30-12:30 review\nFri 15:30-17:00 review\n"}, {"name": "calendars/bruno.txt", "content": "# Bruno - timezone UTC+04:00 - working hours 09:00-17:00 local\n# busy blocks in local time\nMon 10:30-12:30 review\nMon 12:30-13:30 call\nMon 14:15-15:15 review\nTue 09:45-10:15 call\nTue 11:45-13:15 standup\nTue 12:30-13:30 call\nTue 14:45-16:15 standup\nWed 09:00-09:30 focus\nThu 11:00-11:30 focus\nThu 13:30-15:00 standup\nThu 16:00-17:00 standup\nThu 16:15-17:00 review\nFri 13:45-14:15 standup\nFri 13:45-14:30 review\n"}, {"name": "calendars/chen.txt", "content": "# Chen - timezone UTC+00:00 - working hours 09:00-17:00 local\n# busy blocks in local time\nMon 13:00-13:30 review\nMon 13:15-13:45 review\nMon 16:15-17:00 1:1\nTue 09:30-10:15 focus\nTue 09:45-10:15 standup\nTue 11:30-12:15 review\nWed 09:45-11:45 standup\nWed 12:00-12:45 call\nWed 12:30-14:30 review\nThu 11:15-13:15 standup\nThu 11:45-12:30 focus\nFri 09:30-10:15 call\nFri 15:00-16:00 review\nFri 15:00-16:00 standup\nFri 16:00-17:00 review\n"}, {"name": "calendars/freya.txt", "content": "# Freya - timezone UTC+00:00 - working hours 09:00-17:00 local\n# busy blocks in local time\nMon 13:00-15:00 1:1\nMon 14:30-15:30 1:1\nMon 16:00-16:45 call\nTue 09:00-09:45 1:1\nTue 11:00-11:30 1:1\nWed 10:00-12:00 review\nWed 11:00-13:00 call\nWed 11:15-11:45 1:1\nWed 13:00-13:45 standup\nThu 13:45-14:15 standup\nThu 15:00-16:30 1:1\nThu 16:15-16:45 focus\nFri 10:45-12:45 call\nFri 12:30-13:00 focus\nFri 15:45-16:15 1:1\nFri 16:00-17:00 1:1\n"}], "reference_answer": "Mon 09:30"} {"task_id": "off-meeting-slot@1", "seed": 2, "instruction": "Find the earliest 45-minute slot this week (Mon-Fri) when Hana, Emeka, Chen are all free and inside everyone's local working hours. Calendars are in calendars/; slots start on a quarter hour in UTC. Answer the UTC start as Day HH:MM, e.g. Tue 13:45.", "files": [{"name": "calendars/chen.txt", "content": "# Chen - timezone UTC+02:00 - working hours 09:00-17:00 local\n# busy blocks in local time\nMon 12:15-13:45 1:1\nMon 12:30-14:00 1:1\nMon 13:30-15:00 standup\nMon 16:00-17:00 1:1\nTue 10:00-10:30 standup\nTue 12:45-13:15 call\nTue 15:45-16:15 standup\nWed 11:00-11:30 standup\nWed 12:15-14:15 focus\nWed 12:30-14:30 standup\nWed 16:00-16:45 1:1\nThu 11:00-12:00 call\nThu 13:15-15:15 review\nThu 15:00-15:30 standup\nThu 15:00-16:00 1:1\nFri 09:15-09:45 review\n"}, {"name": "calendars/emeka.txt", "content": "# Emeka - timezone UTC+00:00 - working hours 09:00-17:00 local\n# busy blocks in local time\nMon 11:30-13:00 focus\nMon 16:00-16:45 1:1\nTue 10:45-11:30 call\nTue 11:00-13:00 1:1\nTue 11:45-12:15 review\nWed 09:15-10:15 1:1\nWed 14:15-15:00 1:1\nThu 09:15-10:00 review\nFri 11:15-12:00 standup\nFri 15:45-17:00 review\n"}, {"name": "calendars/hana.txt", "content": "# Hana - timezone UTC+03:00 - working hours 09:00-17:00 local\n# busy blocks in local time\nMon 11:45-13:45 1:1\nTue 14:45-16:15 call\nTue 16:15-17:00 standup\nWed 11:15-12:45 call\nWed 12:00-12:30 1:1\nThu 11:15-13:15 standup\nThu 13:15-14:00 review\nFri 13:45-14:30 review\nFri 14:15-15:00 standup\nFri 14:45-16:15 focus\n"}], "reference_answer": "Mon 13:00"} {"task_id": "off-meeting-slot@2", "seed": 0, "instruction": "Find the earliest 30-minute slot this week (Mon-Fri) when Freya, Dalia, Amara, Chen are all free and inside everyone's local working hours, following scheduling_rules.md. Calendars are in calendars/; slots start on a quarter hour in UTC. Answer the UTC start as Day HH:MM, e.g. Tue 13:45.", "files": [{"name": "calendars/amara.txt", "content": "# Amara - timezone UTC+04:00 - working hours 09:00-17:00 local\n# busy blocks in local time\nMon 10:15-10:45 call\nMon 14:30-16:30 focus\nTue 10:00-10:30 1:1\nTue 10:30-11:30 standup\nTue 15:00-16:00 review\nWed 09:15-11:15 focus\nThu 13:15-14:15 call\nFri 13:30-15:00 1:1\nFri 15:15-16:45 focus\n"}, {"name": "calendars/chen.txt", "content": "# Chen - timezone UTC+00:00 - working hours 09:00-17:00 local\n# busy blocks in local time\nMon 16:00-17:00 review\nTue 11:15-12:45 review\nTue 11:30-12:00 review\nWed 12:00-14:00 call\nWed 12:00-14:00 call\nWed 14:30-16:30 standup\nWed 16:15-16:45 review\nThu 12:00-14:00 review\nThu 15:15-17:00 focus\nThu 16:15-17:00 focus\nFri 11:30-12:30 standup\nFri 15:45-17:00 review\n"}, {"name": "calendars/dalia.txt", "content": "# Dalia - timezone UTC+02:00 - working hours 09:00-17:00 local\n# busy blocks in local time\nMon 11:15-12:45 standup\nMon 13:00-15:00 call\nTue 12:15-12:45 standup\nTue 14:15-15:00 1:1\nWed 09:30-10:00 1:1\nWed 11:45-12:30 review\nWed 14:30-15:00 focus\nWed 15:45-16:45 standup\nThu 12:45-13:30 review\nFri 09:00-09:45 1:1\nFri 12:00-13:30 1:1\nFri 15:00-15:30 review\nFri 15:30-16:15 review\n"}, {"name": "calendars/freya.txt", "content": "# Freya - timezone UTC+00:00 - working hours 09:00-17:00 local\n# busy blocks in local time\nMon 09:00-11:00 review\nMon 12:15-13:15 call\nMon 15:15-16:45 review\nTue 13:15-14:45 1:1\nTue 14:00-15:00 1:1\nTue 14:15-15:45 focus\nWed 10:45-11:30 review\nWed 10:45-12:45 review\nWed 13:45-15:45 review\nThu 09:45-10:15 review\nThu 15:30-17:00 review\nFri 12:00-14:00 call\nFri 12:45-13:15 standup\nFri 15:30-16:00 standup\n"}, {"name": "scheduling_rules.md", "content": "# Scheduling rules\n- Chen is optional and does not constrain the slot.\n- 12:00-13:00 local time is protected lunch for every required attendee; a meeting may not overlap it.\n- Freya needs at least 15 minutes after the end of any busy block in their calendar before a meeting can start (lunch is not a calendar block and needs no buffer).\n- Working hours, busy blocks and slot alignment are as in the calendars and the request.\n"}], "reference_answer": "Tue 09:00"} {"task_id": "off-meeting-slot@2", "seed": 1, "instruction": "Find the earliest 60-minute slot this week (Mon-Fri) when Amara, Bruno, Emeka, Dalia are all free and inside everyone's local working hours, following scheduling_rules.md. Calendars are in calendars/; slots start on a quarter hour in UTC. Answer the UTC start as Day HH:MM, e.g. Tue 13:45.", "files": [{"name": "calendars/amara.txt", "content": "# Amara - timezone UTC+03:00 - working hours 09:00-17:00 local\n# busy blocks in local time\nMon 10:00-11:30 call\nTue 11:30-12:00 review\nTue 14:00-14:45 focus\nWed 14:30-15:00 focus\nWed 14:45-15:15 1:1\nThu 10:15-11:00 standup\nFri 09:15-09:45 focus\nFri 15:45-16:45 review\n"}, {"name": "calendars/bruno.txt", "content": "# Bruno - timezone UTC+03:00 - working hours 09:00-17:00 local\n# busy blocks in local time\nMon 12:00-12:45 standup\nTue 12:15-14:15 focus\nTue 13:15-14:45 call\nTue 16:15-17:00 1:1\nWed 11:30-12:00 focus\nWed 12:45-13:30 focus\nWed 13:00-14:30 standup\nWed 14:30-15:30 standup\nThu 09:45-11:15 review\nThu 15:45-16:45 1:1\nThu 16:15-17:00 review\nFri 13:00-14:00 1:1\nFri 14:45-16:45 1:1\n"}, {"name": "calendars/dalia.txt", "content": "# Dalia - timezone UTC-02:00 - working hours 09:00-17:00 local\n# busy blocks in local time\nMon 09:45-10:30 focus\nMon 11:30-13:30 standup\nMon 12:30-14:30 call\nTue 15:45-16:15 standup\nWed 10:00-10:45 review\nWed 12:30-14:00 1:1\nWed 13:00-13:45 call\nThu 09:00-09:30 standup\nThu 10:00-11:00 call\nFri 09:45-11:15 1:1\nFri 10:00-11:30 call\n"}, {"name": "calendars/emeka.txt", "content": "# Emeka - timezone UTC+03:00 - working hours 09:00-17:00 local\n# busy blocks in local time\nMon 12:30-13:15 review\nMon 16:15-16:45 focus\nTue 10:45-12:15 focus\nTue 11:30-13:30 focus\nWed 10:30-11:30 1:1\nWed 13:45-14:30 1:1\nThu 09:30-11:00 focus\nThu 14:30-15:15 focus\nFri 10:30-11:15 standup\n"}, {"name": "scheduling_rules.md", "content": "# Scheduling rules\n- Bruno is optional and does not constrain the slot.\n- 12:00-13:00 local time is protected lunch for every required attendee; a meeting may not overlap it.\n- Amara needs at least 15 minutes after the end of any busy block in their calendar before a meeting can start (lunch is not a calendar block and needs no buffer).\n- Working hours, busy blocks and slot alignment are as in the calendars and the request.\n"}], "reference_answer": "Tue 12:00"} {"task_id": "off-meeting-slot@2", "seed": 2, "instruction": "Find the earliest 45-minute slot this week (Mon-Fri) when Dalia, Emeka, Goran are all free and inside everyone's local working hours, following scheduling_rules.md. Calendars are in calendars/; slots start on a quarter hour in UTC. Answer the UTC start as Day HH:MM, e.g. Tue 13:45.", "files": [{"name": "calendars/dalia.txt", "content": "# Dalia - timezone UTC+03:00 - working hours 09:00-17:00 local\n# busy blocks in local time\nMon 14:15-14:45 standup\nMon 16:00-16:45 1:1\nTue 09:00-09:30 standup\nWed 14:15-14:45 standup\nWed 14:45-16:15 review\nWed 15:30-16:00 call\nWed 16:15-17:00 1:1\nThu 09:15-11:15 call\nThu 14:45-15:30 1:1\nThu 15:00-17:00 focus\nFri 09:30-10:30 review\nFri 13:30-15:30 1:1\nFri 13:45-14:30 1:1\n"}, {"name": "calendars/emeka.txt", "content": "# Emeka - timezone UTC+02:00 - working hours 09:00-17:00 local\n# busy blocks in local time\nMon 11:15-11:45 call\nTue 11:45-13:15 1:1\nWed 09:15-11:15 focus\nWed 10:30-11:00 1:1\nWed 11:15-12:45 standup\nWed 13:30-14:00 focus\nThu 09:00-10:00 call\nThu 15:45-17:00 1:1\nFri 14:00-16:00 review\n"}, {"name": "calendars/goran.txt", "content": "# Goran - timezone UTC-02:00 - working hours 09:00-17:00 local\n# busy blocks in local time\nMon 10:45-11:30 call\nMon 12:00-14:00 standup\nMon 14:00-14:30 review\nTue 09:45-10:45 call\nTue 15:00-17:00 1:1\nTue 15:15-17:00 call\nWed 12:30-14:00 focus\nWed 14:30-15:30 call\nWed 15:00-17:00 focus\nThu 12:00-12:45 1:1\nThu 12:30-13:15 focus\nThu 14:45-16:15 focus\nFri 10:45-11:45 1:1\nFri 11:00-12:30 focus\nFri 15:00-16:30 focus\n"}, {"name": "scheduling_rules.md", "content": "# Scheduling rules\n- Dalia is optional and does not constrain the slot.\n- 12:00-13:00 local time is protected lunch for every required attendee; a meeting may not overlap it.\n- Goran needs at least 15 minutes after the end of any busy block in their calendar before a meeting can start (lunch is not a calendar block and needs no buffer).\n- Working hours, busy blocks and slot alignment are as in the calendars and the request.\n"}], "reference_answer": "Mon 11:00"} {"task_id": "off-expense-audit@1", "seed": 0, "instruction": "Audit expenses.csv against policy.md. Answer the ids of every non-compliant line, comma-separated in ascending order (e.g. X103,X117), or none.", "files": [{"name": "expenses.csv", "content": "id,employee,date,category,amount,currency,attendees,nights,receipt\nX101,Hana,2026-09-23,hotel,391.68,EUR,1,2,yes\nX102,Hana,2026-09-07,office,57.01,EUR,1,,yes\nX103,Hana,2026-09-12,taxi,93.69,EUR,1,,yes\nX104,Goran,2026-09-11,meal,149.69,USD,2,,yes\nX105,Amara,2026-09-25,office,50.36,USD,1,,yes\nX106,Hana,2026-09-29,hotel,492.85,EUR,1,4,yes\nX107,Goran,2026-09-08,taxi,94.42,EUR,1,,yes\nX108,Amara,2026-09-27,office,79.31,EUR,1,,yes\nX109,Hana,2026-09-27,meal,346.2,USD,5,,yes\nX110,Amara,2026-09-04,meal,167.43,EUR,3,,no\nX111,Goran,2026-09-16,meal,98.31,USD,3,,yes\nX112,Chen,2026-09-24,office,60.56,USD,1,,yes\nX113,Chen,2026-09-22,meal,54.86,USD,1,,no\nX114,Goran,2026-09-02,hotel,159.46,EUR,1,1,yes\nX115,Hana,2026-09-24,hotel,329.04,USD,1,3,yes\nX116,Chen,2026-09-03,meal,138.89,EUR,3,,yes\nX117,Goran,2026-09-18,alcohol,73.42,EUR,1,,yes\nX118,Goran,2026-09-16,taxi,107.66,USD,1,,no\nX119,Amara,2026-09-12,meal,186.57,USD,4,,yes\nX120,Amara,2026-09-25,meal,231.48,EUR,5,,yes\nX121,Hana,2026-09-02,alcohol,63.19,EUR,1,,yes\nX122,Goran,2026-09-19,meal,250,USD,5,,yes\nX123,Hana,2026-09-23,office,67.47,USD,1,,yes\nX124,Hana,2026-09-21,office,111.57,USD,1,,no\nX125,Chen,2026-09-09,alcohol,20.62,EUR,1,,yes\nX126,Hana,2026-09-27,meal,185.19,EUR,4,,no\nX127,Goran,2026-09-24,office,117.91,USD,1,,yes\nX128,Hana,2026-09-17,hotel,455.31,EUR,1,2,yes\nX129,Chen,2026-09-05,office,64.97,USD,1,,yes\nX130,Chen,2026-09-28,meal,267.92,USD,4,,yes\nX131,Hana,2026-09-10,taxi,73.28,USD,1,,yes\nX132,Goran,2026-09-17,hotel,275.44,USD,1,2,yes\n"}, {"name": "policy.md", "content": "# Travel and expense policy (excerpt)\n1. EUR amounts convert to USD at 1.08 USD per EUR, rounded to the cent (half up) before any rule is applied. Caps below are in USD.\n2. Meals: at most 50 USD per attendee per claim line.\n3. Hotels: at most 180 USD per night.\n4. Any line above 75 USD needs receipt=yes.\n5. Alcohol is never reimbursable.\nAmounts exactly at a cap comply.\n"}], "reference_answer": "X101,X104,X109,X110,X113,X117,X118,X121,X124,X125,X126,X128,X130"} {"task_id": "off-expense-audit@1", "seed": 1, "instruction": "Audit expenses.csv against policy.md. Answer the ids of every non-compliant line, comma-separated in ascending order (e.g. X103,X117), or none.", "files": [{"name": "expenses.csv", "content": "id,employee,date,category,amount,currency,attendees,nights,receipt\nX101,Goran,2026-09-27,taxi,117.81,USD,1,,yes\nX102,Emeka,2026-09-13,office,83.57,EUR,1,,yes\nX103,Goran,2026-09-13,meal,28.25,USD,1,,yes\nX104,Chen,2026-09-02,office,92.32,EUR,1,,yes\nX105,Emeka,2026-09-28,taxi,18.69,USD,1,,yes\nX106,Goran,2026-09-19,meal,186.37,EUR,3,,no\nX107,Amara,2026-09-30,taxi,32.53,USD,1,,yes\nX108,Goran,2026-09-05,meal,142.06,EUR,5,,yes\nX109,Amara,2026-09-06,meal,50,USD,1,,yes\nX110,Goran,2026-09-07,meal,147.16,USD,2,,yes\nX111,Emeka,2026-09-13,hotel,177.98,USD,1,1,no\nX112,Emeka,2026-09-02,meal,100,USD,2,,yes\nX113,Amara,2026-09-15,meal,200,USD,4,,no\nX114,Goran,2026-09-01,meal,133.46,USD,2,,yes\nX115,Chen,2026-09-20,hotel,327.14,EUR,1,3,yes\nX116,Amara,2026-09-30,taxi,76.29,EUR,1,,yes\nX117,Emeka,2026-09-29,office,20.91,EUR,1,,no\nX118,Emeka,2026-09-23,meal,156.9,USD,4,,yes\nX119,Chen,2026-09-09,taxi,90.72,EUR,1,,yes\nX120,Emeka,2026-09-25,meal,200,USD,4,,yes\nX121,Amara,2026-09-21,taxi,84.06,USD,1,,yes\nX122,Chen,2026-09-08,office,78.68,EUR,1,,yes\nX123,Emeka,2026-09-30,meal,39.93,USD,1,,yes\nX124,Chen,2026-09-05,meal,318.93,USD,4,,yes\nX125,Amara,2026-09-17,taxi,29.1,USD,1,,no\nX126,Chen,2026-09-23,office,23.91,EUR,1,,yes\nX127,Amara,2026-09-03,office,118.25,USD,1,,yes\nX128,Emeka,2026-09-04,hotel,371.17,USD,1,2,yes\nX129,Chen,2026-09-30,meal,100,USD,2,,yes\nX130,Amara,2026-09-24,meal,279.94,USD,4,,yes\nX131,Emeka,2026-09-27,hotel,89.45,EUR,1,1,yes\n"}, {"name": "policy.md", "content": "# Travel and expense policy (excerpt)\n1. EUR amounts convert to USD at 1.12 USD per EUR, rounded to the cent (half up) before any rule is applied. Caps below are in USD.\n2. Meals: at most 50 USD per attendee per claim line.\n3. Hotels: at most 200 USD per night.\n4. Any line above 25 USD needs receipt=yes.\n5. Alcohol is never reimbursable.\nAmounts exactly at a cap comply.\n"}], "reference_answer": "X106,X110,X111,X113,X114,X124,X125,X130"} {"task_id": "off-expense-audit@1", "seed": 2, "instruction": "Audit expenses.csv against policy.md. Answer the ids of every non-compliant line, comma-separated in ascending order (e.g. X103,X117), or none.", "files": [{"name": "expenses.csv", "content": "id,employee,date,category,amount,currency,attendees,nights,receipt\nX101,Hana,2026-09-27,taxi,70.43,USD,1,,yes\nX102,Hana,2026-09-15,meal,25.33,EUR,1,,yes\nX103,Freya,2026-09-25,office,85.99,EUR,1,,yes\nX104,Bruno,2026-09-14,meal,50,USD,1,,yes\nX105,Bruno,2026-09-08,hotel,217.23,EUR,1,1,yes\nX106,Freya,2026-09-17,hotel,407.41,EUR,1,2,no\nX107,Goran,2026-09-18,office,87.25,USD,1,,yes\nX108,Bruno,2026-09-11,meal,200,USD,4,,yes\nX109,Hana,2026-09-09,meal,100,USD,2,,yes\nX110,Goran,2026-09-18,hotel,915.57,USD,1,3,yes\nX111,Bruno,2026-09-08,meal,200,USD,4,,yes\nX112,Hana,2026-09-12,hotel,212.84,USD,1,1,yes\nX113,Freya,2026-09-01,hotel,941.35,USD,1,4,yes\nX114,Goran,2026-09-17,office,24.84,EUR,1,,yes\nX115,Freya,2026-09-25,taxi,111.41,USD,1,,yes\nX116,Goran,2026-09-06,taxi,115.93,USD,1,,yes\nX117,Bruno,2026-09-03,meal,50,USD,1,,yes\nX118,Bruno,2026-09-25,hotel,660,USD,1,3,yes\nX119,Hana,2026-09-27,meal,200,USD,4,,yes\nX120,Freya,2026-09-27,meal,13.62,USD,1,,yes\nX121,Goran,2026-09-07,office,101.34,USD,1,,yes\nX122,Bruno,2026-09-06,office,106.3,USD,1,,yes\nX123,Hana,2026-09-06,taxi,21.99,USD,1,,no\nX124,Goran,2026-09-02,office,55.98,USD,1,,yes\nX125,Freya,2026-09-15,meal,370.04,USD,5,,yes\nX126,Goran,2026-09-11,office,8.05,USD,1,,no\nX127,Bruno,2026-09-08,taxi,55.97,USD,1,,yes\nX128,Bruno,2026-09-05,meal,150,USD,3,,yes\nX129,Goran,2026-09-16,office,19.56,USD,1,,yes\n"}, {"name": "policy.md", "content": "# Travel and expense policy (excerpt)\n1. EUR amounts convert to USD at 1.08 USD per EUR, rounded to the cent (half up) before any rule is applied. Caps below are in USD.\n2. Meals: at most 50 USD per attendee per claim line.\n3. Hotels: at most 220 USD per night.\n4. Any line above 75 USD needs receipt=yes.\n5. Alcohol is never reimbursable.\nAmounts exactly at a cap comply.\n"}], "reference_answer": "X105,X106,X110,X113,X125"} {"task_id": "off-expense-audit@2", "seed": 0, "instruction": "Audit expenses.csv against policy.md. Answer the ids of every non-compliant line, comma-separated in ascending order (e.g. X103,X117), or none.", "files": [{"name": "expenses.csv", "content": "id,employee,date,category,amount,currency,attendees,nights,receipt\nX101,Chen,2026-09-13,meal,55.05,USD,2,,yes\nX102,Goran,2026-09-27,hotel,349.94,USD,1,2,yes\nX103,Goran,2026-09-27,taxi,69.08,EUR,1,,no\nX104,Emeka,2026-09-05,office,82.48,USD,1,,yes\nX105,Chen,2026-09-15,office,10.13,USD,1,,yes\nX106,Chen,2026-09-30,taxi,81.2,USD,1,,yes\nX107,Emeka,2026-09-03,taxi,75.6,EUR,1,,yes\nX108,Chen,2026-09-11,meal,267.62,USD,4,,yes\nX109,Goran,2026-09-30,taxi,111.04,EUR,1,,yes\nX110,Emeka,2026-09-12,meal,218.96,USD,4,,yes\nX111,Goran,2026-09-09,hotel,458.1,USD,1,2,yes\nX112,Goran,2026-09-21,hotel,440.81,USD,1,3,yes\nX113,Amara,2026-09-06,office,42.76,USD,1,,yes\nX114,Goran,2026-09-11,taxi,56.29,USD,1,,yes\nX115,Amara,2026-09-15,office,11.7,EUR,1,,no\nX116,Chen,2026-09-04,taxi,37.49,USD,1,,yes\nX117,Goran,2026-09-27,taxi,69.08,EUR,1,,no\nX118,Chen,2026-09-07,office,8.22,USD,1,,yes\nX119,Emeka,2026-09-10,hotel,833.52,USD,1,4,no\nX120,Chen,2026-09-11,meal,318.15,USD,4,,yes\nX121,Chen,2026-09-09,meal,44.2,EUR,3,,yes\nX122,Chen,2026-09-08,meal,46.3,EUR,1,,yes\nX123,Amara,2026-09-14,taxi,23.15,EUR,1,,yes\nX124,Amara,2026-09-25,hotel,1127.13,USD,1,4,yes\nX125,Amara,2026-09-11,alcohol,86.06,USD,1,,no\nX126,Emeka,2026-09-12,meal,100,USD,2,,yes\nX127,Amara,2026-09-14,hotel,660,USD,1,3,yes\nX128,Emeka,2026-09-27,office,59.98,USD,1,,yes\n"}, {"name": "policy.md", "content": "# Travel and expense policy (excerpt)\n1. EUR amounts convert to USD at 1.08 USD per EUR, rounded to the cent (half up) before any rule is applied. Caps below are in USD.\n2. Meals: at most 50 USD per attendee per claim line.\n3. Hotels: at most 220 USD per night.\n4. Any line above 50 USD needs receipt=yes.\n5. Alcohol is never reimbursable.\nAmounts exactly at a cap comply.\n6. Meals dated on a Saturday or Sunday are not reimbursable.\n7. A line with the same employee, date, category, amount and currency as an earlier line (lower id) is a duplicate and non-compliant; the earlier line is judged on its own.\n"}], "reference_answer": "X101,X103,X108,X110,X111,X117,X119,X120,X124,X125,X126"} {"task_id": "off-expense-audit@2", "seed": 1, "instruction": "Audit expenses.csv against policy.md. Answer the ids of every non-compliant line, comma-separated in ascending order (e.g. X103,X117), or none.", "files": [{"name": "expenses.csv", "content": "id,employee,date,category,amount,currency,attendees,nights,receipt\nX101,Hana,2026-09-17,office,79.22,USD,1,,yes\nX102,Freya,2026-09-16,hotel,400,USD,1,2,yes\nX103,Chen,2026-09-26,taxi,52.4,EUR,1,,yes\nX104,Freya,2026-09-16,meal,60,USD,1,,yes\nX105,Hana,2026-09-08,office,97.11,EUR,1,,no\nX106,Freya,2026-09-30,meal,267.86,EUR,5,,yes\nX107,Chen,2026-09-15,office,37.43,USD,1,,yes\nX108,Emeka,2026-09-02,meal,240,USD,4,,no\nX109,Chen,2026-09-06,meal,282.83,USD,3,,yes\nX110,Hana,2026-09-02,hotel,200,USD,1,1,yes\nX111,Hana,2026-09-23,taxi,21.66,USD,1,,yes\nX112,Freya,2026-09-16,hotel,400,USD,1,2,yes\nX113,Emeka,2026-09-28,meal,351.96,USD,5,,yes\nX114,Chen,2026-09-21,meal,155.94,USD,5,,yes\nX115,Emeka,2026-09-01,meal,174.87,EUR,5,,yes\nX116,Freya,2026-09-20,hotel,357.14,EUR,1,2,no\nX117,Freya,2026-09-16,hotel,512.89,USD,1,2,yes\nX118,Hana,2026-09-09,office,48.08,EUR,1,,yes\nX119,Freya,2026-09-20,hotel,357.14,EUR,1,2,no\nX120,Chen,2026-09-03,taxi,20.97,USD,1,,yes\nX121,Chen,2026-09-01,hotel,288.26,USD,1,2,yes\nX122,Freya,2026-09-03,meal,300,USD,5,,yes\nX123,Chen,2026-09-10,taxi,18.11,USD,1,,yes\n"}, {"name": "policy.md", "content": "# Travel and expense policy (excerpt)\n1. EUR amounts convert to USD at 1.12 USD per EUR, rounded to the cent (half up) before any rule is applied. Caps below are in USD.\n2. Meals: at most 60 USD per attendee per claim line.\n3. Hotels: at most 200 USD per night.\n4. Any line above 25 USD needs receipt=yes.\n5. Alcohol is never reimbursable.\nAmounts exactly at a cap comply.\n6. Meals dated on a Saturday or Sunday are not reimbursable.\n7. A line with the same employee, date, category, amount and currency as an earlier line (lower id) is a duplicate and non-compliant; the earlier line is judged on its own.\n"}], "reference_answer": "X105,X108,X109,X112,X113,X116,X117,X119"} {"task_id": "off-expense-audit@2", "seed": 2, "instruction": "Audit expenses.csv against policy.md. Answer the ids of every non-compliant line, comma-separated in ascending order (e.g. X103,X117), or none.", "files": [{"name": "expenses.csv", "content": "id,employee,date,category,amount,currency,attendees,nights,receipt\nX101,Emeka,2026-09-16,meal,11.93,EUR,1,,yes\nX102,Hana,2026-09-26,meal,204.66,USD,5,,yes\nX103,Emeka,2026-09-16,meal,11.93,EUR,1,,yes\nX104,Hana,2026-09-26,meal,204.66,USD,5,,yes\nX105,Amara,2026-09-29,hotel,656.04,EUR,1,3,yes\nX106,Hana,2026-09-12,hotel,174.77,USD,1,1,yes\nX107,Amara,2026-09-10,office,95.46,EUR,1,,yes\nX108,Hana,2026-09-22,office,44.44,USD,1,,yes\nX109,Amara,2026-09-17,hotel,363.64,EUR,1,2,no\nX110,Emeka,2026-09-16,meal,11.93,EUR,1,,yes\nX111,Hana,2026-09-13,meal,204.55,EUR,3,,yes\nX112,Amara,2026-09-15,hotel,156.98,EUR,1,1,yes\nX113,Amara,2026-09-14,meal,272.73,EUR,4,,yes\nX114,Emeka,2026-09-09,office,55.94,USD,1,,yes\nX115,Emeka,2026-09-05,taxi,74.01,USD,1,,yes\nX116,Amara,2026-09-07,meal,416.16,USD,5,,yes\nX117,Hana,2026-09-01,taxi,73.47,USD,1,,no\nX118,Amara,2026-09-15,hotel,156.98,EUR,1,1,yes\nX119,Hana,2026-09-26,hotel,154.87,EUR,1,1,yes\nX120,Amara,2026-09-29,office,97.03,USD,1,,yes\nX121,Bruno,2026-09-14,taxi,23.54,EUR,1,,no\nX122,Hana,2026-09-13,hotel,601.01,USD,1,4,yes\nX123,Bruno,2026-09-14,taxi,23.54,EUR,1,,no\nX124,Bruno,2026-09-10,office,28.24,USD,1,,yes\nX125,Bruno,2026-09-23,office,96.71,EUR,1,,no\nX126,Bruno,2026-09-14,taxi,23.54,EUR,1,,no\nX127,Hana,2026-09-29,meal,112.03,USD,1,,yes\nX128,Amara,2026-09-21,taxi,37.93,EUR,1,,yes\nX129,Emeka,2026-09-26,hotel,363.64,EUR,1,2,no\nX130,Hana,2026-09-28,hotel,400,USD,1,2,no\nX131,Emeka,2026-09-03,hotel,800,USD,1,4,yes\nX132,Amara,2026-09-25,meal,369.3,EUR,4,,yes\n"}, {"name": "policy.md", "content": "# Travel and expense policy (excerpt)\n1. EUR amounts convert to USD at 1.1 USD per EUR, rounded to the cent (half up) before any rule is applied. Caps below are in USD.\n2. Meals: at most 75 USD per attendee per claim line.\n3. Hotels: at most 200 USD per night.\n4. Any line above 25 USD needs receipt=yes.\n5. Alcohol is never reimbursable.\nAmounts exactly at a cap comply.\n6. Meals dated on a Saturday or Sunday are not reimbursable.\n7. A line with the same employee, date, category, amount and currency as an earlier line (lower id) is a duplicate and non-compliant; the earlier line is judged on its own.\n"}], "reference_answer": "X102,X103,X104,X105,X109,X110,X111,X116,X117,X118,X121,X123,X125,X126,X127,X129,X130,X132"} {"task_id": "off-regional-revenue@1", "seed": 0, "instruction": "Using orders.csv and customers.csv, find the region with the highest Q2 2026 revenue, excluding cancelled and refunded orders (calendar quarters). Answer region,total with 2 decimals, e.g. APAC,10450.25. Each part is worth 0.5.", "files": [{"name": "customers.csv", "content": "customer_id,region\nC200,DACH\nC201,NA\nC202,ANZ\nC203,NA\nC204,LATAM\nC205,NA\nC206,LATAM\nC207,NA\nC208,LATAM\nC209,DACH\nC210,LATAM\nC211,ANZ\nC212,ANZ\nC213,DACH\nC214,DACH\nC215,NA\nC216,ANZ\nC217,NA\nC218,DACH\nC219,DACH\nC220,LATAM\nC221,LATAM\n"}, {"name": "orders.csv", "content": "order_id,customer_id,order_date,amount_usd,status\nO5000,C217,2026-08-13,2130.01,paid\nO5001,C219,2026-09-09,2193.31,paid\nO5002,C221,2026-07-01,3960.34,refunded\nO5003,C201,2026-08-22,3370.3,paid\nO5004,C213,2026-01-09,2066.26,cancelled\nO5005,C206,2026-05-21,1584.32,paid\nO5006,C213,2026-08-20,3105.25,paid\nO5007,C202,2026-08-08,3855.11,refunded\nO5008,C212,2026-11-07,1654.14,cancelled\nO5009,C210,2026-04-14,1977.17,paid\nO5010,C202,2026-08-15,141.88,cancelled\nO5011,C203,2026-08-06,672.11,paid\nO5012,C203,2026-04-12,2504.17,paid\nO5013,C210,2026-03-12,284.8,refunded\nO5014,C203,2026-10-12,1623.81,paid\nO5015,C203,2026-07-02,3113.71,paid\nO5016,C219,2026-07-07,1010.74,paid\nO5017,C213,2026-10-16,1714.98,paid\nO5018,C209,2026-11-08,371.77,paid\nO5019,C210,2026-05-25,1800.32,pending\nO5020,C204,2026-06-23,867.97,paid\nO5021,C201,2026-07-16,1866.59,paid\nO5022,C210,2026-01-15,3488.27,refunded\nO5023,C200,2026-08-20,887.68,paid\nO5024,C200,2026-07-12,162.64,pending\nO5025,C207,2026-12-20,690.96,paid\nO5026,C208,2026-04-27,3567.99,paid\nO5027,C200,2026-05-14,1427.95,paid\nO5028,C214,2026-06-03,3381.13,paid\nO5029,C200,2026-02-20,2467.93,pending\nO5030,C221,2026-01-18,776.55,paid\nO5031,C215,2026-04-05,2446.09,paid\nO5032,C206,2026-11-09,703.49,paid\nO5033,C212,2026-12-10,519.55,paid\nO5034,C207,2026-05-13,3258.86,pending\nO5035,C215,2026-12-16,2626.47,pending\nO5036,C219,2026-07-20,2442.3,paid\nO5037,C201,2026-07-09,608.86,paid\nO5038,C221,2026-05-28,1329.32,refunded\nO5039,C200,2026-06-16,1233.1,paid\nO5040,C202,2026-01-16,2407.41,paid\nO5041,C212,2026-11-04,3631.8,paid\nO5042,C219,2026-09-18,2409.24,paid\nO5043,C216,2026-07-17,1407.67,paid\nO5044,C216,2026-05-02,3840.01,paid\nO5045,C209,2026-10-08,2150.72,cancelled\nO5046,C208,2026-04-05,2678.28,cancelled\nO5047,C201,2026-05-15,3710.8,pending\nO5048,C202,2026-11-24,1413.71,pending\nO5049,C209,2026-11-17,2243.75,pending\nO5050,C214,2026-09-06,3194.6,paid\nO5051,C200,2026-10-01,3960.22,paid\nO5052,C205,2026-12-22,485.28,paid\nO5053,C213,2026-03-19,2487.91,paid\nO5054,C214,2026-09-26,1541.99,refunded\nO5055,C218,2026-05-20,1285.6,paid\nO5056,C210,2026-08-26,3488.51,paid\nO5057,C211,2026-07-18,876.21,pending\nO5058,C218,2026-07-26,174.7,pending\nO5059,C216,2026-09-07,2074.27,paid\nO5060,C213,2026-02-03,2044.83,refunded\nO5061,C208,2026-12-28,3387.81,pending\nO5062,C211,2026-10-22,521.76,paid\nO5063,C217,2026-01-24,3160.53,paid\nO5064,C213,2026-10-01,2646.17,paid\nO5065,C211,2026-07-26,3174.13,paid\nO5066,C206,2026-04-27,1767.85,paid\nO5067,C212,2026-06-23,3019.8,pending\nO5068,C221,2026-07-12,3312.27,paid\nO5069,C204,2026-02-05,2274.57,paid\nO5070,C215,2026-08-15,3716.76,paid\nO5071,C216,2026-10-16,1744.2,paid\nO5072,C210,2026-03-11,3256.45,paid\nO5073,C215,2026-06-08,3489.85,pending\nO5074,C213,2026-02-04,3394.44,cancelled\nO5075,C215,2026-09-01,3334.02,paid\n"}], "reference_answer": "NA,15409.77"} {"task_id": "off-regional-revenue@1", "seed": 1, "instruction": "Using orders.csv and customers.csv, find the region with the highest Q2 2026 revenue, excluding cancelled and refunded orders (calendar quarters). Answer region,total with 2 decimals, e.g. APAC,10450.25. Each part is worth 0.5.", "files": [{"name": "customers.csv", "content": "customer_id,region\nC200,EMEA\nC201,EMEA\nC202,NA\nC203,EMEA\nC204,LATAM\nC205,EMEA\nC206,DACH\nC207,NA\nC208,EMEA\nC209,NA\nC210,LATAM\nC211,NA\nC212,DACH\nC213,LATAM\nC214,NA\nC215,DACH\nC216,NA\nC217,NA\nC218,EMEA\nC219,EMEA\nC220,DACH\nC221,EMEA\n"}, {"name": "orders.csv", "content": "order_id,customer_id,order_date,amount_usd,status\nO5000,C200,2026-11-25,1563.11,paid\nO5001,C213,2026-04-03,3482.36,paid\nO5002,C218,2026-07-06,3852.59,paid\nO5003,C206,2026-05-05,180.85,paid\nO5004,C206,2026-04-28,1362.61,pending\nO5005,C205,2026-01-03,3627.56,paid\nO5006,C221,2026-08-09,465.48,paid\nO5007,C208,2026-12-02,1395.1,paid\nO5008,C208,2026-02-04,1514.05,paid\nO5009,C200,2026-05-20,375.54,paid\nO5010,C207,2026-02-09,1964.63,paid\nO5011,C220,2026-10-05,3032.73,paid\nO5012,C206,2026-11-05,3115.16,paid\nO5013,C206,2026-02-07,3039.66,paid\nO5014,C217,2026-11-03,3544.31,pending\nO5015,C215,2026-08-24,106.29,paid\nO5016,C211,2026-04-28,1522.24,paid\nO5017,C205,2026-06-02,80.91,paid\nO5018,C202,2026-06-23,3470.26,paid\nO5019,C213,2026-03-02,1489.19,paid\nO5020,C211,2026-07-13,1815.56,cancelled\nO5021,C219,2026-05-17,2496.96,cancelled\nO5022,C215,2026-01-24,1868.52,paid\nO5023,C207,2026-07-21,3713.07,pending\nO5024,C220,2026-07-20,2965.49,pending\nO5025,C215,2026-01-27,3541.19,paid\nO5026,C213,2026-05-26,3398.14,pending\nO5027,C202,2026-03-11,1392.27,paid\nO5028,C215,2026-08-09,545.6,paid\nO5029,C220,2026-12-21,247.39,paid\nO5030,C214,2026-06-10,3765.53,paid\nO5031,C200,2026-04-09,1977.38,refunded\nO5032,C205,2026-07-28,1224.98,paid\nO5033,C201,2026-10-22,1556.99,paid\nO5034,C213,2026-05-23,2957.89,paid\nO5035,C205,2026-07-02,2578.45,paid\nO5036,C203,2026-03-14,3211.03,paid\nO5037,C203,2026-03-09,2847.77,paid\nO5038,C210,2026-11-05,2491.19,paid\nO5039,C203,2026-08-28,2384.26,refunded\nO5040,C204,2026-04-12,3687.57,pending\nO5041,C217,2026-06-03,120.5,paid\nO5042,C201,2026-06-25,1056.05,paid\nO5043,C202,2026-08-22,3893.35,paid\nO5044,C208,2026-04-01,1876.44,paid\nO5045,C219,2026-05-26,1406.64,paid\nO5046,C214,2026-12-13,2380.38,refunded\nO5047,C207,2026-03-17,169.09,paid\nO5048,C217,2026-03-19,1965.77,refunded\nO5049,C206,2026-01-19,2534.6,paid\nO5050,C221,2026-12-21,1487.08,cancelled\nO5051,C219,2026-02-16,2096.56,paid\nO5052,C221,2026-03-24,692.49,paid\nO5053,C205,2026-01-15,1605.74,paid\nO5054,C213,2026-01-03,1476.63,paid\nO5055,C201,2026-09-03,2850.61,pending\nO5056,C215,2026-01-09,2976.16,paid\nO5057,C221,2026-10-11,1728.34,paid\nO5058,C214,2026-03-14,3812.85,paid\nO5059,C214,2026-02-24,353.69,paid\nO5060,C201,2026-07-18,2558.79,pending\nO5061,C210,2026-02-28,2017.77,paid\nO5062,C206,2026-06-13,294.47,paid\nO5063,C205,2026-01-10,382.23,paid\nO5064,C203,2026-07-01,1256.43,pending\nO5065,C221,2026-06-28,3657.42,paid\nO5066,C220,2026-08-16,1560.78,cancelled\n"}], "reference_answer": "LATAM,13525.96"} {"task_id": "off-regional-revenue@1", "seed": 2, "instruction": "Using orders.csv and customers.csv, find the region with the highest Q2 2026 revenue, excluding cancelled and refunded orders (calendar quarters). Answer region,total with 2 decimals, e.g. APAC,10450.25. Each part is worth 0.5.", "files": [{"name": "customers.csv", "content": "customer_id,region\nC200,DACH\nC201,APAC\nC202,DACH\nC203,DACH\nC204,NA\nC205,EMEA\nC206,DACH\nC207,EMEA\nC208,NA\nC209,EMEA\nC210,APAC\nC211,DACH\nC212,DACH\nC213,NA\nC214,NA\nC215,APAC\nC216,EMEA\nC217,APAC\nC218,APAC\nC219,NA\nC220,NA\nC221,APAC\n"}, {"name": "orders.csv", "content": "order_id,customer_id,order_date,amount_usd,status\nO5000,C217,2026-07-02,198.03,paid\nO5001,C212,2026-07-23,2453.11,pending\nO5002,C221,2026-06-03,2378.23,paid\nO5003,C206,2026-10-20,987.99,paid\nO5004,C206,2026-06-20,1073.28,paid\nO5005,C221,2026-11-22,3247.35,paid\nO5006,C210,2026-08-20,2697.85,paid\nO5007,C206,2026-11-07,1166.74,paid\nO5008,C217,2026-08-16,267.68,refunded\nO5009,C219,2026-04-02,1272.35,paid\nO5010,C211,2026-02-08,1151.6,paid\nO5011,C205,2026-01-07,3554.06,paid\nO5012,C211,2026-06-18,2109.77,paid\nO5013,C211,2026-03-27,3314.63,paid\nO5014,C218,2026-09-27,2790.63,paid\nO5015,C219,2026-12-05,3616.07,paid\nO5016,C220,2026-02-04,2038.65,cancelled\nO5017,C201,2026-12-09,831.75,refunded\nO5018,C221,2026-08-17,3629.33,paid\nO5019,C208,2026-05-03,3990.53,cancelled\nO5020,C211,2026-02-16,3939.17,paid\nO5021,C219,2026-06-19,1273.88,cancelled\nO5022,C216,2026-08-21,2043.95,paid\nO5023,C205,2026-05-01,828.84,paid\nO5024,C218,2026-02-07,3101.08,paid\nO5025,C217,2026-02-12,750.48,paid\nO5026,C207,2026-08-23,3693.01,paid\nO5027,C209,2026-07-01,3246.72,paid\nO5028,C202,2026-08-02,1130.14,refunded\nO5029,C213,2026-12-04,1198.25,paid\nO5030,C200,2026-07-06,2121.6,pending\nO5031,C207,2026-10-01,2706.52,pending\nO5032,C209,2026-04-13,138.73,refunded\nO5033,C202,2026-01-15,2709.29,paid\nO5034,C212,2026-11-02,543.37,paid\nO5035,C215,2026-08-14,3310.59,pending\nO5036,C214,2026-02-02,3302.96,cancelled\nO5037,C200,2026-07-03,145.28,pending\nO5038,C215,2026-07-03,3896.72,pending\nO5039,C208,2026-01-28,268.45,pending\nO5040,C211,2026-12-21,1573.86,cancelled\nO5041,C221,2026-01-21,2250.55,paid\nO5042,C201,2026-05-08,1073.51,pending\nO5043,C217,2026-05-07,1828.63,paid\nO5044,C215,2026-02-10,1854.0,cancelled\nO5045,C212,2026-04-26,3515.3,paid\nO5046,C215,2026-01-24,1286.28,refunded\nO5047,C215,2026-04-02,554.23,cancelled\nO5048,C219,2026-07-03,3596.39,refunded\nO5049,C202,2026-10-16,2007.47,paid\nO5050,C212,2026-06-15,3237.23,pending\nO5051,C209,2026-04-07,1807.72,paid\nO5052,C221,2026-11-19,1959.43,paid\nO5053,C207,2026-09-18,2162.02,refunded\nO5054,C214,2026-09-17,3937.97,paid\nO5055,C220,2026-05-11,1946.97,cancelled\nO5056,C200,2026-11-11,608.61,paid\nO5057,C212,2026-04-02,843.54,paid\nO5058,C211,2026-03-03,3670.1,refunded\nO5059,C202,2026-11-13,1660.09,paid\nO5060,C215,2026-09-04,1808.1,paid\nO5061,C217,2026-02-21,1743.15,paid\nO5062,C208,2026-07-07,707.7,paid\nO5063,C205,2026-02-28,1352.63,paid\nO5064,C200,2026-09-05,1724.64,paid\nO5065,C219,2026-01-02,739.1,paid\nO5066,C221,2026-11-12,2893.88,refunded\nO5067,C215,2026-02-08,1887.55,paid\nO5068,C208,2026-06-01,471.46,refunded\nO5069,C208,2026-02-24,2538.46,paid\nO5070,C214,2026-12-14,2438.56,paid\nO5071,C214,2026-04-12,2908.02,paid\nO5072,C220,2026-07-27,2864.68,paid\nO5073,C221,2026-01-18,1971.45,pending\nO5074,C213,2026-05-10,3828.15,paid\nO5075,C205,2026-01-17,932.16,paid\nO5076,C221,2026-03-17,2003.29,paid\nO5077,C215,2026-04-22,3175.93,paid\nO5078,C208,2026-01-12,1133.0,cancelled\nO5079,C214,2026-05-25,627.18,paid\n"}], "reference_answer": "DACH,10779.12"} {"task_id": "off-regional-revenue@2", "seed": 0, "instruction": "Using orders.csv, customers.csv, fx.csv and refunds.csv, find the region with the highest Q1 2026 net revenue in USD, excluding cancelled and refunded orders (calendar quarters). Convert each order at its order month's rate; partial refunds in refunds.csv are in the order's currency and reduce that order's revenue. Answer region,total with 2 decimals, e.g. APAC,10450.25. Each part is worth 0.5; the total within 0.05 counts.", "files": [{"name": "customers.csv", "content": "customer_id,region\nC200,NA\nC201,APAC\nC202,LATAM\nC203,NA\nC204,LATAM\nC205,APAC\nC206,APAC\nC207,ANZ\nC208,APAC\nC209,APAC\nC210,LATAM\nC211,LATAM\nC212,APAC\nC213,LATAM\nC214,NA\nC215,NA\nC216,NA\nC217,APAC\nC218,APAC\n"}, {"name": "fx.csv", "content": "month,currency,usd_per_unit\n1,EUR,1.1471\n1,GBP,1.2876\n2,EUR,1.0966\n2,GBP,1.3013\n3,EUR,1.0623\n3,GBP,1.2985\n4,EUR,1.0876\n4,GBP,1.3447\n5,EUR,1.0815\n5,GBP,1.2424\n6,EUR,1.1004\n6,GBP,1.289\n7,EUR,1.0744\n7,GBP,1.3489\n8,EUR,1.13\n8,GBP,1.2355\n9,EUR,1.1159\n9,GBP,1.3055\n10,EUR,1.1094\n10,GBP,1.2996\n11,EUR,1.0873\n11,GBP,1.2814\n12,EUR,1.1473\n12,GBP,1.2762\n"}, {"name": "orders.csv", "content": "order_id,customer_id,order_date,amount,status,currency\nO5000,C208,2026-02-26,3258.77,paid,USD\nO5001,C209,2026-03-25,2503.62,paid,USD\nO5002,C208,2026-04-05,2189.13,paid,USD\nO5003,C213,2026-10-23,983.98,paid,USD\nO5004,C200,2026-12-13,3038.73,refunded,GBP\nO5005,C207,2026-12-23,1193.16,paid,USD\nO5006,C213,2026-11-26,1303.49,pending,EUR\nO5007,C206,2026-08-28,1556.63,paid,GBP\nO5008,C201,2026-03-26,1862.72,paid,USD\nO5009,C212,2026-05-28,817.7,paid,USD\nO5010,C218,2026-08-25,2028.65,paid,USD\nO5011,C206,2026-12-18,567.31,pending,GBP\nO5012,C209,2026-06-21,2656.84,cancelled,GBP\nO5013,C213,2026-08-14,1271.77,cancelled,GBP\nO5014,C211,2026-11-07,3228.9,paid,EUR\nO5015,C205,2026-08-28,3101.46,paid,GBP\nO5016,C211,2026-11-25,1973.5,paid,USD\nO5017,C209,2026-09-15,2473.45,paid,GBP\nO5018,C214,2026-01-22,1774.54,paid,USD\nO5019,C201,2026-02-01,326.68,refunded,GBP\nO5020,C212,2026-09-19,367.95,cancelled,USD\nO5021,C202,2026-04-21,3281.75,paid,USD\nO5022,C207,2026-12-25,2711.49,pending,GBP\nO5023,C212,2026-02-23,3797.1,paid,USD\nO5024,C200,2026-07-13,1860.7,paid,USD\nO5025,C214,2026-06-16,1497.28,refunded,USD\nO5026,C204,2026-07-12,1383.1,pending,USD\nO5027,C202,2026-06-21,2037.63,paid,USD\nO5028,C205,2026-03-11,2524.49,paid,GBP\nO5029,C211,2026-11-09,2029.86,pending,EUR\nO5030,C217,2026-11-03,1671.17,paid,USD\nO5031,C203,2026-08-17,2315.69,paid,GBP\nO5032,C218,2026-04-06,767.18,paid,USD\nO5033,C209,2026-09-01,3648.41,paid,USD\nO5034,C201,2026-03-23,2603.26,cancelled,USD\nO5035,C204,2026-12-28,2851.05,paid,GBP\nO5036,C217,2026-10-18,1573.1,paid,USD\nO5037,C210,2026-11-26,1491.58,paid,GBP\nO5038,C201,2026-11-06,3111.8,paid,GBP\nO5039,C207,2026-05-01,3269.87,paid,GBP\nO5040,C211,2026-06-15,1849.68,pending,USD\nO5041,C209,2026-08-26,2876.27,paid,USD\nO5042,C215,2026-07-25,3471.92,paid,USD\nO5043,C217,2026-01-19,2237.75,paid,USD\nO5044,C205,2026-01-16,1211.86,cancelled,GBP\nO5045,C203,2026-08-08,1905.7,refunded,EUR\nO5046,C210,2026-03-21,1392.55,paid,GBP\nO5047,C201,2026-10-02,353.7,cancelled,USD\nO5048,C215,2026-04-05,2493.2,cancelled,GBP\nO5049,C203,2026-09-08,448.56,paid,GBP\nO5050,C211,2026-09-09,423.39,paid,GBP\nO5051,C209,2026-11-03,1839.07,paid,USD\nO5052,C204,2026-03-09,3797.27,paid,GBP\nO5053,C201,2026-08-22,512.43,paid,USD\nO5054,C208,2026-08-21,2871.98,pending,USD\nO5055,C200,2026-12-22,3744.88,paid,GBP\nO5056,C218,2026-05-27,744.55,paid,GBP\nO5057,C205,2026-11-05,2397.51,cancelled,EUR\nO5058,C201,2026-10-18,3720.01,paid,USD\nO5059,C211,2026-09-18,2709.23,paid,EUR\nO5060,C206,2026-06-28,619.63,paid,EUR\nO5061,C216,2026-11-22,3936.04,paid,USD\nO5062,C205,2026-11-12,1407.61,paid,EUR\nO5063,C217,2026-04-25,1665.83,paid,EUR\nO5064,C209,2026-11-08,3230.88,pending,EUR\nO5065,C200,2026-09-14,769.15,paid,USD\nO5066,C211,2026-10-25,1772.03,refunded,GBP\nO5067,C217,2026-07-16,1302.02,paid,USD\nO5068,C202,2026-08-08,2415.69,paid,USD\nO5069,C214,2026-07-23,2782.11,paid,EUR\nO5070,C210,2026-03-02,2435.56,pending,USD\nO5071,C216,2026-01-28,2941.15,paid,EUR\nO5072,C210,2026-02-11,1543.65,pending,GBP\nO5073,C218,2026-11-28,1576.72,paid,EUR\nO5074,C218,2026-05-15,2828.84,paid,EUR\nO5075,C202,2026-07-20,3080.02,cancelled,USD\nO5076,C200,2026-04-11,1405.49,refunded,GBP\nO5077,C201,2026-10-01,278.84,paid,EUR\nO5078,C209,2026-08-06,2047.89,paid,USD\nO5079,C212,2026-03-28,277.05,cancelled,USD\nO5080,C217,2026-10-18,580.8,paid,EUR\nO5081,C213,2026-08-07,3286.02,paid,USD\nO5082,C200,2026-02-16,944.63,paid,GBP\n"}, {"name": "refunds.csv", "content": "order_id,refund_amount\nO5008,1067.57\nO5071,813.98\n"}], "reference_answer": "APAC,15870.44"} {"task_id": "off-regional-revenue@2", "seed": 1, "instruction": "Using orders.csv, customers.csv, fx.csv and refunds.csv, find the region with the highest Q4 2026 net revenue in USD, excluding cancelled and refunded orders (calendar quarters). Convert each order at its order month's rate; partial refunds in refunds.csv are in the order's currency and reduce that order's revenue. Answer region,total with 2 decimals, e.g. APAC,10450.25. Each part is worth 0.5; the total within 0.05 counts.", "files": [{"name": "customers.csv", "content": "customer_id,region\nC200,NA\nC201,NA\nC202,APAC\nC203,LATAM\nC204,APAC\nC205,ANZ\nC206,NA\nC207,ANZ\nC208,NA\nC209,NA\nC210,LATAM\nC211,ANZ\nC212,APAC\nC213,NA\nC214,NA\nC215,NA\n"}, {"name": "fx.csv", "content": "month,currency,usd_per_unit\n1,EUR,1.0872\n1,GBP,1.3133\n2,EUR,1.1372\n2,GBP,1.3406\n3,EUR,1.1078\n3,GBP,1.2638\n4,EUR,1.0851\n4,GBP,1.2635\n5,EUR,1.0914\n5,GBP,1.3463\n6,EUR,1.0509\n6,GBP,1.3056\n7,EUR,1.0562\n7,GBP,1.2823\n8,EUR,1.0517\n8,GBP,1.2268\n9,EUR,1.0804\n9,GBP,1.2831\n10,EUR,1.1217\n10,GBP,1.3012\n11,EUR,1.1155\n11,GBP,1.3204\n12,EUR,1.0689\n12,GBP,1.2833\n"}, {"name": "orders.csv", "content": "order_id,customer_id,order_date,amount,status,currency\nO5000,C200,2026-10-04,836.65,paid,GBP\nO5001,C203,2026-12-01,3371.27,paid,EUR\nO5002,C207,2026-04-10,3551.25,paid,USD\nO5003,C209,2026-03-16,2932.21,cancelled,GBP\nO5004,C212,2026-06-14,1569.85,paid,USD\nO5005,C215,2026-07-08,1863.78,paid,USD\nO5006,C209,2026-01-09,1980.25,paid,GBP\nO5007,C210,2026-01-09,1541.53,paid,USD\nO5008,C203,2026-01-11,3077.17,paid,USD\nO5009,C213,2026-12-23,3874.24,paid,EUR\nO5010,C205,2026-03-02,1221.61,paid,USD\nO5011,C200,2026-02-21,2697.7,pending,USD\nO5012,C213,2026-06-09,3227.24,paid,USD\nO5013,C209,2026-01-12,1354.64,paid,USD\nO5014,C208,2026-12-01,3740.19,paid,USD\nO5015,C205,2026-08-24,861.51,paid,USD\nO5016,C206,2026-12-19,2794.84,refunded,EUR\nO5017,C205,2026-09-11,1530.86,paid,GBP\nO5018,C207,2026-09-11,2441.13,pending,USD\nO5019,C207,2026-07-19,294.35,cancelled,GBP\nO5020,C201,2026-01-08,2407.43,paid,USD\nO5021,C212,2026-09-05,2786.77,refunded,USD\nO5022,C215,2026-04-17,919.56,pending,EUR\nO5023,C202,2026-03-19,1562.43,pending,GBP\nO5024,C203,2026-08-10,3145.85,paid,EUR\nO5025,C215,2026-04-10,314.11,refunded,GBP\nO5026,C207,2026-05-23,2262.23,paid,USD\nO5027,C202,2026-12-04,2853.34,paid,GBP\nO5028,C212,2026-02-22,633.74,paid,EUR\nO5029,C201,2026-07-26,445.17,paid,USD\nO5030,C204,2026-11-19,158.64,paid,USD\nO5031,C211,2026-08-06,2570.22,pending,USD\nO5032,C215,2026-10-24,2297.23,paid,USD\nO5033,C214,2026-07-01,238.04,paid,USD\nO5034,C204,2026-11-07,1986.62,refunded,GBP\nO5035,C213,2026-12-28,2782.02,paid,USD\nO5036,C211,2026-03-18,3081.53,paid,USD\nO5037,C203,2026-08-11,3793.77,cancelled,GBP\nO5038,C203,2026-03-05,3669.63,paid,GBP\nO5039,C203,2026-03-18,2148.59,paid,EUR\nO5040,C203,2026-10-18,1787.79,paid,EUR\nO5041,C201,2026-06-18,2870.62,cancelled,USD\nO5042,C207,2026-04-04,2867.72,cancelled,USD\nO5043,C214,2026-06-11,1992.67,paid,EUR\nO5044,C207,2026-10-25,1278.87,refunded,EUR\nO5045,C215,2026-12-22,2591.69,paid,EUR\nO5046,C200,2026-08-07,792.45,paid,EUR\nO5047,C215,2026-03-22,453.3,paid,EUR\nO5048,C206,2026-08-21,1767.78,paid,EUR\nO5049,C206,2026-07-20,1337.3,paid,EUR\nO5050,C202,2026-02-09,2712.81,pending,USD\nO5051,C205,2026-04-06,2669.72,refunded,EUR\nO5052,C209,2026-07-15,1222.33,cancelled,EUR\nO5053,C202,2026-06-12,1919.84,paid,GBP\nO5054,C215,2026-11-23,1086.21,cancelled,EUR\nO5055,C201,2026-05-03,2875.88,cancelled,EUR\nO5056,C213,2026-08-23,2106.16,refunded,GBP\nO5057,C209,2026-06-16,3080.43,paid,USD\nO5058,C205,2026-03-20,1266.04,cancelled,USD\nO5059,C206,2026-05-01,3615.01,paid,USD\nO5060,C200,2026-07-12,3893.01,refunded,USD\nO5061,C208,2026-03-20,946.71,cancelled,GBP\nO5062,C209,2026-02-06,3886.37,paid,GBP\nO5063,C209,2026-07-08,2624.59,paid,USD\nO5064,C215,2026-02-24,2077.46,paid,GBP\nO5065,C211,2026-11-17,1594.94,paid,USD\nO5066,C207,2026-09-27,152.53,paid,EUR\nO5067,C208,2026-06-10,1575.89,cancelled,USD\nO5068,C204,2026-01-21,273.48,paid,USD\nO5069,C207,2026-07-01,3620.87,paid,USD\n"}, {"name": "refunds.csv", "content": "order_id,refund_amount\nO5001,490.89\n"}], "reference_answer": "NA,16819.52"} {"task_id": "off-regional-revenue@2", "seed": 2, "instruction": "Using orders.csv, customers.csv, fx.csv and refunds.csv, find the region with the highest Q4 2026 net revenue in USD, excluding cancelled and refunded orders (calendar quarters). Convert each order at its order month's rate; partial refunds in refunds.csv are in the order's currency and reduce that order's revenue. Answer region,total with 2 decimals, e.g. APAC,10450.25. Each part is worth 0.5; the total within 0.05 counts.", "files": [{"name": "customers.csv", "content": "customer_id,region\nC200,LATAM\nC201,LATAM\nC202,ANZ\nC203,NA\nC204,NA\nC205,ANZ\nC206,NA\nC207,NA\nC208,LATAM\nC209,ANZ\nC210,ANZ\nC211,LATAM\nC212,DACH\nC213,LATAM\nC214,DACH\nC215,DACH\nC216,DACH\nC217,LATAM\nC218,ANZ\nC219,NA\n"}, {"name": "fx.csv", "content": "month,currency,usd_per_unit\n1,EUR,1.0676\n1,GBP,1.2775\n2,EUR,1.0948\n2,GBP,1.2298\n3,EUR,1.1187\n3,GBP,1.3228\n4,EUR,1.0541\n4,GBP,1.3199\n5,EUR,1.0587\n5,GBP,1.2388\n6,EUR,1.059\n6,GBP,1.3389\n7,EUR,1.0964\n7,GBP,1.2504\n8,EUR,1.1473\n8,GBP,1.3291\n9,EUR,1.1085\n9,GBP,1.2434\n10,EUR,1.0641\n10,GBP,1.3219\n11,EUR,1.0557\n11,GBP,1.3131\n12,EUR,1.0819\n12,GBP,1.2859\n"}, {"name": "orders.csv", "content": "order_id,customer_id,order_date,amount,status,currency\nO5000,C200,2026-11-10,652.98,cancelled,GBP\nO5001,C204,2026-10-05,1219.77,refunded,USD\nO5002,C213,2026-10-09,580.68,cancelled,EUR\nO5003,C218,2026-01-18,324.22,paid,EUR\nO5004,C208,2026-12-05,865.56,refunded,GBP\nO5005,C205,2026-06-27,3918.91,refunded,GBP\nO5006,C200,2026-08-01,2949.83,cancelled,USD\nO5007,C213,2026-05-15,1156.99,paid,GBP\nO5008,C203,2026-06-07,2014.84,paid,USD\nO5009,C205,2026-09-15,3578.34,paid,EUR\nO5010,C219,2026-02-20,1947.35,paid,USD\nO5011,C219,2026-03-21,3024.82,paid,GBP\nO5012,C210,2026-11-15,1018.68,paid,USD\nO5013,C202,2026-02-02,1172.38,paid,USD\nO5014,C210,2026-05-17,2457.38,paid,GBP\nO5015,C207,2026-01-28,3808.61,paid,EUR\nO5016,C201,2026-12-25,2932.37,pending,USD\nO5017,C200,2026-03-08,791.79,paid,USD\nO5018,C205,2026-03-14,3135.52,refunded,USD\nO5019,C205,2026-07-18,1380.94,paid,EUR\nO5020,C215,2026-05-27,3151.99,refunded,USD\nO5021,C210,2026-11-23,1051.95,refunded,USD\nO5022,C214,2026-06-05,2005.61,paid,GBP\nO5023,C216,2026-11-26,3688.52,paid,EUR\nO5024,C213,2026-01-24,1343.78,paid,USD\nO5025,C218,2026-04-26,3375.16,cancelled,USD\nO5026,C215,2026-11-26,794.25,paid,EUR\nO5027,C209,2026-05-08,1227.24,refunded,GBP\nO5028,C211,2026-11-11,3414.96,refunded,USD\nO5029,C207,2026-03-17,2570.4,pending,EUR\nO5030,C208,2026-06-22,162.96,refunded,USD\nO5031,C203,2026-04-09,3210.73,pending,USD\nO5032,C207,2026-03-17,1778.18,refunded,USD\nO5033,C203,2026-02-05,1744.33,paid,USD\nO5034,C205,2026-07-10,738.81,paid,USD\nO5035,C216,2026-11-09,2683.74,paid,USD\nO5036,C212,2026-03-16,1577.85,pending,USD\nO5037,C212,2026-11-27,1443.59,paid,EUR\nO5038,C211,2026-02-23,3068.6,pending,EUR\nO5039,C203,2026-11-09,3777.38,cancelled,GBP\nO5040,C202,2026-01-10,453.66,paid,GBP\nO5041,C202,2026-09-09,1654.65,paid,GBP\nO5042,C210,2026-01-19,731.3,paid,USD\nO5043,C204,2026-08-12,2383.94,paid,USD\nO5044,C203,2026-11-17,1630.09,paid,GBP\nO5045,C213,2026-10-10,1826.17,paid,USD\nO5046,C218,2026-11-08,2392.0,paid,EUR\nO5047,C216,2026-11-25,1983.65,refunded,USD\nO5048,C211,2026-12-23,2421.75,refunded,USD\nO5049,C211,2026-06-06,1407.94,pending,GBP\nO5050,C204,2026-11-04,1609.0,paid,GBP\nO5051,C209,2026-10-02,439.59,cancelled,EUR\nO5052,C214,2026-12-12,3753.92,paid,USD\nO5053,C214,2026-08-14,1054.62,paid,GBP\nO5054,C203,2026-06-05,974.17,pending,GBP\nO5055,C200,2026-08-18,2736.01,refunded,USD\nO5056,C206,2026-07-26,637.63,paid,USD\nO5057,C205,2026-08-03,1727.13,paid,USD\nO5058,C219,2026-11-02,887.08,paid,GBP\nO5059,C216,2026-09-14,2161.25,paid,USD\nO5060,C203,2026-01-14,630.41,paid,USD\nO5061,C205,2026-12-05,116.86,cancelled,EUR\nO5062,C207,2026-06-26,765.78,paid,EUR\nO5063,C202,2026-01-17,344.75,pending,USD\nO5064,C202,2026-12-20,3177.15,paid,GBP\nO5065,C212,2026-03-28,1666.35,pending,USD\nO5066,C202,2026-07-07,2066.77,paid,USD\nO5067,C209,2026-02-17,2886.48,paid,GBP\nO5068,C214,2026-07-01,3935.97,paid,EUR\nO5069,C217,2026-08-03,1799.28,paid,USD\nO5070,C203,2026-07-25,3781.98,paid,EUR\nO5071,C210,2026-10-02,2849.42,paid,GBP\nO5072,C200,2026-10-14,1034.65,cancelled,EUR\nO5073,C201,2026-04-12,3986.44,paid,GBP\nO5074,C215,2026-09-22,3026.64,cancelled,USD\nO5075,C216,2026-06-06,603.74,pending,USD\nO5076,C217,2026-08-25,1543.31,paid,USD\nO5077,C211,2026-07-21,263.12,paid,USD\nO5078,C218,2026-12-04,3063.48,paid,GBP\nO5079,C213,2026-04-14,854.61,paid,GBP\n"}, {"name": "refunds.csv", "content": "order_id,refund_amount\nO5026,101.13\nO5037,276.56\nO5046,1130.99\nO5052,1239.93\n"}], "reference_answer": "ANZ,14141.40"} {"task_id": "fin-loan-balance@1", "seed": 0, "instruction": "Using loan.txt and extra_payments.csv, compute the outstanding balance at the end of month 95. Answer the amount with 2 decimals; within 0.05 counts.", "files": [{"name": "extra_payments.csv", "content": "month,extra_principal\n8,12000\n52,9500\n67,2500\n"}, {"name": "loan.txt", "content": "Principal: 99000.00\nInitial APR: 4.5% nominal, compounded monthly (monthly rate = APR/12)\nTerm: 240 months\nRate reset: from month 56 on, the APR is 3.75%. At the start of month 56 the payment is recomputed on the balance at the end of month 55 over the remaining 240 - 56 + 1 months.\nScheduled payment = B*r / (1 - (1+r)^-n), rounded to cents, for balance B, monthly rate r and n months.\nEach month m: interest = round(balance * r, 2); balance = balance + interest - payment - extra_principal(m). Extra principal is paid at the end of its month and does not change the scheduled payment.\n"}], "reference_answer": "46675.98"} {"task_id": "fin-loan-balance@1", "seed": 1, "instruction": "Using loan.txt and extra_payments.csv, compute the outstanding balance at the end of month 97. Answer the amount with 2 decimals; within 0.05 counts.", "files": [{"name": "extra_payments.csv", "content": "month,extra_principal\n38,13000\n63,16500\n84,4000\n"}, {"name": "loan.txt", "content": "Principal: 175000.00\nInitial APR: 5.125% nominal, compounded monthly (monthly rate = APR/12)\nTerm: 240 months\nRate reset: from month 30 on, the APR is 3.625%. At the start of month 30 the payment is recomputed on the balance at the end of month 29 over the remaining 240 - 30 + 1 months.\nScheduled payment = B*r / (1 - (1+r)^-n), rounded to cents, for balance B, monthly rate r and n months.\nEach month m: interest = round(balance * r, 2); balance = balance + interest - payment - extra_principal(m). Extra principal is paid at the end of its month and does not change the scheduled payment.\n"}], "reference_answer": "82630.29"} {"task_id": "fin-loan-balance@1", "seed": 2, "instruction": "Using loan.txt and extra_payments.csv, compute the outstanding balance at the end of month 84. Answer the amount with 2 decimals; within 0.05 counts.", "files": [{"name": "extra_payments.csv", "content": "month,extra_principal\n8,3500\n9,19000\n31,3000\n56,12000\n"}, {"name": "loan.txt", "content": "Principal: 512000.00\nInitial APR: 5.125% nominal, compounded monthly (monthly rate = APR/12)\nTerm: 120 months\nRate reset: from month 23 on, the APR is 4.375%. At the start of month 23 the payment is recomputed on the balance at the end of month 22 over the remaining 120 - 23 + 1 months.\nScheduled payment = B*r / (1 - (1+r)^-n), rounded to cents, for balance B, monthly rate r and n months.\nEach month m: interest = round(balance * r, 2); balance = balance + interest - payment - extra_principal(m). Extra principal is paid at the end of its month and does not change the scheduled payment.\n"}], "reference_answer": "152058.52"} {"task_id": "fin-loan-balance@2", "seed": 0, "instruction": "Using loan.txt and extra_payments.csv, compute the outstanding balance at the end of month 73. Answer the amount with 2 decimals; within 0.05 counts.", "files": [{"name": "extra_payments.csv", "content": "month,extra_principal\n10,16000\n40,19000\n47,1000\n71,17000\n"}, {"name": "loan.txt", "content": "Principal: 137000.00\nInitial APR: 3.25% nominal, compounded monthly (monthly rate = APR/12)\nTerm: 120 months\nRate reset: from month 18 on, the APR is 4.5%. At the start of month 18 the payment is recomputed on the balance at the end of month 17 over the remaining 120 - 18 + 1 months.\nScheduled payment = B*r / (1 - (1+r)^-n), rounded to cents, for balance B, monthly rate r and n months.\nEach month m: interest = round(balance * r, 2); balance = balance + interest - payment - extra_principal(m). Extra principal is paid at the end of its month and does not change the scheduled payment.\nPayment holiday: no scheduled payment in months 7-10; interest still accrues and is added to the balance. The scheduled payment amount is not recomputed because of the holiday (only at the rate reset), and extra principal is still paid in a holiday month.\n"}], "reference_answer": "15417.84"} {"task_id": "fin-loan-balance@2", "seed": 1, "instruction": "Using loan.txt and extra_payments.csv, compute the outstanding balance at the end of month 90. Answer the amount with 2 decimals; within 0.05 counts.", "files": [{"name": "extra_payments.csv", "content": "month,extra_principal\n11,19500\n17,2500\n64,14000\n84,9000\n"}, {"name": "loan.txt", "content": "Principal: 497000.00\nInitial APR: 5.125% nominal, compounded monthly (monthly rate = APR/12)\nTerm: 180 months\nRate reset: from month 58 on, the APR is 4.375%. At the start of month 58 the payment is recomputed on the balance at the end of month 57 over the remaining 180 - 58 + 1 months.\nScheduled payment = B*r / (1 - (1+r)^-n), rounded to cents, for balance B, monthly rate r and n months.\nEach month m: interest = round(balance * r, 2); balance = balance + interest - payment - extra_principal(m). Extra principal is paid at the end of its month and does not change the scheduled payment.\nPayment holiday: no scheduled payment in months 40-42; interest still accrues and is added to the balance. The scheduled payment amount is not recomputed because of the holiday (only at the rate reset), and extra principal is still paid in a holiday month.\n"}], "reference_answer": "257586.22"} {"task_id": "fin-loan-balance@2", "seed": 2, "instruction": "Using loan.txt and extra_payments.csv, compute the outstanding balance at the end of month 90. Answer the amount with 2 decimals; within 0.05 counts.", "files": [{"name": "extra_payments.csv", "content": "month,extra_principal\n33,12500\n78,16000\n"}, {"name": "loan.txt", "content": "Principal: 184000.00\nInitial APR: 5.75% nominal, compounded monthly (monthly rate = APR/12)\nTerm: 240 months\nRate reset: from month 33 on, the APR is 4.25%. At the start of month 33 the payment is recomputed on the balance at the end of month 32 over the remaining 240 - 33 + 1 months.\nScheduled payment = B*r / (1 - (1+r)^-n), rounded to cents, for balance B, monthly rate r and n months.\nEach month m: interest = round(balance * r, 2); balance = balance + interest - payment - extra_principal(m). Extra principal is paid at the end of its month and does not change the scheduled payment.\nPayment holiday: no scheduled payment in months 31-33; interest still accrues and is added to the balance. The scheduled payment amount is not recomputed because of the holiday (only at the rate reset), and extra principal is still paid in a holiday month.\n"}], "reference_answer": "105762.08"} {"task_id": "fin-npv-ranking@1", "seed": 0, "instruction": "Rank the projects in cashflows.csv by NPV using memo.txt, projects.csv and rates.csv. Answer the project with the highest NPV and its NPV in USD rounded to whole dollars, e.g. Atlas,12345. Each part is worth 0.5; NPV within 1 counts.", "files": [{"name": "cashflows.csv", "content": "project,year,amount,currency,status\nDune,7,3670,EUR,booked\nDune,7,17559,EUR,booked\nDune,7,10771,EUR,booked\nCobalt,4,7767,EUR,booked\nCobalt,5,-1450,EUR,booked\nCobalt,5,-9550,EUR,booked\nEmber,4,50454,USD,booked\nDune,5,13921,EUR,booked\nDune,6,76652,EUR,booked\nAtlas,1,8934,USD,booked\nEmber,4,87546,USD,booked\nCobalt,4,47279,EUR,booked\nDune,0,-100000,EUR,booked\nEmber,5,151000,USD,booked\nCobalt,1,36652,EUR,booked\nAtlas,3,-5735,USD,booked\nCobalt,2,74666,EUR,booked\nDune,6,19348,EUR,booked\nDune,2,6000,EUR,booked\nAtlas,0,-19972,USD,booked\nDune,4,3017,EUR,booked\nEmber,2,145000,USD,booked\nDune,3,111000,EUR,booked\nDune,4,17158,EUR,booked\nEmber,0,-146755,USD,booked\nCobalt,0,8458,EUR,booked\nCobalt,3,-13000,EUR,booked\nEmber,3,40118,USD,booked\nEmber,2,72000,USD,cancelled\nDune,5,22079,EUR,booked\nCobalt,1,25348,EUR,booked\nEmber,3,90882,USD,booked\nCobalt,6,152000,EUR,booked\nAtlas,2,53000,USD,booked\nEmber,1,61583,USD,booked\nCobalt,7,128000,EUR,booked\nCobalt,4,42954,EUR,booked\nEmber,0,-173245,USD,booked\nDune,1,13739,EUR,booked\nEmber,4,65000,USD,cancelled\nAtlas,0,-235028,USD,booked\nCobalt,0,-139736,EUR,booked\nDune,1,28261,EUR,booked\nDune,4,5825,EUR,booked\nCobalt,2,64334,EUR,booked\nEmber,1,9417,USD,booked\nCobalt,0,-113722,EUR,booked\nAtlas,1,45066,USD,booked\nAtlas,3,-3265,USD,booked\n"}, {"name": "memo.txt", "content": "NPV is in USD as of today (calendar year 0). A project's own year t happens in calendar year start_year + t and is discounted by (1+rate)^(start_year + t), at the annual rate of its risk class (projects.csv, rates.csv). EUR amounts convert at 1.11 USD per EUR. A year can have several entries, which add up. Entries with status cancelled are void.\n"}, {"name": "projects.csv", "content": "project,risk_class,start_year\nDune,medium,2\nAtlas,medium,3\nCobalt,medium,0\nEmber,medium,2\n"}, {"name": "rates.csv", "content": "risk_class,annual_rate_pct\nhigh,12\nlow,5\nmedium,8\n"}], "reference_answer": "Cobalt,173467"} {"task_id": "fin-npv-ranking@1", "seed": 1, "instruction": "Rank the projects in cashflows.csv by NPV using memo.txt, projects.csv and rates.csv. Answer the project with the highest NPV and its NPV in USD rounded to whole dollars, e.g. Atlas,12345. Each part is worth 0.5; NPV within 1 counts.", "files": [{"name": "cashflows.csv", "content": "project,year,amount,currency,status\nCobalt,7,4425,EUR,booked\nEmber,1,55793,USD,booked\nFjord,2,48533,USD,booked\nCobalt,3,11207,EUR,booked\nCobalt,3,48793,EUR,booked\nCobalt,2,144,EUR,booked\nDune,5,-19000,EUR,booked\nFjord,3,135000,USD,booked\nDune,3,106000,EUR,booked\nDune,2,56381,EUR,booked\nGarnet,3,31736,EUR,booked\nCobalt,6,378,EUR,booked\nEmber,1,30207,USD,booked\nFjord,2,20748,USD,booked\nFjord,0,-31567,USD,booked\nGarnet,2,31000,EUR,booked\nCobalt,0,-200000,EUR,booked\nEmber,5,106000,USD,booked\nEmber,3,54909,USD,booked\nEmber,7,25402,USD,booked\nCobalt,4,24246,EUR,booked\nGarnet,1,37141,EUR,booked\nEmber,2,122000,USD,booked\nEmber,0,47000,USD,cancelled\nDune,0,-95610,EUR,booked\nDune,4,35451,EUR,booked\nDune,1,41647,EUR,booked\nEmber,4,50000,USD,booked\nCobalt,1,20000,EUR,cancelled\nGarnet,1,26632,EUR,booked\nDune,1,3353,EUR,booked\nCobalt,1,-8000,EUR,booked\nGarnet,0,-179766,EUR,booked\nCobalt,5,12735,EUR,booked\nEmber,2,68000,USD,cancelled\nEmber,0,-345000,USD,booked\nDune,2,64619,EUR,booked\nDune,4,77157,EUR,booked\nFjord,2,37719,USD,booked\nGarnet,3,48000,EUR,cancelled\nDune,0,-74390,EUR,booked\nFjord,0,-50178,USD,booked\nGarnet,0,165052,EUR,booked\nCobalt,5,27572,EUR,booked\nEmber,6,73466,USD,booked\nCobalt,7,8117,EUR,booked\nCobalt,6,6375,EUR,booked\nFjord,2,67000,USD,cancelled\nCobalt,2,8810,EUR,booked\nGarnet,1,85227,EUR,booked\nFjord,1,65000,USD,booked\nEmber,6,28618,USD,booked\nEmber,7,17660,USD,booked\nDune,4,15392,EUR,booked\nGarnet,0,-345286,EUR,booked\nGarnet,4,93000,EUR,booked\nFjord,0,11745,USD,booked\nCobalt,6,3247,EUR,booked\nGarnet,3,29264,EUR,booked\nCobalt,7,5458,EUR,booked\nCobalt,4,20754,EUR,booked\nCobalt,5,693,EUR,booked\nEmber,7,6938,USD,booked\nEmber,6,38916,USD,booked\nEmber,3,103091,USD,booked\nGarnet,1,31000,EUR,cancelled\nCobalt,2,5046,EUR,booked\n"}, {"name": "memo.txt", "content": "NPV is in USD as of today (calendar year 0). A project's own year t happens in calendar year start_year + t and is discounted by (1+rate)^(start_year + t), at the annual rate of its risk class (projects.csv, rates.csv). EUR amounts convert at 1.13 USD per EUR. A year can have several entries, which add up. Entries with status cancelled are void.\n"}, {"name": "projects.csv", "content": "project,risk_class,start_year\nFjord,high,0\nEmber,medium,2\nDune,low,0\nGarnet,low,1\nCobalt,low,0\n"}, {"name": "rates.csv", "content": "risk_class,annual_rate_pct\nhigh,14\nlow,6\nmedium,10\n"}], "reference_answer": "Dune,176655"} {"task_id": "fin-npv-ranking@1", "seed": 2, "instruction": "Rank the projects in cashflows.csv by NPV using memo.txt, projects.csv and rates.csv. Answer the project with the highest NPV and its NPV in USD rounded to whole dollars, e.g. Atlas,12345. Each part is worth 0.5; NPV within 1 counts.", "files": [{"name": "cashflows.csv", "content": "project,year,amount,currency,status\nDune,0,-63806,EUR,booked\nFjord,3,4940,EUR,booked\nGarnet,3,135000,EUR,booked\nDune,2,70107,EUR,booked\nBorealis,4,-17995,EUR,booked\nDune,3,68000,EUR,cancelled\nCobalt,1,6596,EUR,booked\nBorealis,3,9182,EUR,booked\nCobalt,5,29000,EUR,booked\nFjord,4,24768,EUR,booked\nCobalt,0,-208006,EUR,booked\nGarnet,2,22962,EUR,booked\nBorealis,2,-5340,EUR,booked\nFjord,3,28649,EUR,booked\nGarnet,2,64000,EUR,cancelled\nCobalt,1,29145,EUR,booked\nFjord,0,-5610,EUR,booked\nBorealis,4,-6296,EUR,booked\nDune,1,-8802,EUR,booked\nCobalt,4,38566,EUR,booked\nGarnet,0,-185000,EUR,booked\nBorealis,6,4150,EUR,booked\nCobalt,4,107600,EUR,booked\nBorealis,6,55044,EUR,booked\nBorealis,6,96806,EUR,booked\nCobalt,4,3834,EUR,booked\nCobalt,6,1252,EUR,booked\nDune,0,61580,EUR,booked\nDune,1,-7267,EUR,booked\nFjord,0,-164390,EUR,booked\nBorealis,3,16803,EUR,booked\nFjord,4,11439,EUR,booked\nFjord,0,52000,EUR,cancelled\nCobalt,6,519,EUR,booked\nBorealis,1,6251,EUR,booked\nBorealis,5,2785,EUR,booked\nDune,3,69000,EUR,booked\nCobalt,0,77000,EUR,cancelled\nFjord,1,-2000,EUR,booked\nFjord,4,13793,EUR,booked\nDune,0,-152774,EUR,booked\nDune,4,39000,EUR,booked\nCobalt,6,229,EUR,booked\nBorealis,2,-3660,EUR,booked\nGarnet,2,44189,EUR,booked\nFjord,3,17411,EUR,booked\nDune,2,15408,EUR,booked\nBorealis,0,-142065,EUR,booked\nGarnet,1,118000,EUR,booked\nBorealis,1,15749,EUR,booked\nDune,2,63485,EUR,booked\nCobalt,1,13259,EUR,booked\nDune,1,4069,EUR,booked\nCobalt,0,-16994,EUR,booked\nGarnet,2,84849,EUR,booked\nDune,2,16000,EUR,cancelled\nBorealis,0,-42935,EUR,booked\nDune,5,71107,EUR,booked\nDune,5,10977,EUR,booked\nCobalt,3,71000,EUR,booked\nFjord,2,92000,EUR,booked\nBorealis,4,5291,EUR,booked\nGarnet,1,34000,EUR,cancelled\nBorealis,5,2215,EUR,booked\nCobalt,2,84000,EUR,booked\nBorealis,3,100015,EUR,booked\nDune,5,60916,EUR,booked\n"}, {"name": "memo.txt", "content": "NPV is in USD as of today (calendar year 0). A project's own year t happens in calendar year start_year + t and is discounted by (1+rate)^(start_year + t), at the annual rate of its risk class (projects.csv, rates.csv). EUR amounts convert at 1.13 USD per EUR. A year can have several entries, which add up. Entries with status cancelled are void.\n"}, {"name": "projects.csv", "content": "project,risk_class,start_year\nBorealis,high,1\nGarnet,high,2\nDune,medium,0\nFjord,medium,0\nCobalt,low,2\n"}, {"name": "rates.csv", "content": "risk_class,annual_rate_pct\nhigh,12\nlow,5\nmedium,9\n"}], "reference_answer": "Dune,150573"} {"task_id": "fin-npv-ranking@2", "seed": 0, "instruction": "Rank the projects in cashflows.csv by NPV using memo.txt, projects.csv and rates.csv. Answer the project with the highest NPV and its NPV in USD rounded to whole dollars, e.g. Atlas,12345. Each part is worth 0.5; NPV within 1 counts.", "files": [{"name": "cashflows.csv", "content": "project,year,amount,currency,status\nGarnet,2,3398,EUR,booked\nGarnet,2,34136,EUR,booked\nGarnet,0,-152891,EUR,booked\nBorealis,6,-10131,EUR,booked\nDune,3,17000,USD,booked\nEmber,1,10026,EUR,booked\nGarnet,1,1221,EUR,booked\nGarnet,0,-172109,EUR,booked\nCobalt,2,41146,USD,booked\nBorealis,0,-40355,EUR,booked\nDune,5,10454,USD,booked\nGarnet,3,-569,EUR,booked\nCobalt,1,23214,USD,booked\nBorealis,5,55000,EUR,booked\nDune,2,80832,USD,booked\nEmber,1,60912,EUR,booked\nEmber,2,26639,EUR,booked\nDune,1,96076,USD,booked\nDune,1,4924,USD,booked\nCobalt,2,86854,USD,booked\nGarnet,1,2450,EUR,booked\nCobalt,1,6425,USD,booked\nCobalt,1,361,USD,booked\nBorealis,1,14845,EUR,booked\nGarnet,3,-613,EUR,booked\nBorealis,1,29155,EUR,booked\nEmber,2,29407,EUR,booked\nBorealis,4,3117,EUR,booked\nCobalt,0,-224973,USD,booked\nCobalt,4,7406,USD,booked\nGarnet,3,182,EUR,booked\nDune,2,47168,USD,booked\nDune,4,88049,USD,booked\nDune,7,6000,USD,booked\nDune,6,37019,USD,booked\nCobalt,4,3947,USD,booked\nDune,5,43558,USD,booked\nEmber,4,58000,EUR,booked\nCobalt,4,12647,USD,booked\nEmber,2,2954,EUR,booked\nBorealis,6,-13566,EUR,booked\nGarnet,1,3329,EUR,booked\nBorealis,2,7533,EUR,booked\nDune,0,-113914,USD,booked\nEmber,0,-67812,EUR,booked\nEmber,3,38568,EUR,booked\nDune,0,3226,USD,booked\nDune,5,33988,USD,booked\nCobalt,0,-60027,USD,booked\nEmber,3,10836,EUR,booked\nEmber,0,22310,EUR,booked\nBorealis,2,81918,EUR,booked\nCobalt,3,45000,USD,booked\nDune,6,63981,USD,booked\nGarnet,2,14466,EUR,booked\nBorealis,2,56549,EUR,booked\nEmber,3,70596,EUR,booked\nGarnet,0,69000,EUR,cancelled\nBorealis,6,3697,EUR,booked\nDune,4,12951,USD,booked\nBorealis,3,27689,EUR,booked\nBorealis,0,-19645,EUR,booked\nEmber,1,16062,EUR,booked\nDune,0,-184312,USD,booked\nBorealis,3,2311,EUR,booked\nCobalt,1,34000,USD,cancelled\nBorealis,4,4883,EUR,booked\nEmber,0,-89498,EUR,booked\n"}, {"name": "memo.txt", "content": "NPV is in USD as of today (calendar year 0). A project's own year t happens in calendar year start_year + t and is discounted by (1+rate)^(start_year + t), at the annual rate of its risk class (projects.csv, rates.csv). EUR amounts convert at 1.11 USD per EUR. A year can have several entries, which add up. Entries with status cancelled are void.\nProjects with timing mid-year receive their year t flows (t >= 1) in the middle of the year: discount them by (1+rate)^(start_year + t - 0.5). Year 0 flows are never shifted.\n"}, {"name": "projects.csv", "content": "project,risk_class,start_year,timing\nEmber,low,1,mid-year\nGarnet,medium,2,mid-year\nBorealis,medium,1,mid-year\nDune,low,2,end-of-year\nCobalt,medium,3,mid-year\n"}, {"name": "rates.csv", "content": "risk_class,annual_rate_pct\nhigh,12\nlow,5\nmedium,9\n"}], "reference_answer": "Ember,168990"} {"task_id": "fin-npv-ranking@2", "seed": 1, "instruction": "Rank the projects in cashflows.csv by NPV using memo.txt, projects.csv and rates.csv. Answer the project with the highest NPV and its NPV in USD rounded to whole dollars, e.g. Atlas,12345. Each part is worth 0.5; NPV within 1 counts.", "files": [{"name": "cashflows.csv", "content": "project,year,amount,currency,status\nCobalt,4,305,EUR,booked\nCobalt,2,143000,EUR,booked\nFjord,0,-309544,USD,booked\nCobalt,4,-996,EUR,booked\nCobalt,5,3147,EUR,booked\nCobalt,3,58000,EUR,booked\nEmber,4,49125,USD,booked\nCobalt,6,35994,EUR,booked\nFjord,4,44000,USD,booked\nCobalt,6,8015,EUR,booked\nCobalt,0,40059,EUR,booked\nFjord,3,36231,USD,booked\nFjord,3,18769,USD,booked\nEmber,5,3106,USD,booked\nDune,4,8628,EUR,booked\nDune,3,155000,EUR,booked\nDune,2,13246,EUR,booked\nEmber,5,29006,USD,booked\nDune,1,29364,EUR,booked\nDune,1,10444,EUR,booked\nEmber,5,65888,USD,booked\nEmber,5,13000,USD,cancelled\nCobalt,0,-86991,EUR,booked\nEmber,3,46945,USD,booked\nDune,6,140000,EUR,booked\nCobalt,1,23723,EUR,booked\nFjord,2,56811,USD,booked\nCobalt,5,3187,EUR,booked\nFjord,0,-25456,USD,booked\nDune,5,99561,EUR,booked\nCobalt,4,-1309,EUR,booked\nFjord,2,20189,USD,booked\nEmber,6,17072,USD,booked\nEmber,2,-17000,USD,booked\nDune,4,36302,EUR,booked\nEmber,6,57928,USD,booked\nDune,2,1050,EUR,booked\nDune,4,4070,EUR,booked\nDune,5,49439,EUR,booked\nCobalt,1,37473,EUR,booked\nFjord,1,23739,USD,booked\nDune,0,-350000,EUR,booked\nEmber,1,93789,USD,booked\nFjord,1,6772,USD,booked\nFjord,1,14489,USD,booked\nEmber,3,9917,USD,booked\nCobalt,0,-68068,EUR,booked\nEmber,4,875,USD,booked\nCobalt,1,28804,EUR,booked\nCobalt,6,67991,EUR,booked\nCobalt,5,6666,EUR,booked\nDune,1,10192,EUR,booked\nEmber,1,43211,USD,booked\nEmber,3,38138,USD,booked\nEmber,0,-140000,USD,booked\nDune,2,54704,EUR,booked\n"}, {"name": "memo.txt", "content": "NPV is in USD as of today (calendar year 0). A project's own year t happens in calendar year start_year + t and is discounted by (1+rate)^(start_year + t), at the annual rate of its risk class (projects.csv, rates.csv). EUR amounts convert at 1.115 USD per EUR. A year can have several entries, which add up. Entries with status cancelled are void.\nProjects with timing mid-year receive their year t flows (t >= 1) in the middle of the year: discount them by (1+rate)^(start_year + t - 0.5). Year 0 flows are never shifted.\n"}, {"name": "projects.csv", "content": "project,risk_class,start_year,timing\nCobalt,medium,0,end-of-year\nFjord,high,3,mid-year\nDune,high,2,end-of-year\nEmber,low,3,mid-year\n"}, {"name": "rates.csv", "content": "risk_class,annual_rate_pct\nhigh,14\nlow,5\nmedium,8\n"}], "reference_answer": "Cobalt,239649"} {"task_id": "fin-npv-ranking@2", "seed": 2, "instruction": "Rank the projects in cashflows.csv by NPV using memo.txt, projects.csv and rates.csv. Answer the project with the highest NPV and its NPV in USD rounded to whole dollars, e.g. Atlas,12345. Each part is worth 0.5; NPV within 1 counts.", "files": [{"name": "cashflows.csv", "content": "project,year,amount,currency,status\nFjord,6,7520,USD,booked\nFjord,6,-10792,USD,booked\nCobalt,2,4000,EUR,booked\nCobalt,0,-8872,EUR,booked\nFjord,5,5392,USD,booked\nFjord,4,17005,USD,booked\nEmber,3,60033,EUR,booked\nEmber,2,38803,EUR,booked\nCobalt,6,84367,EUR,booked\nGarnet,5,140000,USD,booked\nCobalt,6,29633,EUR,booked\nGarnet,2,56120,USD,booked\nFjord,0,-70000,USD,booked\nGarnet,3,41968,USD,booked\nFjord,4,14761,USD,booked\nFjord,7,20000,USD,booked\nGarnet,1,8192,USD,booked\nFjord,1,50000,USD,booked\nFjord,2,2171,USD,booked\nCobalt,4,137000,EUR,booked\nFjord,3,21320,USD,booked\nFjord,5,38000,USD,cancelled\nFjord,5,-18077,USD,booked\nFjord,3,8680,USD,booked\nGarnet,3,16066,USD,booked\nGarnet,1,10182,USD,booked\nCobalt,5,24918,EUR,booked\nFjord,5,-7315,USD,booked\nGarnet,2,22880,USD,booked\nGarnet,4,30791,USD,booked\nGarnet,0,-75000,USD,booked\nEmber,2,70328,EUR,booked\nEmber,1,116000,EUR,booked\nEmber,3,24000,EUR,cancelled\nCobalt,3,95895,EUR,booked\nFjord,6,-11728,USD,booked\nEmber,0,-47969,EUR,booked\nFjord,2,72476,USD,booked\nCobalt,1,21000,EUR,booked\nEmber,2,44869,EUR,booked\nFjord,2,53353,USD,booked\nCobalt,0,-61128,EUR,booked\nEmber,3,48416,EUR,booked\nCobalt,3,2105,EUR,booked\nFjord,4,43234,USD,booked\nEmber,3,42551,EUR,booked\nEmber,0,-157031,EUR,booked\nGarnet,1,39626,USD,booked\nGarnet,4,15209,USD,booked\nGarnet,3,12966,USD,booked\nCobalt,5,12082,EUR,booked\n"}, {"name": "memo.txt", "content": "NPV is in USD as of today (calendar year 0). A project's own year t happens in calendar year start_year + t and is discounted by (1+rate)^(start_year + t), at the annual rate of its risk class (projects.csv, rates.csv). EUR amounts convert at 1.13 USD per EUR. A year can have several entries, which add up. Entries with status cancelled are void.\nProjects with timing mid-year receive their year t flows (t >= 1) in the middle of the year: discount them by (1+rate)^(start_year + t - 0.5). Year 0 flows are never shifted.\n"}, {"name": "projects.csv", "content": "project,risk_class,start_year,timing\nEmber,medium,0,mid-year\nCobalt,high,0,mid-year\nGarnet,medium,1,mid-year\nFjord,low,0,mid-year\n"}, {"name": "rates.csv", "content": "risk_class,annual_rate_pct\nhigh,14\nlow,5\nmedium,10\n"}], "reference_answer": "Cobalt,210359"} {"task_id": "fin-portfolio-value@1", "seed": 0, "instruction": "Value the portfolio built by trades.csv at the close of 2026-09-22 in USD, using prices.csv and fx.csv (see README.txt). Answer the value with 2 decimals; within 0.50 counts.", "files": [{"name": "README.txt", "content": "prices.csv holds closing prices in each instrument's own currency. fx.csv gives USD per one unit of currency on that date. Trades on the valuation date settle before the close.\n"}, {"name": "fx.csv", "content": "date,currency,usd_per_unit\n2026-09-01,EUR,1.130691\n2026-09-01,GBP,1.310843\n2026-09-01,JPY,0.0068\n2026-09-02,EUR,1.100338\n2026-09-02,GBP,1.314192\n2026-09-02,JPY,0.00682\n2026-09-03,EUR,1.136076\n2026-09-03,GBP,1.271604\n2026-09-03,JPY,0.006873\n2026-09-04,EUR,1.125911\n2026-09-04,GBP,1.301885\n2026-09-04,JPY,0.006936\n2026-09-07,EUR,1.129122\n2026-09-07,GBP,1.292026\n2026-09-07,JPY,0.006756\n2026-09-08,EUR,1.115839\n2026-09-08,GBP,1.282138\n2026-09-08,JPY,0.006728\n2026-09-09,EUR,1.13235\n2026-09-09,GBP,1.306241\n2026-09-09,JPY,0.006824\n2026-09-10,EUR,1.110755\n2026-09-10,GBP,1.284134\n2026-09-10,JPY,0.006933\n2026-09-11,EUR,1.104035\n2026-09-11,GBP,1.266159\n2026-09-11,JPY,0.006938\n2026-09-14,EUR,1.116334\n2026-09-14,GBP,1.306705\n2026-09-14,JPY,0.006831\n2026-09-15,EUR,1.112744\n2026-09-15,GBP,1.290232\n2026-09-15,JPY,0.006758\n2026-09-16,EUR,1.11038\n2026-09-16,GBP,1.27754\n2026-09-16,JPY,0.006832\n2026-09-17,EUR,1.122635\n2026-09-17,GBP,1.267324\n2026-09-17,JPY,0.006892\n2026-09-18,EUR,1.104912\n2026-09-18,GBP,1.301711\n2026-09-18,JPY,0.00682\n2026-09-21,EUR,1.114662\n2026-09-21,GBP,1.307233\n2026-09-21,JPY,0.006952\n2026-09-22,EUR,1.0941\n2026-09-22,GBP,1.298068\n2026-09-22,JPY,0.006751\n2026-09-23,EUR,1.128307\n2026-09-23,GBP,1.310805\n2026-09-23,JPY,0.0068\n2026-09-24,EUR,1.12608\n2026-09-24,GBP,1.305998\n2026-09-24,JPY,0.006716\n2026-09-25,EUR,1.102983\n2026-09-25,GBP,1.299593\n2026-09-25,JPY,0.006855\n2026-09-28,EUR,1.136651\n2026-09-28,GBP,1.281477\n2026-09-28,JPY,0.006848\n2026-09-29,EUR,1.111224\n2026-09-29,GBP,1.313328\n2026-09-29,JPY,0.006949\n2026-09-30,EUR,1.114387\n2026-09-30,GBP,1.290967\n2026-09-30,JPY,0.006898\n"}, {"name": "prices.csv", "content": "date,ticker,close\n2026-09-01,BRIX,120.47\n2026-09-02,BRIX,120.48\n2026-09-03,BRIX,126.22\n2026-09-04,BRIX,117.42\n2026-09-07,BRIX,109.22\n2026-09-08,BRIX,124.52\n2026-09-09,BRIX,120.9\n2026-09-10,BRIX,122.29\n2026-09-11,BRIX,123.81\n2026-09-14,BRIX,120.78\n2026-09-15,BRIX,131.83\n2026-09-16,BRIX,116.34\n2026-09-17,BRIX,124.93\n2026-09-18,BRIX,109.02\n2026-09-21,BRIX,119.16\n2026-09-22,BRIX,116.63\n2026-09-23,BRIX,109.03\n2026-09-24,BRIX,110.33\n2026-09-25,BRIX,113.96\n2026-09-28,BRIX,119.8\n2026-09-29,BRIX,111.39\n2026-09-30,BRIX,129.77\n2026-09-01,ACME,363.93\n2026-09-02,ACME,382.1\n2026-09-03,ACME,327.14\n2026-09-04,ACME,334.63\n2026-09-07,ACME,340.73\n2026-09-08,ACME,369.0\n2026-09-09,ACME,385.07\n2026-09-10,ACME,337.97\n2026-09-11,ACME,353.21\n2026-09-14,ACME,381.82\n2026-09-15,ACME,378.29\n2026-09-16,ACME,392.76\n2026-09-17,ACME,338.4\n2026-09-18,ACME,385.53\n2026-09-21,ACME,376.79\n2026-09-22,ACME,362.33\n2026-09-23,ACME,393.1\n2026-09-24,ACME,387.71\n2026-09-25,ACME,339.36\n2026-09-28,ACME,387.93\n2026-09-29,ACME,354.36\n2026-09-30,ACME,335.67\n2026-09-01,CORA,59.04\n2026-09-02,CORA,67.51\n2026-09-03,CORA,63.32\n2026-09-04,CORA,65.75\n2026-09-07,CORA,60.2\n2026-09-08,CORA,65.99\n2026-09-09,CORA,61.93\n2026-09-10,CORA,59.03\n2026-09-11,CORA,62.15\n2026-09-14,CORA,62.24\n2026-09-15,CORA,66.76\n2026-09-16,CORA,61.4\n2026-09-17,CORA,62.22\n2026-09-18,CORA,66.53\n2026-09-21,CORA,63.45\n2026-09-22,CORA,68.15\n2026-09-23,CORA,67.93\n2026-09-24,CORA,59.72\n2026-09-25,CORA,64.24\n2026-09-28,CORA,61.36\n2026-09-29,CORA,66.48\n2026-09-30,CORA,62.54\n2026-09-01,DYNA,43911.46\n2026-09-02,DYNA,43471.48\n2026-09-03,DYNA,46975.51\n2026-09-04,DYNA,49844.23\n2026-09-07,DYNA,51879.56\n2026-09-08,DYNA,48379.91\n2026-09-09,DYNA,50414.28\n2026-09-10,DYNA,49536.61\n2026-09-11,DYNA,47486.62\n2026-09-14,DYNA,44407.49\n2026-09-15,DYNA,47116.33\n2026-09-16,DYNA,43871.09\n2026-09-17,DYNA,43088.29\n2026-09-18,DYNA,49753.33\n2026-09-21,DYNA,50539.58\n2026-09-22,DYNA,51679.76\n2026-09-23,DYNA,50663.77\n2026-09-24,DYNA,46478.17\n2026-09-25,DYNA,43342.74\n2026-09-28,DYNA,49924.14\n2026-09-29,DYNA,44123.26\n2026-09-30,DYNA,48696.08\n"}, {"name": "trades.csv", "content": "date,ticker,side,shares,price,currency\n2026-09-02,BRIX,buy,8,120.48,EUR\n2026-09-03,BRIX,buy,59,126.22,EUR\n2026-09-03,CORA,buy,19,63.32,GBP\n2026-09-09,DYNA,buy,48,50414.28,JPY\n2026-09-11,CORA,buy,7,62.15,GBP\n2026-09-14,DYNA,buy,59,44407.49,JPY\n2026-09-15,ACME,buy,21,378.29,USD\n2026-09-22,CORA,buy,30,68.15,GBP\n2026-09-28,DYNA,buy,21,49924.14,JPY\n2026-09-28,DYNA,sell,55,49924.14,JPY\n"}], "reference_answer": "58443.64"} {"task_id": "fin-portfolio-value@1", "seed": 1, "instruction": "Value the portfolio built by trades.csv at the close of 2026-09-23 in USD, using prices.csv and fx.csv (see README.txt). Answer the value with 2 decimals; within 0.50 counts.", "files": [{"name": "README.txt", "content": "prices.csv holds closing prices in each instrument's own currency. fx.csv gives USD per one unit of currency on that date. Trades on the valuation date settle before the close.\n"}, {"name": "fx.csv", "content": "date,currency,usd_per_unit\n2026-09-01,EUR,1.122407\n2026-09-01,GBP,1.235196\n2026-09-01,JPY,0.006633\n2026-09-02,EUR,1.15267\n2026-09-02,GBP,1.21707\n2026-09-02,JPY,0.006465\n2026-09-03,EUR,1.130239\n2026-09-03,GBP,1.246847\n2026-09-03,JPY,0.006672\n2026-09-04,EUR,1.149337\n2026-09-04,GBP,1.251692\n2026-09-04,JPY,0.006527\n2026-09-07,EUR,1.137372\n2026-09-07,GBP,1.22519\n2026-09-07,JPY,0.006557\n2026-09-08,EUR,1.139863\n2026-09-08,GBP,1.220242\n2026-09-08,JPY,0.00662\n2026-09-09,EUR,1.152665\n2026-09-09,GBP,1.24007\n2026-09-09,JPY,0.006476\n2026-09-10,EUR,1.145511\n2026-09-10,GBP,1.218952\n2026-09-10,JPY,0.00656\n2026-09-11,EUR,1.143095\n2026-09-11,GBP,1.261044\n2026-09-11,JPY,0.006648\n2026-09-14,EUR,1.131016\n2026-09-14,GBP,1.260403\n2026-09-14,JPY,0.006468\n2026-09-15,EUR,1.130001\n2026-09-15,GBP,1.226982\n2026-09-15,JPY,0.006473\n2026-09-16,EUR,1.138594\n2026-09-16,GBP,1.26229\n2026-09-16,JPY,0.00664\n2026-09-17,EUR,1.146653\n2026-09-17,GBP,1.225118\n2026-09-17,JPY,0.006558\n2026-09-18,EUR,1.134516\n2026-09-18,GBP,1.251762\n2026-09-18,JPY,0.006572\n2026-09-21,EUR,1.146594\n2026-09-21,GBP,1.23776\n2026-09-21,JPY,0.006633\n2026-09-22,EUR,1.132926\n2026-09-22,GBP,1.233617\n2026-09-22,JPY,0.006671\n2026-09-23,EUR,1.118755\n2026-09-23,GBP,1.219372\n2026-09-23,JPY,0.006632\n2026-09-24,EUR,1.12635\n2026-09-24,GBP,1.235234\n2026-09-24,JPY,0.006628\n2026-09-25,EUR,1.122158\n2026-09-25,GBP,1.261432\n2026-09-25,JPY,0.006551\n2026-09-28,EUR,1.11684\n2026-09-28,GBP,1.235361\n2026-09-28,JPY,0.006533\n2026-09-29,EUR,1.113769\n2026-09-29,GBP,1.244685\n2026-09-29,JPY,0.006486\n2026-09-30,EUR,1.132713\n2026-09-30,GBP,1.219197\n2026-09-30,JPY,0.006536\n"}, {"name": "prices.csv", "content": "date,ticker,close\n2026-09-01,BRIX,242.49\n2026-09-02,BRIX,206.04\n2026-09-03,BRIX,220.51\n2026-09-04,BRIX,220.05\n2026-09-07,BRIX,231.46\n2026-09-08,BRIX,234.69\n2026-09-09,BRIX,212.97\n2026-09-10,BRIX,244.03\n2026-09-11,BRIX,227.65\n2026-09-14,BRIX,225.67\n2026-09-15,BRIX,227.68\n2026-09-16,BRIX,240.9\n2026-09-17,BRIX,215.7\n2026-09-18,BRIX,247.68\n2026-09-21,BRIX,233.25\n2026-09-22,BRIX,211.31\n2026-09-23,BRIX,233.94\n2026-09-24,BRIX,227.24\n2026-09-25,BRIX,247.82\n2026-09-28,BRIX,221.2\n2026-09-29,BRIX,233.53\n2026-09-30,BRIX,237.22\n2026-09-01,DYNA,53860.32\n2026-09-02,DYNA,47874.59\n2026-09-03,DYNA,50746.09\n2026-09-04,DYNA,50380.91\n2026-09-07,DYNA,50099.24\n2026-09-08,DYNA,47620.74\n2026-09-09,DYNA,47063.24\n2026-09-10,DYNA,49696.33\n2026-09-11,DYNA,53055.95\n2026-09-14,DYNA,45656.71\n2026-09-15,DYNA,50927.72\n2026-09-16,DYNA,46296.37\n2026-09-17,DYNA,44957.09\n2026-09-18,DYNA,50864.67\n2026-09-21,DYNA,48482.68\n2026-09-22,DYNA,48227.8\n2026-09-23,DYNA,46488.57\n2026-09-24,DYNA,45772.78\n2026-09-25,DYNA,53430.72\n2026-09-28,DYNA,44724.1\n2026-09-29,DYNA,54026.79\n2026-09-30,DYNA,49392.35\n2026-09-01,ACME,198.91\n2026-09-02,ACME,204.82\n2026-09-03,ACME,201.58\n2026-09-04,ACME,213.02\n2026-09-07,ACME,211.69\n2026-09-08,ACME,207.55\n2026-09-09,ACME,210.46\n2026-09-10,ACME,209.61\n2026-09-11,ACME,211.29\n2026-09-14,ACME,232.28\n2026-09-15,ACME,199.15\n2026-09-16,ACME,210.05\n2026-09-17,ACME,190.61\n2026-09-18,ACME,226.42\n2026-09-21,ACME,228.79\n2026-09-22,ACME,228.15\n2026-09-23,ACME,209.0\n2026-09-24,ACME,192.73\n2026-09-25,ACME,208.39\n2026-09-28,ACME,227.79\n2026-09-29,ACME,214.41\n2026-09-30,ACME,208.51\n2026-09-01,ELIO,38.99\n2026-09-02,ELIO,39.1\n2026-09-03,ELIO,36.34\n2026-09-04,ELIO,33.47\n2026-09-07,ELIO,39.43\n2026-09-08,ELIO,33.25\n2026-09-09,ELIO,37.34\n2026-09-10,ELIO,38.88\n2026-09-11,ELIO,35.65\n2026-09-14,ELIO,36.55\n2026-09-15,ELIO,33.58\n2026-09-16,ELIO,38.22\n2026-09-17,ELIO,34.49\n2026-09-18,ELIO,36.09\n2026-09-21,ELIO,36.83\n2026-09-22,ELIO,40.19\n2026-09-23,ELIO,34.59\n2026-09-24,ELIO,36.25\n2026-09-25,ELIO,39.52\n2026-09-28,ELIO,35.94\n2026-09-29,ELIO,38.21\n2026-09-30,ELIO,35.67\n"}, {"name": "trades.csv", "content": "date,ticker,side,shares,price,currency\n2026-09-07,BRIX,buy,29,231.46,EUR\n2026-09-11,ELIO,buy,36,35.65,EUR\n2026-09-16,ACME,buy,43,210.05,USD\n2026-09-17,BRIX,buy,21,215.7,EUR\n2026-09-21,BRIX,buy,39,233.25,EUR\n2026-09-22,DYNA,buy,31,48227.8,JPY\n2026-09-23,BRIX,buy,48,233.94,EUR\n2026-09-23,BRIX,sell,54,233.94,EUR\n2026-09-28,DYNA,buy,6,44724.1,JPY\n2026-09-28,DYNA,buy,53,44724.1,JPY\n2026-09-30,ELIO,buy,24,35.67,EUR\n"}], "reference_answer": "41660.68"} {"task_id": "fin-portfolio-value@1", "seed": 2, "instruction": "Value the portfolio built by trades.csv at the close of 2026-09-18 in USD, using prices.csv and fx.csv (see README.txt). Answer the value with 2 decimals; within 0.50 counts.", "files": [{"name": "README.txt", "content": "prices.csv holds closing prices in each instrument's own currency. fx.csv gives USD per one unit of currency on that date. Trades on the valuation date settle before the close.\n"}, {"name": "fx.csv", "content": "date,currency,usd_per_unit\n2026-09-01,EUR,1.102326\n2026-09-01,GBP,1.285407\n2026-09-01,JPY,0.00705\n2026-09-02,EUR,1.088367\n2026-09-02,GBP,1.270029\n2026-09-02,JPY,0.006978\n2026-09-03,EUR,1.105752\n2026-09-03,GBP,1.249769\n2026-09-03,JPY,0.006877\n2026-09-04,EUR,1.089631\n2026-09-04,GBP,1.259309\n2026-09-04,JPY,0.006888\n2026-09-07,EUR,1.097833\n2026-09-07,GBP,1.266559\n2026-09-07,JPY,0.006889\n2026-09-08,EUR,1.098074\n2026-09-08,GBP,1.287936\n2026-09-08,JPY,0.007144\n2026-09-09,EUR,1.108606\n2026-09-09,GBP,1.274093\n2026-09-09,JPY,0.006889\n2026-09-10,EUR,1.080442\n2026-09-10,GBP,1.273987\n2026-09-10,JPY,0.006898\n2026-09-11,EUR,1.088007\n2026-09-11,GBP,1.257558\n2026-09-11,JPY,0.007148\n2026-09-14,EUR,1.097126\n2026-09-14,GBP,1.272607\n2026-09-14,JPY,0.007132\n2026-09-15,EUR,1.092783\n2026-09-15,GBP,1.281771\n2026-09-15,JPY,0.007001\n2026-09-16,EUR,1.104112\n2026-09-16,GBP,1.263526\n2026-09-16,JPY,0.006997\n2026-09-17,EUR,1.117438\n2026-09-17,GBP,1.282998\n2026-09-17,JPY,0.007033\n2026-09-18,EUR,1.090777\n2026-09-18,GBP,1.271731\n2026-09-18,JPY,0.007012\n2026-09-21,EUR,1.083311\n2026-09-21,GBP,1.280805\n2026-09-21,JPY,0.007055\n2026-09-22,EUR,1.112193\n2026-09-22,GBP,1.275711\n2026-09-22,JPY,0.007085\n2026-09-23,EUR,1.104081\n2026-09-23,GBP,1.274918\n2026-09-23,JPY,0.006957\n2026-09-24,EUR,1.081757\n2026-09-24,GBP,1.274481\n2026-09-24,JPY,0.007054\n2026-09-25,EUR,1.109236\n2026-09-25,GBP,1.279939\n2026-09-25,JPY,0.007118\n2026-09-28,EUR,1.074811\n2026-09-28,GBP,1.270643\n2026-09-28,JPY,0.006939\n2026-09-29,EUR,1.099517\n2026-09-29,GBP,1.275817\n2026-09-29,JPY,0.00691\n2026-09-30,EUR,1.091207\n2026-09-30,GBP,1.278787\n2026-09-30,JPY,0.007137\n"}, {"name": "prices.csv", "content": "date,ticker,close\n2026-09-01,CORA,158.42\n2026-09-02,CORA,148.55\n2026-09-03,CORA,140.62\n2026-09-04,CORA,143.71\n2026-09-07,CORA,144.29\n2026-09-08,CORA,159.15\n2026-09-09,CORA,152.58\n2026-09-10,CORA,163.61\n2026-09-11,CORA,145.75\n2026-09-14,CORA,140.85\n2026-09-15,CORA,150.34\n2026-09-16,CORA,137.2\n2026-09-17,CORA,143.68\n2026-09-18,CORA,164.23\n2026-09-21,CORA,157.37\n2026-09-22,CORA,158.37\n2026-09-23,CORA,141.51\n2026-09-24,CORA,164.69\n2026-09-25,CORA,136.14\n2026-09-28,CORA,158.61\n2026-09-29,CORA,163.17\n2026-09-30,CORA,140.21\n2026-09-01,FROST,112.58\n2026-09-02,FROST,110.67\n2026-09-03,FROST,112.52\n2026-09-04,FROST,126.38\n2026-09-07,FROST,129.58\n2026-09-08,FROST,131.51\n2026-09-09,FROST,112.97\n2026-09-10,FROST,116.19\n2026-09-11,FROST,114.09\n2026-09-14,FROST,109.67\n2026-09-15,FROST,114.05\n2026-09-16,FROST,114.82\n2026-09-17,FROST,110.99\n2026-09-18,FROST,125.62\n2026-09-21,FROST,124.35\n2026-09-22,FROST,131.26\n2026-09-23,FROST,108.19\n2026-09-24,FROST,124.28\n2026-09-25,FROST,121.27\n2026-09-28,FROST,120.41\n2026-09-29,FROST,120.18\n2026-09-30,FROST,129.4\n2026-09-01,ELIO,385.4\n2026-09-02,ELIO,403.33\n2026-09-03,ELIO,405.33\n2026-09-04,ELIO,411.95\n2026-09-07,ELIO,380.35\n2026-09-08,ELIO,421.25\n2026-09-09,ELIO,422.13\n2026-09-10,ELIO,418.88\n2026-09-11,ELIO,424.61\n2026-09-14,ELIO,411.64\n2026-09-15,ELIO,403.5\n2026-09-16,ELIO,374.67\n2026-09-17,ELIO,376.63\n2026-09-18,ELIO,389.87\n2026-09-21,ELIO,383.16\n2026-09-22,ELIO,355.05\n2026-09-23,ELIO,367.03\n2026-09-24,ELIO,392.49\n2026-09-25,ELIO,354.49\n2026-09-28,ELIO,377.75\n2026-09-29,ELIO,382.32\n2026-09-30,ELIO,422.39\n2026-09-01,DYNA,34090.54\n2026-09-02,DYNA,34089.3\n2026-09-03,DYNA,33139.61\n2026-09-04,DYNA,37642.95\n2026-09-07,DYNA,35462.39\n2026-09-08,DYNA,37234.88\n2026-09-09,DYNA,37890.42\n2026-09-10,DYNA,38876.46\n2026-09-11,DYNA,34089.88\n2026-09-14,DYNA,34831.8\n2026-09-15,DYNA,33060.68\n2026-09-16,DYNA,35290.79\n2026-09-17,DYNA,36433.75\n2026-09-18,DYNA,39133.07\n2026-09-21,DYNA,36734.72\n2026-09-22,DYNA,39812.84\n2026-09-23,DYNA,36986.76\n2026-09-24,DYNA,33161.66\n2026-09-25,DYNA,37638.28\n2026-09-28,DYNA,35739.65\n2026-09-29,DYNA,33216.59\n2026-09-30,DYNA,37076.28\n"}, {"name": "trades.csv", "content": "date,ticker,side,shares,price,currency\n2026-09-04,DYNA,buy,29,37642.95,JPY\n2026-09-04,FROST,buy,26,126.38,USD\n2026-09-07,DYNA,buy,8,35462.39,JPY\n2026-09-08,CORA,buy,32,159.15,GBP\n2026-09-11,ELIO,buy,19,424.61,EUR\n2026-09-14,ELIO,buy,8,411.64,EUR\n2026-09-15,FROST,buy,53,114.05,USD\n2026-09-16,FROST,buy,52,114.82,USD\n2026-09-21,DYNA,buy,20,36734.72,JPY\n2026-09-21,DYNA,sell,14,36734.72,JPY\n2026-09-24,CORA,buy,21,164.69,GBP\n2026-09-24,ELIO,buy,41,392.49,EUR\n2026-09-25,DYNA,buy,58,37638.28,JPY\n2026-09-25,FROST,buy,15,121.27,USD\n2026-09-28,DYNA,sell,19,35739.65,JPY\n"}], "reference_answer": "44774.52"} {"task_id": "fin-portfolio-value@2", "seed": 0, "instruction": "Value the portfolio built by trades.csv at the close of 2026-09-17 in USD, using prices.csv and fx.csv (see README.txt). Answer the value with 2 decimals; within 0.50 counts.", "files": [{"name": "README.txt", "content": "prices.csv holds closing prices in each instrument's own currency. fx.csv gives USD per one unit of currency on that date. Trades on the valuation date settle before the close.\nCorporate action: ACME split 3-for-1 effective 2026-09-08 (before that day's trading). Prices from that day are post-split; share counts in trades on or after that day are post-split; holdings before it are multiplied by the ratio (fractions are kept).\n"}, {"name": "fx.csv", "content": "date,currency,usd_per_unit\n2026-09-01,EUR,1.079962\n2026-09-01,GBP,1.359819\n2026-09-01,JPY,0.006698\n2026-09-02,EUR,1.070704\n2026-09-02,GBP,1.327114\n2026-09-02,JPY,0.006555\n2026-09-03,EUR,1.094362\n2026-09-03,GBP,1.331126\n2026-09-03,JPY,0.006528\n2026-09-04,EUR,1.066981\n2026-09-04,GBP,1.326538\n2026-09-04,JPY,0.006588\n2026-09-07,EUR,1.083449\n2026-09-07,GBP,1.337246\n2026-09-07,JPY,0.006656\n2026-09-08,EUR,1.067565\n2026-09-08,GBP,1.350087\n2026-09-08,JPY,0.006488\n2026-09-09,EUR,1.074932\n2026-09-09,GBP,1.325114\n2026-09-09,JPY,0.006587\n2026-09-10,EUR,1.101717\n2026-09-10,GBP,1.359602\n2026-09-10,JPY,0.006536\n2026-09-11,EUR,1.065725\n2026-09-11,GBP,1.345937\n2026-09-11,JPY,0.006718\n2026-09-14,EUR,1.079011\n2026-09-14,GBP,1.346886\n2026-09-14,JPY,0.006643\n2026-09-15,EUR,1.076871\n2026-09-15,GBP,1.328669\n2026-09-15,JPY,0.00671\n2026-09-16,EUR,1.074084\n2026-09-16,GBP,1.348152\n2026-09-16,JPY,0.006675\n2026-09-17,EUR,1.069865\n2026-09-17,GBP,1.366738\n2026-09-17,JPY,0.0065\n2026-09-18,EUR,1.076448\n2026-09-18,GBP,1.372187\n2026-09-18,JPY,0.006577\n2026-09-21,EUR,1.066615\n2026-09-21,GBP,1.367073\n2026-09-21,JPY,0.006725\n2026-09-22,EUR,1.096375\n2026-09-22,GBP,1.337089\n2026-09-22,JPY,0.006538\n2026-09-23,EUR,1.083979\n2026-09-23,GBP,1.361529\n2026-09-23,JPY,0.006636\n2026-09-24,EUR,1.097989\n2026-09-24,GBP,1.347969\n2026-09-24,JPY,0.006473\n2026-09-25,EUR,1.102407\n2026-09-25,GBP,1.363679\n2026-09-25,JPY,0.006591\n2026-09-28,EUR,1.068902\n2026-09-28,GBP,1.326123\n2026-09-28,JPY,0.006665\n2026-09-29,EUR,1.090324\n2026-09-29,GBP,1.366759\n2026-09-29,JPY,0.006508\n2026-09-30,EUR,1.069523\n2026-09-30,GBP,1.369102\n2026-09-30,JPY,0.006725\n"}, {"name": "prices.csv", "content": "date,ticker,close\n2026-09-01,ELIO,110.1\n2026-09-02,ELIO,97.07\n2026-09-03,ELIO,96.83\n2026-09-04,ELIO,97.69\n2026-09-07,ELIO,100.21\n2026-09-08,ELIO,107.42\n2026-09-09,ELIO,102.59\n2026-09-10,ELIO,94.0\n2026-09-11,ELIO,91.65\n2026-09-14,ELIO,104.27\n2026-09-15,ELIO,93.12\n2026-09-16,ELIO,93.6\n2026-09-17,ELIO,107.02\n2026-09-18,ELIO,97.77\n2026-09-21,ELIO,98.72\n2026-09-22,ELIO,103.49\n2026-09-23,ELIO,106.05\n2026-09-24,ELIO,99.94\n2026-09-25,ELIO,104.06\n2026-09-28,ELIO,96.52\n2026-09-29,ELIO,95.48\n2026-09-30,ELIO,94.98\n2026-09-01,ACME,83.11\n2026-09-02,ACME,79.11\n2026-09-03,ACME,70.23\n2026-09-04,ACME,80.05\n2026-09-07,ACME,69.48\n2026-09-08,ACME,24.28\n2026-09-09,ACME,27.03\n2026-09-10,ACME,25.88\n2026-09-11,ACME,26.59\n2026-09-14,ACME,25.64\n2026-09-15,ACME,22.89\n2026-09-16,ACME,23.28\n2026-09-17,ACME,25.42\n2026-09-18,ACME,26.48\n2026-09-21,ACME,26.56\n2026-09-22,ACME,26.5\n2026-09-23,ACME,23.93\n2026-09-24,ACME,24.0\n2026-09-25,ACME,23.56\n2026-09-28,ACME,24.93\n2026-09-29,ACME,26.65\n2026-09-30,ACME,24.83\n2026-09-01,BRIX,191.51\n2026-09-02,BRIX,204.21\n2026-09-03,BRIX,204.9\n2026-09-04,BRIX,212.32\n2026-09-07,BRIX,184.6\n2026-09-08,BRIX,178.44\n2026-09-09,BRIX,214.61\n2026-09-10,BRIX,200.69\n2026-09-11,BRIX,203.55\n2026-09-14,BRIX,207.54\n2026-09-15,BRIX,205.82\n2026-09-16,BRIX,193.27\n2026-09-17,BRIX,210.84\n2026-09-18,BRIX,194.83\n2026-09-21,BRIX,202.49\n2026-09-22,BRIX,188.31\n2026-09-23,BRIX,207.88\n2026-09-24,BRIX,194.96\n2026-09-25,BRIX,209.38\n2026-09-28,BRIX,197.13\n2026-09-29,BRIX,208.99\n2026-09-30,BRIX,184.53\n2026-09-01,CORA,394.34\n2026-09-02,CORA,410.66\n2026-09-03,CORA,418.64\n2026-09-04,CORA,423.67\n2026-09-07,CORA,353.62\n2026-09-08,CORA,375.88\n2026-09-09,CORA,388.63\n2026-09-10,CORA,366.08\n2026-09-11,CORA,400.37\n2026-09-14,CORA,399.7\n2026-09-15,CORA,368.17\n2026-09-16,CORA,420.74\n2026-09-17,CORA,383.98\n2026-09-18,CORA,379.01\n2026-09-21,CORA,403.49\n2026-09-22,CORA,385.0\n2026-09-23,CORA,398.84\n2026-09-24,CORA,427.51\n2026-09-25,CORA,375.71\n2026-09-28,CORA,394.5\n2026-09-29,CORA,376.55\n2026-09-30,CORA,413.92\n"}, {"name": "trades.csv", "content": "date,ticker,side,shares,price,currency\n2026-09-01,ELIO,buy,7,110.1,EUR\n2026-09-04,CORA,buy,21,423.67,GBP\n2026-09-09,ELIO,buy,48,102.59,EUR\n2026-09-09,ELIO,buy,55,102.59,EUR\n2026-09-11,ACME,buy,56,26.59,USD\n2026-09-11,ELIO,sell,24,91.65,EUR\n2026-09-17,ACME,buy,59,25.42,USD\n2026-09-21,ACME,buy,18,26.56,USD\n2026-09-21,BRIX,buy,56,202.49,EUR\n2026-09-22,ACME,sell,63,26.5,USD\n2026-09-23,ACME,buy,44,23.93,USD\n2026-09-24,BRIX,sell,1,194.96,EUR\n2026-09-25,CORA,buy,52,375.71,GBP\n"}], "reference_answer": "23790.84"} {"task_id": "fin-portfolio-value@2", "seed": 1, "instruction": "Value the portfolio built by trades.csv at the close of 2026-09-15 in USD, using prices.csv and fx.csv (see README.txt). Answer the value with 2 decimals; within 0.50 counts.", "files": [{"name": "README.txt", "content": "prices.csv holds closing prices in each instrument's own currency. fx.csv gives USD per one unit of currency on that date. Trades on the valuation date settle before the close.\nCorporate action: DYNA split 3-for-1 effective 2026-09-07 (before that day's trading). Prices from that day are post-split; share counts in trades on or after that day are post-split; holdings before it are multiplied by the ratio (fractions are kept).\n"}, {"name": "fx.csv", "content": "date,currency,usd_per_unit\n2026-09-01,EUR,1.123646\n2026-09-01,GBP,1.254346\n2026-09-01,JPY,0.006971\n2026-09-02,EUR,1.107356\n2026-09-02,GBP,1.243057\n2026-09-02,JPY,0.007054\n2026-09-03,EUR,1.13435\n2026-09-03,GBP,1.241042\n2026-09-03,JPY,0.007019\n2026-09-04,EUR,1.11038\n2026-09-04,GBP,1.240828\n2026-09-04,JPY,0.007012\n2026-09-07,EUR,1.110336\n2026-09-07,GBP,1.233762\n2026-09-07,JPY,0.007001\n2026-09-08,EUR,1.137692\n2026-09-08,GBP,1.227312\n2026-09-08,JPY,0.007086\n2026-09-09,EUR,1.109694\n2026-09-09,GBP,1.254126\n2026-09-09,JPY,0.007193\n2026-09-10,EUR,1.148288\n2026-09-10,GBP,1.248192\n2026-09-10,JPY,0.007229\n2026-09-11,EUR,1.133459\n2026-09-11,GBP,1.244852\n2026-09-11,JPY,0.007131\n2026-09-14,EUR,1.144293\n2026-09-14,GBP,1.23021\n2026-09-14,JPY,0.007249\n2026-09-15,EUR,1.148467\n2026-09-15,GBP,1.229014\n2026-09-15,JPY,0.007246\n2026-09-16,EUR,1.149081\n2026-09-16,GBP,1.23283\n2026-09-16,JPY,0.006988\n2026-09-17,EUR,1.118656\n2026-09-17,GBP,1.251075\n2026-09-17,JPY,0.006994\n2026-09-18,EUR,1.119965\n2026-09-18,GBP,1.265157\n2026-09-18,JPY,0.006978\n2026-09-21,EUR,1.126861\n2026-09-21,GBP,1.258298\n2026-09-21,JPY,0.006974\n2026-09-22,EUR,1.131015\n2026-09-22,GBP,1.233289\n2026-09-22,JPY,0.007146\n2026-09-23,EUR,1.12488\n2026-09-23,GBP,1.227405\n2026-09-23,JPY,0.007063\n2026-09-24,EUR,1.1483\n2026-09-24,GBP,1.242712\n2026-09-24,JPY,0.007232\n2026-09-25,EUR,1.140707\n2026-09-25,GBP,1.259262\n2026-09-25,JPY,0.006995\n2026-09-28,EUR,1.145624\n2026-09-28,GBP,1.22686\n2026-09-28,JPY,0.007233\n2026-09-29,EUR,1.120616\n2026-09-29,GBP,1.265544\n2026-09-29,JPY,0.007123\n2026-09-30,EUR,1.132836\n2026-09-30,GBP,1.244076\n2026-09-30,JPY,0.007084\n"}, {"name": "prices.csv", "content": "date,ticker,close\n2026-09-01,ELIO,386.82\n2026-09-02,ELIO,376.01\n2026-09-03,ELIO,343.06\n2026-09-04,ELIO,388.77\n2026-09-07,ELIO,381.62\n2026-09-08,ELIO,349.1\n2026-09-09,ELIO,353.33\n2026-09-10,ELIO,344.3\n2026-09-11,ELIO,338.77\n2026-09-14,ELIO,366.12\n2026-09-15,ELIO,344.46\n2026-09-16,ELIO,404.36\n2026-09-17,ELIO,410.74\n2026-09-18,ELIO,401.08\n2026-09-21,ELIO,407.89\n2026-09-22,ELIO,338.63\n2026-09-23,ELIO,339.98\n2026-09-24,ELIO,398.5\n2026-09-25,ELIO,345.31\n2026-09-28,ELIO,397.98\n2026-09-29,ELIO,379.25\n2026-09-30,ELIO,382.36\n2026-09-01,DYNA,24494.81\n2026-09-02,DYNA,26091.78\n2026-09-03,DYNA,28050.65\n2026-09-04,DYNA,27482.87\n2026-09-07,DYNA,7959.52\n2026-09-08,DYNA,9039.42\n2026-09-09,DYNA,8540.73\n2026-09-10,DYNA,7757.36\n2026-09-11,DYNA,8062.47\n2026-09-14,DYNA,8279.83\n2026-09-15,DYNA,8862.06\n2026-09-16,DYNA,8152.57\n2026-09-17,DYNA,8492.59\n2026-09-18,DYNA,9247.11\n2026-09-21,DYNA,8468.58\n2026-09-22,DYNA,7946.04\n2026-09-23,DYNA,9389.06\n2026-09-24,DYNA,9065.47\n2026-09-25,DYNA,8318.85\n2026-09-28,DYNA,8219.95\n2026-09-29,DYNA,8132.28\n2026-09-30,DYNA,9076.38\n2026-09-01,ACME,189.44\n2026-09-02,ACME,190.4\n2026-09-03,ACME,196.58\n2026-09-04,ACME,198.59\n2026-09-07,ACME,194.23\n2026-09-08,ACME,182.21\n2026-09-09,ACME,203.32\n2026-09-10,ACME,189.68\n2026-09-11,ACME,190.64\n2026-09-14,ACME,199.89\n2026-09-15,ACME,171.25\n2026-09-16,ACME,172.85\n2026-09-17,ACME,182.08\n2026-09-18,ACME,186.55\n2026-09-21,ACME,194.51\n2026-09-22,ACME,181.2\n2026-09-23,ACME,185.19\n2026-09-24,ACME,199.77\n2026-09-25,ACME,185.33\n2026-09-28,ACME,196.68\n2026-09-29,ACME,167.59\n2026-09-30,ACME,186.32\n2026-09-01,BRIX,24.64\n2026-09-02,BRIX,23.98\n2026-09-03,BRIX,27.7\n2026-09-04,BRIX,28.61\n2026-09-07,BRIX,26.69\n2026-09-08,BRIX,28.79\n2026-09-09,BRIX,26.49\n2026-09-10,BRIX,27.07\n2026-09-11,BRIX,27.28\n2026-09-14,BRIX,23.84\n2026-09-15,BRIX,24.73\n2026-09-16,BRIX,27.6\n2026-09-17,BRIX,26.7\n2026-09-18,BRIX,26.72\n2026-09-21,BRIX,27.09\n2026-09-22,BRIX,25.07\n2026-09-23,BRIX,24.56\n2026-09-24,BRIX,25.57\n2026-09-25,BRIX,24.59\n2026-09-28,BRIX,27.29\n2026-09-29,BRIX,26.16\n2026-09-30,BRIX,24.33\n"}, {"name": "trades.csv", "content": "date,ticker,side,shares,price,currency\n2026-09-01,ELIO,buy,57,386.82,EUR\n2026-09-02,BRIX,buy,29,23.98,EUR\n2026-09-03,ACME,buy,20,196.58,USD\n2026-09-03,ACME,buy,45,196.58,USD\n2026-09-08,DYNA,buy,38,9039.42,JPY\n2026-09-08,ELIO,sell,22,349.1,EUR\n2026-09-09,DYNA,buy,46,8540.73,JPY\n2026-09-10,ELIO,buy,33,344.3,EUR\n2026-09-17,ELIO,sell,7,410.74,EUR\n2026-09-23,DYNA,sell,10,9389.06,JPY\n"}], "reference_answer": "44249.78"} {"task_id": "fin-portfolio-value@2", "seed": 2, "instruction": "Value the portfolio built by trades.csv at the close of 2026-09-18 in USD, using prices.csv and fx.csv (see README.txt). Answer the value with 2 decimals; within 0.50 counts.", "files": [{"name": "README.txt", "content": "prices.csv holds closing prices in each instrument's own currency. fx.csv gives USD per one unit of currency on that date. Trades on the valuation date settle before the close.\nCorporate action: ACME split 1.5-for-1 effective 2026-09-10 (before that day's trading). Prices from that day are post-split; share counts in trades on or after that day are post-split; holdings before it are multiplied by the ratio (fractions are kept).\n"}, {"name": "fx.csv", "content": "date,currency,usd_per_unit\n2026-09-01,EUR,1.093247\n2026-09-01,GBP,1.327752\n2026-09-01,JPY,0.007073\n2026-09-02,EUR,1.076208\n2026-09-02,GBP,1.3265\n2026-09-02,JPY,0.007105\n2026-09-03,EUR,1.073873\n2026-09-03,GBP,1.309823\n2026-09-03,JPY,0.007199\n2026-09-04,EUR,1.059968\n2026-09-04,GBP,1.339699\n2026-09-04,JPY,0.007069\n2026-09-07,EUR,1.062607\n2026-09-07,GBP,1.335516\n2026-09-07,JPY,0.007057\n2026-09-08,EUR,1.077728\n2026-09-08,GBP,1.32119\n2026-09-08,JPY,0.007088\n2026-09-09,EUR,1.053019\n2026-09-09,GBP,1.317756\n2026-09-09,JPY,0.007054\n2026-09-10,EUR,1.078869\n2026-09-10,GBP,1.326352\n2026-09-10,JPY,0.007\n2026-09-11,EUR,1.070115\n2026-09-11,GBP,1.300446\n2026-09-11,JPY,0.007003\n2026-09-14,EUR,1.088623\n2026-09-14,GBP,1.33683\n2026-09-14,JPY,0.007239\n2026-09-15,EUR,1.065774\n2026-09-15,GBP,1.335156\n2026-09-15,JPY,0.007218\n2026-09-16,EUR,1.078852\n2026-09-16,GBP,1.3373\n2026-09-16,JPY,0.007045\n2026-09-17,EUR,1.091551\n2026-09-17,GBP,1.29776\n2026-09-17,JPY,0.007233\n2026-09-18,EUR,1.05844\n2026-09-18,GBP,1.331928\n2026-09-18,JPY,0.007014\n2026-09-21,EUR,1.089277\n2026-09-21,GBP,1.341544\n2026-09-21,JPY,0.00725\n2026-09-22,EUR,1.088758\n2026-09-22,GBP,1.344038\n2026-09-22,JPY,0.00719\n2026-09-23,EUR,1.07616\n2026-09-23,GBP,1.342241\n2026-09-23,JPY,0.007172\n2026-09-24,EUR,1.091758\n2026-09-24,GBP,1.298734\n2026-09-24,JPY,0.007075\n2026-09-25,EUR,1.08087\n2026-09-25,GBP,1.340475\n2026-09-25,JPY,0.007015\n2026-09-28,EUR,1.063648\n2026-09-28,GBP,1.326146\n2026-09-28,JPY,0.006998\n2026-09-29,EUR,1.058911\n2026-09-29,GBP,1.309113\n2026-09-29,JPY,0.007153\n2026-09-30,EUR,1.063736\n2026-09-30,GBP,1.345135\n2026-09-30,JPY,0.007078\n"}, {"name": "prices.csv", "content": "date,ticker,close\n2026-09-01,DYNA,30944.21\n2026-09-02,DYNA,31633.46\n2026-09-03,DYNA,31656.28\n2026-09-04,DYNA,30088.04\n2026-09-07,DYNA,30956.81\n2026-09-08,DYNA,29910.48\n2026-09-09,DYNA,29357.64\n2026-09-10,DYNA,28195.96\n2026-09-11,DYNA,30417.43\n2026-09-14,DYNA,28967.94\n2026-09-15,DYNA,31775.01\n2026-09-16,DYNA,31103.14\n2026-09-17,DYNA,29971.39\n2026-09-18,DYNA,30425.7\n2026-09-21,DYNA,27512.44\n2026-09-22,DYNA,26851.55\n2026-09-23,DYNA,32083.22\n2026-09-24,DYNA,27654.97\n2026-09-25,DYNA,30500.97\n2026-09-28,DYNA,28989.97\n2026-09-29,DYNA,26711.66\n2026-09-30,DYNA,32285.77\n2026-09-01,ACME,206.91\n2026-09-02,ACME,230.51\n2026-09-03,ACME,197.68\n2026-09-04,ACME,217.85\n2026-09-07,ACME,206.6\n2026-09-08,ACME,208.13\n2026-09-09,ACME,207.52\n2026-09-10,ACME,131.9\n2026-09-11,ACME,148.66\n2026-09-14,ACME,151.47\n2026-09-15,ACME,157.6\n2026-09-16,ACME,147.32\n2026-09-17,ACME,130.09\n2026-09-18,ACME,140.24\n2026-09-21,ACME,158.42\n2026-09-22,ACME,133.79\n2026-09-23,ACME,148.16\n2026-09-24,ACME,155.65\n2026-09-25,ACME,135.79\n2026-09-28,ACME,156.73\n2026-09-29,ACME,140.63\n2026-09-30,ACME,146.13\n2026-09-01,CORA,202.83\n2026-09-02,CORA,214.04\n2026-09-03,CORA,217.26\n2026-09-04,CORA,199.1\n2026-09-07,CORA,193.55\n2026-09-08,CORA,227.35\n2026-09-09,CORA,215.88\n2026-09-10,CORA,227.42\n2026-09-11,CORA,195.03\n2026-09-14,CORA,209.03\n2026-09-15,CORA,204.11\n2026-09-16,CORA,206.07\n2026-09-17,CORA,195.43\n2026-09-18,CORA,193.67\n2026-09-21,CORA,189.37\n2026-09-22,CORA,225.3\n2026-09-23,CORA,217.3\n2026-09-24,CORA,189.27\n2026-09-25,CORA,208.43\n2026-09-28,CORA,224.44\n2026-09-29,CORA,214.78\n2026-09-30,CORA,203.65\n2026-09-01,FROST,60.13\n2026-09-02,FROST,57.95\n2026-09-03,FROST,52.54\n2026-09-04,FROST,54.19\n2026-09-07,FROST,58.44\n2026-09-08,FROST,58.18\n2026-09-09,FROST,50.95\n2026-09-10,FROST,55.98\n2026-09-11,FROST,58.23\n2026-09-14,FROST,51.08\n2026-09-15,FROST,59.21\n2026-09-16,FROST,53.78\n2026-09-17,FROST,52.45\n2026-09-18,FROST,57.75\n2026-09-21,FROST,50.74\n2026-09-22,FROST,52.98\n2026-09-23,FROST,57.5\n2026-09-24,FROST,50.17\n2026-09-25,FROST,58.53\n2026-09-28,FROST,53.31\n2026-09-29,FROST,54.12\n2026-09-30,FROST,56.36\n"}, {"name": "trades.csv", "content": "date,ticker,side,shares,price,currency\n2026-09-01,ACME,buy,14,206.91,USD\n2026-09-02,CORA,buy,26,214.04,GBP\n2026-09-02,DYNA,buy,27,31633.46,JPY\n2026-09-02,FROST,buy,34,57.95,USD\n2026-09-09,CORA,buy,22,215.88,GBP\n2026-09-09,CORA,buy,43,215.88,GBP\n2026-09-09,DYNA,buy,52,29357.64,JPY\n2026-09-11,CORA,buy,49,195.03,GBP\n2026-09-16,CORA,buy,10,206.07,GBP\n2026-09-16,DYNA,buy,18,31103.14,JPY\n2026-09-25,ACME,buy,36,135.79,USD\n2026-09-30,FROST,buy,56,56.36,USD\n"}], "reference_answer": "64302.08"} {"task_id": "math-grid-paths@1", "seed": 0, "instruction": "grid.txt is a map ('.' open, '#' blocked). Count the paths from the top-left cell to the bottom-right cell that move only one cell right or down at a time and never enter a blocked cell. Answer the exact integer.", "files": [{"name": "grid.txt", "content": ".......\n.......\n....#.#\n.......\n.#.#...\n..##...\n.#.....\n.##....\n.......\n"}], "reference_answer": "457"} {"task_id": "math-grid-paths@1", "seed": 1, "instruction": "grid.txt is a map ('.' open, '#' blocked). Count the paths from the top-left cell to the bottom-right cell that move only one cell right or down at a time and never enter a blocked cell. Answer the exact integer.", "files": [{"name": "grid.txt", "content": "..#...\n......\n...#..\n..#..#\n......\n......\n......\n#....#\n...#..\n"}], "reference_answer": "116"} {"task_id": "math-grid-paths@1", "seed": 2, "instruction": "grid.txt is a map ('.' open, '#' blocked). Count the paths from the top-left cell to the bottom-right cell that move only one cell down or right at a time and never enter a blocked cell. Answer the exact integer.", "files": [{"name": "grid.txt", "content": "......\n......\n#.....\n......\n...#..\n......\n.#....\n......\n......\n"}], "reference_answer": "420"} {"task_id": "math-grid-paths@2", "seed": 0, "instruction": "grid.txt is a map ('.' open, '#' blocked, 'C' checkpoint). Count the paths from the top-left cell to the bottom-right cell that move one cell right, down, or diagonally down-right at a time, never enter a blocked cell, and pass through C. Answer the exact integer.", "files": [{"name": "grid.txt", "content": "............\n...#....#...\n#..##.......\n........#...\n#..C..#.#...\n.......###..\n..##.#..###.\n.#........#.\n............\n............\n..#........#\n.#.....#....\n.#....#....#\n.##.........\n"}], "reference_answer": "6731680"} {"task_id": "math-grid-paths@2", "seed": 1, "instruction": "grid.txt is a map ('.' open, '#' blocked, 'C' checkpoint). Count the paths from the top-left cell to the bottom-right cell that move one cell right, down, or diagonally down-right at a time, never enter a blocked cell, and pass through C. Answer the exact integer.", "files": [{"name": "grid.txt", "content": "........#.........\n#.##..#.#.........\n......#......#....\n........#...##....\n.#..###...........\n#........#........\n..#.....#...#.....\n....#.#..#...#..##\n#.#.#...#...#.....\n..................\n.....#.......C.#.#\n....#......#......\n.......#....#..#.#\n.......#.......#..\n.####...##........\n"}], "reference_answer": "13217472"} {"task_id": "math-grid-paths@2", "seed": 2, "instruction": "grid.txt is a map ('.' open, '#' blocked, 'C' checkpoint). Count the paths from the top-left cell to the bottom-right cell that move one cell right, down, or diagonally down-right at a time, never enter a blocked cell, and pass through C. Answer the exact integer.", "files": [{"name": "grid.txt", "content": ".............\n.....#....#..\n......#...#..\n...........#.\n#............\n...#.........\n...........#.\n.#...........\n.......##....\n..#.#........\n...#.........\n..#....#.....\n.......C...#.\n....#........\n.....#.....#.\n....#........\n"}], "reference_answer": "17938336"} {"task_id": "math-number-theory@1", "seed": 0, "instruction": "Solve the problem in problem.txt. Answer the exact integer.", "files": [{"name": "problem.txt", "content": "Let S be the sum of the decimal digits of 7^611. What is S mod 97?\n"}], "reference_answer": "93"} {"task_id": "math-number-theory@1", "seed": 1, "instruction": "Solve the problem in problem.txt. Answer the exact integer.", "files": [{"name": "problem.txt", "content": "How many integers n with 1 <= n <= 2239228 are divisible by 7 or 12 but not by 11?\n"}], "reference_answer": "436214"} {"task_id": "math-number-theory@1", "seed": 2, "instruction": "Solve the problem in problem.txt. Answer the exact integer.", "files": [{"name": "problem.txt", "content": "Let S be the sum of the decimal digits of 11^920. What is S mod 1000000007?\n"}], "reference_answer": "4153"} {"task_id": "math-number-theory@2", "seed": 0, "instruction": "Solve the problem in problem.txt. Answer the exact integer.", "files": [{"name": "problem.txt", "content": "How many integers k with 1 <= k <= 8189152026092 have decimal digit sum exactly 66?\n"}], "reference_answer": "227041573647"} {"task_id": "math-number-theory@2", "seed": 1, "instruction": "Solve the problem in problem.txt. Answer the exact integer.", "files": [{"name": "problem.txt", "content": "Find the smallest positive integer n such that:\n n mod 945 = 224\n n mod 150 = 89\n n mod 80 = 39\n n mod 224 = 119\n(The moduli are not pairwise coprime.)\n"}], "reference_answer": "6839"} {"task_id": "math-number-theory@2", "seed": 2, "instruction": "Solve the problem in problem.txt. Answer the exact integer.", "files": [{"name": "problem.txt", "content": "How many integers k with 1 <= k <= 9540307793094 satisfy gcd(k, 235159012166) = 1?\n"}], "reference_answer": "3897703354558"} {"task_id": "math-constrained-path@1", "seed": 0, "instruction": "edges.csv lists an undirected weighted road network. Node J is closed. Find the minimum total weight of a route from A to G that avoids J, and how many distinct routes achieve it. Answer cost,count e.g. 17,2. Each part is worth 0.5.", "files": [{"name": "edges.csv", "content": "u,v,weight\nE,J,1\nB,H,7\nA,M,2\nC,G,7\nF,G,3\nA,F,7\nG,K,5\nC,K,4\nJ,K,1\nH,J,3\nA,E,6\nB,C,3\nI,M,4\nB,G,9\nF,I,2\nE,F,4\nF,H,1\nB,D,7\nD,F,2\nG,H,1\nC,H,6\nF,J,2\nF,M,1\nA,B,9\nH,I,2\nD,M,5\nB,J,7\nC,L,5\nD,I,6\n"}], "reference_answer": "5,1"} {"task_id": "math-constrained-path@1", "seed": 1, "instruction": "edges.csv lists an undirected weighted road network. Node A is closed. Find the minimum total weight of a route from C to G that avoids A, and how many distinct routes achieve it. Answer cost,count e.g. 17,2. Each part is worth 0.5.", "files": [{"name": "edges.csv", "content": "u,v,weight\nD,E,6\nC,F,2\nE,H,8\nB,G,2\nE,G,7\nB,H,7\nB,E,5\nD,H,5\nC,G,9\nA,C,1\nC,E,9\nB,C,9\nA,F,6\nA,D,8\nA,B,6\nC,I,5\nH,I,8\nG,I,8\nB,F,1\n"}], "reference_answer": "5,1"} {"task_id": "math-constrained-path@1", "seed": 2, "instruction": "edges.csv lists an undirected weighted road network. Node D is closed. Find the minimum total weight of a route from K to B that avoids D, and how many distinct routes achieve it. Answer cost,count e.g. 17,2. Each part is worth 0.5.", "files": [{"name": "edges.csv", "content": "u,v,weight\nA,E,5\nA,B,5\nA,F,3\nG,K,4\nI,J,9\nB,F,4\nF,K,4\nF,I,6\nH,J,1\nA,C,5\nA,D,5\nB,I,5\nE,J,8\nC,E,2\nI,K,4\nB,C,9\nC,G,6\nB,K,6\nA,J,1\nD,K,7\nE,G,2\nD,I,4\nG,J,6\nE,I,1\nD,H,6\nC,I,4\n"}], "reference_answer": "6,1"} {"task_id": "math-constrained-path@2", "seed": 0, "instruction": "roads.csv lists undirected roads with a travel time and a toll. Find the minimum total travel time from N4 to N8 among routes whose total toll is at most 5. Answer the exact integer.", "files": [{"name": "roads.csv", "content": "u,v,minutes,toll\nN2,N5,7,1\nN12,N8,6,2\nN0,N6,8,2\nN14,N3,3,4\nN1,N7,2,0\nN2,N9,7,4\nN12,N5,6,5\nN3,N8,9,0\nN6,N9,9,5\nN12,N3,6,6\nN6,N8,9,4\nN10,N8,5,3\nN2,N6,2,3\nN11,N6,2,5\nN13,N3,6,1\nN11,N7,4,5\nN3,N5,6,5\nN1,N3,2,3\nN13,N7,9,6\nN5,N6,4,1\nN11,N2,3,4\nN11,N8,3,6\nN13,N4,7,6\nN14,N6,7,0\nN1,N2,8,1\nN8,N9,3,4\nN14,N7,2,1\nN13,N6,2,6\nN14,N4,6,3\nN12,N2,9,6\nN10,N4,5,3\nN15,N8,8,2\nN1,N14,7,4\nN1,N6,8,5\nN0,N13,1,2\nN3,N9,8,5\nN15,N6,6,3\nN1,N5,5,1\nN2,N8,3,4\nN10,N2,4,2\nN14,N15,6,6\nN1,N8,7,6\nN12,N9,6,3\nN6,N7,7,1\nN0,N4,6,4\nN4,N9,1,2\nN10,N3,6,1\nN0,N1,1,2\nN0,N8,3,0\n"}], "reference_answer": "9"} {"task_id": "math-constrained-path@2", "seed": 1, "instruction": "roads.csv lists undirected roads with a travel time and a toll. Find the minimum total travel time from N12 to N15 among routes whose total toll is at most 5. Answer the exact integer.", "files": [{"name": "roads.csv", "content": "u,v,minutes,toll\nN0,N1,2,1\nN14,N15,3,3\nN15,N2,4,3\nN2,N3,9,1\nN4,N7,9,2\nN1,N11,9,2\nN10,N8,4,6\nN0,N10,1,6\nN3,N5,4,6\nN1,N8,9,1\nN2,N4,3,5\nN11,N2,1,3\nN11,N15,5,4\nN12,N4,2,2\nN10,N6,2,0\nN12,N9,4,6\nN11,N6,5,5\nN7,N9,4,1\nN13,N2,7,4\nN11,N3,3,0\nN14,N4,8,3\nN13,N7,7,1\nN15,N5,8,3\nN12,N14,5,3\nN0,N4,9,1\nN11,N14,9,4\nN1,N4,4,0\nN0,N8,8,4\nN3,N7,1,3\nN12,N3,3,6\nN3,N8,3,2\nN0,N7,5,5\nN0,N13,5,0\nN6,N9,2,4\nN4,N5,5,0\nN2,N9,5,6\nN13,N6,2,1\nN13,N8,7,4\nN13,N9,8,2\nN2,N8,3,5\nN14,N2,6,3\nN1,N6,7,0\nN14,N7,8,5\nN10,N15,6,2\nN0,N12,7,3\nN15,N7,4,3\nN11,N13,4,2\nN1,N9,1,5\nN14,N9,5,5\nN0,N2,3,2\nN0,N6,7,5\nN11,N7,4,4\n"}], "reference_answer": "15"} {"task_id": "math-constrained-path@2", "seed": 2, "instruction": "roads.csv lists undirected roads with a travel time and a toll. Find the minimum total travel time from N9 to N3 among routes whose total toll is at most 17. Answer the exact integer.", "files": [{"name": "roads.csv", "content": "u,v,minutes,toll\nN3,N8,6,3\nN11,N12,3,1\nN5,N8,3,5\nN2,N4,3,2\nN0,N2,8,0\nN2,N6,3,3\nN11,N4,5,6\nN1,N3,8,5\nN0,N11,2,5\nN4,N5,8,2\nN12,N4,1,3\nN0,N8,5,2\nN0,N4,7,3\nN12,N2,3,0\nN4,N9,3,2\nN1,N2,9,4\nN12,N7,6,1\nN11,N6,9,1\nN13,N5,3,2\nN1,N5,6,0\nN0,N7,3,2\nN1,N7,5,5\nN0,N1,7,1\nN11,N9,8,1\nN0,N9,5,4\nN10,N13,8,0\nN13,N6,2,3\nN7,N8,9,5\nN5,N6,6,4\nN12,N8,6,5\nN1,N13,4,4\nN6,N9,1,6\nN10,N2,2,5\nN11,N13,3,0\nN1,N12,8,5\n"}], "reference_answer": "16"} {"task_id": "sec-ssh-bruteforce@1", "seed": 0, "instruction": "auth.log is one day of sshd logs; incident_rule.txt defines a confirmed compromise. Answer the attacking IP and the account it logged in as, ip,username. Each part is worth 0.5.", "files": [{"name": "auth.log", "content": "Oct 7 03:31:50 bastion sshd[3150]: Failed password for deploy from 103.106.214.101 port 44739 ssh2\nOct 7 03:37:27 bastion sshd[30400]: Failed password for deploy from 103.106.214.101 port 63724 ssh2\nOct 7 03:42:54 bastion sshd[7023]: Failed password for deploy from 103.106.214.101 port 37536 ssh2\nOct 7 03:45:26 bastion sshd[22797]: Failed password for deploy from 103.106.214.101 port 60309 ssh2\nOct 7 03:48:05 bastion sshd[11447]: Failed password for deploy from 103.106.214.101 port 51675 ssh2\nOct 7 03:48:49 bastion sshd[10916]: Accepted password for backup from 10.0.6.206 port 53516 ssh2\nOct 7 03:51:14 bastion sshd[4043]: Failed password for invalid user deploy from 103.106.214.101 port 57639 ssh2\nOct 7 03:56:36 bastion sshd[46445]: Failed password for deploy from 103.106.214.101 port 48168 ssh2\nOct 7 04:00:42 bastion sshd[33764]: Failed password for deploy from 103.106.214.101 port 64072 ssh2\nOct 7 04:06:51 bastion sshd[59438]: Failed password for deploy from 103.106.214.101 port 56770 ssh2\nOct 7 04:09:55 bastion sshd[62765]: Failed password for deploy from 103.106.214.101 port 63059 ssh2\nOct 7 04:12:06 bastion sshd[9358]: Failed password for deploy from 103.106.214.101 port 32608 ssh2\nOct 7 04:13:06 bastion sshd[32784]: Accepted password for deploy from 103.106.214.101 port 41025 ssh2\nOct 7 04:29:35 bastion sshd[36022]: Failed password for oracle from 10.0.5.194 port 40484 ssh2\nOct 7 04:29:55 bastion sshd[24434]: Accepted password for oracle from 10.0.5.194 port 61162 ssh2\nOct 7 06:00:15 bastion sshd[39013]: Failed password for invalid user admin from 91.252.143.73 port 51847 ssh2\nOct 7 06:00:36 bastion sshd[44328]: Failed password for jenkins from 91.252.143.73 port 46511 ssh2\nOct 7 06:00:38 bastion sshd[19292]: Failed password for invalid user git from 91.252.143.73 port 58028 ssh2\nOct 7 06:00:45 bastion sshd[55501]: Failed password for svc_ci from 91.252.143.73 port 35163 ssh2\nOct 7 06:00:51 bastion sshd[11935]: Failed password for invalid user jenkins from 91.252.143.73 port 42243 ssh2\nOct 7 06:00:55 bastion sshd[23188]: Failed password for invalid user postgres from 91.252.143.73 port 39548 ssh2\nOct 7 06:01:00 bastion sshd[47889]: Failed password for ubuntu from 91.252.143.73 port 47872 ssh2\nOct 7 06:01:32 bastion sshd[59236]: Failed password for invalid user git from 91.252.143.73 port 34759 ssh2\nOct 7 06:02:10 bastion sshd[56789]: Failed password for invalid user deploy from 91.252.143.73 port 51684 ssh2\nOct 7 06:02:14 bastion sshd[30472]: Failed password for invalid user ubuntu from 91.252.143.73 port 42753 ssh2\nOct 7 06:02:31 bastion sshd[40005]: Failed password for root from 91.252.143.73 port 43138 ssh2\nOct 7 06:02:39 bastion sshd[54440]: Failed password for admin from 91.252.143.73 port 39272 ssh2\nOct 7 06:03:17 bastion sshd[46057]: Failed password for admin from 91.252.143.73 port 56931 ssh2\nOct 7 06:03:57 bastion sshd[56531]: Failed password for postgres from 91.252.143.73 port 63757 ssh2\nOct 7 06:04:29 bastion sshd[34014]: Failed password for admin from 91.252.143.73 port 58273 ssh2\nOct 7 06:05:09 bastion sshd[14101]: Failed password for oracle from 91.252.143.73 port 61064 ssh2\nOct 7 06:05:28 bastion sshd[12922]: Failed password for svc_ci from 91.252.143.73 port 36420 ssh2\nOct 7 06:05:59 bastion sshd[48596]: Failed password for invalid user ubuntu from 91.252.143.73 port 39525 ssh2\nOct 7 06:06:01 bastion sshd[30045]: Failed password for svc_ci from 91.252.143.73 port 36878 ssh2\nOct 7 07:47:24 bastion sshd[12879]: Accepted password for ubuntu from 10.0.8.195 port 50829 ssh2\nOct 7 08:13:21 bastion sshd[6518]: Failed password for invalid user deploy from 10.0.6.18 port 62085 ssh2\nOct 7 08:13:41 bastion sshd[61346]: Accepted password for deploy from 10.0.6.18 port 48962 ssh2\nOct 7 10:04:23 bastion sshd[2283]: Failed password for postgres from 141.244.41.86 port 51918 ssh2\nOct 7 10:04:41 bastion sshd[46807]: Failed password for deploy from 141.244.41.86 port 33663 ssh2\nOct 7 10:05:14 bastion sshd[12223]: Failed password for oracle from 141.244.41.86 port 43484 ssh2\nOct 7 10:05:27 bastion sshd[58053]: Failed password for oracle from 141.244.41.86 port 48773 ssh2\nOct 7 10:05:29 bastion sshd[62495]: Failed password for backup from 141.244.41.86 port 35577 ssh2\nOct 7 10:05:55 bastion sshd[39180]: Failed password for invalid user ubuntu from 141.244.41.86 port 52077 ssh2\nOct 7 10:06:05 bastion sshd[10042]: Failed password for root from 141.244.41.86 port 39518 ssh2\nOct 7 10:06:35 bastion sshd[45568]: Failed password for jenkins from 141.244.41.86 port 37923 ssh2\nOct 7 10:07:03 bastion sshd[28563]: Failed password for backup from 141.244.41.86 port 60607 ssh2\nOct 7 10:07:30 bastion sshd[18628]: Failed password for git from 141.244.41.86 port 50313 ssh2\nOct 7 10:07:44 bastion sshd[6854]: Failed password for backup from 141.244.41.86 port 35176 ssh2\nOct 7 10:08:23 bastion sshd[36141]: Failed password for admin from 141.244.41.86 port 44240 ssh2\nOct 7 10:08:56 bastion sshd[11669]: Failed password for backup from 141.244.41.86 port 30337 ssh2\nOct 7 10:09:26 bastion sshd[1078]: Failed password for postgres from 141.244.41.86 port 30796 ssh2\nOct 7 10:09:53 bastion sshd[51663]: Failed password for ubuntu from 141.244.41.86 port 50996 ssh2\nOct 7 10:10:26 bastion sshd[52938]: Failed password for backup from 141.244.41.86 port 38296 ssh2\nOct 7 10:10:28 bastion sshd[3310]: Failed password for root from 141.244.41.86 port 51366 ssh2\nOct 7 10:10:38 bastion sshd[63698]: Failed password for admin from 141.244.41.86 port 42915 ssh2\nOct 7 10:11:00 bastion sshd[7913]: Failed password for backup from 141.244.41.86 port 46054 ssh2\nOct 7 10:11:26 bastion sshd[62258]: Failed password for postgres from 141.244.41.86 port 63282 ssh2\nOct 7 10:11:38 bastion sshd[42555]: Failed password for oracle from 141.244.41.86 port 58082 ssh2\nOct 7 10:11:49 bastion sshd[16409]: Failed password for oracle from 141.244.41.86 port 44085 ssh2\nOct 7 10:12:14 bastion sshd[28990]: Failed password for admin from 141.244.41.86 port 37261 ssh2\nOct 7 10:12:38 bastion sshd[35048]: Failed password for svc_ci from 141.244.41.86 port 43901 ssh2\nOct 7 10:13:01 bastion sshd[41900]: Failed password for invalid user jenkins from 141.244.41.86 port 32028 ssh2\nOct 7 12:30:27 bastion sshd[15632]: Failed password for admin from 103.141.101.109 port 55047 ssh2\nOct 7 12:30:46 bastion sshd[32624]: Failed password for admin from 103.141.101.109 port 53702 ssh2\nOct 7 12:31:12 bastion sshd[5001]: Failed password for admin from 103.141.101.109 port 44032 ssh2\nOct 7 12:31:30 bastion sshd[4426]: Failed password for root from 103.141.101.109 port 64860 ssh2\nOct 7 12:32:08 bastion sshd[26088]: Failed password for root from 103.141.101.109 port 62243 ssh2\nOct 7 12:32:33 bastion sshd[20448]: Failed password for admin from 103.141.101.109 port 46593 ssh2\nOct 7 12:32:47 bastion sshd[17845]: Failed password for invalid user root from 103.141.101.109 port 60146 ssh2\nOct 7 12:33:06 bastion sshd[64584]: Failed password for invalid user root from 103.141.101.109 port 38939 ssh2\nOct 7 12:33:28 bastion sshd[58921]: Failed password for root from 103.141.101.109 port 35078 ssh2\nOct 7 12:33:59 bastion sshd[3807]: Failed password for admin from 103.141.101.109 port 59196 ssh2\nOct 7 12:34:37 bastion sshd[7851]: Failed password for admin from 103.141.101.109 port 48499 ssh2\nOct 7 12:35:00 bastion sshd[7605]: Failed password for invalid user admin from 103.141.101.109 port 33608 ssh2\nOct 7 12:35:10 bastion sshd[30511]: Accepted password for admin from 103.141.101.109 port 43144 ssh2\nOct 7 13:18:11 bastion sshd[32719]: Failed password for svc_ci from 10.0.9.61 port 34814 ssh2\nOct 7 13:18:31 bastion sshd[40604]: Accepted password for svc_ci from 10.0.9.61 port 33583 ssh2\nOct 7 14:34:31 bastion sshd[13533]: Accepted password for jenkins from 10.0.7.65 port 42274 ssh2\nOct 7 14:48:06 bastion sshd[47583]: Failed password for oracle from 10.0.8.5 port 32759 ssh2\nOct 7 14:48:26 bastion sshd[30312]: Accepted password for oracle from 10.0.8.5 port 41562 ssh2\nOct 7 15:29:47 bastion sshd[44229]: Accepted password for postgres from 10.0.7.200 port 52867 ssh2\nOct 7 15:40:12 bastion sshd[60130]: Accepted password for jenkins from 10.0.9.152 port 32276 ssh2\nOct 7 16:09:11 bastion sshd[19289]: Accepted password for deploy from 10.0.3.220 port 62145 ssh2\nOct 7 16:59:17 bastion sshd[36605]: Failed password for postgres from 10.0.0.140 port 58062 ssh2\nOct 7 16:59:37 bastion sshd[27874]: Accepted password for postgres from 10.0.0.140 port 51237 ssh2\nOct 7 17:01:29 bastion sshd[63799]: Accepted password for svc_ci from 10.0.4.177 port 33377 ssh2\nOct 7 17:02:39 bastion sshd[47032]: Accepted password for oracle from 10.0.2.61 port 62767 ssh2\nOct 7 17:31:13 bastion sshd[17833]: Failed password for root from 91.93.224.62 port 32444 ssh2\nOct 7 17:31:22 bastion sshd[45169]: Failed password for invalid user oracle from 91.93.224.62 port 38114 ssh2\nOct 7 17:31:45 bastion sshd[31113]: Failed password for backup from 91.93.224.62 port 30939 ssh2\nOct 7 17:31:59 bastion sshd[33412]: Failed password for git from 91.93.224.62 port 49361 ssh2\nOct 7 17:32:21 bastion sshd[57183]: Failed password for jenkins from 91.93.224.62 port 39709 ssh2\nOct 7 17:32:49 bastion sshd[34589]: Failed password for invalid user oracle from 91.93.224.62 port 63915 ssh2\nOct 7 17:33:20 bastion sshd[43225]: Failed password for deploy from 91.93.224.62 port 59102 ssh2\nOct 7 17:33:24 bastion sshd[2753]: Failed password for deploy from 91.93.224.62 port 31912 ssh2\nOct 7 17:33:43 bastion sshd[58801]: Failed password for admin from 91.93.224.62 port 41553 ssh2\nOct 7 17:33:56 bastion sshd[38582]: Failed password for invalid user postgres from 91.93.224.62 port 47937 ssh2\nOct 7 17:34:32 bastion sshd[46618]: Failed password for backup from 91.93.224.62 port 45694 ssh2\nOct 7 17:34:40 bastion sshd[5338]: Failed password for admin from 91.93.224.62 port 63213 ssh2\nOct 7 17:34:50 bastion sshd[57590]: Failed password for postgres from 91.93.224.62 port 55581 ssh2\nOct 7 17:35:25 bastion sshd[46568]: Failed password for ubuntu from 91.93.224.62 port 52102 ssh2\nOct 7 17:35:27 bastion sshd[30280]: Failed password for root from 91.93.224.62 port 59905 ssh2\nOct 7 17:35:53 bastion sshd[18884]: Failed password for invalid user backup from 91.93.224.62 port 39038 ssh2\nOct 7 17:36:21 bastion sshd[57924]: Failed password for invalid user deploy from 91.93.224.62 port 58541 ssh2\nOct 7 18:27:19 bastion sshd[7483]: Failed password for postgres from 45.43.92.48 port 36528 ssh2\nOct 7 18:27:56 bastion sshd[2563]: Failed password for admin from 45.43.92.48 port 47720 ssh2\nOct 7 18:28:24 bastion sshd[18618]: Failed password for jenkins from 45.43.92.48 port 47828 ssh2\nOct 7 18:28:48 bastion sshd[6054]: Failed password for postgres from 45.43.92.48 port 45720 ssh2\nOct 7 18:28:53 bastion sshd[5595]: Failed password for invalid user admin from 45.43.92.48 port 42675 ssh2\nOct 7 18:28:57 bastion sshd[30950]: Failed password for svc_ci from 45.43.92.48 port 59973 ssh2\nOct 7 18:29:31 bastion sshd[37183]: Failed password for oracle from 45.43.92.48 port 56806 ssh2\nOct 7 18:29:37 bastion sshd[23157]: Failed password for deploy from 45.43.92.48 port 60420 ssh2\nOct 7 18:30:08 bastion sshd[11335]: Failed password for jenkins from 45.43.92.48 port 38366 ssh2\nOct 7 18:30:15 bastion sshd[16980]: Failed password for invalid user ubuntu from 45.43.92.48 port 61712 ssh2\nOct 7 18:30:32 bastion sshd[13286]: Failed password for oracle from 45.43.92.48 port 38613 ssh2\nOct 7 18:31:09 bastion sshd[4440]: Failed password for invalid user backup from 45.43.92.48 port 37574 ssh2\nOct 7 18:31:46 bastion sshd[28415]: Failed password for jenkins from 45.43.92.48 port 32841 ssh2\nOct 7 18:32:09 bastion sshd[51209]: Failed password for jenkins from 45.43.92.48 port 39767 ssh2\nOct 7 18:32:28 bastion sshd[33492]: Failed password for jenkins from 45.43.92.48 port 42514 ssh2\nOct 7 18:32:40 bastion sshd[49725]: Failed password for invalid user ubuntu from 45.43.92.48 port 58081 ssh2\nOct 7 18:32:45 bastion sshd[62110]: Failed password for svc_ci from 45.43.92.48 port 41304 ssh2\nOct 7 18:32:50 bastion sshd[55143]: Failed password for postgres from 45.43.92.48 port 30033 ssh2\nOct 7 18:32:52 bastion sshd[16330]: Failed password for invalid user git from 45.43.92.48 port 30312 ssh2\nOct 7 18:33:26 bastion sshd[15728]: Accepted password for backup from 10.0.0.78 port 51924 ssh2\nOct 7 18:33:32 bastion sshd[61730]: Failed password for invalid user deploy from 45.43.92.48 port 61183 ssh2\nOct 7 18:33:59 bastion sshd[31253]: Failed password for admin from 45.43.92.48 port 43574 ssh2\nOct 7 18:34:03 bastion sshd[50186]: Failed password for backup from 45.43.92.48 port 61222 ssh2\nOct 7 18:34:41 bastion sshd[23496]: Failed password for deploy from 45.43.92.48 port 52636 ssh2\nOct 7 18:35:18 bastion sshd[56751]: Failed password for jenkins from 45.43.92.48 port 32143 ssh2\nOct 7 18:35:57 bastion sshd[38728]: Failed password for git from 45.43.92.48 port 62128 ssh2\nOct 7 18:36:35 bastion sshd[10884]: Failed password for oracle from 45.43.92.48 port 63268 ssh2\nOct 7 18:37:14 bastion sshd[18657]: Failed password for admin from 45.43.92.48 port 54587 ssh2\nOct 7 18:37:43 bastion sshd[62015]: Failed password for admin from 45.43.92.48 port 34009 ssh2\nOct 7 18:37:53 bastion sshd[58881]: Failed password for root from 45.43.92.48 port 51728 ssh2\nOct 7 21:24:36 bastion sshd[59452]: Accepted password for ubuntu from 10.0.0.38 port 60057 ssh2\nOct 7 22:01:56 bastion sshd[52001]: Accepted password for backup from 10.0.3.65 port 48616 ssh2\n"}, {"name": "incident_rule.txt", "content": "INCIDENT RULE: an IP is a confirmed compromise when it has at least 9 failed password attempts within any 10-minute window and then an accepted login.\n"}], "reference_answer": "103.141.101.109,admin"} {"task_id": "sec-ssh-bruteforce@1", "seed": 1, "instruction": "auth.log is one day of sshd logs; incident_rule.txt defines a confirmed compromise. Answer the attacking IP and the account it logged in as, ip,username. Each part is worth 0.5.", "files": [{"name": "auth.log", "content": "Oct 7 01:14:46 bastion sshd[52737]: Accepted password for deploy from 10.0.3.240 port 55313 ssh2\nOct 7 01:21:10 bastion sshd[1554]: Accepted password for oracle from 10.0.8.60 port 46259 ssh2\nOct 7 01:42:57 bastion sshd[59769]: Failed password for invalid user deploy from 185.60.125.147 port 36952 ssh2\nOct 7 01:50:13 bastion sshd[1142]: Failed password for deploy from 185.60.125.147 port 47487 ssh2\nOct 7 01:54:35 bastion sshd[26946]: Failed password for invalid user deploy from 185.60.125.147 port 50908 ssh2\nOct 7 02:00:53 bastion sshd[24995]: Failed password for invalid user deploy from 185.60.125.147 port 58325 ssh2\nOct 7 02:05:06 bastion sshd[22954]: Failed password for invalid user deploy from 185.60.125.147 port 39886 ssh2\nOct 7 02:06:01 bastion sshd[39712]: Failed password for jenkins from 10.0.6.207 port 56116 ssh2\nOct 7 02:06:21 bastion sshd[44945]: Accepted password for jenkins from 10.0.6.207 port 39141 ssh2\nOct 7 02:13:01 bastion sshd[45616]: Failed password for deploy from 185.60.125.147 port 61790 ssh2\nOct 7 02:18:40 bastion sshd[39322]: Failed password for deploy from 185.60.125.147 port 58987 ssh2\nOct 7 02:24:29 bastion sshd[17038]: Failed password for deploy from 185.60.125.147 port 35738 ssh2\nOct 7 02:30:01 bastion sshd[35016]: Failed password for deploy from 185.60.125.147 port 45801 ssh2\nOct 7 02:31:01 bastion sshd[40240]: Accepted password for deploy from 185.60.125.147 port 34208 ssh2\nOct 7 02:34:15 bastion sshd[63087]: Failed password for postgres from 10.0.0.168 port 36258 ssh2\nOct 7 02:34:35 bastion sshd[35722]: Accepted password for postgres from 10.0.0.168 port 52283 ssh2\nOct 7 02:56:38 bastion sshd[46142]: Accepted password for oracle from 10.0.9.214 port 57848 ssh2\nOct 7 03:05:35 bastion sshd[54844]: Failed password for backup from 10.0.8.91 port 55479 ssh2\nOct 7 03:05:55 bastion sshd[56734]: Accepted password for backup from 10.0.8.91 port 43171 ssh2\nOct 7 05:10:50 bastion sshd[43623]: Accepted password for git from 10.0.1.58 port 49037 ssh2\nOct 7 05:19:41 bastion sshd[14137]: Failed password for backup from 193.254.2.215 port 57616 ssh2\nOct 7 05:20:17 bastion sshd[35906]: Failed password for invalid user git from 193.254.2.215 port 36395 ssh2\nOct 7 05:20:42 bastion sshd[59425]: Failed password for backup from 193.254.2.215 port 33427 ssh2\nOct 7 05:20:55 bastion sshd[52749]: Failed password for ubuntu from 193.254.2.215 port 30022 ssh2\nOct 7 05:20:57 bastion sshd[9132]: Failed password for deploy from 193.254.2.215 port 35129 ssh2\nOct 7 05:21:28 bastion sshd[8621]: Failed password for invalid user svc_ci from 193.254.2.215 port 35290 ssh2\nOct 7 05:21:42 bastion sshd[41799]: Failed password for invalid user jenkins from 193.254.2.215 port 60798 ssh2\nOct 7 05:22:14 bastion sshd[11144]: Failed password for deploy from 193.254.2.215 port 48358 ssh2\nOct 7 05:22:50 bastion sshd[35838]: Failed password for admin from 193.254.2.215 port 36663 ssh2\nOct 7 05:35:00 bastion sshd[33551]: Failed password for backup from 10.0.1.136 port 59616 ssh2\nOct 7 05:35:20 bastion sshd[46795]: Accepted password for backup from 10.0.1.136 port 63134 ssh2\nOct 7 07:13:26 bastion sshd[27589]: Failed password for admin from 61.25.130.198 port 45239 ssh2\nOct 7 07:13:47 bastion sshd[15386]: Failed password for admin from 61.25.130.198 port 62542 ssh2\nOct 7 07:14:18 bastion sshd[4938]: Failed password for root from 61.25.130.198 port 44106 ssh2\nOct 7 07:14:36 bastion sshd[17870]: Failed password for root from 61.25.130.198 port 40025 ssh2\nOct 7 07:15:14 bastion sshd[54892]: Failed password for admin from 61.25.130.198 port 64998 ssh2\nOct 7 07:15:35 bastion sshd[40111]: Failed password for root from 61.25.130.198 port 44913 ssh2\nOct 7 07:16:13 bastion sshd[19138]: Failed password for admin from 61.25.130.198 port 49540 ssh2\nOct 7 07:16:25 bastion sshd[46660]: Failed password for root from 61.25.130.198 port 38068 ssh2\nOct 7 07:16:44 bastion sshd[25010]: Failed password for root from 61.25.130.198 port 36678 ssh2\nOct 7 07:17:17 bastion sshd[37418]: Failed password for invalid user root from 61.25.130.198 port 57678 ssh2\nOct 7 07:17:25 bastion sshd[15588]: Failed password for root from 61.25.130.198 port 37316 ssh2\nOct 7 07:17:55 bastion sshd[15450]: Failed password for root from 61.25.130.198 port 36171 ssh2\nOct 7 07:18:21 bastion sshd[53467]: Failed password for invalid user admin from 61.25.130.198 port 48220 ssh2\nOct 7 07:19:04 bastion sshd[56871]: Accepted password for root from 61.25.130.198 port 49628 ssh2\nOct 7 11:17:01 bastion sshd[63678]: Failed password for invalid user git from 10.0.5.27 port 47329 ssh2\nOct 7 11:17:21 bastion sshd[47868]: Accepted password for git from 10.0.5.27 port 50243 ssh2\nOct 7 12:52:57 bastion sshd[64796]: Accepted password for svc_ci from 10.0.0.74 port 64813 ssh2\nOct 7 13:14:37 bastion sshd[14120]: Failed password for invalid user backup from 10.0.6.151 port 50854 ssh2\nOct 7 13:14:57 bastion sshd[15828]: Accepted password for backup from 10.0.6.151 port 44874 ssh2\nOct 7 13:54:35 bastion sshd[15330]: Accepted password for backup from 10.0.1.61 port 44754 ssh2\nOct 7 15:36:35 bastion sshd[13195]: Failed password for ubuntu from 10.0.1.141 port 64184 ssh2\nOct 7 15:36:55 bastion sshd[33057]: Accepted password for ubuntu from 10.0.1.141 port 60992 ssh2\nOct 7 16:47:03 bastion sshd[2947]: Accepted password for git from 10.0.6.244 port 41409 ssh2\nOct 7 16:51:13 bastion sshd[26689]: Failed password for invalid user git from 10.0.7.82 port 64713 ssh2\nOct 7 16:51:33 bastion sshd[55102]: Accepted password for git from 10.0.7.82 port 30412 ssh2\nOct 7 18:28:11 bastion sshd[58720]: Accepted password for git from 10.0.6.39 port 47805 ssh2\nOct 7 18:53:52 bastion sshd[1935]: Accepted password for backup from 10.0.1.154 port 53084 ssh2\nOct 7 19:12:26 bastion sshd[39639]: Failed password for deploy from 10.0.1.64 port 39175 ssh2\nOct 7 19:12:46 bastion sshd[6100]: Accepted password for deploy from 10.0.1.64 port 40932 ssh2\nOct 7 20:20:28 bastion sshd[13537]: Failed password for invalid user deploy from 141.72.66.84 port 56668 ssh2\nOct 7 20:20:33 bastion sshd[42984]: Failed password for jenkins from 141.72.66.84 port 37756 ssh2\nOct 7 20:20:49 bastion sshd[22313]: Failed password for postgres from 141.72.66.84 port 31890 ssh2\nOct 7 20:21:05 bastion sshd[50850]: Failed password for backup from 141.72.66.84 port 51933 ssh2\nOct 7 20:21:36 bastion sshd[19260]: Failed password for git from 141.72.66.84 port 50547 ssh2\nOct 7 20:21:55 bastion sshd[13420]: Failed password for invalid user admin from 141.72.66.84 port 53001 ssh2\nOct 7 20:22:08 bastion sshd[11054]: Failed password for jenkins from 141.72.66.84 port 54229 ssh2\nOct 7 20:22:46 bastion sshd[62218]: Failed password for backup from 141.72.66.84 port 64749 ssh2\nOct 7 20:23:03 bastion sshd[53452]: Failed password for deploy from 141.72.66.84 port 36737 ssh2\nOct 7 20:23:06 bastion sshd[40065]: Failed password for postgres from 141.72.66.84 port 48506 ssh2\nOct 7 20:23:32 bastion sshd[39664]: Failed password for backup from 141.72.66.84 port 60369 ssh2\nOct 7 20:24:11 bastion sshd[64541]: Failed password for admin from 141.72.66.84 port 63809 ssh2\nOct 7 20:24:18 bastion sshd[7824]: Failed password for ubuntu from 141.72.66.84 port 49069 ssh2\nOct 7 20:24:28 bastion sshd[34277]: Failed password for invalid user oracle from 141.72.66.84 port 31301 ssh2\nOct 7 20:24:57 bastion sshd[27861]: Failed password for jenkins from 141.72.66.84 port 32820 ssh2\nOct 7 20:25:06 bastion sshd[46123]: Failed password for deploy from 141.72.66.84 port 47329 ssh2\nOct 7 20:25:17 bastion sshd[18137]: Failed password for oracle from 141.72.66.84 port 64926 ssh2\nOct 7 20:25:29 bastion sshd[10372]: Failed password for invalid user jenkins from 141.72.66.84 port 48825 ssh2\nOct 7 20:25:35 bastion sshd[24326]: Failed password for backup from 141.72.66.84 port 40595 ssh2\nOct 7 20:26:10 bastion sshd[50483]: Failed password for root from 141.72.66.84 port 52575 ssh2\nOct 7 20:26:28 bastion sshd[28378]: Failed password for svc_ci from 141.72.66.84 port 36528 ssh2\nOct 7 20:27:04 bastion sshd[33128]: Failed password for admin from 141.72.66.84 port 44365 ssh2\nOct 7 23:41:04 bastion sshd[21887]: Failed password for backup from 10.0.6.170 port 64587 ssh2\nOct 7 23:41:24 bastion sshd[33502]: Accepted password for backup from 10.0.6.170 port 38949 ssh2\n"}, {"name": "incident_rule.txt", "content": "INCIDENT RULE: an IP is a confirmed compromise when it has at least 7 failed password attempts within any 15-minute window and then an accepted login.\n"}], "reference_answer": "61.25.130.198,root"} {"task_id": "sec-ssh-bruteforce@1", "seed": 2, "instruction": "auth.log is one day of sshd logs; incident_rule.txt defines a confirmed compromise. Answer the attacking IP and the account it logged in as, ip,username. Each part is worth 0.5.", "files": [{"name": "auth.log", "content": "Oct 7 01:04:06 bastion sshd[40305]: Failed password for invalid user deploy from 45.86.240.181 port 41318 ssh2\nOct 7 01:06:48 bastion sshd[12144]: Failed password for deploy from 45.86.240.181 port 36509 ssh2\nOct 7 01:13:25 bastion sshd[33436]: Failed password for deploy from 45.86.240.181 port 36254 ssh2\nOct 7 01:19:29 bastion sshd[8215]: Failed password for invalid user deploy from 45.86.240.181 port 39936 ssh2\nOct 7 01:26:12 bastion sshd[18252]: Failed password for deploy from 45.86.240.181 port 35400 ssh2\nOct 7 01:32:49 bastion sshd[8371]: Failed password for invalid user deploy from 45.86.240.181 port 63543 ssh2\nOct 7 01:38:45 bastion sshd[30563]: Failed password for deploy from 45.86.240.181 port 31323 ssh2\nOct 7 01:41:31 bastion sshd[54545]: Failed password for invalid user deploy from 45.86.240.181 port 31607 ssh2\nOct 7 01:46:59 bastion sshd[5992]: Failed password for deploy from 45.86.240.181 port 60330 ssh2\nOct 7 01:52:11 bastion sshd[19701]: Failed password for deploy from 45.86.240.181 port 60445 ssh2\nOct 7 01:56:09 bastion sshd[10143]: Failed password for deploy from 45.86.240.181 port 54784 ssh2\nOct 7 01:57:09 bastion sshd[64611]: Accepted password for deploy from 45.86.240.181 port 45945 ssh2\nOct 7 02:06:29 bastion sshd[62822]: Accepted password for deploy from 10.0.5.115 port 41909 ssh2\nOct 7 02:17:27 bastion sshd[18258]: Accepted password for jenkins from 10.0.7.15 port 38241 ssh2\nOct 7 02:43:14 bastion sshd[4688]: Failed password for invalid user ubuntu from 10.0.1.201 port 51108 ssh2\nOct 7 02:43:34 bastion sshd[37018]: Accepted password for ubuntu from 10.0.1.201 port 32795 ssh2\nOct 7 03:22:06 bastion sshd[5996]: Accepted password for svc_ci from 10.0.2.118 port 31476 ssh2\nOct 7 04:58:58 bastion sshd[22308]: Accepted password for jenkins from 10.0.3.228 port 56889 ssh2\nOct 7 05:31:28 bastion sshd[26760]: Failed password for admin from 141.38.199.82 port 32710 ssh2\nOct 7 05:31:35 bastion sshd[6091]: Failed password for root from 141.38.199.82 port 53131 ssh2\nOct 7 05:32:10 bastion sshd[26583]: Failed password for admin from 141.38.199.82 port 59101 ssh2\nOct 7 05:32:42 bastion sshd[42362]: Failed password for admin from 141.38.199.82 port 64934 ssh2\nOct 7 05:32:58 bastion sshd[4220]: Failed password for invalid user oracle from 10.0.0.9 port 58564 ssh2\nOct 7 05:33:12 bastion sshd[5042]: Failed password for invalid user root from 141.38.199.82 port 64843 ssh2\nOct 7 05:33:18 bastion sshd[16833]: Accepted password for oracle from 10.0.0.9 port 51958 ssh2\nOct 7 05:33:18 bastion sshd[51322]: Failed password for invalid user admin from 141.38.199.82 port 30566 ssh2\nOct 7 05:33:36 bastion sshd[56218]: Failed password for root from 141.38.199.82 port 49879 ssh2\nOct 7 05:33:48 bastion sshd[35842]: Failed password for invalid user admin from 141.38.199.82 port 54878 ssh2\nOct 7 05:34:17 bastion sshd[27506]: Failed password for admin from 141.38.199.82 port 44863 ssh2\nOct 7 05:34:37 bastion sshd[25079]: Failed password for ubuntu from 141.38.199.82 port 56526 ssh2\nOct 7 05:34:55 bastion sshd[38760]: Failed password for root from 141.38.199.82 port 56162 ssh2\nOct 7 05:35:01 bastion sshd[11466]: Accepted password for ubuntu from 141.38.199.82 port 55924 ssh2\nOct 7 05:45:58 bastion sshd[8528]: Accepted password for backup from 10.0.1.234 port 59602 ssh2\nOct 7 07:58:26 bastion sshd[58096]: Failed password for oracle from 203.200.137.86 port 59740 ssh2\nOct 7 07:59:06 bastion sshd[13574]: Failed password for invalid user backup from 203.200.137.86 port 53529 ssh2\nOct 7 07:59:26 bastion sshd[11626]: Failed password for backup from 203.200.137.86 port 48821 ssh2\nOct 7 07:59:55 bastion sshd[55894]: Failed password for root from 203.200.137.86 port 60983 ssh2\nOct 7 08:00:06 bastion sshd[39842]: Failed password for git from 203.200.137.86 port 50829 ssh2\nOct 7 08:00:26 bastion sshd[37751]: Failed password for deploy from 203.200.137.86 port 61321 ssh2\nOct 7 08:00:48 bastion sshd[10667]: Failed password for postgres from 203.200.137.86 port 39328 ssh2\nOct 7 08:01:15 bastion sshd[58641]: Failed password for invalid user git from 203.200.137.86 port 44039 ssh2\nOct 7 08:01:19 bastion sshd[33099]: Failed password for invalid user svc_ci from 203.200.137.86 port 55344 ssh2\nOct 7 08:01:52 bastion sshd[17979]: Failed password for invalid user jenkins from 203.200.137.86 port 50220 ssh2\nOct 7 08:02:02 bastion sshd[14881]: Failed password for oracle from 203.200.137.86 port 33939 ssh2\nOct 7 08:02:26 bastion sshd[45018]: Failed password for jenkins from 203.200.137.86 port 60120 ssh2\nOct 7 08:03:01 bastion sshd[56014]: Failed password for admin from 203.200.137.86 port 60968 ssh2\nOct 7 08:03:21 bastion sshd[39132]: Failed password for jenkins from 203.200.137.86 port 30285 ssh2\nOct 7 08:03:36 bastion sshd[16813]: Failed password for deploy from 203.200.137.86 port 38569 ssh2\nOct 7 08:04:16 bastion sshd[29157]: Failed password for svc_ci from 203.200.137.86 port 44446 ssh2\nOct 7 08:04:50 bastion sshd[53152]: Failed password for oracle from 203.200.137.86 port 33437 ssh2\nOct 7 08:05:05 bastion sshd[12237]: Failed password for svc_ci from 203.200.137.86 port 43438 ssh2\nOct 7 08:05:07 bastion sshd[24254]: Failed password for invalid user postgres from 203.200.137.86 port 40698 ssh2\nOct 7 08:05:09 bastion sshd[56026]: Failed password for invalid user oracle from 203.200.137.86 port 43378 ssh2\nOct 7 08:05:42 bastion sshd[11018]: Failed password for deploy from 203.200.137.86 port 32246 ssh2\nOct 7 08:06:03 bastion sshd[59556]: Failed password for root from 203.200.137.86 port 63888 ssh2\nOct 7 08:06:17 bastion sshd[61431]: Failed password for invalid user admin from 203.200.137.86 port 61576 ssh2\nOct 7 08:27:55 bastion sshd[35944]: Accepted password for postgres from 10.0.8.35 port 57046 ssh2\nOct 7 09:31:06 bastion sshd[16690]: Failed password for backup from 10.0.7.238 port 31649 ssh2\nOct 7 09:31:26 bastion sshd[43157]: Accepted password for backup from 10.0.7.238 port 49281 ssh2\nOct 7 12:23:25 bastion sshd[5348]: Failed password for jenkins from 103.79.13.61 port 38034 ssh2\nOct 7 12:23:33 bastion sshd[63894]: Failed password for deploy from 103.79.13.61 port 62899 ssh2\nOct 7 12:24:11 bastion sshd[29414]: Failed password for invalid user jenkins from 103.79.13.61 port 51971 ssh2\nOct 7 12:24:33 bastion sshd[57837]: Failed password for git from 103.79.13.61 port 58841 ssh2\nOct 7 12:24:56 bastion sshd[47573]: Failed password for postgres from 103.79.13.61 port 36405 ssh2\nOct 7 12:25:34 bastion sshd[2217]: Failed password for invalid user jenkins from 103.79.13.61 port 34909 ssh2\nOct 7 12:26:07 bastion sshd[56001]: Failed password for jenkins from 103.79.13.61 port 58462 ssh2\nOct 7 12:26:23 bastion sshd[16464]: Failed password for ubuntu from 103.79.13.61 port 60102 ssh2\nOct 7 12:26:58 bastion sshd[22203]: Failed password for invalid user backup from 103.79.13.61 port 49171 ssh2\nOct 7 12:27:01 bastion sshd[46929]: Failed password for git from 103.79.13.61 port 45744 ssh2\nOct 7 12:27:19 bastion sshd[41259]: Failed password for oracle from 103.79.13.61 port 61029 ssh2\nOct 7 12:27:29 bastion sshd[8296]: Failed password for invalid user svc_ci from 103.79.13.61 port 45793 ssh2\nOct 7 12:27:45 bastion sshd[50727]: Failed password for invalid user root from 103.79.13.61 port 59600 ssh2\nOct 7 13:27:54 bastion sshd[36598]: Failed password for backup from 91.171.241.240 port 34786 ssh2\nOct 7 13:28:13 bastion sshd[34293]: Failed password for root from 91.171.241.240 port 31667 ssh2\nOct 7 13:28:30 bastion sshd[36876]: Failed password for root from 91.171.241.240 port 61642 ssh2\nOct 7 13:28:37 bastion sshd[44239]: Failed password for postgres from 91.171.241.240 port 64979 ssh2\nOct 7 13:28:55 bastion sshd[58833]: Failed password for jenkins from 91.171.241.240 port 31987 ssh2\nOct 7 13:29:22 bastion sshd[10254]: Failed password for deploy from 91.171.241.240 port 44884 ssh2\nOct 7 13:29:26 bastion sshd[18899]: Failed password for invalid user root from 91.171.241.240 port 45933 ssh2\nOct 7 13:30:03 bastion sshd[34809]: Failed password for root from 91.171.241.240 port 30624 ssh2\nOct 7 13:30:42 bastion sshd[49998]: Failed password for deploy from 91.171.241.240 port 50239 ssh2\nOct 7 13:31:16 bastion sshd[41582]: Failed password for jenkins from 91.171.241.240 port 52090 ssh2\nOct 7 13:31:40 bastion sshd[18685]: Failed password for root from 91.171.241.240 port 36323 ssh2\nOct 7 13:32:06 bastion sshd[9020]: Failed password for postgres from 91.171.241.240 port 62461 ssh2\nOct 7 13:32:33 bastion sshd[37409]: Failed password for oracle from 91.171.241.240 port 51087 ssh2\nOct 7 13:33:04 bastion sshd[32410]: Failed password for admin from 91.171.241.240 port 54304 ssh2\nOct 7 13:33:16 bastion sshd[50788]: Failed password for root from 91.171.241.240 port 42958 ssh2\nOct 7 13:33:52 bastion sshd[62518]: Failed password for jenkins from 91.171.241.240 port 42148 ssh2\nOct 7 13:34:00 bastion sshd[53488]: Failed password for jenkins from 91.171.241.240 port 50805 ssh2\nOct 7 13:34:11 bastion sshd[59319]: Failed password for jenkins from 91.171.241.240 port 31773 ssh2\nOct 7 13:34:28 bastion sshd[18858]: Failed password for jenkins from 91.171.241.240 port 34322 ssh2\nOct 7 13:34:35 bastion sshd[20505]: Failed password for admin from 91.171.241.240 port 38034 ssh2\nOct 7 13:34:42 bastion sshd[22271]: Failed password for invalid user svc_ci from 91.171.241.240 port 63677 ssh2\nOct 7 13:34:44 bastion sshd[9965]: Failed password for invalid user ubuntu from 91.171.241.240 port 47064 ssh2\nOct 7 13:34:46 bastion sshd[20788]: Failed password for svc_ci from 91.171.241.240 port 58557 ssh2\nOct 7 13:35:08 bastion sshd[35270]: Failed password for ubuntu from 91.171.241.240 port 30372 ssh2\nOct 7 13:35:44 bastion sshd[41310]: Failed password for oracle from 91.171.241.240 port 57864 ssh2\nOct 7 13:36:14 bastion sshd[31768]: Failed password for jenkins from 91.171.241.240 port 62135 ssh2\nOct 7 15:29:00 bastion sshd[59665]: Failed password for invalid user root from 203.31.227.74 port 44364 ssh2\nOct 7 15:29:32 bastion sshd[36926]: Failed password for root from 203.31.227.74 port 64687 ssh2\nOct 7 15:29:43 bastion sshd[12604]: Failed password for root from 203.31.227.74 port 38307 ssh2\nOct 7 15:30:10 bastion sshd[1815]: Failed password for postgres from 203.31.227.74 port 57367 ssh2\nOct 7 15:30:15 bastion sshd[48351]: Failed password for ubuntu from 203.31.227.74 port 32236 ssh2\nOct 7 15:30:39 bastion sshd[2386]: Failed password for invalid user root from 203.31.227.74 port 35950 ssh2\nOct 7 15:31:01 bastion sshd[11612]: Failed password for invalid user admin from 203.31.227.74 port 42108 ssh2\nOct 7 15:31:41 bastion sshd[6479]: Failed password for jenkins from 203.31.227.74 port 64316 ssh2\nOct 7 15:31:56 bastion sshd[28430]: Failed password for root from 203.31.227.74 port 50811 ssh2\nOct 7 15:32:07 bastion sshd[17871]: Failed password for root from 203.31.227.74 port 45241 ssh2\nOct 7 15:32:43 bastion sshd[42199]: Failed password for postgres from 203.31.227.74 port 60874 ssh2\nOct 7 15:33:13 bastion sshd[62658]: Failed password for invalid user deploy from 203.31.227.74 port 60068 ssh2\nOct 7 16:18:14 bastion sshd[40095]: Accepted password for oracle from 10.0.2.157 port 46131 ssh2\nOct 7 18:43:55 bastion sshd[2626]: Accepted password for oracle from 10.0.9.111 port 42211 ssh2\nOct 7 21:22:43 bastion sshd[14519]: Accepted password for deploy from 10.0.7.189 port 55392 ssh2\nOct 7 22:01:42 bastion sshd[27606]: Accepted password for git from 10.0.4.36 port 55876 ssh2\nOct 7 23:29:46 bastion sshd[12991]: Accepted password for ubuntu from 10.0.2.65 port 36838 ssh2\n"}, {"name": "incident_rule.txt", "content": "INCIDENT RULE: an IP is a confirmed compromise when it has at least 9 failed password attempts within any 15-minute window and then an accepted login.\n"}], "reference_answer": "141.38.199.82,ubuntu"} {"task_id": "sec-ssh-bruteforce@2", "seed": 0, "instruction": "auth.log.1 and auth.log are one day of sshd logs; incident_rule.txt defines a confirmed compromise. Answer the compromised network as a.b.c.0/24, the exact address that logged in, and the account, network,ip,username. Each part counts equally.", "files": [{"name": "auth.log", "content": "Oct 7 10:39:22 bastion sshd[26753]: Failed password for postgres from 91.55.223.243 port 52804 ssh2\nOct 7 10:40:06 bastion sshd[15551]: Failed password for admin from 91.55.223.33 port 55185 ssh2\nOct 7 10:41:14 bastion sshd[27289]: Failed password for postgres from 91.55.223.33 port 51588 ssh2\nOct 7 10:42:21 bastion sshd[26830]: Failed password for postgres from 91.55.223.33 port 39194 ssh2\nOct 7 10:42:45 bastion sshd[31011]: Failed password for root from 91.55.223.205 port 43476 ssh2\nOct 7 10:43:31 bastion sshd[23237]: Accepted password for postgres from 91.55.223.205 port 58247 ssh2\nOct 7 13:01:17 bastion sshd[32212]: Failed password for invalid user ubuntu from 203.27.251.44 port 63124 ssh2\nOct 7 13:01:38 bastion sshd[19524]: Failed password for invalid user git from 203.27.251.44 port 64860 ssh2\nOct 7 13:02:02 bastion sshd[33225]: Failed password for jenkins from 203.27.251.44 port 57142 ssh2\nOct 7 13:02:25 bastion sshd[22479]: Failed password for oracle from 203.27.251.44 port 62126 ssh2\nOct 7 13:02:49 bastion sshd[20013]: Failed password for postgres from 203.27.251.44 port 43052 ssh2\nOct 7 13:03:08 bastion sshd[33720]: Failed password for postgres from 203.27.251.44 port 61181 ssh2\nOct 7 13:03:35 bastion sshd[46972]: Failed password for ubuntu from 203.27.251.44 port 63865 ssh2\nOct 7 13:03:38 bastion sshd[53882]: Failed password for invalid user ubuntu from 203.27.251.44 port 47450 ssh2\nOct 7 13:03:44 bastion sshd[60487]: Failed password for git from 203.27.251.44 port 58400 ssh2\nOct 7 13:03:48 bastion sshd[60157]: Failed password for deploy from 203.27.251.44 port 48705 ssh2\nOct 7 13:04:06 bastion sshd[56120]: Accepted password for git from 10.0.6.203 port 48678 ssh2\nOct 7 13:04:18 bastion sshd[15838]: Failed password for ubuntu from 203.27.251.44 port 53268 ssh2\nOct 7 13:04:35 bastion sshd[34273]: Failed password for svc_ci from 203.27.251.44 port 39132 ssh2\nOct 7 13:05:00 bastion sshd[40012]: Failed password for invalid user svc_ci from 203.27.251.44 port 57534 ssh2\nOct 7 13:05:12 bastion sshd[11293]: Failed password for invalid user jenkins from 203.27.251.44 port 56883 ssh2\nOct 7 13:05:29 bastion sshd[35716]: Failed password for jenkins from 203.27.251.44 port 43567 ssh2\nOct 7 13:05:42 bastion sshd[17775]: Failed password for admin from 203.27.251.44 port 53089 ssh2\nOct 7 13:06:07 bastion sshd[11736]: Failed password for git from 203.27.251.44 port 40816 ssh2\nOct 7 13:06:22 bastion sshd[46615]: Failed password for postgres from 203.27.251.44 port 37056 ssh2\nOct 7 13:06:34 bastion sshd[20471]: Failed password for root from 203.27.251.44 port 57498 ssh2\nOct 7 13:06:38 bastion sshd[28879]: Failed password for admin from 203.27.251.44 port 53362 ssh2\nOct 7 13:07:07 bastion sshd[51614]: Failed password for git from 203.27.251.44 port 50453 ssh2\nOct 7 13:07:09 bastion sshd[6981]: Failed password for invalid user git from 203.27.251.44 port 48927 ssh2\nOct 7 13:07:37 bastion sshd[21387]: Failed password for root from 203.27.251.44 port 64809 ssh2\nOct 7 13:08:06 bastion sshd[30821]: Failed password for oracle from 203.27.251.44 port 59145 ssh2\nOct 7 13:08:36 bastion sshd[28419]: Failed password for jenkins from 203.27.251.44 port 32258 ssh2\nOct 7 13:13:35 bastion sshd[18273]: Accepted password for oracle from 10.0.6.115 port 41618 ssh2\nOct 7 13:33:16 bastion sshd[42529]: Accepted password for jenkins from 10.0.0.141 port 45056 ssh2\nOct 7 15:29:39 bastion sshd[24043]: Accepted password for deploy from 10.0.3.19 port 62238 ssh2\nOct 7 15:45:16 bastion sshd[56965]: Failed password for invalid user jenkins from 10.0.6.43 port 34476 ssh2\nOct 7 15:45:36 bastion sshd[21503]: Accepted password for jenkins from 10.0.6.43 port 53821 ssh2\nOct 7 16:21:31 bastion sshd[61922]: Failed password for git from 10.0.5.89 port 46547 ssh2\nOct 7 16:21:51 bastion sshd[22066]: Accepted password for git from 10.0.5.89 port 41265 ssh2\nOct 7 17:22:18 bastion sshd[33405]: Accepted password for deploy from 10.0.1.34 port 43019 ssh2\nOct 7 20:44:29 bastion sshd[34150]: Accepted password for deploy from 10.0.0.139 port 61875 ssh2\n"}, {"name": "auth.log.1", "content": "Oct 7 02:30:48 bastion sshd[45750]: Failed password for invalid user deploy from 61.162.221.120 port 36833 ssh2\nOct 7 02:35:05 bastion sshd[31173]: Failed password for deploy from 61.162.221.232 port 30888 ssh2\nOct 7 02:38:39 bastion sshd[6847]: Failed password for deploy from 61.162.221.41 port 60568 ssh2\nOct 7 02:44:08 bastion sshd[59569]: Failed password for invalid user deploy from 61.162.221.22 port 58711 ssh2\nOct 7 02:47:50 bastion sshd[50108]: Failed password for deploy from 61.162.221.150 port 45465 ssh2\nOct 7 02:50:58 bastion sshd[30050]: Failed password for deploy from 61.162.221.77 port 56131 ssh2\nOct 7 02:55:33 bastion sshd[51201]: Failed password for deploy from 61.162.221.184 port 43291 ssh2\nOct 7 02:59:27 bastion sshd[60118]: Failed password for deploy from 61.162.221.24 port 35849 ssh2\nOct 7 03:02:35 bastion sshd[19638]: Failed password for invalid user deploy from 61.162.221.89 port 44790 ssh2\nOct 7 03:05:40 bastion sshd[22518]: Failed password for deploy from 61.162.221.172 port 45480 ssh2\nOct 7 03:09:36 bastion sshd[12319]: Failed password for deploy from 61.162.221.109 port 48769 ssh2\nOct 7 03:13:16 bastion sshd[29293]: Failed password for deploy from 61.162.221.167 port 62105 ssh2\nOct 7 03:18:11 bastion sshd[20051]: Failed password for invalid user deploy from 61.162.221.66 port 44290 ssh2\nOct 7 03:23:34 bastion sshd[22174]: Failed password for deploy from 61.162.221.201 port 37033 ssh2\nOct 7 03:24:04 bastion sshd[64518]: Accepted password for deploy from 61.162.221.135 port 59842 ssh2\nOct 7 06:20:09 bastion sshd[63397]: Accepted password for postgres from 10.0.7.95 port 48384 ssh2\nOct 7 06:27:16 bastion sshd[55268]: Failed password for ubuntu from 103.207.100.173 port 40484 ssh2\nOct 7 06:27:32 bastion sshd[63381]: Failed password for ubuntu from 103.207.100.173 port 56051 ssh2\nOct 7 06:27:40 bastion sshd[64515]: Failed password for backup from 103.207.100.173 port 47434 ssh2\nOct 7 06:28:10 bastion sshd[55567]: Failed password for git from 103.207.100.173 port 33746 ssh2\nOct 7 06:28:22 bastion sshd[45571]: Failed password for svc_ci from 103.207.100.173 port 50761 ssh2\nOct 7 06:28:48 bastion sshd[63402]: Failed password for ubuntu from 103.207.100.173 port 54076 ssh2\nOct 7 06:29:17 bastion sshd[55913]: Failed password for git from 103.207.100.173 port 39279 ssh2\nOct 7 06:29:19 bastion sshd[41365]: Failed password for oracle from 103.207.100.173 port 35826 ssh2\nOct 7 06:29:39 bastion sshd[7038]: Failed password for git from 103.207.100.173 port 36458 ssh2\nOct 7 06:30:04 bastion sshd[10314]: Failed password for oracle from 103.207.100.173 port 30818 ssh2\nOct 7 06:30:30 bastion sshd[6170]: Failed password for backup from 103.207.100.173 port 32134 ssh2\nOct 7 06:30:56 bastion sshd[52130]: Failed password for invalid user postgres from 103.207.100.173 port 58294 ssh2\nOct 7 06:31:08 bastion sshd[19920]: Failed password for postgres from 103.207.100.173 port 31937 ssh2\nOct 7 06:31:27 bastion sshd[59766]: Failed password for invalid user svc_ci from 103.207.100.173 port 53425 ssh2\nOct 7 06:31:52 bastion sshd[49639]: Failed password for invalid user deploy from 103.207.100.173 port 31701 ssh2\nOct 7 06:32:05 bastion sshd[5346]: Failed password for ubuntu from 103.207.100.173 port 54689 ssh2\nOct 7 06:32:21 bastion sshd[1506]: Failed password for deploy from 103.207.100.173 port 56941 ssh2\nOct 7 09:44:02 bastion sshd[32045]: Accepted password for svc_ci from 10.0.1.91 port 61610 ssh2\nOct 7 10:34:30 bastion sshd[64014]: Failed password for invalid user admin from 91.55.223.205 port 54309 ssh2\nOct 7 10:35:28 bastion sshd[64522]: Failed password for invalid user admin from 91.55.223.243 port 39671 ssh2\nOct 7 10:35:35 bastion sshd[14159]: Failed password for root from 91.55.223.33 port 54118 ssh2\nOct 7 10:36:26 bastion sshd[21043]: Failed password for invalid user root from 91.55.223.205 port 39267 ssh2\nOct 7 10:37:30 bastion sshd[28820]: Failed password for root from 91.55.223.243 port 37523 ssh2\nOct 7 10:38:07 bastion sshd[58595]: Failed password for root from 91.55.223.205 port 45271 ssh2\n"}, {"name": "incident_rule.txt", "content": "INCIDENT RULE: failures are counted per /24 network (the first three octets). A network is a confirmed compromise when it has at least 11 failed password attempts within any 20-minute window and then an accepted login from any address in it. Logs rotate: auth.log.1 holds the older lines.\n"}], "reference_answer": "91.55.223.0/24,91.55.223.205,postgres"} {"task_id": "sec-ssh-bruteforce@2", "seed": 1, "instruction": "auth.log.1 and auth.log are one day of sshd logs; incident_rule.txt defines a confirmed compromise. Answer the compromised network as a.b.c.0/24, the exact address that logged in, and the account, network,ip,username. Each part counts equally.", "files": [{"name": "auth.log", "content": "Oct 7 10:02:44 bastion sshd[39759]: Failed password for root from 193.114.128.205 port 36762 ssh2\nOct 7 10:03:25 bastion sshd[28707]: Failed password for invalid user admin from 193.114.128.205 port 47848 ssh2\nOct 7 10:04:03 bastion sshd[32592]: Failed password for root from 193.114.128.205 port 31082 ssh2\nOct 7 10:04:52 bastion sshd[38714]: Failed password for invalid user root from 193.114.128.16 port 32583 ssh2\nOct 7 10:05:25 bastion sshd[25766]: Failed password for root from 193.114.128.16 port 59364 ssh2\nOct 7 10:06:23 bastion sshd[41230]: Failed password for invalid user root from 193.114.128.16 port 50623 ssh2\nOct 7 10:07:12 bastion sshd[58284]: Failed password for root from 193.114.128.227 port 37262 ssh2\nOct 7 10:07:39 bastion sshd[57451]: Accepted password for root from 193.114.128.16 port 35325 ssh2\nOct 7 11:00:56 bastion sshd[40185]: Accepted password for deploy from 10.0.7.37 port 31668 ssh2\nOct 7 11:08:17 bastion sshd[48772]: Accepted password for deploy from 10.0.9.162 port 62506 ssh2\nOct 7 13:24:13 bastion sshd[8939]: Failed password for invalid user svc_ci from 61.90.57.196 port 31701 ssh2\nOct 7 13:24:34 bastion sshd[61827]: Failed password for oracle from 61.90.57.196 port 30248 ssh2\nOct 7 13:24:43 bastion sshd[58076]: Failed password for invalid user svc_ci from 61.90.57.196 port 49155 ssh2\nOct 7 13:25:08 bastion sshd[6545]: Failed password for invalid user postgres from 61.90.57.196 port 34450 ssh2\nOct 7 13:25:18 bastion sshd[4400]: Failed password for postgres from 61.90.57.196 port 50949 ssh2\nOct 7 13:25:23 bastion sshd[22578]: Failed password for deploy from 61.90.57.196 port 46030 ssh2\nOct 7 13:25:27 bastion sshd[24146]: Failed password for jenkins from 61.90.57.196 port 51227 ssh2\nOct 7 13:25:57 bastion sshd[27384]: Failed password for invalid user jenkins from 61.90.57.196 port 58492 ssh2\nOct 7 13:26:20 bastion sshd[11826]: Failed password for invalid user oracle from 61.90.57.196 port 51604 ssh2\nOct 7 13:26:32 bastion sshd[64535]: Failed password for root from 61.90.57.196 port 51111 ssh2\nOct 7 13:26:45 bastion sshd[8625]: Failed password for ubuntu from 61.90.57.196 port 55124 ssh2\nOct 7 13:26:52 bastion sshd[3404]: Failed password for jenkins from 61.90.57.196 port 56181 ssh2\nOct 7 13:27:10 bastion sshd[63237]: Failed password for invalid user ubuntu from 61.90.57.196 port 43415 ssh2\nOct 7 13:27:32 bastion sshd[46747]: Failed password for root from 61.90.57.196 port 63082 ssh2\nOct 7 13:28:02 bastion sshd[25351]: Failed password for invalid user postgres from 61.90.57.196 port 48316 ssh2\nOct 7 13:28:30 bastion sshd[25887]: Failed password for ubuntu from 61.90.57.196 port 49853 ssh2\nOct 7 13:28:52 bastion sshd[6904]: Failed password for jenkins from 61.90.57.196 port 62498 ssh2\nOct 7 13:29:07 bastion sshd[3158]: Failed password for invalid user postgres from 61.90.57.196 port 59895 ssh2\nOct 7 13:29:25 bastion sshd[42685]: Failed password for backup from 61.90.57.196 port 51411 ssh2\nOct 7 15:49:20 bastion sshd[21519]: Accepted password for oracle from 10.0.9.209 port 43623 ssh2\nOct 7 15:49:22 bastion sshd[47276]: Failed password for invalid user deploy from 10.0.0.49 port 37492 ssh2\nOct 7 15:49:42 bastion sshd[24266]: Accepted password for deploy from 10.0.0.49 port 48203 ssh2\nOct 7 16:31:32 bastion sshd[32689]: Accepted password for oracle from 10.0.0.171 port 30434 ssh2\nOct 7 17:27:02 bastion sshd[34005]: Failed password for invalid user jenkins from 10.0.0.173 port 42694 ssh2\nOct 7 17:27:22 bastion sshd[23409]: Accepted password for jenkins from 10.0.0.173 port 51634 ssh2\nOct 7 20:20:08 bastion sshd[6834]: Failed password for postgres from 10.0.6.80 port 64465 ssh2\nOct 7 20:20:28 bastion sshd[49308]: Accepted password for postgres from 10.0.6.80 port 45924 ssh2\nOct 7 20:40:43 bastion sshd[19517]: Accepted password for git from 10.0.0.131 port 35490 ssh2\nOct 7 21:25:41 bastion sshd[51437]: Accepted password for postgres from 10.0.0.173 port 30248 ssh2\nOct 7 21:44:27 bastion sshd[31949]: Accepted password for git from 10.0.7.217 port 38758 ssh2\nOct 7 22:52:51 bastion sshd[22079]: Failed password for deploy from 10.0.8.209 port 34222 ssh2\nOct 7 22:53:11 bastion sshd[42357]: Accepted password for deploy from 10.0.8.209 port 56441 ssh2\nOct 7 23:31:26 bastion sshd[64687]: Failed password for deploy from 10.0.4.166 port 62260 ssh2\nOct 7 23:31:46 bastion sshd[3028]: Accepted password for deploy from 10.0.4.166 port 48659 ssh2\n"}, {"name": "auth.log.1", "content": "Oct 7 00:01:39 bastion sshd[49726]: Accepted password for jenkins from 10.0.4.249 port 46624 ssh2\nOct 7 00:02:49 bastion sshd[46465]: Failed password for postgres from 61.18.118.245 port 40942 ssh2\nOct 7 00:02:57 bastion sshd[11039]: Failed password for admin from 61.18.118.245 port 62920 ssh2\nOct 7 00:03:02 bastion sshd[43311]: Failed password for invalid user ubuntu from 61.18.118.245 port 46355 ssh2\nOct 7 00:03:25 bastion sshd[7925]: Failed password for postgres from 61.18.118.245 port 42995 ssh2\nOct 7 00:03:43 bastion sshd[39074]: Failed password for invalid user backup from 61.18.118.245 port 50313 ssh2\nOct 7 00:03:50 bastion sshd[48100]: Failed password for jenkins from 61.18.118.245 port 33186 ssh2\nOct 7 00:04:11 bastion sshd[23109]: Failed password for backup from 61.18.118.245 port 39994 ssh2\nOct 7 00:04:30 bastion sshd[27457]: Failed password for backup from 61.18.118.245 port 63076 ssh2\nOct 7 00:04:54 bastion sshd[32417]: Failed password for invalid user ubuntu from 61.18.118.245 port 53221 ssh2\nOct 7 00:04:59 bastion sshd[47345]: Failed password for root from 61.18.118.245 port 40876 ssh2\nOct 7 00:05:09 bastion sshd[2475]: Failed password for ubuntu from 61.18.118.245 port 50286 ssh2\nOct 7 00:05:39 bastion sshd[7651]: Failed password for ubuntu from 61.18.118.245 port 52516 ssh2\nOct 7 00:05:53 bastion sshd[49110]: Failed password for invalid user git from 61.18.118.245 port 54783 ssh2\nOct 7 00:06:12 bastion sshd[59779]: Failed password for deploy from 61.18.118.245 port 30433 ssh2\nOct 7 00:06:26 bastion sshd[39637]: Failed password for jenkins from 61.18.118.245 port 48701 ssh2\nOct 7 00:06:37 bastion sshd[51750]: Failed password for svc_ci from 61.18.118.245 port 54619 ssh2\nOct 7 00:07:06 bastion sshd[13268]: Failed password for git from 61.18.118.245 port 42146 ssh2\nOct 7 00:07:20 bastion sshd[36088]: Failed password for deploy from 61.18.118.245 port 52962 ssh2\nOct 7 00:07:23 bastion sshd[37612]: Failed password for svc_ci from 61.18.118.245 port 49174 ssh2\nOct 7 00:07:44 bastion sshd[46993]: Failed password for invalid user oracle from 61.18.118.245 port 55530 ssh2\nOct 7 00:07:46 bastion sshd[62069]: Failed password for invalid user oracle from 61.18.118.245 port 61947 ssh2\nOct 7 00:08:08 bastion sshd[8581]: Failed password for jenkins from 61.18.118.245 port 58488 ssh2\nOct 7 02:20:08 bastion sshd[64881]: Failed password for deploy from 203.219.128.177 port 36000 ssh2\nOct 7 02:24:25 bastion sshd[39397]: Failed password for deploy from 203.219.128.61 port 38532 ssh2\nOct 7 02:25:33 bastion sshd[50375]: Failed password for invalid user oracle from 193.171.74.62 port 60947 ssh2\nOct 7 02:25:55 bastion sshd[20335]: Failed password for invalid user ubuntu from 193.171.74.62 port 45828 ssh2\nOct 7 02:26:15 bastion sshd[12432]: Failed password for jenkins from 193.171.74.62 port 43066 ssh2\nOct 7 02:26:21 bastion sshd[40017]: Failed password for invalid user ubuntu from 193.171.74.62 port 50590 ssh2\nOct 7 02:26:44 bastion sshd[64989]: Failed password for backup from 193.171.74.62 port 30126 ssh2\nOct 7 02:27:10 bastion sshd[19263]: Failed password for oracle from 193.171.74.62 port 51314 ssh2\nOct 7 02:27:23 bastion sshd[18047]: Failed password for svc_ci from 193.171.74.62 port 37037 ssh2\nOct 7 02:27:41 bastion sshd[53764]: Failed password for git from 193.171.74.62 port 49293 ssh2\nOct 7 02:27:46 bastion sshd[50984]: Failed password for deploy from 203.219.128.109 port 37702 ssh2\nOct 7 02:27:53 bastion sshd[10456]: Failed password for invalid user git from 193.171.74.62 port 48222 ssh2\nOct 7 02:28:21 bastion sshd[37537]: Failed password for invalid user postgres from 193.171.74.62 port 50092 ssh2\nOct 7 02:28:47 bastion sshd[54937]: Failed password for postgres from 193.171.74.62 port 61145 ssh2\nOct 7 02:28:55 bastion sshd[33282]: Failed password for jenkins from 193.171.74.62 port 50993 ssh2\nOct 7 02:29:21 bastion sshd[29938]: Failed password for deploy from 193.171.74.62 port 47905 ssh2\nOct 7 02:29:39 bastion sshd[6729]: Failed password for ubuntu from 193.171.74.62 port 53330 ssh2\nOct 7 02:29:59 bastion sshd[33474]: Failed password for oracle from 193.171.74.62 port 34565 ssh2\nOct 7 02:30:16 bastion sshd[28686]: Failed password for deploy from 203.219.128.237 port 42423 ssh2\nOct 7 02:30:29 bastion sshd[45536]: Failed password for invalid user deploy from 193.171.74.62 port 57290 ssh2\nOct 7 02:30:58 bastion sshd[33914]: Failed password for backup from 193.171.74.62 port 43255 ssh2\nOct 7 02:31:06 bastion sshd[26679]: Failed password for postgres from 193.171.74.62 port 49118 ssh2\nOct 7 02:31:14 bastion sshd[21697]: Failed password for svc_ci from 193.171.74.62 port 50937 ssh2\nOct 7 02:31:39 bastion sshd[64639]: Failed password for admin from 193.171.74.62 port 41744 ssh2\nOct 7 02:31:54 bastion sshd[60329]: Failed password for invalid user admin from 193.171.74.62 port 51158 ssh2\nOct 7 02:32:03 bastion sshd[2073]: Failed password for ubuntu from 193.171.74.62 port 37015 ssh2\nOct 7 02:32:21 bastion sshd[64526]: Failed password for git from 193.171.74.62 port 40881 ssh2\nOct 7 02:32:37 bastion sshd[47884]: Failed password for invalid user root from 193.171.74.62 port 31225 ssh2\nOct 7 02:33:01 bastion sshd[9945]: Failed password for deploy from 203.219.128.168 port 38369 ssh2\nOct 7 02:33:04 bastion sshd[3811]: Failed password for git from 193.171.74.62 port 41231 ssh2\nOct 7 02:33:18 bastion sshd[47671]: Failed password for backup from 193.171.74.62 port 50848 ssh2\nOct 7 02:33:20 bastion sshd[47198]: Failed password for git from 193.171.74.62 port 50393 ssh2\nOct 7 02:33:41 bastion sshd[42259]: Failed password for ubuntu from 193.171.74.62 port 60713 ssh2\nOct 7 02:37:18 bastion sshd[41420]: Failed password for deploy from 203.219.128.61 port 30457 ssh2\nOct 7 02:41:36 bastion sshd[27312]: Failed password for deploy from 203.219.128.19 port 40669 ssh2\nOct 7 02:46:11 bastion sshd[46977]: Failed password for deploy from 203.219.128.149 port 53563 ssh2\nOct 7 02:49:42 bastion sshd[53586]: Failed password for deploy from 203.219.128.66 port 50233 ssh2\nOct 7 02:52:02 bastion sshd[41220]: Failed password for deploy from 203.219.128.210 port 36733 ssh2\nOct 7 02:57:07 bastion sshd[26966]: Failed password for invalid user deploy from 203.219.128.226 port 52718 ssh2\nOct 7 03:00:49 bastion sshd[39037]: Failed password for invalid user deploy from 203.219.128.50 port 38846 ssh2\nOct 7 03:03:42 bastion sshd[59845]: Failed password for deploy from 203.219.128.207 port 49976 ssh2\nOct 7 03:06:37 bastion sshd[61378]: Failed password for invalid user deploy from 203.219.128.61 port 43712 ssh2\nOct 7 03:09:33 bastion sshd[49285]: Failed password for invalid user deploy from 203.219.128.56 port 58453 ssh2\nOct 7 03:13:02 bastion sshd[47584]: Failed password for deploy from 203.219.128.61 port 36691 ssh2\nOct 7 03:17:56 bastion sshd[56731]: Failed password for invalid user deploy from 203.219.128.151 port 50773 ssh2\nOct 7 03:18:26 bastion sshd[46908]: Accepted password for deploy from 203.219.128.70 port 52233 ssh2\nOct 7 04:35:10 bastion sshd[42978]: Accepted password for ubuntu from 10.0.9.16 port 51902 ssh2\nOct 7 05:52:14 bastion sshd[45418]: Failed password for oracle from 10.0.7.247 port 37174 ssh2\nOct 7 05:52:34 bastion sshd[58231]: Accepted password for oracle from 10.0.7.247 port 31562 ssh2\nOct 7 06:55:47 bastion sshd[7759]: Failed password for git from 10.0.2.243 port 34037 ssh2\nOct 7 06:56:07 bastion sshd[43147]: Accepted password for git from 10.0.2.243 port 63756 ssh2\nOct 7 07:24:53 bastion sshd[56545]: Accepted password for postgres from 10.0.8.167 port 49753 ssh2\nOct 7 08:35:04 bastion sshd[55302]: Failed password for invalid user postgres from 10.0.7.227 port 54751 ssh2\nOct 7 08:35:24 bastion sshd[35148]: Accepted password for postgres from 10.0.7.227 port 62453 ssh2\nOct 7 09:58:43 bastion sshd[18187]: Failed password for invalid user root from 193.114.128.203 port 58087 ssh2\nOct 7 09:58:52 bastion sshd[1028]: Failed password for root from 193.114.128.16 port 41596 ssh2\nOct 7 09:59:55 bastion sshd[32047]: Failed password for invalid user root from 193.114.128.16 port 46046 ssh2\nOct 7 10:00:13 bastion sshd[43465]: Failed password for root from 193.114.128.205 port 45901 ssh2\nOct 7 10:01:03 bastion sshd[42258]: Failed password for root from 193.114.128.203 port 52568 ssh2\nOct 7 10:01:21 bastion sshd[7207]: Failed password for invalid user root from 193.114.128.16 port 47753 ssh2\nOct 7 10:01:42 bastion sshd[13903]: Failed password for root from 193.114.128.16 port 45729 ssh2\n"}, {"name": "incident_rule.txt", "content": "INCIDENT RULE: failures are counted per /24 network (the first three octets). A network is a confirmed compromise when it has at least 14 failed password attempts within any 20-minute window and then an accepted login from any address in it. Logs rotate: auth.log.1 holds the older lines.\n"}], "reference_answer": "193.114.128.0/24,193.114.128.16,root"} {"task_id": "sec-ssh-bruteforce@2", "seed": 2, "instruction": "auth.log.1 and auth.log are one day of sshd logs; incident_rule.txt defines a confirmed compromise. Answer the compromised network as a.b.c.0/24, the exact address that logged in, and the account, network,ip,username. Each part counts equally.", "files": [{"name": "auth.log", "content": "Oct 7 19:18:32 bastion sshd[27826]: Failed password for invalid user postgres from 91.232.87.220 port 51256 ssh2\nOct 7 19:19:32 bastion sshd[21375]: Failed password for postgres from 91.232.87.231 port 62642 ssh2\nOct 7 19:20:01 bastion sshd[14061]: Failed password for postgres from 91.232.87.245 port 39434 ssh2\nOct 7 19:21:26 bastion sshd[26061]: Failed password for root from 91.232.87.245 port 59662 ssh2\nOct 7 19:21:37 bastion sshd[61180]: Failed password for invalid user postgres from 91.232.87.109 port 64240 ssh2\nOct 7 19:22:35 bastion sshd[24972]: Accepted password for postgres from 91.232.87.231 port 54973 ssh2\nOct 7 20:35:56 bastion sshd[36614]: Accepted password for ubuntu from 10.0.0.144 port 48975 ssh2\nOct 7 21:16:44 bastion sshd[20550]: Failed password for svc_ci from 10.0.4.74 port 41428 ssh2\nOct 7 21:17:04 bastion sshd[42572]: Accepted password for svc_ci from 10.0.4.74 port 42525 ssh2\nOct 7 21:38:23 bastion sshd[32252]: Failed password for svc_ci from 10.0.3.218 port 50583 ssh2\nOct 7 21:38:43 bastion sshd[51424]: Accepted password for svc_ci from 10.0.3.218 port 59360 ssh2\n"}, {"name": "auth.log.1", "content": "Oct 7 00:59:55 bastion sshd[40498]: Failed password for admin from 103.142.89.98 port 36398 ssh2\nOct 7 01:00:15 bastion sshd[64607]: Failed password for postgres from 103.142.89.98 port 45533 ssh2\nOct 7 01:00:43 bastion sshd[26766]: Failed password for ubuntu from 103.142.89.98 port 36887 ssh2\nOct 7 01:00:55 bastion sshd[34488]: Failed password for git from 103.142.89.98 port 49623 ssh2\nOct 7 01:01:15 bastion sshd[29335]: Failed password for invalid user git from 103.142.89.98 port 34430 ssh2\nOct 7 01:01:32 bastion sshd[26990]: Failed password for jenkins from 103.142.89.98 port 57203 ssh2\nOct 7 01:01:34 bastion sshd[2547]: Failed password for oracle from 103.142.89.98 port 33176 ssh2\nOct 7 01:01:38 bastion sshd[20802]: Failed password for backup from 103.142.89.98 port 31418 ssh2\nOct 7 01:01:56 bastion sshd[49799]: Failed password for backup from 103.142.89.98 port 61664 ssh2\nOct 7 01:02:26 bastion sshd[15784]: Failed password for deploy from 103.142.89.98 port 39036 ssh2\nOct 7 01:02:34 bastion sshd[50113]: Failed password for jenkins from 103.142.89.98 port 41850 ssh2\nOct 7 01:02:58 bastion sshd[35939]: Failed password for ubuntu from 103.142.89.98 port 38787 ssh2\nOct 7 01:03:18 bastion sshd[54074]: Failed password for oracle from 103.142.89.98 port 53888 ssh2\nOct 7 01:03:21 bastion sshd[17402]: Failed password for postgres from 103.142.89.98 port 35809 ssh2\nOct 7 01:03:45 bastion sshd[48407]: Failed password for git from 103.142.89.98 port 52943 ssh2\nOct 7 01:03:48 bastion sshd[18663]: Failed password for invalid user deploy from 103.142.89.98 port 39560 ssh2\nOct 7 01:03:58 bastion sshd[49430]: Failed password for invalid user deploy from 103.142.89.98 port 38131 ssh2\nOct 7 02:10:46 bastion sshd[14045]: Failed password for invalid user deploy from 103.175.12.158 port 53426 ssh2\nOct 7 02:16:17 bastion sshd[24118]: Failed password for deploy from 103.175.12.29 port 39342 ssh2\nOct 7 02:22:40 bastion sshd[51811]: Failed password for invalid user deploy from 103.175.12.92 port 60556 ssh2\nOct 7 02:28:37 bastion sshd[45438]: Failed password for deploy from 103.175.12.82 port 50218 ssh2\nOct 7 02:34:02 bastion sshd[3173]: Failed password for deploy from 103.175.12.46 port 31977 ssh2\nOct 7 02:40:22 bastion sshd[49433]: Failed password for invalid user deploy from 103.175.12.199 port 61417 ssh2\nOct 7 02:46:48 bastion sshd[45293]: Failed password for deploy from 103.175.12.110 port 52611 ssh2\nOct 7 02:51:26 bastion sshd[27917]: Failed password for deploy from 103.175.12.96 port 32361 ssh2\nOct 7 02:55:19 bastion sshd[4156]: Failed password for deploy from 103.175.12.15 port 46113 ssh2\nOct 7 03:01:32 bastion sshd[49196]: Failed password for deploy from 103.175.12.178 port 61642 ssh2\nOct 7 03:06:34 bastion sshd[47790]: Failed password for deploy from 103.175.12.80 port 40338 ssh2\nOct 7 03:12:52 bastion sshd[51684]: Failed password for deploy from 103.175.12.210 port 55555 ssh2\nOct 7 03:13:22 bastion sshd[42813]: Accepted password for deploy from 103.175.12.155 port 45545 ssh2\nOct 7 03:18:32 bastion sshd[41271]: Accepted password for deploy from 10.0.4.70 port 37113 ssh2\nOct 7 04:17:13 bastion sshd[47096]: Accepted password for git from 10.0.0.176 port 53741 ssh2\nOct 7 05:04:07 bastion sshd[47260]: Accepted password for jenkins from 10.0.6.68 port 57399 ssh2\nOct 7 05:33:22 bastion sshd[43167]: Accepted password for jenkins from 10.0.3.157 port 59007 ssh2\nOct 7 06:19:34 bastion sshd[41022]: Failed password for admin from 141.26.246.247 port 43720 ssh2\nOct 7 06:19:57 bastion sshd[9922]: Failed password for admin from 141.26.246.247 port 45729 ssh2\nOct 7 06:20:04 bastion sshd[44820]: Failed password for postgres from 141.26.246.247 port 49354 ssh2\nOct 7 06:20:26 bastion sshd[17629]: Failed password for invalid user postgres from 141.26.246.247 port 58281 ssh2\nOct 7 06:20:47 bastion sshd[23596]: Failed password for admin from 141.26.246.247 port 52639 ssh2\nOct 7 06:21:06 bastion sshd[46865]: Failed password for svc_ci from 141.26.246.247 port 63754 ssh2\nOct 7 06:21:17 bastion sshd[53410]: Failed password for ubuntu from 141.26.246.247 port 54500 ssh2\nOct 7 06:21:22 bastion sshd[47140]: Failed password for invalid user ubuntu from 141.26.246.247 port 43227 ssh2\nOct 7 06:21:32 bastion sshd[29185]: Failed password for git from 141.26.246.247 port 62941 ssh2\nOct 7 06:21:41 bastion sshd[20030]: Failed password for backup from 141.26.246.247 port 41981 ssh2\nOct 7 06:22:05 bastion sshd[53074]: Failed password for root from 141.26.246.247 port 43424 ssh2\nOct 7 06:22:24 bastion sshd[36990]: Failed password for jenkins from 141.26.246.247 port 41618 ssh2\nOct 7 06:22:40 bastion sshd[40870]: Failed password for deploy from 141.26.246.247 port 45229 ssh2\nOct 7 06:23:07 bastion sshd[41466]: Failed password for admin from 141.26.246.247 port 62742 ssh2\nOct 7 06:23:33 bastion sshd[6228]: Failed password for invalid user git from 141.26.246.247 port 59479 ssh2\nOct 7 06:23:47 bastion sshd[58377]: Failed password for svc_ci from 141.26.246.247 port 38527 ssh2\nOct 7 06:24:16 bastion sshd[46084]: Failed password for invalid user jenkins from 141.26.246.247 port 43953 ssh2\nOct 7 06:24:44 bastion sshd[28841]: Failed password for postgres from 141.26.246.247 port 37937 ssh2\nOct 7 07:12:18 bastion sshd[10750]: Accepted password for deploy from 10.0.1.3 port 60524 ssh2\nOct 7 11:06:14 bastion sshd[33728]: Accepted password for deploy from 10.0.0.127 port 49338 ssh2\nOct 7 11:51:39 bastion sshd[7861]: Accepted password for oracle from 10.0.2.42 port 33241 ssh2\nOct 7 12:16:55 bastion sshd[14795]: Failed password for invalid user admin from 141.12.238.235 port 32400 ssh2\nOct 7 12:17:05 bastion sshd[62493]: Failed password for root from 141.12.238.235 port 55521 ssh2\nOct 7 12:17:17 bastion sshd[43231]: Failed password for invalid user deploy from 141.12.238.235 port 64688 ssh2\nOct 7 12:17:34 bastion sshd[57099]: Failed password for postgres from 141.12.238.235 port 57417 ssh2\nOct 7 12:17:49 bastion sshd[14850]: Failed password for svc_ci from 141.12.238.235 port 62371 ssh2\nOct 7 12:18:05 bastion sshd[53835]: Failed password for backup from 141.12.238.235 port 45509 ssh2\nOct 7 12:18:23 bastion sshd[63533]: Failed password for invalid user oracle from 141.12.238.235 port 42030 ssh2\nOct 7 12:18:39 bastion sshd[41235]: Failed password for deploy from 141.12.238.235 port 33478 ssh2\nOct 7 12:18:44 bastion sshd[27646]: Failed password for jenkins from 141.12.238.235 port 34258 ssh2\nOct 7 12:18:59 bastion sshd[24125]: Failed password for admin from 141.12.238.235 port 35863 ssh2\nOct 7 12:19:22 bastion sshd[26939]: Failed password for postgres from 141.12.238.235 port 38152 ssh2\nOct 7 12:19:29 bastion sshd[19581]: Failed password for svc_ci from 141.12.238.235 port 62811 ssh2\nOct 7 12:19:51 bastion sshd[61198]: Failed password for svc_ci from 141.12.238.235 port 50107 ssh2\nOct 7 12:20:18 bastion sshd[9043]: Failed password for postgres from 141.12.238.235 port 43110 ssh2\nOct 7 12:20:47 bastion sshd[8475]: Failed password for invalid user deploy from 141.12.238.235 port 61172 ssh2\nOct 7 12:20:50 bastion sshd[16796]: Failed password for jenkins from 141.12.238.235 port 47763 ssh2\nOct 7 12:21:18 bastion sshd[53223]: Failed password for root from 141.12.238.235 port 61668 ssh2\nOct 7 12:21:27 bastion sshd[58261]: Failed password for backup from 141.12.238.235 port 57859 ssh2\nOct 7 12:21:33 bastion sshd[43941]: Failed password for backup from 141.12.238.235 port 60268 ssh2\nOct 7 12:21:50 bastion sshd[47346]: Failed password for git from 141.12.238.235 port 52928 ssh2\nOct 7 12:22:14 bastion sshd[4488]: Failed password for invalid user deploy from 141.12.238.235 port 59648 ssh2\nOct 7 12:22:43 bastion sshd[12405]: Failed password for invalid user deploy from 141.12.238.235 port 34681 ssh2\nOct 7 14:51:40 bastion sshd[11595]: Failed password for postgres from 10.0.6.84 port 61227 ssh2\nOct 7 14:52:00 bastion sshd[17283]: Accepted password for postgres from 10.0.6.84 port 30387 ssh2\nOct 7 17:16:30 bastion sshd[17292]: Failed password for postgres from 10.0.0.226 port 37453 ssh2\nOct 7 17:16:50 bastion sshd[27593]: Accepted password for postgres from 10.0.0.226 port 56308 ssh2\nOct 7 19:15:11 bastion sshd[24456]: Failed password for postgres from 91.232.87.231 port 60707 ssh2\nOct 7 19:16:33 bastion sshd[42316]: Failed password for admin from 91.232.87.245 port 31602 ssh2\nOct 7 19:17:09 bastion sshd[33857]: Failed password for postgres from 91.232.87.245 port 42181 ssh2\nOct 7 19:17:34 bastion sshd[19803]: Failed password for root from 91.232.87.220 port 41081 ssh2\nOct 7 19:18:23 bastion sshd[50202]: Failed password for admin from 91.232.87.231 port 40920 ssh2\n"}, {"name": "incident_rule.txt", "content": "INCIDENT RULE: failures are counted per /24 network (the first three octets). A network is a confirmed compromise when it has at least 9 failed password attempts within any 20-minute window and then an accepted login from any address in it. Logs rotate: auth.log.1 holds the older lines.\n"}], "reference_answer": "91.232.87.0/24,91.232.87.231,postgres"} {"task_id": "sec-decode-config@1", "seed": 0, "instruction": "loader.py holds two encoded configs. Which hostname does the PRIMARY config contact? Answer the hostname only, without scheme or path.", "files": [{"name": "loader.py", "content": "\"\"\"Sample recovered from a lab honeypot (defanged: nothing here runs on import).\"\"\"\nimport base64\nimport json\n\nKEY = bytes([213, 33, 7, 108])\nOFFSET = 5\n\nPRIMARY = \"XDFe9RslHrBVcwW/AydA4hQ1TO8DdwmwTXRO9Q0lALlOd0OwTXcBtFliQrBGYwn7RHMFpk5sA60OKFamUXMYvQMnVvcTZE6u\"\nFALLBACK = \"XDBa5wE9TqVEYgCmAydA909oD7REZUOxSGsNo09uQrtFZEKwTHIKtE0oQ+9SdxihSSVM7wM1D/da\"\n\n\ndef unpack(blob):\n data = base64.b64decode(blob)\n plain = bytes(b ^ KEY[(i + OFFSET) % len(KEY)] for i, b in enumerate(data))\n plain = plain[::-1]\n return json.loads(plain)\n"}], "reference_answer": "xokosite.edge.example"} {"task_id": "sec-decode-config@1", "seed": 1, "instruction": "loader.py holds two encoded configs. Which hostname does the PRIMARY config contact? Answer the hostname only, without scheme or path.", "files": [{"name": "loader.py", "content": "\"\"\"Sample recovered from a lab honeypot (defanged: nothing here runs on import).\"\"\"\nimport base64\nimport json\n\nKEY = bytes([217, 83, 120, 88, 203, 149, 51])\nOFFSET = 5\n\nPRIMARY = \"7hG6YVpi67dbrScIK/G6HKE2EC2l4EGwIh12rvFUvH0dIKr4Q7U2Vz+q4Vb7f1h6uPlWvCNaYuusAPVzWjKi4Ue8IVpi66YBpA==\"\nFALLBACK = \"7hG6YVpi67dbrScIK/G6HLE8Hi2h4FmsJRl2quVa9zYAOablX7x8Hzm/8BH1c1orp/BWqXFCePqmTg==\"\n\n\ndef unpack(blob):\n data = base64.b64decode(blob)\n plain = bytes(b ^ KEY[(i + OFFSET) % len(KEY)] for i, b in enumerate(data))\n pass\n return json.loads(plain)\n"}], "reference_answer": "xehunuriqe.edge.example"} {"task_id": "sec-decode-config@1", "seed": 2, "instruction": "loader.py holds two encoded configs. Which hostname does the PRIMARY config contact? Answer the hostname only, without scheme or path.", "files": [{"name": "loader.py", "content": "\"\"\"Sample recovered from a lab honeypot (defanged: nothing here runs on import).\"\"\"\nimport base64\nimport json\n\nKEY = bytes([112, 158, 254, 238])\nOFFSET = 6\n\nPRIMARY = \"g9xCvsTMAvuKmhn03M5cpsjOSryOixXyjcxQstyLBP+ZwRT3ko8G8JfAHvqdwBXki5YF7JGEX7HEnQDqioZSvsTMQv3clQ==\"\nFALLBACK = \"g9lBr97UUu6bixzt3M5cvJuaEfnRihnyn5ge99CNHueNwBnqm4gR7ZuDFenRwUrtjpoE9tzOSrzMjVLl\"\n\n\ndef unpack(blob):\n data = base64.b64decode(blob)\n plain = bytes(b ^ KEY[(i + OFFSET) % len(KEY)] for i, b in enumerate(data))\n plain = plain[::-1]\n return json.loads(plain)\n"}], "reference_answer": "joruxuze.cdn.invalid"} {"task_id": "sec-decode-config@2", "seed": 0, "instruction": "loader.py and loader.ini come from a recovered sample. Which hostname does the profile selected in loader.ini contact? Answer the hostname only, without scheme or path.", "files": [{"name": "loader.ini", "content": "[loader]\n; profile selects one entry of PROFILES\nprofile = delta\npassphrase = 7yhg3vwsz9sm\nkey_len = 6\n"}, {"name": "loader.py", "content": "\"\"\"Sample recovered from a lab honeypot (defanged: nothing here runs on import).\"\"\"\nimport base64\nimport configparser\nimport hashlib\nimport json\nimport zlib\n\nPROFILES = {\n \"delta\": \"Hgh4z/wyNCaByXwsT737L2TTSVz8sfsqq9oH0prMst9+0Xoprt0G1vxJKlocymRVNr4d0PspZj5krRoBZq2fip8=\",\n \"beta\": \"Hgh4z/wyNCaByXwsT737L2TTqV4f15rMsd//UWJPy9wftH5Ns7sbVn9VtMWDs3hNK7nTMwMwz5HTfZ4V9w==\",\n \"alpha\": \"Hgh4z/wyNCaByXwsT737L2TTSVgf0/tOsr99Vf3SrVj40nrNKkWc0/tIqFuAS+dUTFqa1JsETKNhLR4BZqZQi1I=\"\n}\n\n\ndef _key(cfg):\n phrase = cfg[\"loader\"][\"passphrase\"]\n return hashlib.sha256(phrase.encode()).digest()[: int(cfg[\"loader\"][\"key_len\"])]\n\n\ndef unpack(blob, key):\n data = base64.b64decode(blob)\n return json.loads(zlib.decompress(bytes(b ^ key[i % len(key)] for i, b in enumerate(data))))\n\n\ndef active(path=\"loader.ini\"):\n cfg = configparser.ConfigParser()\n cfg.read(path)\n return unpack(PROFILES[cfg[\"loader\"][\"profile\"]], _key(cfg))\n"}], "reference_answer": "popucuka.api.example"} {"task_id": "sec-decode-config@2", "seed": 1, "instruction": "loader.py and loader.ini come from a recovered sample. Which hostname does the profile selected in loader.ini contact? Answer the hostname only, without scheme or path.", "files": [{"name": "loader.ini", "content": "[loader]\n; profile selects one entry of PROFILES\nprofile = gamma\npassphrase = vxrnhrhumh2f\nkey_len = 8\n"}, {"name": "loader.py", "content": "\"\"\"Sample recovered from a lab honeypot (defanged: nothing here runs on import).\"\"\"\nimport base64\nimport configparser\nimport hashlib\nimport json\nimport zlib\n\nPROFILES = {\n \"gamma\": \"hqyK8TlUGgmsYOuPWktgDSzn7mxfLATwKxuPazi0Y/LTHvDoPE4B7ixhcY29KwWW/poVlUHITbsxvzFU\",\n \"alpha\": \"hqyK8TlUGgmsYOuPWktgDSzn7o5eSmXwKnts7jy3Axa2/AxvOrdnczH5cHUiMmJ1t30Mp1lUfRD7MNrfYWs=\",\n \"delta\": \"hqyK8TlUGgmsYOuPWktgDSznbuhfqwSUU/j17D2rm5C3HQ+m+sZiUtYYNEDXxF67ayo6cHFimsPvFw==\"\n}\n\n\ndef _key(cfg):\n phrase = cfg[\"loader\"][\"passphrase\"]\n return hashlib.sha256(phrase.encode()).digest()[: int(cfg[\"loader\"][\"key_len\"])]\n\n\ndef unpack(blob, key):\n data = base64.b64decode(blob)\n return json.loads(zlib.decompress(bytes(b ^ key[i % len(key)] for i, b in enumerate(data))))\n\n\ndef active(path=\"loader.ini\"):\n cfg = configparser.ConfigParser()\n cfg.read(path)\n return unpack(PROFILES[cfg[\"loader\"][\"profile\"]], _key(cfg))\n"}], "reference_answer": "nisafe.sync.test"} {"task_id": "sec-decode-config@2", "seed": 2, "instruction": "loader.py and loader.ini come from a recovered sample. Which hostname does the profile selected in loader.ini contact? Answer the hostname only, without scheme or path.", "files": [{"name": "loader.ini", "content": "[loader]\n; profile selects one entry of PROFILES\nprofile = gamma\npassphrase = k9r8ug9zg76n\nkey_len = 8\n"}, {"name": "loader.py", "content": "\"\"\"Sample recovered from a lab honeypot (defanged: nothing here runs on import).\"\"\"\nimport base64\nimport configparser\nimport hashlib\nimport json\nimport zlib\n\nPROFILES = {\n \"gamma\": \"yFcM91KtyiLim22JMbKwJmIcaIpVVFdbZIDpaMvQNdh85m/ozbRQX3madfBIsVbZ/eanCy2vMpWwLbCwjA==\",\n \"beta\": \"yFcM91KtyiLim22JMbKwJmIcCOtVtNVfZICLaczQNdh85m/ozdTXvPmedfBIsVbZ/eanC62rM5WwLz2wkQ==\",\n \"delta\": \"yFcM91KtyiLim22JMbKwJmIcaO9VVTfYnYPrbs+wNlz7HYzoNbVJ3//n7vTKysi6foLqjBgxrqSHZaKhPPSKOA==\"\n}\n\n\ndef _key(cfg):\n phrase = cfg[\"loader\"][\"passphrase\"]\n return hashlib.sha256(phrase.encode()).digest()[: int(cfg[\"loader\"][\"key_len\"])]\n\n\ndef unpack(blob, key):\n data = base64.b64decode(blob)\n return json.loads(zlib.decompress(bytes(b ^ key[i % len(key)] for i, b in enumerate(data))))\n\n\ndef active(path=\"loader.ini\"):\n cfg = configparser.ConfigParser()\n cfg.read(path)\n return unpack(PROFILES[cfg[\"loader\"][\"profile\"]], _key(cfg))\n"}], "reference_answer": "nugoni.cdn.example"} {"task_id": "sec-firewall-rules@1", "seed": 0, "instruction": "Evaluate each connection in connections.csv against rules.txt. Answer the ids of all allowed connections, comma-separated ascending (e.g. c02,c07), or none.", "files": [{"name": "connections.csv", "content": "id,src_ip,proto,dst_port\nc01,203.0.113.65,tcp,90\nc02,172.16.132.133,tcp,5432\nc03,8.8.185.243,tcp,8169\nc04,10.1.2.179,udp,443\nc05,10.0.0.156,tcp,3389\nc06,192.168.213.125,tcp,80\nc07,192.168.212.152,tcp,3389\nc08,10.1.2.139,tcp,22\nc09,172.16.191.1,tcp,29\nc10,10.1.2.36,udp,443\nc11,10.1.237.99,udp,177\nc12,172.16.131.42,tcp,8141\nc13,10.1.2.225,tcp,5432\nc14,192.168.164.110,tcp,74\nc15,8.8.27.107,udp,80\nc16,203.0.113.216,udp,3389\nc17,10.1.243.210,udp,443\nc18,172.16.221.233,udp,443\nc19,8.8.134.255,udp,5432\nc20,203.0.113.10,tcp,155\nc21,198.51.100.103,udp,5432\nc22,10.0.17.18,tcp,22\nc23,10.1.2.74,tcp,443\n"}, {"name": "rules.txt", "content": "# id action proto src_cidr dst_ports (evaluated top to bottom; first match wins)\nR10 deny tcp 172.16.0.0/12 80-80\nR20 allow tcp 192.168.0.0/16 8000-8999\nR30 allow udp 172.16.0.0/12 5432-5432\nR40 allow any 192.168.0.0/16 1-1023\nR50 deny tcp 172.16.0.0/12 3389-3389\nR60 allow tcp 203.0.113.0/24 1-65535\nR70 allow tcp 203.0.113.0/24 1-1023\n# no rule matched -> deny\n"}], "reference_answer": "c01,c06,c14,c20"} {"task_id": "sec-firewall-rules@1", "seed": 1, "instruction": "Evaluate each connection in connections.csv against rules.txt. Answer the ids of all allowed connections, comma-separated ascending (e.g. c02,c07), or none.", "files": [{"name": "connections.csv", "content": "id,src_ip,proto,dst_port\nc01,203.0.113.214,udp,8192\nc02,10.1.205.186,udp,5432\nc03,172.16.221.36,tcp,80\nc04,8.8.154.60,tcp,443\nc05,192.168.106.242,tcp,3389\nc06,8.8.152.230,tcp,117\nc07,10.0.129.44,udp,8099\nc08,10.0.236.136,tcp,3389\nc09,10.1.2.104,tcp,162\nc10,172.16.58.37,udp,3389\nc11,192.168.238.116,tcp,3389\nc12,172.16.22.148,udp,443\nc13,203.0.113.76,tcp,443\nc14,10.1.180.194,udp,443\nc15,10.1.234.217,udp,5432\nc16,198.51.100.143,udp,3389\nc17,10.1.2.92,tcp,104\nc18,8.8.174.138,udp,443\nc19,10.0.3.100,tcp,152\nc20,192.168.19.34,udp,22\n"}, {"name": "rules.txt", "content": "# id action proto src_cidr dst_ports (evaluated top to bottom; first match wins)\nR10 allow tcp 10.1.0.0/16 22-22\nR20 deny any 198.51.100.0/24 1-1023\nR30 allow tcp 0.0.0.0/0 1-65535\nR40 deny any 10.0.0.0/8 80-80\nR50 allow tcp 198.51.100.0/24 443-443\nR60 deny tcp 172.16.0.0/12 8000-8999\nR70 allow tcp 10.1.2.0/24 80-80\nR80 deny any 192.168.0.0/16 22-22\nR90 deny tcp 172.16.0.0/12 3389-3389\nR100 allow tcp 172.16.0.0/12 5432-5432\nR110 deny any 10.1.0.0/16 1-1023\n# no rule matched -> deny\n"}], "reference_answer": "c03,c04,c05,c06,c08,c09,c11,c13,c17,c19"} {"task_id": "sec-firewall-rules@1", "seed": 2, "instruction": "Evaluate each connection in connections.csv against rules.txt. Answer the ids of all allowed connections, comma-separated ascending (e.g. c02,c07), or none.", "files": [{"name": "connections.csv", "content": "id,src_ip,proto,dst_port\nc01,10.0.158.97,tcp,27\nc02,198.51.100.15,udp,22\nc03,10.0.44.50,udp,22\nc04,10.0.78.237,tcp,5432\nc05,172.16.116.159,tcp,80\nc06,10.0.99.220,tcp,121\nc07,192.168.170.120,udp,5432\nc08,10.1.2.139,udp,80\nc09,198.51.100.68,tcp,106\nc10,192.168.151.221,udp,80\nc11,192.168.192.200,udp,80\nc12,203.0.113.58,tcp,80\nc13,10.1.65.81,tcp,26\nc14,10.0.125.125,tcp,80\nc15,172.16.162.189,udp,8061\nc16,172.16.154.65,tcp,3389\nc17,10.1.214.67,tcp,5432\nc18,10.0.99.254,udp,80\nc19,10.0.16.157,tcp,88\nc20,192.168.239.241,udp,3389\nc21,8.8.71.89,tcp,32\nc22,203.0.113.65,udp,8050\n"}, {"name": "rules.txt", "content": "# id action proto src_cidr dst_ports (evaluated top to bottom; first match wins)\nR10 allow any 192.168.0.0/16 80-80\nR20 deny tcp 172.16.0.0/12 5432-5432\nR30 deny tcp 10.1.2.0/24 80-80\nR40 deny tcp 10.0.0.0/8 5432-5432\nR50 allow udp 0.0.0.0/0 8000-8999\nR60 deny udp 203.0.113.0/24 22-22\nR70 deny tcp 0.0.0.0/0 8000-8999\n# no rule matched -> deny\n"}], "reference_answer": "c10,c11,c15,c22"} {"task_id": "sec-firewall-rules@2", "seed": 0, "instruction": "Evaluate each connection in connections.csv against rules.txt (chains, jumps and the default policy). Answer the ids of all allowed connections, comma-separated ascending (e.g. c02,c07).", "files": [{"name": "connections.csv", "content": "id,src_ip,proto,dst_port\nc01,10.1.17.68,tcp,5432\nc02,10.1.2.83,tcp,443\nc03,10.1.6.108,tcp,22\nc04,172.16.174.87,tcp,443\nc05,192.168.218.198,tcp,443\nc06,10.1.2.56,tcp,8\nc07,203.0.113.251,tcp,8108\nc08,10.1.87.200,tcp,22\nc09,8.8.203.231,tcp,8001\nc10,8.8.89.81,tcp,22\nc11,10.1.2.186,tcp,3389\nc12,172.16.7.111,tcp,443\nc13,192.168.161.153,tcp,80\nc14,198.51.100.71,tcp,35\nc15,198.51.100.77,udp,116\nc16,192.168.15.16,tcp,80\nc17,172.16.190.32,tcp,8136\nc18,203.0.113.103,udp,74\nc19,172.16.14.17,udp,22\nc20,192.168.76.65,tcp,135\n"}, {"name": "rules.txt", "content": "# chain INPUT (evaluated top to bottom; first matching allow/deny decides)\nR10 deny udp 203.0.113.0/24 443-443\nR20 jump:MGMT udp 10.1.0.0/16 3389-3389\nR30 deny udp 0.0.0.0/0 22-22\nR40 allow tcp 0.0.0.0/0 1-65535\nR50 allow tcp 0.0.0.0/0 5432-5432\nR60 deny tcp 192.168.0.0/16 443-443\n# INPUT default policy: deny\n# chain MGMT: jump:MGMT evaluates it; return or reaching its end goes back to the rule after the jump\nR100 allow tcp 0.0.0.0/0 3389-3389\nR101 deny any 10.1.0.0/16 22-22\nR102 return tcp 203.0.113.0/24 8000-8999\n# chain WEB: jump:WEB evaluates it; return or reaching its end goes back to the rule after the jump\nR200 deny tcp 10.1.0.0/16 80-80\nR201 return tcp 203.0.113.0/24 3389-3389\nR202 allow tcp 10.1.2.0/24 1-65535\n"}], "reference_answer": "c01,c02,c03,c04,c05,c06,c07,c08,c09,c10,c11,c12,c13,c14,c16,c17,c20"} {"task_id": "sec-firewall-rules@2", "seed": 1, "instruction": "Evaluate each connection in connections.csv against rules.txt (chains, jumps and the default policy). Answer the ids of all allowed connections, comma-separated ascending (e.g. c02,c07).", "files": [{"name": "connections.csv", "content": "id,src_ip,proto,dst_port\nc01,192.168.94.21,tcp,5432\nc02,203.0.113.176,udp,443\nc03,192.168.147.254,tcp,90\nc04,198.51.100.57,tcp,8080\nc05,10.1.83.17,tcp,34\nc06,172.16.27.27,udp,8110\nc07,203.0.113.213,tcp,3389\nc08,192.168.77.96,udp,18\nc09,8.8.64.36,udp,3389\nc10,8.8.227.203,tcp,8086\nc11,172.17.16.127,tcp,94\nc12,203.0.113.64,tcp,42\nc13,203.0.113.46,tcp,99\nc14,10.1.2.203,tcp,138\nc15,10.1.2.245,tcp,5432\nc16,10.1.2.165,tcp,3389\nc17,198.51.100.141,tcp,443\nc18,198.51.100.120,tcp,91\nc19,198.51.100.51,udp,69\nc20,203.0.113.163,udp,159\nc21,198.51.100.231,tcp,5432\nc22,192.168.92.175,tcp,195\nc23,8.8.86.81,tcp,182\nc24,192.168.233.244,udp,80\nc25,172.17.5.218,tcp,22\n"}, {"name": "rules.txt", "content": "# chain INPUT (evaluated top to bottom; first matching allow/deny decides)\nR10 allow udp 0.0.0.0/0 8000-8999\nR20 jump:WEB tcp 172.16.0.0/12 80-80\nR30 jump:MGMT tcp 10.1.0.0/16 8000-8999\nR40 deny any 10.1.2.0/24 1-1023\nR50 allow any 10.0.0.0/8 5432-5432\nR60 jump:WEB any 198.51.100.0/24 443-443\nR70 jump:MGMT tcp 172.16.0.0/12 1-65535\nR80 deny tcp 172.16.0.0/12 3389-3389\nR90 allow udp 0.0.0.0/0 443-443\n# INPUT default policy: deny\n# chain MGMT: jump:MGMT evaluates it; return or reaching its end goes back to the rule after the jump\nR100 return any 0.0.0.0/0 1-1023\nR101 deny tcp 0.0.0.0/0 8000-8999\nR102 allow tcp 0.0.0.0/0 5432-5432\nR103 return any 203.0.113.0/24 80-80\n# chain WEB: jump:WEB evaluates it; return or reaching its end goes back to the rule after the jump\nR200 deny tcp 198.51.100.0/24 1-65535\nR201 allow udp 10.0.0.0/8 1-1023\nR202 allow any 203.0.113.0/24 443-443\nR203 deny tcp 198.51.100.0/24 3389-3389\nR204 return tcp 203.0.113.0/24 443-443\n"}], "reference_answer": "c02,c06,c15"} {"task_id": "sec-firewall-rules@2", "seed": 2, "instruction": "Evaluate each connection in connections.csv against rules.txt (chains, jumps and the default policy). Answer the ids of all allowed connections, comma-separated ascending (e.g. c02,c07).", "files": [{"name": "connections.csv", "content": "id,src_ip,proto,dst_port\nc01,8.8.179.94,tcp,80\nc02,172.16.138.216,tcp,31\nc03,8.8.236.7,tcp,3389\nc04,10.1.63.116,tcp,22\nc05,172.16.132.67,udp,80\nc06,203.0.113.215,tcp,5432\nc07,10.1.124.105,udp,8026\nc08,8.8.196.108,tcp,80\nc09,10.1.24.100,tcp,177\nc10,198.51.100.142,udp,443\nc11,172.16.14.93,tcp,90\nc12,10.1.26.246,udp,42\nc13,203.0.113.69,tcp,95\nc14,10.0.130.106,tcp,22\nc15,203.0.113.216,udp,22\nc16,198.51.100.213,tcp,443\nc17,10.0.51.82,udp,106\nc18,198.51.100.168,udp,443\nc19,10.1.204.73,tcp,3389\n"}, {"name": "rules.txt", "content": "# chain INPUT (evaluated top to bottom; first matching allow/deny decides)\nR10 jump:WEB tcp 172.16.0.0/12 80-80\nR20 jump:MGMT tcp 198.51.100.0/24 3389-3389\nR30 deny tcp 10.0.0.0/8 1-65535\nR40 allow tcp 10.1.0.0/16 3389-3389\nR50 allow any 0.0.0.0/0 80-80\nR60 jump:MGMT udp 203.0.113.0/24 22-22\nR70 deny tcp 10.1.2.0/24 443-443\nR80 allow tcp 203.0.113.0/24 5432-5432\n# INPUT default policy: deny\n# chain MGMT: jump:MGMT evaluates it; return or reaching its end goes back to the rule after the jump\nR100 allow udp 10.1.0.0/16 1-65535\nR101 return any 10.0.0.0/8 443-443\nR102 deny tcp 203.0.113.0/24 3389-3389\nR103 return tcp 192.168.0.0/16 5432-5432\n# chain WEB: jump:WEB evaluates it; return or reaching its end goes back to the rule after the jump\nR200 deny tcp 192.168.0.0/16 8000-8999\nR201 deny any 192.168.0.0/16 22-22\nR202 return tcp 10.1.2.0/24 5432-5432\nR203 return udp 192.168.0.0/16 80-80\n"}], "reference_answer": "c01,c05,c06,c08"} {"task_id": "med-subtitle-stats@1", "seed": 0, "instruction": "In subtitles.srt, count the cues in which CLEO speaks (a line starting 'CLEO:') and the total on-screen seconds of those cues (end - start). Answer count,seconds with 3 decimals, e.g. 7,21.450. Each part is worth 0.5.", "files": [{"name": "subtitles.srt", "content": "1\n00:00:19,535 --> 00:00:24,501\nELI: It doesn't add up.\n\n2\n00:00:27,433 --> 00:00:29,844\nCLEO: That was the last train.\n\n3\n00:00:32,478 --> 00:00:34,233\nCLEO: Keep the lights low.\n\n4\n00:00:36,689 --> 00:00:41,096\nCLEO: Not yet.\nELI: I'll call you back.\n\n5\n00:00:46,451 --> 00:00:50,922\nELI: Who signed off on this?\n\n6\n00:00:56,689 --> 00:00:59,422\nDEV: It doesn't add up.\n\n7\n00:00:59,891 --> 00:01:05,029\nDEV: It doesn't add up.\n\n8\n00:01:05,354 --> 00:01:09,480\nANA: Give me five minutes.\n\n9\n00:01:14,835 --> 00:01:16,123\nANA: That was the last train.\n\n10\n00:01:20,174 --> 00:01:23,114\nELI: That was the last train.\n\n11\n00:01:24,322 --> 00:01:27,277\nDEV: Not yet.\n\n12\n00:01:31,602 --> 00:01:35,425\nELI: It doesn't add up.\nDEV: Not yet.\n\n13\n00:01:40,606 --> 00:01:41,976\nELI: It doesn't add up.\n\n14\n00:01:44,025 --> 00:01:45,290\nANA: I'll call you back.\n\n15\n00:01:50,028 --> 00:01:51,777\nANA: That was the last train.\nCLEO: Keep the lights low.\n\n16\n00:01:57,359 --> 00:02:02,496\nCLEO: Look at the map again.\n\n17\n00:02:06,481 --> 00:02:07,362\nELI: I'll call you back.\n\n18\n00:02:08,243 --> 00:02:12,912\nANA: That was the last train.\n\n19\n00:02:18,900 --> 00:02:21,118\nCLEO: Give me five minutes.\n\n20\n00:02:24,970 --> 00:02:28,902\nCLEO: Look at the map again.\n\n21\n00:02:31,019 --> 00:02:31,897\nDEV: We need to move now.\n\n22\n00:02:33,872 --> 00:02:35,061\nDEV: Keep the lights low.\n\n23\n00:02:39,460 --> 00:02:41,669\nDEV: I'll call you back.\n\n24\n00:02:43,644 --> 00:02:48,514\nANA: Keep the lights low.\n\n25\n00:02:54,499 --> 00:02:56,617\nDEV: Give me five minutes.\n\n26\n00:02:58,019 --> 00:03:02,184\nCLEO: That was the last train.\nANA: Did you hear that?\n\n27\n00:03:02,477 --> 00:03:05,241\nELI: That was the last train.\n"}], "reference_answer": "8,25.774"} {"task_id": "med-subtitle-stats@1", "seed": 1, "instruction": "In subtitles.srt, count the cues in which ANA speaks (a line starting 'ANA:') and the total on-screen seconds of those cues (end - start). Answer count,seconds with 3 decimals, e.g. 7,21.450. Each part is worth 0.5.", "files": [{"name": "subtitles.srt", "content": "1\n00:00:11,692 --> 00:00:13,118\nANA: Look at the map again.\nFARAH: It doesn't add up.\n\n2\n00:00:14,003 --> 00:00:17,917\nFARAH: Give me five minutes.\n\n3\n00:00:21,765 --> 00:00:23,735\nFARAH: Did you hear that?\n\n4\n00:00:26,573 --> 00:00:30,287\nBEN: It doesn't add up.\n\n5\n00:00:34,904 --> 00:00:39,201\nDEV: Look at the map again.\n\n6\n00:00:40,283 --> 00:00:42,014\nDEV: Look at the map again.\n\n7\n00:00:45,584 --> 00:00:47,863\nANA: Who signed off on this?\n\n8\n00:00:52,758 --> 00:00:54,841\nDEV: Look at the map again.\n\n9\n00:00:58,603 --> 00:01:01,197\nANA: Give me five minutes.\n\n10\n00:01:04,815 --> 00:01:06,119\nBEN: Not yet.\n\n11\n00:01:10,705 --> 00:01:15,417\nDEV: It doesn't add up.\n\n12\n00:01:15,662 --> 00:01:19,246\nFARAH: Did you hear that?\nBEN: Did you hear that?\n\n13\n00:01:19,792 --> 00:01:22,713\nBEN: We need to move now.\n\n14\n00:01:28,594 --> 00:01:31,292\nBEN: I'll call you back.\nDEV: Not yet.\n\n15\n00:01:32,837 --> 00:01:37,459\nDEV: That was the last train.\nANA: Did you hear that?\n\n16\n00:01:42,430 --> 00:01:46,632\nANA: Not yet.\nFARAH: I'll call you back.\n\n17\n00:01:49,187 --> 00:01:52,411\nDEV: Keep the lights low.\n\n18\n00:01:54,028 --> 00:01:56,407\nBEN: That was the last train.\nANA: We need to move now.\n\n19\n00:01:56,692 --> 00:02:00,180\nDEV: I'll call you back.\n\n20\n00:02:05,104 --> 00:02:06,484\nBEN: Not yet.\n\n21\n00:02:08,260 --> 00:02:11,458\nFARAH: Keep the lights low.\nDEV: Keep the lights low.\n\n22\n00:02:17,450 --> 00:02:20,058\nANA: Did you hear that?\n"}], "reference_answer": "7,20.110"} {"task_id": "med-subtitle-stats@1", "seed": 2, "instruction": "In subtitles.srt, count the cues in which DEV speaks (a line starting 'DEV:') and the total on-screen seconds of those cues (end - start). Answer count,seconds with 3 decimals, e.g. 7,21.450. Each part is worth 0.5.", "files": [{"name": "subtitles.srt", "content": "1\n00:00:12,367 --> 00:00:13,105\nDEV: We need to move now.\n\n2\n00:00:17,739 --> 00:00:19,209\nDEV: We need to move now.\n\n3\n00:00:19,864 --> 00:00:23,842\nDEV: It doesn't add up.\n\n4\n00:00:28,648 --> 00:00:29,963\nDEV: It doesn't add up.\n\n5\n00:00:34,436 --> 00:00:37,221\nDEV: Look at the map again.\n\n6\n00:00:42,849 --> 00:00:45,361\nBEN: Who signed off on this?\n\n7\n00:00:45,562 --> 00:00:46,606\nBEN: Give me five minutes.\n\n8\n00:00:50,624 --> 00:00:55,024\nELI: I'll call you back.\nDEV: Who signed off on this?\n\n9\n00:00:59,829 --> 00:01:02,722\nDEV: That was the last train.\n\n10\n00:01:04,066 --> 00:01:08,599\nDEV: Look at the map again.\n\n11\n00:01:13,693 --> 00:01:15,137\nELI: I'll call you back.\n\n12\n00:01:19,693 --> 00:01:24,878\nDEV: We need to move now.\n\n13\n00:01:25,829 --> 00:01:30,669\nELI: I'll call you back.\n\n14\n00:01:32,513 --> 00:01:36,506\nDEV: That was the last train.\nELI: We need to move now.\n\n15\n00:01:42,289 --> 00:01:44,682\nDEV: Look at the map again.\n\n16\n00:01:45,624 --> 00:01:47,602\nDEV: We need to move now.\n\n17\n00:01:51,181 --> 00:01:53,393\nDEV: Give me five minutes.\n\n18\n00:01:53,634 --> 00:01:56,572\nELI: I'll call you back.\n\n19\n00:01:58,489 --> 00:02:00,510\nFARAH: Keep the lights low.\n\n20\n00:02:04,473 --> 00:02:06,024\nELI: Not yet.\n\n21\n00:02:08,660 --> 00:02:13,004\nDEV: Look at the map again.\n\n22\n00:02:17,560 --> 00:02:21,420\nBEN: I'll call you back.\n\n23\n00:02:24,645 --> 00:02:29,207\nBEN: I'll call you back.\n\n24\n00:02:32,433 --> 00:02:33,240\nFARAH: Who signed off on this?\n\n25\n00:02:37,156 --> 00:02:38,377\nFARAH: Not yet.\n\n26\n00:02:41,088 --> 00:02:42,479\nBEN: I'll call you back.\n\n27\n00:02:47,269 --> 00:02:52,080\nDEV: Look at the map again.\n\n28\n00:02:52,629 --> 00:02:53,496\nBEN: It doesn't add up.\n"}], "reference_answer": "15,47.028"} {"task_id": "med-subtitle-stats@2", "seed": 0, "instruction": "Apply sync.txt to subtitles.srt. Then, for the cues in which ELI speaks (a line starting 'ELI:'), count those that start before program time 00:02:08,208 and their on-screen seconds before that time (a cue that crosses it counts only its part before it). Answer count,seconds with 3 decimals, e.g. 7,21.450. Each part is worth 0.5.", "files": [{"name": "subtitles.srt", "content": "1\n00:00:24,069 --> 00:00:26,183\nFARAH: I'll call you back.\n\n2\n00:00:31,864 --> 00:00:34,080\nFARAH: That was the last train.\n\n3\n00:00:39,199 --> 00:00:40,867\nELI: That was the last train.\n\n4\n00:00:45,996 --> 00:00:50,729\nDEV: Give me five minutes.\n\n5\n00:00:56,200 --> 00:01:00,642\nGUS: It doesn't add up.\n\n6\n00:01:00,844 --> 00:01:05,697\nFARAH: That was the last train.\n\n7\n00:01:10,578 --> 00:01:11,560\nGUS: It doesn't add up.\n\n8\n00:01:14,810 --> 00:01:18,936\nFARAH: That was the last train.\nGUS: We need to move now.\n\n9\n00:01:21,591 --> 00:01:23,006\nELI: Give me five minutes.\n\n10\n00:01:25,873 --> 00:01:27,523\nFARAH: I'll call you back.\n\n11\n00:01:32,010 --> 00:01:33,470\nGUS: Did you hear that?\n\n12\n00:01:35,489 --> 00:01:40,638\nDEV: We need to move now.\n\n13\n00:01:40,907 --> 00:01:44,310\nFARAH: Did you hear that?\n\n14\n00:01:45,410 --> 00:01:46,140\nELI: Did you hear that?\n\n15\n00:01:48,399 --> 00:01:50,978\nGUS: I'll call you back.\n\n16\n00:01:56,723 --> 00:02:01,454\nFARAH: Who signed off on this?\n\n17\n00:02:06,951 --> 00:02:09,172\nGUS: It doesn't add up.\nELI: Keep the lights low.\n\n18\n00:02:10,439 --> 00:02:12,906\nDEV: Give me five minutes.\n\n19\n00:02:14,664 --> 00:02:15,541\nGUS: That was the last train.\nELI: Look at the map again.\n\n20\n00:02:17,860 --> 00:02:19,395\nDEV: Who signed off on this?\nGUS: Did you hear that?\n\n21\n00:02:23,685 --> 00:02:28,778\nDEV: Keep the lights low.\n\n22\n00:02:34,327 --> 00:02:38,272\nELI: Give me five minutes.\n\n23\n00:02:44,068 --> 00:02:45,277\nGUS: Not yet.\n\n24\n00:02:48,351 --> 00:02:50,201\nDEV: I'll call you back.\n\n25\n00:02:55,683 --> 00:02:57,843\nDEV: Did you hear that?\n\n26\n00:02:59,972 --> 00:03:02,579\nFARAH: We need to move now.\n\n27\n00:03:07,249 --> 00:03:08,738\nFARAH: We need to move now.\n\n28\n00:03:12,159 --> 00:03:14,287\nFARAH: Look at the map again.\n\n29\n00:03:19,391 --> 00:03:23,263\nELI: Give me five minutes.\n\n30\n00:03:28,075 --> 00:03:32,587\nDEV: It doesn't add up.\n\n31\n00:03:37,413 --> 00:03:41,613\nFARAH: Look at the map again.\n"}, {"name": "sync.txt", "content": "Sync fix: cues numbered 7 and later are 1000 ms early in subtitles.srt; add 1000 ms to both their start and end times.\n"}], "reference_answer": "4,4.070"} {"task_id": "med-subtitle-stats@2", "seed": 1, "instruction": "Apply sync.txt to subtitles.srt. Then, for the cues in which ANA speaks (a line starting 'ANA:'), count those that start before program time 00:01:53,354 and their on-screen seconds before that time (a cue that crosses it counts only its part before it). Answer count,seconds with 3 decimals, e.g. 7,21.450. Each part is worth 0.5.", "files": [{"name": "subtitles.srt", "content": "1\n00:00:14,609 --> 00:00:15,704\nDEV: It doesn't add up.\n\n2\n00:00:20,297 --> 00:00:22,409\nELI: That was the last train.\nDEV: Not yet.\n\n3\n00:00:23,847 --> 00:00:28,458\nELI: We need to move now.\n\n4\n00:00:32,953 --> 00:00:36,123\nDEV: We need to move now.\nELI: Look at the map again.\n\n5\n00:00:41,052 --> 00:00:42,793\nELI: Give me five minutes.\n\n6\n00:00:46,447 --> 00:00:47,268\nELI: That was the last train.\n\n7\n00:00:50,235 --> 00:00:51,288\nELI: Did you hear that?\n\n8\n00:00:56,149 --> 00:01:00,806\nELI: That was the last train.\n\n9\n00:01:05,714 --> 00:01:09,898\nDEV: Give me five minutes.\n\n10\n00:01:15,667 --> 00:01:20,549\nDEV: I'll call you back.\n\n11\n00:01:21,100 --> 00:01:26,227\nDEV: Give me five minutes.\n\n12\n00:01:27,302 --> 00:01:30,555\nELI: I'll call you back.\n\n13\n00:01:35,204 --> 00:01:39,974\nELI: Did you hear that?\n\n14\n00:01:44,307 --> 00:01:45,169\nDEV: Did you hear that?\nELI: That was the last train.\n\n15\n00:01:46,304 --> 00:01:49,466\nANA: Did you hear that?\n\n16\n00:01:51,352 --> 00:01:55,404\nANA: It doesn't add up.\n\n17\n00:01:59,035 --> 00:02:00,638\nDEV: Look at the map again.\n\n18\n00:02:03,099 --> 00:02:07,403\nANA: Did you hear that?\n\n19\n00:02:12,234 --> 00:02:16,481\nELI: Who signed off on this?\n\n20\n00:02:20,111 --> 00:02:24,146\nELI: Keep the lights low.\n"}, {"name": "sync.txt", "content": "Sync fix: cues numbered 5 and later are 763 ms late in subtitles.srt; subtract 763 ms to both their start and end times.\n"}], "reference_answer": "2,5.927"} {"task_id": "med-subtitle-stats@2", "seed": 2, "instruction": "Apply sync.txt to subtitles.srt. Then, for the cues in which FARAH speaks (a line starting 'FARAH:'), count those that start before program time 00:02:01,820 and their on-screen seconds before that time (a cue that crosses it counts only its part before it). Answer count,seconds with 3 decimals, e.g. 7,21.450. Each part is worth 0.5.", "files": [{"name": "subtitles.srt", "content": "1\n00:00:07,946 --> 00:00:10,884\nCLEO: Keep the lights low.\n\n2\n00:00:16,114 --> 00:00:18,427\nFARAH: We need to move now.\nBEN: That was the last train.\n\n3\n00:00:19,697 --> 00:00:24,245\nCLEO: Keep the lights low.\n\n4\n00:00:25,434 --> 00:00:26,253\nCLEO: Keep the lights low.\n\n5\n00:00:31,009 --> 00:00:34,949\nBEN: Give me five minutes.\n\n6\n00:00:37,049 --> 00:00:40,620\nCLEO: That was the last train.\n\n7\n00:00:45,071 --> 00:00:46,229\nFARAH: That was the last train.\n\n8\n00:00:46,749 --> 00:00:49,503\nCLEO: I'll call you back.\n\n9\n00:00:54,227 --> 00:00:58,521\nFARAH: We need to move now.\n\n10\n00:01:00,871 --> 00:01:05,896\nBEN: Keep the lights low.\n\n11\n00:01:11,308 --> 00:01:15,730\nFARAH: We need to move now.\nBEN: Look at the map again.\n\n12\n00:01:18,829 --> 00:01:21,218\nCLEO: That was the last train.\n\n13\n00:01:25,249 --> 00:01:28,885\nFARAH: Look at the map again.\n\n14\n00:01:30,660 --> 00:01:34,891\nBEN: Who signed off on this?\n\n15\n00:01:35,365 --> 00:01:37,472\nBEN: Give me five minutes.\n\n16\n00:01:40,427 --> 00:01:43,158\nFARAH: Not yet.\nBEN: Keep the lights low.\n\n17\n00:01:46,927 --> 00:01:48,363\nFARAH: Give me five minutes.\n\n18\n00:01:49,151 --> 00:01:53,830\nFARAH: I'll call you back.\n\n19\n00:01:59,025 --> 00:02:02,069\nFARAH: We need to move now.\n\n20\n00:02:04,955 --> 00:02:10,006\nCLEO: Look at the map again.\n\n21\n00:02:12,194 --> 00:02:15,159\nCLEO: Who signed off on this?\nBEN: We need to move now.\n\n22\n00:02:18,891 --> 00:02:20,560\nFARAH: Not yet.\n\n23\n00:02:21,577 --> 00:02:25,845\nBEN: It doesn't add up.\n\n24\n00:02:29,680 --> 00:02:32,613\nCLEO: Look at the map again.\n\n25\n00:02:35,738 --> 00:02:37,985\nFARAH: That was the last train.\n\n26\n00:02:43,439 --> 00:02:48,312\nCLEO: We need to move now.\n"}, {"name": "sync.txt", "content": "Sync fix: cues numbered 13 and later are 907 ms early in subtitles.srt; add 907 ms to both their start and end times.\n"}], "reference_answer": "9,26.557"} {"task_id": "med-edl-duration@1", "seed": 0, "instruction": "edl.txt is a cuts-only edit decision list. Compute the program duration as the sum of the source durations (source out - source in) of every event that is not marked DISABLED. Answer a timecode HH:MM:SS:FF at the EDL's frame rate.", "files": [{"name": "edl.txt", "content": "TITLE: RECAP_V8\nFCM: NON-DROP FRAME\n* FRAME RATE: 24\n\n001 A001 V C 00:41:33:12 00:41:40:04 01:00:00:00 01:00:00:00\n* FROM CLIP NAME: A001_BROLL.MOV\n* DISABLED: event muted on the timeline\n\n002 A005 V C 00:28:07:10 00:28:14:16 01:00:00:00 01:00:07:06\n* FROM CLIP NAME: A005_WIDE.MOV\n\n003 A004 V C 00:58:57:01 00:59:06:17 01:00:07:06 01:00:16:22\n* FROM CLIP NAME: A004_WIDE.MOV\n\n004 A007 V C 00:26:41:12 00:26:51:13 01:00:16:22 01:00:26:23\n* FROM CLIP NAME: A007_WIDE.MOV\n\n005 A005 V C 00:18:44:08 00:18:49:21 01:00:26:23 01:00:26:23\n* FROM CLIP NAME: A005_MS.MOV\n* DISABLED: event muted on the timeline\n\n006 A004 V C 00:59:35:16 00:59:45:12 01:00:26:23 01:00:36:19\n* FROM CLIP NAME: A004_WIDE.MOV\n\n007 A007 V C 00:17:41:11 00:17:52:17 01:00:36:19 01:00:48:01\n* FROM CLIP NAME: A007_BROLL.MOV\n\n008 A001 V C 00:59:33:01 00:59:38:21 01:00:48:01 01:00:53:21\n* FROM CLIP NAME: A001_WIDE.MOV\n\n009 A004 V C 00:32:17:02 00:32:18:03 01:00:53:21 01:00:54:22\n* FROM CLIP NAME: A004_MS.MOV\n\n010 A005 V C 00:04:21:13 00:04:26:04 01:00:54:22 01:00:59:13\n* FROM CLIP NAME: A005_CU.MOV\n\n011 A009 V C 00:46:25:18 00:46:28:13 01:00:59:13 01:01:02:08\n* FROM CLIP NAME: A009_MS.MOV\n\n012 A002 V C 00:47:16:06 00:47:28:00 01:01:02:08 01:01:14:02\n* FROM CLIP NAME: A002_BROLL.MOV\n"}], "reference_answer": "00:01:14:02"} {"task_id": "med-edl-duration@1", "seed": 1, "instruction": "edl.txt is a cuts-only edit decision list. Compute the program duration as the sum of the source durations (source out - source in) of every event that is not marked DISABLED. Answer a timecode HH:MM:SS:FF at the EDL's frame rate.", "files": [{"name": "edl.txt", "content": "TITLE: TEASER_V2\nFCM: NON-DROP FRAME\n* FRAME RATE: 24\n\n001 A002 V C 00:23:07:03 00:23:17:00 01:00:00:00 01:00:09:21\n* FROM CLIP NAME: A002_BROLL.MOV\n\n002 A007 V C 00:54:52:09 00:54:54:12 01:00:09:21 01:00:12:00\n* FROM CLIP NAME: A007_MS.MOV\n\n003 A008 V C 00:35:53:22 00:35:54:20 01:00:12:00 01:00:12:22\n* FROM CLIP NAME: A008_MS.MOV\n\n004 A007 V C 00:59:35:06 00:59:39:04 01:00:12:22 01:00:16:20\n* FROM CLIP NAME: A007_BROLL.MOV\n\n005 A004 V C 00:29:07:20 00:29:17:04 01:00:16:20 01:00:26:04\n* FROM CLIP NAME: A004_BROLL.MOV\n\n006 A009 V C 00:20:27:18 00:20:34:23 01:00:26:04 01:00:33:09\n* FROM CLIP NAME: A009_BROLL.MOV\n\n007 A009 V C 00:48:45:00 00:48:49:17 01:00:33:09 01:00:38:02\n* FROM CLIP NAME: A009_CU.MOV\n\n008 A004 V C 00:54:10:20 00:54:11:22 01:00:38:02 01:00:39:04\n* FROM CLIP NAME: A004_CU.MOV\n\n009 A007 V C 00:26:32:01 00:26:34:06 01:00:39:04 01:00:39:04\n* FROM CLIP NAME: A007_CU.MOV\n* DISABLED: event muted on the timeline\n\n010 A006 V C 00:48:56:14 00:49:04:17 01:00:39:04 01:00:47:07\n* FROM CLIP NAME: A006_MS.MOV\n"}], "reference_answer": "00:00:47:07"} {"task_id": "med-edl-duration@1", "seed": 2, "instruction": "edl.txt is a cuts-only edit decision list. Compute the program duration as the sum of the source durations (source out - source in) of every event that is not marked DISABLED. Answer a timecode HH:MM:SS:FF at the EDL's frame rate.", "files": [{"name": "edl.txt", "content": "TITLE: PROMO_V7\nFCM: NON-DROP FRAME\n* FRAME RATE: 25\n\n001 A001 V C 00:36:28:24 00:36:31:01 01:00:00:00 01:00:02:02\n* FROM CLIP NAME: A001_CU.MOV\n\n002 A008 V C 00:52:33:15 00:52:35:20 01:00:02:02 01:00:04:07\n* FROM CLIP NAME: A008_WIDE.MOV\n\n003 A003 V C 00:35:53:16 00:35:55:23 01:00:04:07 01:00:06:14\n* FROM CLIP NAME: A003_MS.MOV\n\n004 A002 V C 00:26:57:15 00:27:05:05 01:00:06:14 01:00:06:14\n* FROM CLIP NAME: A002_BROLL.MOV\n* DISABLED: event muted on the timeline\n\n005 A003 V C 00:59:07:07 00:59:08:03 01:00:06:14 01:00:07:10\n* FROM CLIP NAME: A003_WIDE.MOV\n\n006 A008 V C 00:32:43:09 00:32:43:24 01:00:07:10 01:00:08:00\n* FROM CLIP NAME: A008_MS.MOV\n\n007 A005 V C 00:29:33:16 00:29:41:07 01:00:08:00 01:00:15:16\n* FROM CLIP NAME: A005_MS.MOV\n\n008 A002 V C 00:55:09:13 00:55:16:10 01:00:15:16 01:00:22:13\n* FROM CLIP NAME: A002_WIDE.MOV\n\n009 A008 V C 00:20:17:12 00:20:26:09 01:00:22:13 01:00:31:10\n* FROM CLIP NAME: A008_BROLL.MOV\n\n010 A004 V C 00:51:05:03 00:51:05:15 01:00:31:10 01:00:31:10\n* FROM CLIP NAME: A004_WIDE.MOV\n* DISABLED: event muted on the timeline\n\n011 A002 V C 00:37:14:04 00:37:17:11 01:00:31:10 01:00:34:17\n* FROM CLIP NAME: A002_CU.MOV\n\n012 A004 V C 00:27:03:07 00:27:10:17 01:00:34:17 01:00:34:17\n* FROM CLIP NAME: A004_MS.MOV\n* DISABLED: event muted on the timeline\n\n013 A007 V C 00:17:29:18 00:17:39:01 01:00:34:17 01:00:44:00\n* FROM CLIP NAME: A007_WIDE.MOV\n\n014 A007 V C 00:55:53:16 00:55:59:07 01:00:44:00 01:00:49:16\n* FROM CLIP NAME: A007_WIDE.MOV\n\n015 A004 V C 00:43:19:14 00:43:31:12 01:00:49:16 01:01:01:14\n* FROM CLIP NAME: A004_CU.MOV\n\n016 A004 V C 00:03:39:22 00:03:41:23 01:01:01:14 01:01:03:15\n* FROM CLIP NAME: A004_WIDE.MOV\n"}], "reference_answer": "00:01:03:15"} {"task_id": "med-edl-duration@2", "seed": 0, "instruction": "Compute the program duration of edl.txt following edl_rules.txt. Answer a timecode HH:MM:SS:FF at the EDL's frame rate.", "files": [{"name": "edl.txt", "content": "TITLE: RECAP_V4\nFCM: NON-DROP FRAME\n* FRAME RATE: 30\n\n001 A006 V C 00:32:45:23 00:32:54:26 01:00:00:00 01:00:09:03\n* FROM CLIP NAME: A006_BROLL.MOV\n\n002 A005 V D 019 00:58:52:00 00:58:58:02 01:00:09:03 01:00:15:05\n* FROM CLIP NAME: A005_WIDE.MOV\n\n003 A001 V C 00:58:41:04 00:58:43:23 01:00:14:16 01:00:14:16\n* FROM CLIP NAME: A001_CU.MOV\n* DISABLED: event muted on the timeline\n\n004 A002 V D 017 00:09:40:14 00:09:50:16 01:00:14:16 01:00:24:18\n* FROM CLIP NAME: A002_WIDE.MOV\n\n005 A009 V C 00:04:31:22 00:04:38:13 01:00:24:01 01:00:28:15\n* FROM CLIP NAME: A009_BROLL.MOV\n* SPEED: 150%\n\n006 A001 V C 00:27:07:00 00:27:14:02 01:00:28:15 01:00:28:15\n* FROM CLIP NAME: A001_BROLL.MOV\n* DISABLED: event muted on the timeline\n\n007 A002 V D 018 00:42:17:18 00:42:18:24 01:00:28:15 01:00:29:21\n* FROM CLIP NAME: A002_BROLL.MOV\n\n008 A003 V C 00:17:44:24 00:17:49:10 01:00:29:03 01:00:32:03\n* FROM CLIP NAME: A003_BROLL.MOV\n* SPEED: 150%\n\n009 A002 V D 007 00:01:51:15 00:02:00:28 01:00:32:03 01:00:38:11\n* FROM CLIP NAME: A002_BROLL.MOV\n* SPEED: 150%\n\n010 A003 V C 00:57:13:29 00:57:24:00 01:00:38:04 01:00:48:05\n* FROM CLIP NAME: A003_BROLL.MOV\n\n011 A006 V C 00:52:55:16 00:53:05:23 01:00:48:05 01:00:48:05\n* FROM CLIP NAME: A006_WIDE.MOV\n* DISABLED: event muted on the timeline\n\n012 A004 V C 00:20:37:08 00:20:40:02 01:00:48:05 01:00:50:29\n* FROM CLIP NAME: A004_BROLL.MOV\n\n013 A002 V C 00:43:53:27 00:43:58:06 01:00:50:29 01:00:50:29\n* FROM CLIP NAME: A002_MS.MOV\n* DISABLED: event muted on the timeline\n\n014 A008 V C 00:10:17:23 00:10:29:20 01:00:50:29 01:00:55:21\n* FROM CLIP NAME: A008_WIDE.MOV\n* SPEED: 250%\n\n015 A009 V C 00:30:57:02 00:31:05:26 01:00:55:21 01:01:01:17\n* FROM CLIP NAME: A009_MS.MOV\n* SPEED: 150%\n\n016 A001 V D 023 00:35:08:25 00:35:13:06 01:01:01:17 01:01:03:09\n* FROM CLIP NAME: A001_BROLL.MOV\n* SPEED: 250%\n\n017 A009 V C 00:47:03:29 00:47:12:23 01:01:02:16 01:01:11:10\n* FROM CLIP NAME: A009_BROLL.MOV\n"}, {"name": "edl_rules.txt", "content": "Program duration rules for edl.txt:\n1. Events marked DISABLED contribute nothing.\n2. An event's program length is floor(source frames x 100 / P) where '* SPEED: P%' follows it (P = 100 when absent); source frames = source out - source in.\n3. A transition 'D NNN' dissolves into that event from the previous enabled event over NNN frames; the two events overlap by NNN frames, which shortens the program by NNN.\n4. Ignore the record timecodes.\n"}], "reference_answer": "00:01:11:10"} {"task_id": "med-edl-duration@2", "seed": 1, "instruction": "Compute the program duration of edl.txt following edl_rules.txt. Answer a timecode HH:MM:SS:FF at the EDL's frame rate.", "files": [{"name": "edl.txt", "content": "TITLE: TEASER_V4\nFCM: NON-DROP FRAME\n* FRAME RATE: 25\n\n001 A008 V C 00:49:08:01 00:49:17:00 01:00:00:00 01:00:00:00\n* FROM CLIP NAME: A008_CU.MOV\n* DISABLED: event muted on the timeline\n\n002 A009 V C 00:37:22:01 00:37:33:12 01:00:00:00 01:00:11:11\n* FROM CLIP NAME: A009_CU.MOV\n\n003 A001 V C 00:21:52:06 00:22:03:01 01:00:11:11 01:00:22:06\n* FROM CLIP NAME: A001_CU.MOV\n\n004 A002 V C 00:28:57:07 00:29:07:15 01:00:22:06 01:00:42:22\n* FROM CLIP NAME: A002_CU.MOV\n* SPEED: 50%\n\n005 A003 V C 00:01:53:08 00:01:58:22 01:00:42:22 01:00:42:22\n* FROM CLIP NAME: A003_WIDE.MOV\n* DISABLED: event muted on the timeline\n\n006 A002 V C 00:17:00:22 00:17:07:11 01:00:42:22 01:00:42:22\n* FROM CLIP NAME: A002_WIDE.MOV\n* DISABLED: event muted on the timeline\n\n007 A005 V C 00:00:23:21 00:00:30:00 01:00:42:22 01:00:42:22\n* FROM CLIP NAME: A005_CU.MOV\n* DISABLED: event muted on the timeline\n\n008 A004 V D 015 00:13:51:20 00:13:58:12 01:00:42:22 01:00:45:13\n* FROM CLIP NAME: A004_CU.MOV\n* SPEED: 250%\n\n009 A007 V C 00:47:47:08 00:47:51:02 01:00:44:23 01:00:48:17\n* FROM CLIP NAME: A007_MS.MOV\n\n010 A007 V C 00:52:36:16 00:52:44:14 01:00:48:17 01:00:56:15\n* FROM CLIP NAME: A007_MS.MOV\n\n011 A007 V D 020 00:30:15:09 00:30:19:06 01:00:56:15 01:01:00:12\n* FROM CLIP NAME: A007_CU.MOV\n\n012 A001 V C 00:20:30:05 00:20:33:03 01:00:59:17 01:01:02:15\n* FROM CLIP NAME: A001_CU.MOV\n\n013 A001 V C 00:06:34:03 00:06:45:03 01:01:02:15 01:01:13:15\n* FROM CLIP NAME: A001_BROLL.MOV\n\n014 A003 V C 00:39:07:17 00:39:14:19 01:01:13:15 01:01:20:17\n* FROM CLIP NAME: A003_CU.MOV\n\n015 A004 V C 00:19:51:14 00:19:55:24 01:01:20:17 01:01:20:17\n* FROM CLIP NAME: A004_BROLL.MOV\n* DISABLED: event muted on the timeline\n"}, {"name": "edl_rules.txt", "content": "Program duration rules for edl.txt:\n1. Events marked DISABLED contribute nothing.\n2. An event's program length is floor(source frames x 100 / P) where '* SPEED: P%' follows it (P = 100 when absent); source frames = source out - source in.\n3. A transition 'D NNN' dissolves into that event from the previous enabled event over NNN frames; the two events overlap by NNN frames, which shortens the program by NNN.\n4. Ignore the record timecodes.\n"}], "reference_answer": "00:01:20:17"} {"task_id": "med-edl-duration@2", "seed": 2, "instruction": "Compute the program duration of edl.txt following edl_rules.txt. Answer a timecode HH:MM:SS:FF at the EDL's frame rate.", "files": [{"name": "edl.txt", "content": "TITLE: PROMO_V8\nFCM: NON-DROP FRAME\n* FRAME RATE: 25\n\n001 A007 V C 00:33:09:23 00:33:15:13 01:00:00:00 01:00:00:00\n* FROM CLIP NAME: A007_CU.MOV\n* DISABLED: event muted on the timeline\n\n002 A007 V C 00:59:00:07 00:59:05:02 01:00:00:00 01:00:02:10\n* FROM CLIP NAME: A007_CU.MOV\n* SPEED: 200%\n\n003 A008 V C 00:25:03:20 00:25:12:05 01:00:02:10 01:00:10:20\n* FROM CLIP NAME: A008_BROLL.MOV\n\n004 A004 V C 00:11:26:05 00:11:37:06 01:00:10:20 01:00:21:21\n* FROM CLIP NAME: A004_CU.MOV\n\n005 A002 V C 00:40:57:23 00:41:03:00 01:00:21:21 01:00:21:21\n* FROM CLIP NAME: A002_BROLL.MOV\n* DISABLED: event muted on the timeline\n\n006 A004 V D 011 00:02:56:03 00:02:57:05 01:00:21:21 01:00:22:06\n* FROM CLIP NAME: A004_WIDE.MOV\n* SPEED: 250%\n\n007 A009 V C 00:59:49:13 00:59:51:22 01:00:21:20 01:00:21:20\n* FROM CLIP NAME: A009_BROLL.MOV\n* DISABLED: event muted on the timeline\n\n008 A001 V C 00:32:44:12 00:32:53:17 01:00:21:20 01:00:21:20\n* FROM CLIP NAME: A001_WIDE.MOV\n* DISABLED: event muted on the timeline\n\n009 A004 V C 00:39:52:21 00:39:54:11 01:00:21:20 01:00:23:10\n* FROM CLIP NAME: A004_WIDE.MOV\n\n010 A006 V C 00:00:53:07 00:01:02:21 01:00:23:10 01:00:32:24\n* FROM CLIP NAME: A006_CU.MOV\n\n011 A002 V C 00:54:20:18 00:54:26:04 01:00:32:24 01:00:38:10\n* FROM CLIP NAME: A002_BROLL.MOV\n\n012 A008 V C 00:37:39:08 00:37:44:04 01:00:38:10 01:00:43:06\n* FROM CLIP NAME: A008_WIDE.MOV\n\n013 A005 V C 00:45:07:06 00:45:16:04 01:00:43:06 01:00:52:04\n* FROM CLIP NAME: A005_WIDE.MOV\n\n014 A002 V C 00:05:08:23 00:05:18:05 01:00:52:04 01:01:01:11\n* FROM CLIP NAME: A002_CU.MOV\n\n015 A003 V C 00:41:04:00 00:41:09:12 01:01:01:11 01:01:01:11\n* FROM CLIP NAME: A003_WIDE.MOV\n* DISABLED: event muted on the timeline\n\n016 A002 V C 00:10:09:03 00:10:14:09 01:01:01:11 01:01:06:17\n* FROM CLIP NAME: A002_MS.MOV\n\n017 A002 V C 00:11:16:20 00:11:27:24 01:01:06:17 01:01:17:21\n* FROM CLIP NAME: A002_CU.MOV\n"}, {"name": "edl_rules.txt", "content": "Program duration rules for edl.txt:\n1. Events marked DISABLED contribute nothing.\n2. An event's program length is floor(source frames x 100 / P) where '* SPEED: P%' follows it (P = 100 when absent); source frames = source out - source in.\n3. A transition 'D NNN' dissolves into that event from the previous enabled event over NNN frames; the two events overlap by NNN frames, which shortens the program by NNN.\n4. Ignore the record timecodes.\n"}], "reference_answer": "00:01:17:21"} {"task_id": "med-headline-style@1", "seed": 0, "instruction": "Rewrite draft #1 in drafts.txt following style_guide.md. Answer the styled headline exactly (case-sensitive).", "files": [{"name": "acronyms.txt", "content": "NASA\nGPU\nAPI\nEU\nAI\nSQL\nNFL\nCEO\n"}, {"name": "drafts.txt", "content": "#1: AN budget at new everything everything API IN INSIDE\n#2: nfl SOURCE FOLLOW-UP city FOLLOW-UP less SOURCE markets over WHY\n#3: new ROBOTS everything WITH farmers the sql THE via with and for ai\n"}, {"name": "style_guide.md", "content": "# Headline style (title case)\n1. Capitalize the first letter of every word and lowercase the rest, except as below.\n2. Lowercase these small words unless they are the first word, the last word, or follow a colon: a, an, and, as, at, but, by, for, from, in, into, nor, of, on, or, over, so, the, to, up, via, with, yet.\n3. Words in acronyms.txt are written in all capitals wherever they appear.\n4. Hyphenated compounds capitalize each part (Long-Term).\n5. Keep punctuation exactly as written; separate words with single spaces.\n"}], "reference_answer": "An Budget at New Everything Everything API in Inside"} {"task_id": "med-headline-style@1", "seed": 1, "instruction": "Rewrite draft #3 in drafts.txt following style_guide.md. Answer the styled headline exactly (case-sensitive).", "files": [{"name": "acronyms.txt", "content": "NASA\nGPU\nAPI\nEU\nAI\nSQL\nNFL\nCEO\n"}, {"name": "drafts.txt", "content": "#1: less A self-driving everything over and eu learn up: TO doing\n#2: inside by via CEO the ship: for INTO ship OPEN A INTO\n#3: less why api follow-up LESS new yet: BY MAIL BUT chips FOR\n"}, {"name": "style_guide.md", "content": "# Headline style (title case)\n1. Capitalize the first letter of every word and lowercase the rest, except as below.\n2. Lowercase these small words unless they are the first word, the last word, or follow a colon: a, an, and, as, at, but, by, for, from, in, into, nor, of, on, or, over, so, the, to, up, via, with, yet.\n3. Words in acronyms.txt are written in all capitals wherever they appear.\n4. Hyphenated compounds capitalize each part (Long-Term).\n5. Keep punctuation exactly as written; separate words with single spaces.\n"}], "reference_answer": "Less Why API Follow-Up Less New yet: By Mail but Chips For"} {"task_id": "med-headline-style@1", "seed": 2, "instruction": "Rewrite draft #2 in drafts.txt following style_guide.md. Answer the styled headline exactly (case-sensitive).", "files": [{"name": "acronyms.txt", "content": "NASA\nGPU\nAPI\nEU\nAI\nSQL\nNFL\nCEO\n"}, {"name": "drafts.txt", "content": "#1: for ai from yet by INSIDE nfl record open up night THE\n#2: sort night but: TO markets why\n#3: QUIET centers robots zero mail city doing: an BUDGET from AND\n"}, {"name": "style_guide.md", "content": "# Headline style (title case)\n1. Capitalize the first letter of every word and lowercase the rest, except as below.\n2. Lowercase these small words unless they are the first word, the last word, or follow a colon: a, an, and, as, at, but, by, for, from, in, into, nor, of, on, or, over, so, the, to, up, via, with, yet.\n3. Words in acronyms.txt are written in all capitals wherever they appear.\n4. Hyphenated compounds capitalize each part (Long-Term).\n5. Keep punctuation exactly as written; separate words with single spaces.\n"}], "reference_answer": "Sort Night but: To Markets Why"} {"task_id": "med-headline-style@2", "seed": 0, "instruction": "Rewrite all three drafts in drafts.txt following style_guide.md, in order, separated by ' | ' (without the '#n:' labels). Answers are case-sensitive; each headline is worth one third.", "files": [{"name": "acronyms.txt", "content": "NASA\nGPU\nAPI\nEU\nAI\nSQL\nNFL\nCEO\n"}, {"name": "brands.txt", "content": "iPhone\neBay\nYouTube\nmacOS\nGitHub\n"}, {"name": "drafts.txt", "content": "#1: farmers a learn ebay FROM: in CHECK-IN centers ship OF TO with by\n#2: FOLLOW-UP ON up sql SOURCE via nasa state-of-the-art night faster IPHONE AT\n#3: ROBOTS a markets record OF IPHONE fail robots from INTO INTO into via\n"}, {"name": "style_guide.md", "content": "# Headline style (title case)\n1. Capitalize the first letter of every word and lowercase the rest, except as below.\n2. Lowercase these small words unless they are the first word, the last word, or follow a colon: a, an, and, as, at, but, by, for, from, in, into, nor, of, on, or, over, so, the, to, up, via, with, yet.\n3. Words in acronyms.txt are written in all capitals wherever they appear.\n4. Brand names in brands.txt keep exactly the casing listed there, wherever they appear.\n5. Hyphenated compounds: capitalize the first part; capitalize each later part unless it is one of the small words in rule 2 (Built-in, State-of-the-Art, Long-Term). This holds wherever the compound appears, including as the last word.\n6. Keep punctuation exactly as written; separate words with single spaces.\n"}], "reference_answer": "Farmers a Learn eBay from: In Check-in Centers Ship of to with By | Follow-up on up SQL Source via NASA State-of-the-Art Night Faster iPhone At | Robots a Markets Record of iPhone Fail Robots from into into into Via"} {"task_id": "med-headline-style@2", "seed": 1, "instruction": "Rewrite all three drafts in drafts.txt following style_guide.md, in order, separated by ' | ' (without the '#n:' labels). Answers are case-sensitive; each headline is worth one third.", "files": [{"name": "acronyms.txt", "content": "NASA\nGPU\nAPI\nEU\nAI\nSQL\nNFL\nCEO\n"}, {"name": "brands.txt", "content": "iPhone\neBay\nYouTube\nmacOS\nGitHub\n"}, {"name": "drafts.txt", "content": "#1: GPU in built-in from new NEW check-in quiet to: by inside inside BY\n#2: budgets quiet DOING sql an OVER DOING eu follow-up faster STATE-OF-THE-ART BUT to\n#3: DOING to budget BUT ai mail NEW UP-TO-DATE the the quiet: AND\n"}, {"name": "style_guide.md", "content": "# Headline style (title case)\n1. Capitalize the first letter of every word and lowercase the rest, except as below.\n2. Lowercase these small words unless they are the first word, the last word, or follow a colon: a, an, and, as, at, but, by, for, from, in, into, nor, of, on, or, over, so, the, to, up, via, with, yet.\n3. Words in acronyms.txt are written in all capitals wherever they appear.\n4. Brand names in brands.txt keep exactly the casing listed there, wherever they appear.\n5. Hyphenated compounds: capitalize the first part; capitalize each later part unless it is one of the small words in rule 2 (Built-in, State-of-the-Art, Long-Term). This holds wherever the compound appears, including as the last word.\n6. Keep punctuation exactly as written; separate words with single spaces.\n"}], "reference_answer": "GPU in Built-in from New New Check-in Quiet to: By Inside Inside By | Budgets Quiet Doing SQL an over Doing EU Follow-up Faster State-of-the-Art but To | Doing to Budget but AI Mail New Up-to-Date the the Quiet: And"} {"task_id": "med-headline-style@2", "seed": 2, "instruction": "Rewrite all three drafts in drafts.txt following style_guide.md, in order, separated by ' | ' (without the '#n:' labels). Answers are case-sensitive; each headline is worth one third.", "files": [{"name": "acronyms.txt", "content": "NASA\nGPU\nAPI\nEU\nAI\nSQL\nNFL\nCEO\n"}, {"name": "brands.txt", "content": "iPhone\neBay\nYouTube\nmacOS\nGitHub\n"}, {"name": "drafts.txt", "content": "#1: DOING QUIET long-term for at inside youtube via new github: OF NASA LEARN LONG-TERM and\n#2: ZERO SORT BUILT-IN by GPU MACOS YET chips robots: and a IN\n#3: check-in SHIP AT and sort follow-up data ceo learn on EU\n"}, {"name": "style_guide.md", "content": "# Headline style (title case)\n1. Capitalize the first letter of every word and lowercase the rest, except as below.\n2. Lowercase these small words unless they are the first word, the last word, or follow a colon: a, an, and, as, at, but, by, for, from, in, into, nor, of, on, or, over, so, the, to, up, via, with, yet.\n3. Words in acronyms.txt are written in all capitals wherever they appear.\n4. Brand names in brands.txt keep exactly the casing listed there, wherever they appear.\n5. Hyphenated compounds: capitalize the first part; capitalize each later part unless it is one of the small words in rule 2 (Built-in, State-of-the-Art, Long-Term). This holds wherever the compound appears, including as the last word.\n6. Keep punctuation exactly as written; separate words with single spaces.\n"}], "reference_answer": "Doing Quiet Long-Term for at Inside YouTube via New GitHub: Of NASA Learn Long-Term And | Zero Sort Built-in by GPU macOS yet Chips Robots: And a In | Check-in Ship at and Sort Follow-up Data CEO Learn on EU"}