id stringlengths 11 45 | domain stringclasses 5
values | language stringclasses 2
values | source stringclasses 6
values | license stringclasses 5
values | group_id stringlengths 8 35 | task stringclasses 77
values | attribution stringlengths 0 758 | messages listlengths 2 2 | grading dict | split stringclasses 1
value |
|---|---|---|---|---|---|---|---|---|---|---|
reason2-pareto-054 | reasoning | ru | Original | CC0-1.0 | reason2-pareto | workshop_pareto | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Для печати плаката доступны заказы (дни, цена): M (14, 44); L (9, 22); J (18, 65); T (6, 32); A (19, 64); N (7, 58); E (5, 30); H (24, 25). Отбрось любой вариант, для которого другой вариант одновременно дешевле и быстрее. Запиши коды оставшихся в алфавитном порядке через пробе... | {
"type": "exact",
"value": "E L",
"tests": []
} | train |
wiki-read-ru-fd0ef47c17ccc36fcd61 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-6d04f542b426bec69aee1f | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-3959222329101275559-0 (Apache-2.0). Wikipedia contributors, “Kanon” (https://ru.wikipedia.org/wiki/Kanon), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Kanon\n\nKanon(カノン,Канон) — японский визуальный роман, разработанный компанией Key и выпущенный для персональных компьютеров 4 июня 1999 года. Позже были выпущены версии игры, не содержавшие эротических сцен между главными героями, а также было осуществлено портирование на плат... | {
"type": "exact",
"value": "1999-06-04",
"tests": []
} | train |
algpy-385bf2c51b284812-check-assertions | code | en | TheAlgorithms/Python | MIT | algpy-385bf2c51b284812 | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/numerical_analysis/bisection_2.py#bisection; adapted exercises | [
{
"role": "user",
"content": "Exactly one test misstates what this implementation returns. Identify it and compute the correct result. End with the letter and the corrected Python repr, for example A: 42.\n```python\ndef equation(x):\n return 10 - x * x\n\ndef compute(a, b):\n if equation(a) * equatio... | {
"type": "exact",
"value": "B: 3.161133",
"tests": []
} | train |
gsm-train-1551 | math | en | GSM8K | MIT | gsm8k-74de21124bc6d3509246 | word_problem_4_steps | OpenAI (2021), GSM8K, original train row 1551 | [
{
"role": "user",
"content": "Hortense loves daisies and sunflowers. She planted 25 daisy seeds and 25 sunflower seeds in her flower bed. If 60% of the daisy seeds germinate, and 80% of the sunflower seeds germinate, and 80% of the resulting plants produce flowers, how many plants will she grow that produ... | {
"type": "number",
"value": "28",
"tests": []
} | train |
reason2-line_breaks-029 | reasoning | ru | Original | CC0-1.0 | reason2-line_breaks | workshop_line_breaks | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Длины слов заголовка в символах, от первого слова к последнему: 4, 6, 6, 7, 2, 8, 6, 5. Предельная длина строки — 12. Между соседними словами ровно один пробел. Менять порядок и переносить часть слова нельзя. Каково наименьшее число строк?\nПокажи короткую проверку, а в конце н... | {
"type": "number",
"value": "5",
"tests": []
} | train |
algpy-e6ae1a49180a523d-repair | code | en | TheAlgorithms/Python | MIT | algpy-e6ae1a49180a523d | repair | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, dynamic_programming/sum_of_subset.py#is_sum_subset; adapted exercises | [
{
"role": "user",
"content": "Repair this Python function. For a list of nonnegative integers and a nonnegative target, return True if a subset of positions sums to the target. The empty subset is allowed.\nFor is_sum_subset([2, 3, 6], 2) it should return True, but returns False. Keep the signature.\n```pyt... | {
"type": "code",
"value": "",
"tests": [
"assert is_sum_subset([], 0) == True",
"assert is_sum_subset([], 1) == False",
"assert is_sum_subset([], 2) == False",
"assert is_sum_subset([], 4) == False",
"assert is_sum_subset([], 5) == False",
"assert is_sum_subset([], 7) == False",
"asse... | train |
wiki-read-en-abc95475dc43b99b8212 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-c671e38c5a770da596d356 | definition | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--6537518120991839022-1 (Apache-2.0). Wikipedia contributors, “Italic languages” (https://en.wikipedia.org/wiki/Italic_languages), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Italic languages\n\nThe Italic languages are a branch of the Indo-European language family, originally spoken by Italic peoples. They include Latin and its descendants (the Romance languages), as well as a number of extinct languages of the Italian Peninsula, including Umbrian,... | {
"type": "exact",
"value": "a branch of the Indo-European language family, originally spoken by Italic peoples",
"tests": []
} | train |
algpy-94ecec8d059fed57-check-assertions | code | en | TheAlgorithms/Python | MIT | algpy-94ecec8d059fed57 | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/points_are_collinear_3d.py#create_vector; adapted exercises | [
{
"role": "user",
"content": "Exactly one test misstates what this implementation returns. Identify it and compute the correct result. End with the letter and the corrected Python repr, for example A: 42.\n```python\ndef compute(end_point1, end_point2):\n x = end_point2[0] - end_point1[0]\n y = end_po... | {
"type": "exact",
"value": "A: (1, 1, 1)",
"tests": []
} | train |
reason2-critical_path-005 | reasoning | ru | Original | CC0-1.0 | reason2-critical_path | workshop_critical_path | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Число рабочих мест в мастерской не ограничено. Время выполнения каждого этапа в минутах: E=5, R=5, M=7, Y=7, U=5, F=2, Z=8. Стрелка X→Y означает, что Y начинает работу после завершения X. Все зависимости: U→E, M→R, U→R, F→Z, M→Z, Z→U. Время отсчитывают с нуля. Когда раньше всег... | {
"type": "number",
"value": "25",
"tests": []
} | train |
wiki-read-en-e98e2e19dae8681edc32 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-1d50074706d36ecaec9d87 | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--3382590523620248159-22 (Apache-2.0). Wikipedia contributors, “Rattlesnake” (https://en.wikipedia.org/wiki/Rattlesnake), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Rattlesnake\n\nThe rattle is composed of a series of hollow, interlocked segments made of keratin, which are created by modifying the scales that cover the tip of the tail. The contraction of special \"shaker\" muscles in the tail causes these segments to vibrate against one an... | {
"type": "exact",
"value": "which is amplified because the segments are hollow",
"tests": []
} | train |
algpy-14d1ab2287b69a59-trace | code | en | TheAlgorithms/Python | MIT | algpy-14d1ab2287b69a59 | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, strings/prefix_function.py#prefix_function; adapted exercises | [
{
"role": "user",
"content": "```python\ndef compute(input_string):\n prefix_result = [0] * len(input_string)\n for i in range(1, len(input_string)):\n j = prefix_result[i - 1]\n while j > 0 and input_string[i] != input_string[j]:\n j = prefix_result[j - 1]\n if input_s... | {
"type": "exact",
"value": "[0, 0, 0, 1, 2, 3, 4, 0]",
"tests": []
} | train |
wiki-read-ru-e56a81be2de6637c5512 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-3f1aed9551f4ca9fb2523f | clause | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--4225331494478392646-0 (Apache-2.0). Wikipedia contributors, “Международный экспериментальный термоядерный реактор” (https://ru.wikipedia.org/wiki/%D0%9C%D0%B5%D0%B6%D0%B4%D1%83%D0%BD%D0%B0%D1%80%D0%BE%D0%B4%D0%BD%D1%8B%D0%B9_%D1%8D%D0%BA%D1%81%D0%BF%D0%B5%D1%80%D0%... | [
{
"role": "user",
"content": "Международный экспериментальный термоядерный реактор\n\nITER (ИТЭР; изначально English: International Thermonuclear Experimental Reactor; в настоящее время название связывается с латинским словом — путь) — проект международного экспериментального термоядерного реактора. Задача ... | {
"type": "exact",
"value": "которые могут встретиться на этом пути",
"tests": []
} | train |
wiki-read-ru-cca324dde590b4c3afbd | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-a640128c6b4e411e514735 | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-2276022540633430623-0 (Apache-2.0). Wikipedia contributors, “Невский, Александр Александрович” (https://ru.wikipedia.org/wiki/%D0%9D%D0%B5%D0%B2%D1%81%D0%BA%D0%B8%D0%B9%2C_%D0%90%D0%BB%D0%B5%D0%BA%D1%81%D0%B0%D0%BD%D0%B4%D1%80_%D0%90%D0%BB%D0%B5%D0%BA%D1%81%D0%B0%D0... | [
{
"role": "user",
"content": "Невский, Александр Александрович\n\nАлекса́ндр Алекса́ндрович Не́вский (фамилия при рождении — Ку́рицын; род. 17 июля 1971, Москва) — российский актёр, кинорежиссёр, сценарист, продюсер, писатель, культурист, общественный деятель. Называет себя русским Шварценеггером.\n\nКакое ... | {
"type": "exact",
"value": "фамилия при рождении — Ку́рицын; род. 17 июля 1971, Москва",
"tests": []
} | train |
algpy-9ad31d353cf20979-repair | code | en | TheAlgorithms/Python | MIT | algpy-9ad31d353cf20979 | repair | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, bit_manipulation/single_bit_manipulation_operations.py#is_bit_set; adapted exercises | [
{
"role": "user",
"content": "Repair this Python function. For a nonnegative integer and a zero-based position counted from the right, return True if that bit equals 1.\nFor is_bit_set(0, 0) it should return False, but returns True. Keep the signature.\n```python\ndef is_bit_set(number, position):\n retu... | {
"type": "code",
"value": "",
"tests": [
"assert is_bit_set(0, 0) == False",
"assert is_bit_set(0, 1) == False",
"assert is_bit_set(0, 2) == False",
"assert is_bit_set(0, 7) == False",
"assert is_bit_set(1, 0) == True",
"assert is_bit_set(1, 1) == False",
"assert is_bit_set(1, 2) == F... | train |
wiki-read-en-76b7b5f0e2e4b850f42a | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-0c1eceda868136814501a0 | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--8942518407361847185-1 (Apache-2.0). Wikipedia contributors, “Dissenting opinion” (https://en.wikipedia.org/wiki/Dissenting_opinion), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Dissenting opinion\n\nA dissenting opinion (or dissent) is an opinion in a legal case in certain legal systems written by one or more judges expressing disagreement with the majority opinion of the court which gives rise to its judgment. When not necessarily referring to a lega... | {
"type": "exact",
"value": "or dissent",
"tests": []
} | train |
gsm-train-4334 | math | en | GSM8K | MIT | gsm8k-7ad7dd47d30cdca5a63c | word_problem_4_steps | OpenAI (2021), GSM8K, original train row 4334 | [
{
"role": "user",
"content": "The show Magic King was on the air for 10 seasons and 20 episodes per season for the first half of seasons and 25 for the second half of the show. How many total episodes were there?\nShow a short calculation. Put the final number alone on the last line."
},
{
"role": ... | {
"type": "number",
"value": "225",
"tests": []
} | train |
wiki-read-ru-364beae9a981c0385488 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-92aa15da02ce455140d43b | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--5906668091423086781-15 (Apache-2.0). Wikipedia contributors, “КамАЗ” (https://ru.wikipedia.org/wiki/%D0%9A%D0%B0%D0%BC%D0%90%D0%97), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "КамАЗ\n\nПервый автомобиль КамАЗ сошёл с главного сборочного конвейера 16 февраля 1976 года — бортовой КамАЗ-5320. Этот автомобиль сохранился, он был передан потребителям, долгое время работал в БАССР, позже был выкуплен музеем завода и восстановлен, оставлен в качестве музейно... | {
"type": "exact",
"value": "1976-02-16",
"tests": []
} | train |
reason2-minimum_cover-039 | reasoning | ru | Original | CC0-1.0 | reason2-minimum_cover | workshop_minimum_cover | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Для выставки нужны образцы всех типов 1, 2, 4, 5, 7, 8. Наборы перечислены с типами внутри: U=1/2/5/7; J=1/8; K=8; A=2/5/7; E=4. Дубли допустимы. Какое наименьшее число наборов покроет все типы?\nКратко обоснуй ответ и запиши сам ответ на последней строке."
},
{
"role":... | {
"type": "number",
"value": "3",
"tests": []
} | train |
wiki-read-ru-99f4ca1743437b7b81ce | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-b6da2e39a2f0e8cb22d272 | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--4741559494377493795-1 (Apache-2.0). Wikipedia contributors, “Гребенников, Роман Георгиевич” (https://ru.wikipedia.org/wiki/%D0%93%D1%80%D0%B5%D0%B1%D0%B5%D0%BD%D0%BD%D0%B8%D0%BA%D0%BE%D0%B2%2C_%D0%A0%D0%BE%D0%BC%D0%B0%D0%BD_%D0%93%D0%B5%D0%BE%D1%80%D0%B3%D0%B8%D0%B... | [
{
"role": "user",
"content": "Гребенников, Роман Георгиевич\n\nРоман Гребенников родился 25 августа 1975 года в Волгограде, окончил юридический факультет Волгоградского государственного университета, работал юрисконсультом, а в 1997 году организовал и затем возглавил юридическую фирму «Спартак».\n\nНайди по... | {
"type": "exact",
"value": "1975-08-25",
"tests": []
} | train |
reason2-fair_slots-045 | reasoning | ru | Original | CC0-1.0 | reason2-fair_slots | workshop_fair_slots | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Клуб делит часы студии по одному. Веса секций: H=25, N=34, T=28, Y=16. Следующий час получает секция с наибольшим отношением «вес / (1 + число уже выделенных часов)». При равенстве выбирают первый код по алфавиту. Какой секции достанется час номер 5, если сначала ни у кого нет ... | {
"type": "exact",
"value": "Y",
"tests": []
} | train |
verified-code-covered_units-repair | code | en | Original | CC0-1.0 | verified-code-coverage | verified_repair | Original algorithm and independent oracle, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Correct one line. covered_units([(-3, -1), (2, 5), (7, 8)]) returns 11; expected 6. Given half-open intervals [a,b) with integer endpoints a ≤ b, return the total length of their union. Empty intervals cover nothing; an empty list yields 0.\n```python\ndef covered_units(interva... | {
"type": "code",
"value": "",
"tests": [
"assert covered_units([]) == 0",
"assert covered_units([(1, 1)]) == 0",
"assert covered_units([(0, 3)]) == 3",
"assert covered_units([(0, 2), (2, 4)]) == 4",
"assert covered_units([(0, 5), (2, 6), (3, 4)]) == 6",
"assert covered_units([(-2, 1), (-1... | train |
reason2-join_catalogs-004 | reasoning | ru | Original | CC0-1.0 | reason2-join_catalogs | workshop_join_catalogs | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Каталог связывает код книги с полкой: B43=S1, B10=S3, B50=S9, B62=S7, B34=S3. Соответствие полок и залов: S7=A, S3=D, S9=P, S1=P. Число выданных экземпляров по коду книги: B10=10, B34=2, B43=7, B62=4, B50=15. В каком зале больше всего выдач?\nПокажи короткую проверку, а в конце... | {
"type": "exact",
"value": "P",
"tests": []
} | train |
algpy-1ad1866439999f35-change-impact | code | ru | TheAlgorithms/Python | MIT | algpy-1ad1866439999f35 | change-impact | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/largest_of_very_large_numbers.py#res; adapted exercises | [
{
"role": "user",
"content": "В показанном коде строку `return 0` заменяют на `return 1`. Для какого из двух выражений изменится возвращаемое значение? Дай короткое объяснение и запиши букву в последней строке.\n```python\nimport math\n\ndef compute(x, y):\n if 0 not in (x, y):\n return y * math.l... | {
"type": "exact",
"value": "A",
"tests": []
} | train |
wiki-read-en-44f8d6e7055e42934592 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-267c9d5f532e6d44426254 | definition | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--1640258764646360549-0 (Apache-2.0). Wikipedia contributors, “DuckTales” (https://en.wikipedia.org/wiki/DuckTales), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "DuckTales\n\nDuckTales is an American animated television series, produced by Walt Disney Television Animation and distributed by Buena Vista Television. The cartoon series premiered on September 18, 1987, and ran for a total of 100 episodes over four seasons, with its final ep... | {
"type": "exact",
"value": "an American animated television series, produced by Walt Disney Television Animation and distributed by Buena Vista Television",
"tests": []
} | train |
wiki-read-ru-02460d1c86c49770db55 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-5ed9a278b18dfc47f541b9 | clause | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--1453716650387863097-1 (Apache-2.0). Wikipedia contributors, “Плоский мир” (https://ru.wikipedia.org/wiki/%D0%9F%D0%BB%D0%BE%D1%81%D0%BA%D0%B8%D0%B9_%D0%BC%D0%B8%D1%80), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New re... | [
{
"role": "user",
"content": "Плоский мир\n\n«Плоский мир» (English: Discworld — букв. «Мир-диск») — серия книг Терри Пратчетта, написанных в жанре юмористического фэнтези. Серия содержит более 40 книг и ориентирована преимущественно на взрослых, хотя четыре книги были выпущены на рынок как книги для детей ... | {
"type": "exact",
"value": "хотя четыре книги были выпущены на рынок как книги для детей или подростков",
"tests": []
} | train |
reason2-room_peak-005 | reasoning | ru | Original | CC0-1.0 | reason2-room_peak | workshop_room_peak | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Репетиции занимают отдельные комнаты в такие минуты: Y [18,22); P [11,18); T [5,8); X [5,13); U [9,12); D [19,25). Конец интервала уже свободен; одна комната подходит любой группе. Сколько комнат как минимум требуется одновременно?\nПокажи короткую проверку, а в конце на отдель... | {
"type": "number",
"value": "3",
"tests": []
} | train |
wiki-read-en-bc54947cbdbcafa272d8 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-7e9e78dcc642f239b79f1a | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--469562463147660559-0 (Apache-2.0). Wikipedia contributors, “Earth's magnetic field” (https://en.wikipedia.org/wiki/Earth%27s_magnetic_field), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Earth's magnetic field\n\nEarth's magnetic field, also known as the geomagnetic field, is the magnetic field that extends from the Earth's interior out into space, where it meets the solar wind, a stream of charged particles emanating from the Sun. Its magnitude at the Earth's ... | {
"type": "exact",
"value": "0.25 to 0.65gauss",
"tests": []
} | train |
verified-code-route_count-trace | code | en | Original | CC0-1.0 | verified-code-grid_walks | verified_trace | Original algorithm and independent oracle, release 2; CC0-1.0. | [
{
"role": "user",
"content": "```python\ndef route_count(grid):\n dp = [None] * len(grid[0])\n for y, row in enumerate(grid):\n for x, cost in enumerate(row):\n prev = [p for p in (dp[x], dp[x-1] if x else None) if p is not None]\n if cost is None:\n dp[x] =... | {
"type": "exact",
"value": "1",
"tests": []
} | train |
wiki-read-en-2f3287986c99410c2511 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-0e540a58c921a130d44f9c | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-200483726981825862-0 (Apache-2.0). Wikipedia contributors, “Oksana Chusovitina” (https://en.wikipedia.org/wiki/Oksana_Chusovitina), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Oksana Chusovitina\n\nOksana Aleksandrovna Chusovitina (Russian: Оксана Александровна Чусовитина; born 19 June 1975) is a world and Olympic level gymnast who has competed for the Soviet Union, Uzbekistan, and Germany.\n\nFind the full calendar date whose month is spelled out. W... | {
"type": "exact",
"value": "1975-06-19",
"tests": []
} | train |
wiki-read-ru-89c54c159f5f97984296 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-6433b5e05ed0de382da664 | clause | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-3905766024687279925-1 (Apache-2.0). Wikipedia contributors, “Предыстория венгров” (https://ru.wikipedia.org/wiki/%D0%9F%D1%80%D0%B5%D0%B4%D1%8B%D1%81%D1%82%D0%BE%D1%80%D0%B8%D1%8F_%D0%B2%D0%B5%D0%BD%D0%B3%D1%80%D0%BE%D0%B2), snapshot 2019-02-01 (CC-BY-SA-3.0). Excer... | [
{
"role": "user",
"content": "Предыстория венгров\n\nПроисхождение венгров и их первоначальная прародина остаются спорным вопросом из-за скудости письменных материалов и отсутствия привязки к археологическим культурам. До XIX века не было известно даже, к какой группе относится венгерский язык, однако, благ... | {
"type": "exact",
"value": "который свидетельствует о значительной роли коневодства",
"tests": []
} | train |
wiki-read-en-820c47f14afef3747b8a | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-158c8bc60ba0881831e1dd | clause | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-2010909363356854464-1 (Apache-2.0). Wikipedia contributors, “Red Lantern Corps” (https://en.wikipedia.org/wiki/Red_Lantern_Corps), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Red Lantern Corps\n\nThey debuted in Green Lantern vol. 4 #25 (December 2007) and were created by Geoff Johns and Ethan Van Sciver. Some of their characteristics were inspired by 28 Days Later, which is one of Van Sciver's favorite films.\n\nWhich part of the sentence begins wi... | {
"type": "exact",
"value": "which is one of Van Sciver's favorite films",
"tests": []
} | train |
wiki-read-en-e5181e8832cb1f16c38e | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-927d48cb80f1833c990ad9 | definition | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-6002643225336950954-0 (Apache-2.0). Wikipedia contributors, “Atmosphere of Venus” (https://en.wikipedia.org/wiki/Atmosphere_of_Venus), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Atmosphere of Venus\n\nThe atmosphere of Venus is the layer of gases surrounding Venus. It is composed primarily of carbon dioxide and is much denser and hotter than that of Earth. The temperature at the surface is 740K (467°C, 872°F), and the pressure is 93bar (9.3MPa), roughl... | {
"type": "exact",
"value": "the layer of gases surrounding Venus",
"tests": []
} | train |
reason2-rotate_grid-007 | reasoning | ru | Original | CC0-1.0 | reason2-rotate_grid | workshop_rotate_grid | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Исходные строки табло сверху вниз: M S G L / J Z A W / P T Y U. Выполни циклические сдвиги по порядку: столбец 4 на 2 вниз; строка 3 на 1 вправо; столбец 2 на 2 вниз; строка 1 на 1 вправо. Какой символ теперь в строке 2, столбце 2? Нумерация с единицы.\nПокажи короткую проверку... | {
"type": "exact",
"value": "P",
"tests": []
} | train |
reason2-line_breaks-048 | reasoning | ru | Original | CC0-1.0 | reason2-line_breaks | workshop_line_breaks | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Длины слов заголовка в символах, от первого слова к последнему: 8, 2, 5, 9, 5, 4, 3, 6, 3, 3. Предельная длина строки — 12. Между соседними словами ровно один пробел. Менять порядок и переносить часть слова нельзя. Каково наименьшее число строк?\nКратко обоснуй ответ и запиши с... | {
"type": "number",
"value": "6",
"tests": []
} | train |
algpy-f1fff82f67ee6081-check-assertions | code | en | TheAlgorithms/Python | MIT | algpy-f1fff82f67ee6081 | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, scheduling/round_robin.py#calculate_turn_around_times; adapted exercises | [
{
"role": "user",
"content": "Exactly one test misstates what this implementation returns. Identify it and compute the correct result. End with the letter and the corrected Python repr, for example A: 42.\n```python\ndef compute(burst_times, waiting_times):\n return [burst + waiting for burst, waiting in... | {
"type": "exact",
"value": "A: [1, 3, 6]",
"tests": []
} | train |
reason2-motif_growth-019 | reasoning | ru | Original | CC0-1.0 | reason2-motif_growth | workshop_motif_growth | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Начальный орнамент YK. За проход каждый исходный символ одновременно заменяют по правилам Y→KYK; K→KY; новые символы в том же проходе не заменяются. Сколько символов K будет после 5 проходов?\nПриведи ход решения в нескольких фразах. На последней строке оставь только ответ."
... | {
"type": "number",
"value": "99",
"tests": []
} | train |
algpy-5d766d0b089aef0e-implement | code | en | TheAlgorithms/Python | MIT | algpy-5d766d0b089aef0e | implement | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, conversions/endianness.py#swap_endianness_64; adapted exercises | [
{
"role": "user",
"content": "Implement this Python function. Reverse the order of the 8 bytes of an unsigned 64-bit integer. Return the resulting unsigned integer.\nSignature: def swap_endianness_64(value):\nExamples:\n```python\nassert swap_endianness_64(0) == 0\nassert swap_endianness_64(1) == 7205759403... | {
"type": "code",
"value": "",
"tests": [
"assert swap_endianness_64(255) == 18374686479671623680",
"assert swap_endianness_64(256) == 281474976710656",
"assert swap_endianness_64(257) == 72339069014638592",
"assert swap_endianness_64(4096) == 4503599627370496",
"assert swap_endianness_64(1844... | train |
math-verified-quadratic_samples-001 | math | ru | Original | CC0-1.0 | math-verified-quadratic_samples | verified_math_quadratic_samples | Original bilingual mathematics exercises, CC0-1.0 | [
{
"role": "user",
"content": "Известно, что f — квадратный многочлен. Даны значения f(-5) = -17, f(-4) = -8, f(-3) = -1. Чему равно f(-2)?\nЗапиши точное число в последней строке; нецелый ответ дай несократимой дробью."
},
{
"role": "assistant",
"content": "Аргументы идут с шагом 1. Две соседние... | {
"type": "number",
"value": "4",
"tests": []
} | train |
algpy-8c0a5853935ce376-check-assertions | code | en | TheAlgorithms/Python | MIT | algpy-8c0a5853935ce376 | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/special_numbers/harshad_numbers.py#int_to_base; adapted exercises | [
{
"role": "user",
"content": "Exactly one test misstates what this implementation returns. Identify it and compute the correct result. End with the letter and the corrected Python repr, for example A: 42.\n```python\ndef compute(number, base):\n if base < 2 or base > 36:\n raise ValueError(\"'base... | {
"type": "exact",
"value": "B: '0'",
"tests": []
} | train |
math-verified-route_speed-023 | math | ru | Original | CC0-1.0 | math-verified-route_speed | verified_math_route_speed | Original bilingual mathematics exercises, CC0-1.0 | [
{
"role": "user",
"content": "Велосипедист ехал 70 мин со скоростью 18 км/ч, отдыхал 5 мин, затем ехал 60 мин со скоростью 24 км/ч. На обеих частях пути скорость была постоянной. Какова средняя скорость в км/ч за всё время от старта до финиша вместе с остановкой?\nЗапиши точное число в последней строке; нец... | {
"type": "number",
"value": "20",
"tests": []
} | train |
reason2-light_piece-067 | reasoning | ru | Original | CC0-1.0 | reason2-light_piece | workshop_light_piece | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Детали F, K, X, T, Z, W, D, L, Y должны весить одинаково, но ровно одна легче. На чаши каждый раз кладут поровну деталей. Результаты (знаки сравнивают массу левой и правой чаш): K+T+X+L > D+F+Y+Z; W+X+L > D+Y+Z; Y+X+L+F > W+T+Z+D; L+Z+X+F < Y+D+T+W. Какая деталь легче?\nПокажи ... | {
"type": "exact",
"value": "Z",
"tests": []
} | train |
algpy-e5ab44ee4e3455ef-change-impact | code | en | TheAlgorithms/Python | MIT | algpy-e5ab44ee4e3455ef | change-impact | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/points_are_collinear_3d.py#get_3d_vectors_cross; adapted exercises | [
{
"role": "user",
"content": "Suppose `z = ab[0] * ac[1] - ab[1] * ac[0]` is replaced by `z = ab[-1] * ac[1] - ab[1] * ac[0]` in the program below. Which expression changes its returned value? Briefly explain and write its letter on the last line.\n```python\ndef compute(ab, ac):\n x = ab[1] * ac[2] - ab... | {
"type": "exact",
"value": "B",
"tests": []
} | train |
verified-code-turn_around-trace | code | en | Original | CC0-1.0 | verified-code-rotate | verified_trace | Original algorithm and independent oracle, release 2; CC0-1.0. | [
{
"role": "user",
"content": "```python\ndef turn_around(grid):\n if not grid:\n return []\n h, w = len(grid), len(grid[0])\n return [[grid[h-1-y][w-1-x] for x in range(w)] for y in range(h)]\n```\nWhat does turn_around([[0, -2], [3, 4]]) return? Give only the Python repr of the result."
}... | {
"type": "exact",
"value": "[[4, 3], [-2, 0]]",
"tests": []
} | train |
algpy-37bea3ce1c77ad4e-trace | code | ru | TheAlgorithms/Python | MIT | algpy-37bea3ce1c77ad4e | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, scheduling/first_come_first_served.py#calculate_waiting_times; adapted exercises | [
{
"role": "user",
"content": "```python\ndef compute(duration_times):\n waiting_times = [0] * len(duration_times)\n for i in range(1, len(duration_times)):\n waiting_times[i] = duration_times[i - 1] + waiting_times[i - 1]\n return waiting_times\n```\nЧто вернёт выражение compute([10, 3])? За... | {
"type": "exact",
"value": "[0, 10]",
"tests": []
} | train |
wiki-read-en-e8f3b57cb39cc1674647 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-6f587bf436b7d1e515ecf5 | clause | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--9033727447423253721-0 (Apache-2.0). Wikipedia contributors, “Huey, Dewey, and Louie” (https://en.wikipedia.org/wiki/Huey%2C_Dewey%2C_and_Louie), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Huey, Dewey, and Louie\n\nHuey, Dewey, and Louie Duck are triplet cartoon characters created in 1937 by writer Ted Osborne and cartoonist Al Taliaferro, and are owned by The Walt Disney Company. Huey, Dewey, and Louie are the nephews of Donald Duck and the grandnephews of Scroo... | {
"type": "exact",
"value": "which are sometimes used to differentiate each character",
"tests": []
} | train |
wiki-read-ru-e86d0a3f5328f426e5ba | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-34d2d78e9b4ca426bf4710 | chronology | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-5164836015665629493-1 (Apache-2.0). Wikipedia contributors, “Уэст, Канье” (https://ru.wikipedia.org/wiki/%D0%A3%D1%8D%D1%81%D1%82%2C_%D0%9A%D0%B0%D0%BD%D1%8C%D0%B5), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New readin... | [
{
"role": "user",
"content": "Уэст, Канье\n\nКанье Уэст известен своими прямыми высказываниями на различных церемониях и в социальных медиа, что не раз приводило к скандалам. В качестве дизайнера он работал с такими компаниями, как Nike и Louis Vuitton, а в 2013 году запустил совместно с Adidas линию одежды... | {
"type": "exact",
"value": "2013, 2014",
"tests": []
} | train |
gsm-train-1866 | math | en | GSM8K | MIT | gsm8k-47127f1a11bef3340bed | word_problem_6_steps | OpenAI (2021), GSM8K, original train row 1866 | [
{
"role": "user",
"content": "Linda's bag has 2 dimes, 6 quarters, and 5 nickels. Her mother gives her 2 more dimes, 10 quarters, and twice as many nickels as she has. How many coins does she have altogether?\nShow a short calculation. Put the final number alone on the last line."
},
{
"role": "assi... | {
"type": "number",
"value": "35",
"tests": []
} | train |
reason2-light_piece-015 | reasoning | ru | Original | CC0-1.0 | reason2-light_piece | workshop_light_piece | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Детали D, P, Z, L, W, A, E должны весить одинаково, но ровно одна легче. На чаши каждый раз кладут поровну деталей. Результаты (знаки сравнивают массу левой и правой чаш): A+P+W > D+L+Z; P+W = A+L; P+W+Z > E+L+D. Какая деталь легче?\nКратко обоснуй ответ и запиши сам ответ на п... | {
"type": "exact",
"value": "D",
"tests": []
} | train |
reason2-motif_growth-012 | reasoning | en | Original | CC0-1.0 | reason2-motif_growth | workshop_motif_growth | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "A pattern starts as YFY. During each pass, replace every current symbol simultaneously using Y→R; R→RR; F→FYY. Newly produced symbols wait for the next pass. After 3 passes, how many R symbols are there?\nShow a short check. Give the final answer on a separate line."
},
{
... | {
"type": "number",
"value": "14",
"tests": []
} | train |
reason2-order_count-023 | reasoning | ru | Original | CC0-1.0 | reason2-order_count | workshop_order_count | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Экспонаты Y, X, G, A, J выносят по одному, каждый ровно раз. Правило X→Y требует вынести X раньше Y. Правила: X→A, Y→A, Y→J. Сколько полных порядков допускают эти условия?\nПокажи короткую проверку, а в конце на отдельной строке дай ответ."
},
{
"role": "assistant",
... | {
"type": "number",
"value": "25",
"tests": []
} | train |
reason2-connected_groups-064 | reasoning | ru | Original | CC0-1.0 | reason2-connected_groups | workshop_connected_groups | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Сначала у каждого кода из списка T, S, M, P, A, Z, L, E, G свой архив. Связь между двумя кодами объединяет их архивы целиком; это распространяется по цепочке. Все действующие связи: P–M, G–L, E–L, G–S, Z–M, P–Z, S–T, T–E. Добавляют связь E–M. Сколько кодов будет в образовавшемс... | {
"type": "number",
"value": "8",
"tests": []
} | train |
math-verified-tickets-003 | math | ru | Original | CC0-1.0 | math-verified-tickets | verified_math_tickets | Original bilingual mathematics exercises, CC0-1.0 | [
{
"role": "user",
"content": "За групповой заказ на 75 билетов заплатили 4628 руб., включая один сбор 3 руб. за весь заказ. Обычный билет стоил 75 руб., льготный — 55 руб. Сколько обычных билетов купили?\nЗапиши точное число в последней строке; нецелый ответ дай несократимой дробью."
},
{
"role": "a... | {
"type": "number",
"value": "25",
"tests": []
} | train |
wiki-read-en-94fb089239e02ed50abe | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-4da6ccc425cb722258091b | chronology | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-50264523761139823-2 (Apache-2.0). Wikipedia contributors, “Irish diaspora” (https://en.wikipedia.org/wiki/Irish_diaspora), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Irish diaspora\n\nAfter 1840, emigration from Ireland became a massive, relentless, and efficiently managed national enterprise. In 1890 40% of Irish-born people were living abroad. By the 21st century, an estimated 80 million people worldwide claimed some Irish descent, which ... | {
"type": "exact",
"value": "1840, 1890",
"tests": []
} | train |
reason2-connected_groups-013 | reasoning | en | Original | CC0-1.0 | reason2-connected_groups | workshop_connected_groups | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Each code in H, X, G, T, W, P, J, F, U, N initially has its own archive. Linking two codes merges their entire archives, including indirect links. The full list of existing links is G–J, J–U, N–P, T–G, P–F, T–X, U–T, H–F, X–J, W–F. One new link F–U is added. How many codes belo... | {
"type": "number",
"value": "10",
"tests": []
} | train |
wiki-read-ru-54f11bfb85afd402bc7d | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-db8dad88d07291d04de2fe | definition | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-895321489228266019-6 (Apache-2.0). Wikipedia contributors, “Незнайка” (https://ru.wikipedia.org/wiki/%D0%9D%D0%B5%D0%B7%D0%BD%D0%B0%D0%B9%D0%BA%D0%B0), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Незнайка\n\nНезнайка — коротышка среднего роста с большой головой и маленьким носом. Он носит широкополую голубую шляпу (типа сомбреро), канареечные брюки, оранжевую рубашку и зелёный галстук. Любит яркие цвета. Основными чертами Незнайки являются хвастливость, невежество, смел... | {
"type": "exact",
"value": "коротышка среднего роста с большой головой и маленьким носом",
"tests": []
} | train |
reason2-editing_history-027 | reasoning | en | Original | CC0-1.0 | reason2-editing_history | workshop_editing_history | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "An editor field starts at K. Writing replaces its value and discards any redo history. Undo moves to the previous value, redo restores an undone edit, and an unavailable action has no effect. Commands: write B; write H; redo; undo; redo; undo; undo; redo; write T; redo; write M... | {
"type": "exact",
"value": "J",
"tests": []
} | train |
reason2-critical_path-036 | reasoning | ru | Original | CC0-1.0 | reason2-critical_path | workshop_critical_path | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Число рабочих мест в мастерской не ограничено. Время выполнения каждого этапа в минутах: X=4, E=4, K=6, L=6, T=6, D=9, Y=7. Стрелка X→Y означает, что Y начинает работу после завершения X. Все зависимости: T→E, X→E, X→Y, T→L, T→X, E→D, K→D, T→D, Y→D. Время отсчитывают с нуля. Ко... | {
"type": "number",
"value": "26",
"tests": []
} | train |
wiki-read-ru-870d4d9902b265a492af | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-e446b3a6d63dabbce39f00 | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--5829925244854321837-27 (Apache-2.0). Wikipedia contributors, “Бор, Нильс” (https://ru.wikipedia.org/wiki/%D0%91%D0%BE%D1%80%2C_%D0%9D%D0%B8%D0%BB%D1%8C%D1%81), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exe... | [
{
"role": "user",
"content": "Бор, Нильс\n\nВ 1922 году Бору была присуждена Нобелевская премия по физике «за заслуги в изучении строения атома». В своей лекции «О строении атомов», прочитанной в Стокгольме 11 декабря 1922 года, Бор подвёл итоги десятилетней работы.\n\nНайди полную календарную дату, у котор... | {
"type": "exact",
"value": "1922-12-11",
"tests": []
} | train |
gsm-train-649 | math | en | GSM8K | MIT | gsm8k-d185516aa347c3465be4 | word_problem_4_steps | OpenAI (2021), GSM8K, original train row 649 | [
{
"role": "user",
"content": "The school band has 30 songs in their repertoire. The band played 5 songs in their first set and 7 in their second set. The band will play 2 songs for their encore. Assuming the band plays through their entire repertoire, how many songs will they play on average in the third an... | {
"type": "number",
"value": "8",
"tests": []
} | train |
reason2-critical_path-058 | reasoning | ru | Original | CC0-1.0 | reason2-critical_path | workshop_critical_path | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Число рабочих мест в мастерской не ограничено. Время выполнения каждого этапа в минутах: A=5, F=3, N=9, S=4, M=3, C=5, R=3. Стрелка X→Y означает, что Y начинает работу после завершения X. Все зависимости: N→C, C→A, A→R, M→R, N→S, S→F, F→M. Время отсчитывают с нуля. Когда раньше... | {
"type": "number",
"value": "22",
"tests": []
} | train |
reason2-missing_cells-018 | reasoning | ru | Original | CC0-1.0 | reason2-missing_cells | workshop_missing_cells | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "В таблице учёта столбцы идут в порядке N, Y, F. После вертикальной черты указан итог строки. Строки: R6: 5 / 5 / 8 | 18; R9: 10 / ? / ? | 20; R11: 7 / 4 / 15 | 26; R3: 2 / ? / 2 | 9; R5: 12 / 12 / 9 | 33. Итоги столбцов: N=36, Y=31, F=39. Какое число скрыто в строке R9, столбце... | {
"type": "number",
"value": "5",
"tests": []
} | train |
wiki-read-ru-836944140fb6aacb066a | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-20d8b76f5325cc1859cdde | measurement | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--1000679313292561691-4 (Apache-2.0). Wikipedia contributors, “Колумбия (река)” (https://ru.wikipedia.org/wiki/%D0%9A%D0%BE%D0%BB%D1%83%D0%BC%D0%B1%D0%B8%D1%8F_(%D1%80%D0%B5%D0%BA%D0%B0)), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers ... | [
{
"role": "user",
"content": "Колумбия (река)\n\nДалее река продолжает течь в южном направлении, протекая через восточную часть штата Вашингтон, а при впадении в неё притока Спокан — поворачивает на запад. Вскоре после этого, при впадении в Колумбию правого притока Оканоган, река вновь поворачивает на юг, а... | {
"type": "exact",
"value": "497 км",
"tests": []
} | train |
reason2-connected_groups-041 | reasoning | en | Original | CC0-1.0 | reason2-connected_groups | workshop_connected_groups | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Each code in A, W, G, J, P, S, Y initially has its own archive. Linking two codes merges their entire archives, including indirect links. The full list of existing links is Y–G, G–P, S–Y, P–S, S–G, Y–P. One new link A–Y is added. How many codes belong to the newly merged archiv... | {
"type": "number",
"value": "5",
"tests": []
} | train |
math-verified-tank_posts-018 | math | ru | Original | CC0-1.0 | math-verified-tank_posts | verified_math_tank_posts | Original bilingual mathematics exercises, CC0-1.0 | [
{
"role": "user",
"content": "Внутренние размеры дна прямоугольного бака — 22 × 22 см. В противоположных углах от дна вертикально стоят два сплошных прямоугольных столбика с основаниями 2 × 2 см и 7 × 4 см. Они выше конечного уровня воды и не перекрываются. Сколько литров воды нужно долить, чтобы уровень вы... | {
"type": "number",
"value": "791/125",
"tests": []
} | train |
algpy-fd5763ec42bfdaa0-trace | code | ru | TheAlgorithms/Python | MIT | algpy-fd5763ec42bfdaa0 | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, bit_manipulation/missing_number.py#find_missing_number; adapted exercises | [
{
"role": "user",
"content": "```python\ndef compute(nums):\n low = min(nums)\n high = max(nums)\n missing_number = high\n for i in range(low, high):\n missing_number ^= i ^ nums[i - low]\n return missing_number\n```\nЧто вернёт выражение compute([-2, 2, 1, 3, 0])? Запиши repr результа... | {
"type": "exact",
"value": "-1",
"tests": []
} | train |
wiki-read-en-ba500782a48a6c22ef9b | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-65f7dd39338eba78e196b2 | chronology | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--1300388465234470487-0 (Apache-2.0). Wikipedia contributors, “Chesapeake and Ohio Railway” (https://en.wikipedia.org/wiki/Chesapeake_and_Ohio_Railway), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Chesapeake and Ohio Railway\n\nThe Chesapeake and Ohio Railway (reporting marks C&O, CO) was a Class I railroad formed in 1869 in Virginia from several smaller Virginia railroads begun in the 19th century. Led by industrialist Collis P. Huntington, it reached from Virginia's ca... | {
"type": "exact",
"value": "1869, 1873",
"tests": []
} | train |
algpy-5e414d81fe80d7c1-trace | code | en | TheAlgorithms/Python | MIT | algpy-5e414d81fe80d7c1 | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, conversions/temperature_conversions.py#fahrenheit_to_celsius; adapted exercises | [
{
"role": "user",
"content": "```python\ndef compute(fahrenheit, ndigits=2):\n return round((float(fahrenheit) - 32) * 5 / 9, ndigits)\n```\nWhat does round(compute(273.354, 0), 6) return? Give the Python repr of the value."
},
{
"role": "assistant",
"content": "134.0"
}
] | {
"type": "exact",
"value": "134.0",
"tests": []
} | train |
algpy-4c90ad272389f015-check-assertions | code | en | TheAlgorithms/Python | MIT | algpy-4c90ad272389f015 | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/triplet_sum.py#triplet_sum2; adapted exercises | [
{
"role": "user",
"content": "Exactly one test misstates what this implementation returns. Identify it and compute the correct result. End with the letter and the corrected Python repr, for example A: 42.\n```python\ndef compute(arr, target):\n arr.sort()\n n = len(arr)\n for i in range(n - 1):\n ... | {
"type": "exact",
"value": "A: (5, 7, 23)",
"tests": []
} | train |
reason2-bottleneck-054 | reasoning | en | Original | CC0-1.0 | reason2-bottleneck | workshop_bottleneck | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Bidirectional conveyors admit boxes up to their listed width in cm: R–X=18; T–H=13; T–R=18; E–X=6; T–X=10; Z–E=9; Z–R=17; X–H=9; Z–T=17; E–T=12. A box must travel from Z to H without rotation. What is its largest possible width?\nBriefly justify your result, then put the answer... | {
"type": "number",
"value": "13",
"tests": []
} | train |
wiki-read-en-5ba32ac840f9c0aa5ef1 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-7d2cf89a07e7c9ea62d291 | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--3229540493387275641-0 (Apache-2.0). Wikipedia contributors, “Emperor Xian of Han” (https://en.wikipedia.org/wiki/Emperor_Xian_of_Han), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Emperor Xian of Han\n\nEmperor Xian of Han (2 April 181 – 21 April 234), personal name Liu Xie, courtesy name Bohe, was the 14th and last emperor of the Eastern Han dynasty in China. He reigned from 28 September 189 until 11 December 220.\n\nWhat parenthetical detail immediatel... | {
"type": "exact",
"value": "2 April 181 – 21 April 234",
"tests": []
} | train |
verified-code-coin_reachable-implement | code | en | Original | CC0-1.0 | verified-code-coin_tables | verified_implement | Original algorithm and independent oracle, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Implement coin_reachable(coins, target) in Python. coins contains distinct positive integer denominations in unlimited supply. For integer target ≥ 0 return True if achievable, otherwise False. The empty collection makes zero in one way.\nassert coin_reachable([2], 4) == True"
... | {
"type": "code",
"value": "",
"tests": [
"assert coin_reachable([], 0) == True",
"assert coin_reachable([], 3) == False",
"assert coin_reachable([2, 4], 7) == False",
"assert coin_reachable([1, 3, 4], 6) == True",
"assert coin_reachable([4, 3], 12) == True",
"assert coin_reachable([3, 5],... | train |
reason2-assembly_units-058 | reasoning | ru | Original | CC0-1.0 | reason2-assembly_units | workshop_assembly_units | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Для сборки используются спецификации (правая часть — состав одной единицы): V = 6×P + 3×S; P = 2×C + 1×B; S = 3×C + 2×B. Заказ включает изделия V в количестве 8 и отдельно узлы P в количестве 4. Сколько отдельных деталей B потребуется?\nПокажи короткую проверку, а в конце на от... | {
"type": "number",
"value": "100",
"tests": []
} | train |
verified-code-edit_delete_cost_two-repair | code | en | Original | CC0-1.0 | verified-code-edit_cost | verified_repair | Original algorithm and independent oracle, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Correct one line. edit_delete_cost_two('ab', 'ab') returns 2; expected 0. Return the minimum cost to change string a into b. Inserting a character costs 1, deleting costs 2, and substituting one costs 1. Keeping a match is free. Either string may be empty.\n```python\ndef edit_... | {
"type": "code",
"value": "",
"tests": [
"assert edit_delete_cost_two('', '') == 0",
"assert edit_delete_cost_two('', 'ab') == 2",
"assert edit_delete_cost_two('zo', '') == 4",
"assert edit_delete_cost_two('cab', 'a') == 4",
"assert edit_delete_cost_two('ab', 'ba') == 2",
"assert edit_del... | train |
reason2-assembly_units-045 | reasoning | en | Original | CC0-1.0 | reason2-assembly_units | workshop_assembly_units | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Each bill of materials lists the contents of one unit: P = 4×U + 6×F; U = 4×S + 3×K; F = 4×S + 4×K. The order requires 7 units of P plus 7 additional units of U. How many individual K parts are needed?\nBriefly justify your result, then put the answer alone on the last line."
... | {
"type": "number",
"value": "273",
"tests": []
} | train |
reason2-minimum_cover-005 | reasoning | ru | Original | CC0-1.0 | reason2-minimum_cover | workshop_minimum_cover | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Для выставки нужны образцы всех типов 1, 3, 4, 6, 9. Наборы перечислены с типами внутри: G=3; W=1/3/9; J=6; U=4; S=9. Дубли допустимы. Какое наименьшее число наборов покроет все типы?\nПокажи короткую проверку, а в конце на отдельной строке дай ответ."
},
{
"role": "ass... | {
"type": "number",
"value": "3",
"tests": []
} | train |
algpy-70d3f225b748e549-check-assertions | code | ru | TheAlgorithms/Python | MIT | algpy-70d3f225b748e549 | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, conversions/temperature_conversions.py#rankine_to_kelvin; adapted exercises | [
{
"role": "user",
"content": "Один из тестов противоречит фактическому поведению этой функции. Определи его и вычисли верный результат. В последней строке запиши букву и результат через двоеточие, например A: 42.\n```python\ndef compute(rankine, ndigits=2):\n return round(float(rankine) * 5 / 9, ndigits)... | {
"type": "exact",
"value": "A: 0.0",
"tests": []
} | train |
algpy-38d2606fe83d35b9-trace | code | en | TheAlgorithms/Python | MIT | algpy-38d2606fe83d35b9 | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/special_numbers/ugly_numbers.py#ugly_numbers; adapted exercises | [
{
"role": "user",
"content": "```python\ndef compute(n):\n ugly_nums = [1]\n i2, i3, i5 = (0, 0, 0)\n next_2 = ugly_nums[i2] * 2\n next_3 = ugly_nums[i3] * 3\n next_5 = ugly_nums[i5] * 5\n for _ in range(1, n):\n next_num = min(next_2, next_3, next_5)\n ugly_nums.append(next_... | {
"type": "exact",
"value": "1",
"tests": []
} | train |
reason2-join_catalogs-006 | reasoning | ru | Original | CC0-1.0 | reason2-join_catalogs | workshop_join_catalogs | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Каталог связывает код книги с полкой: B25=S2, B28=S9, B64=S4, B70=S2, B42=S4. Соответствие полок и залов: S9=U, S4=C, S2=M. Число выданных экземпляров по коду книги: B42=7, B25=10, B28=9, B70=16, B64=16. В каком зале больше всего выдач?\nПокажи короткую проверку, а в конце на о... | {
"type": "exact",
"value": "M",
"tests": []
} | train |
reason2-connected_groups-043 | reasoning | ru | Original | CC0-1.0 | reason2-connected_groups | workshop_connected_groups | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Сначала у каждого кода из списка T, G, P, E, H, J, C, F, U, S свой архив. Связь между двумя кодами объединяет их архивы целиком; это распространяется по цепочке. Все действующие связи: P–E, T–H, E–J, T–E, P–C, J–T, G–P, U–C, H–S, J–G, S–E, U–E, J–S, S–P, C–G, C–S. Добавляют свя... | {
"type": "number",
"value": "10",
"tests": []
} | train |
algpy-825864d8f2f7d090-trace | code | ru | TheAlgorithms/Python | MIT | algpy-825864d8f2f7d090 | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/perfect_number.py#perfect_optimized; adapted exercises | [
{
"role": "user",
"content": "```python\ndef perfect_optimized(number):\n if not isinstance(number, int):\n raise ValueError('number must be an integer')\n if number <= 1:\n return False\n divisor_sum = 1\n i = 2\n while i * i <= number:\n if number % i == 0:\n ... | {
"type": "exact",
"value": "False",
"tests": []
} | train |
algpy-a77f3752f46b0717-check-assertions | code | en | TheAlgorithms/Python | MIT | algpy-a77f3752f46b0717 | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, scheduling/first_come_first_served.py#calculate_turnaround_times; adapted exercises | [
{
"role": "user",
"content": "Exactly one test misstates what this implementation returns. Identify it and compute the correct result. End with the letter and the corrected Python repr, for example A: 42.\n```python\ndef compute(duration_times, waiting_times):\n return [duration_time + waiting_times[i] f... | {
"type": "exact",
"value": "B: [5, 15, 30]",
"tests": []
} | train |
wiki-read-ru-56fc368909437efc9c3a | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-cd9dbd02d753aaaf2a8016 | clause | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-7512944791197360705-1 (Apache-2.0). Wikipedia contributors, “Супермен” (https://ru.wikipedia.org/wiki/%D0%A1%D1%83%D0%BF%D0%B5%D1%80%D0%BC%D0%B5%D0%BD), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Супермен\n\nОригинальная история рассказывает, что Супермен появился на свет на планете Криптон и при рождении получил имя Кал-Эл. Ещё младенцем он был отправлен на Землю своим отцом-учёным Джор-Элом за несколько минут до уничтожения Криптона. Его нашла и приютила семья канзасс... | {
"type": "exact",
"value": "которые он решил применять на благо человечеству",
"tests": []
} | train |
wiki-read-en-97ce92beb4d5e5e2d776 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-15d9b39873a1f9e2f297fa | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--3240278725365106925-0 (Apache-2.0). Wikipedia contributors, “1993 Independence Bowl” (https://en.wikipedia.org/wiki/1993_Independence_Bowl), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "1993 Independence Bowl\n\nThe 1993 Independence Bowl was a post-season American college football bowl game between the Virginia Tech Hokies and the Indiana Hoosiers at Independence Stadium in Shreveport, Louisiana on December 31, 1993. The 18th edition of the Independence Bowl ... | {
"type": "exact",
"value": "1993-12-31",
"tests": []
} | train |
wiki-read-ru-a257b8972026ec62dde5 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-3eb1fd24709b6d01bf807e | chronology | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-477042486154971165-5 (Apache-2.0). Wikipedia contributors, “Варвара (певица)” (https://ru.wikipedia.org/wiki/%D0%92%D0%B0%D1%80%D0%B2%D0%B0%D1%80%D0%B0_(%D0%BF%D0%B5%D0%B2%D0%B8%D1%86%D0%B0)), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference mar... | [
{
"role": "user",
"content": "Варвара (певица)\n\nПятый студийный альбом, «Легенды осени», выходит в 2013 году. С 2006 года и по настоящее время Варвара гастролирует со своими концертными шоу по России и в Европе, в том числе на площадках Великобритании, Германии и странах Восточной Европы. Кроме того, пара... | {
"type": "exact",
"value": "2006, 2013",
"tests": []
} | train |
gsm-train-5886 | math | en | GSM8K | MIT | gsm8k-52f36a879f6d93289ad8 | word_problem_3_steps | OpenAI (2021), GSM8K, original train row 5886 | [
{
"role": "user",
"content": "As Dan is learning to screen-print t-shirts to sell at the craft fair, he makes t-shirts, over the first hour, at the rate of one every 12 minutes. Then, in the second hour, he makes one at the rate of every 6 minutes. How many t-shirts does he make over the course of those two... | {
"type": "number",
"value": "15",
"tests": []
} | train |
reason2-light_piece-064 | reasoning | ru | Original | CC0-1.0 | reason2-light_piece | workshop_light_piece | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Детали F, J, X, Z, S, D, B, U, C должны весить одинаково, но ровно одна легче. На чаши каждый раз кладут поровну деталей. Результаты (знаки сравнивают массу левой и правой чаш): F+C+D+S > U+J+Z+X; F+D+S+X > C+Z+J+U; B+D > U+Z; Z+D = F+J. Какая деталь легче?\nПриведи ход решения... | {
"type": "exact",
"value": "U",
"tests": []
} | train |
math-verified-departures-018 | math | ru | Original | CC0-1.0 | math-verified-departures | verified_math_departures | Original bilingual mathematics exercises, CC0-1.0 | [
{
"role": "user",
"content": "Время отсчитывают в целых минутах от открытия станции. Первый трамвай линии A уходит в минуту 4, далее интервал составляет 10 мин. Первый трамвай линии B уходит в минуту 12, интервал составляет 14 мин. На какой минуте, начиная с минуты 52 включительно, обе линии впервые отправя... | {
"type": "number",
"value": "54",
"tests": []
} | train |
reason2-event_selection-067 | reasoning | en | Original | CC0-1.0 | reason2-event_selection | workshop_event_selection | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "One photographer wants to cover as many entire demonstrations as possible. Their start and end times are F 6–11; V 10–18; R 14–19; J 4–6; X 10–14. Finishing one at the instant another starts is allowed. What is the maximum count?\nBriefly justify your result, then put the answe... | {
"type": "number",
"value": "3",
"tests": []
} | train |
algpy-a75e17efcb3718b0-check-assertions | code | ru | TheAlgorithms/Python | MIT | algpy-a75e17efcb3718b0 | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, dynamic_programming/longest_common_substring.py#longest_common_substring; adapted exercises | [
{
"role": "user",
"content": "Один из тестов противоречит фактическому поведению этой функции. Определи его и вычисли верный результат. В последней строке запиши букву и результат через двоеточие, например A: 42.\n```python\ndef compute(text1, text2):\n if not (isinstance(text1, str) and isinstance(text2... | {
"type": "exact",
"value": "A: ''",
"tests": []
} | train |
wiki-read-ru-352a5af6b5ebe1eed3fb | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-4bdec4c18ea1595d58a382 | clause | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-1551818035597534250-30 (Apache-2.0). Wikipedia contributors, “Каспаров, Гарри Кимович” (https://ru.wikipedia.org/wiki/%D0%9A%D0%B0%D1%81%D0%BF%D0%B0%D1%80%D0%BE%D0%B2%2C_%D0%93%D0%B0%D1%80%D1%80%D0%B8_%D0%9A%D0%B8%D0%BC%D0%BE%D0%B2%D0%B8%D1%87), snapshot 2019-02-01 ... | [
{
"role": "user",
"content": "Каспаров, Гарри Кимович\n\n22 октября 1989 года в Нью-Йорке состоялся матч из двух блиц-партий Гарри Каспаров — Deep Thought. Чемпион мира их легко выиграл. Особенно показательна была вторая встреча, в которой Каспаров одержал победу в эффектном комбинационном стиле. После матч... | {
"type": "exact",
"value": "в которой Каспаров одержал победу в эффектном комбинационном стиле",
"tests": []
} | train |
reason2-light_piece-018 | reasoning | en | Original | CC0-1.0 | reason2-light_piece | workshop_light_piece | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Parts K, C, F, N, U, R, J, A, L, X have identical weights except for one lighter part. Each balance test puts the same number on both pans. Signs compare left weight with right: N+J+K = F+R+U; K+C = R+A; L+C+F+N+U < R+A+X+J+K. Which part is lighter?\nBriefly justify your result... | {
"type": "exact",
"value": "L",
"tests": []
} | train |
reason2-fair_slots-009 | reasoning | ru | Original | CC0-1.0 | reason2-fair_slots | workshop_fair_slots | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Клуб делит часы студии по одному. Веса секций: B=11, D=6, P=17, W=8, X=34. Следующий час получает секция с наибольшим отношением «вес / (1 + число уже выделенных часов)». При равенстве выбирают первый код по алфавиту. Какой секции достанется час номер 5, если сначала ни у кого ... | {
"type": "exact",
"value": "B",
"tests": []
} | train |
algpy-9ed71ea0cfc15617-change-impact | code | en | TheAlgorithms/Python | MIT | algpy-9ed71ea0cfc15617 | change-impact | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, dynamic_programming/minimum_partition.py#find_min; adapted exercises | [
{
"role": "user",
"content": "Suppose `if numbers[i - 1] <= j:` is replaced by `if numbers[i - 1] < j:` in the program below. Which expression changes its returned value? Briefly explain and write its letter on the last line.\n```python\ndef compute(numbers):\n n = len(numbers)\n s = sum(numbers)\n ... | {
"type": "exact",
"value": "A",
"tests": []
} | train |
math-verified-grid_triangle-024 | math | en | Original | CC0-1.0 | math-verified-grid_triangle | verified_math_grid_triangle | Original bilingual mathematics exercises, CC0-1.0 | [
{
"role": "user",
"content": "A unit square grid contains a triangle with vertices (2, -1), (9, -1) and (3, 3). How many lattice points are strictly inside it? Exclude all points on the edges.\nGive the exact number on the last line; use a reduced fraction for a noninteger answer."
},
{
"role": "ass... | {
"type": "number",
"value": "10",
"tests": []
} | train |
gsm-train-2206 | math | en | GSM8K | MIT | gsm8k-45dc9fb1295ccfa4a322 | word_problem_6_steps | OpenAI (2021), GSM8K, original train row 2206 | [
{
"role": "user",
"content": "Frank picked 36 apples. Susan picked 3 times as many apples as Frank. If Susan gave out half of her apples, and Frank sold a third of his, how many in total do they have left?\nShow a short calculation. Put the final number alone on the last line."
},
{
"role": "assista... | {
"type": "number",
"value": "78",
"tests": []
} | train |
algpy-1596c537c6f4b728-check-assertions | code | ru | TheAlgorithms/Python | MIT | algpy-1596c537c6f4b728 | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, boolean_algebra/imply_gate.py#recursive_imply_list; adapted exercises | [
{
"role": "user",
"content": "Один из тестов противоречит фактическому поведению этой функции. Определи его и вычисли верный результат. В последней строке запиши букву и результат через двоеточие, например A: 42.\n```python\ndef imply_gate(input_1, input_2):\n return int(input_1 == 0 or input_2 == 1)\n\n... | {
"type": "exact",
"value": "A: 1",
"tests": []
} | train |
reason2-bottleneck-016 | reasoning | ru | Original | CC0-1.0 | reason2-bottleneck | workshop_bottleneck | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Двусторонние конвейеры допускают коробки шириной не более указанной (см): Y–J=13; E–J=18; J–A=7; A–F=5; E–N=6; H–E=9; E–F=12; N–Y=7. Нужно перевезти коробку из H в F, не поворачивая её. Какова наибольшая допустимая ширина?\nПокажи короткую проверку, а в конце на отдельной строк... | {
"type": "number",
"value": "9",
"tests": []
} | train |
reason2-missing_cells-001 | reasoning | ru | Original | CC0-1.0 | reason2-missing_cells | workshop_missing_cells | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "В таблице учёта столбцы идут в порядке F, B, V. После вертикальной черты указан итог строки. Строки: R9: ? / 5 / ? | 17; R4: 3 / 14 / ? | 25; R6: 6 / 7 / 8 | 21. Итоги столбцов: F=14, B=26, V=23. Какое число скрыто в строке R9, столбце V?\nПокажи короткую проверку, а в конце на... | {
"type": "number",
"value": "7",
"tests": []
} | train |
reason2-editing_history-056 | reasoning | ru | Original | CC0-1.0 | reason2-editing_history | workshop_editing_history | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "В редакторе поле сначала содержит P. Запись заменяет значение и стирает возможность повтора отменённых записей. «Отмена» возвращает предыдущее значение, «повтор» восстанавливает отменённую запись. Если действие недоступно, поле не меняется. Команды: записать K; записать X; отме... | {
"type": "exact",
"value": "A",
"tests": []
} | train |
reason2-fair_slots-069 | reasoning | ru | Original | CC0-1.0 | reason2-fair_slots | workshop_fair_slots | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Клуб делит часы студии по одному. Веса секций: P=25, T=23, X=24. Следующий час получает секция с наибольшим отношением «вес / (1 + число уже выделенных часов)». При равенстве выбирают первый код по алфавиту. Какой секции достанется час номер 4, если сначала ни у кого нет часов?... | {
"type": "exact",
"value": "P",
"tests": []
} | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.