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
algpy-1d1f2b5738795b58-check-assertions
code
ru
TheAlgorithms/Python
MIT
algpy-1d1f2b5738795b58
check-assertions
TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/perfect_number.py#find_perfect_numbers; adapted exercises
[ { "role": "user", "content": "Один из тестов противоречит фактическому поведению этой функции. Определи его и вычисли верный результат. В последней строке запиши букву и результат через двоеточие, например A: 42.\n```python\ndef perfect(number):\n if not isinstance(number, int):\n raise ValueError...
{ "type": "exact", "value": "A: [6]", "tests": [] }
train
wiki-read-en-190b8ad02c1192d302fa
en
en
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-en-8b30d8da12d455ee6ea171
definition
Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-3474044210774886197-0 (Apache-2.0). Wikipedia contributors, “Pink tax” (https://en.wikipedia.org/wiki/Pink_tax), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise.
[ { "role": "user", "content": "Pink tax\n\nThe pink tax is a phenomenon often attributed as a form of gender-based price discrimination, with the name stemming from the observation that many of the affected products are pink. Products marketed specifically toward women are generally more expensive than those...
{ "type": "exact", "value": "a phenomenon often attributed as a form of gender-based price discrimination, with the name stemming from the observation that many of the affected products are pink", "tests": [] }
train
verified-code-edit_unit_cost-trace
code
ru
Original
CC0-1.0
verified-code-edit_cost
verified_trace
Original algorithm and independent oracle, release 2; CC0-1.0.
[ { "role": "user", "content": "```python\ndef edit_unit_cost(a, b):\n row = [j * 1 for j in range(len(b) + 1)]\n for i, ca in enumerate(a, 1):\n cur = [i * 1]\n for j, cb in enumerate(b, 1):\n cur.append(min(cur[-1] + 1, row[j] + 1, row[j-1] + (ca != cb)))\n row = cur\n ...
{ "type": "exact", "value": "2", "tests": [] }
train
wiki-read-en-dbe3ca17f5d6d83c38af
en
en
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-en-04df14a51de0c7c5b97458
definition
Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--4999992971715052404-0 (Apache-2.0). Wikipedia contributors, “List of Buffy the Vampire Slayer episodes” (https://en.wikipedia.org/wiki/List_of_Buffy_the_Vampire_Slayer_episodes), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normaliz...
[ { "role": "user", "content": "List of Buffy the Vampire Slayer episodes\n\nBuffy the Vampire Slayer is an American television series created by Joss Whedon, which premiered on March 10, 1997. It concluded on May 20, 2003, after seven seasons with 144 episodes in total, plus an unaired pilot episode.\n\nHow ...
{ "type": "exact", "value": "an American television series created by Joss Whedon, which premiered on March 10, 1997", "tests": [] }
train
reason2-join_catalogs-022
reasoning
ru
Original
CC0-1.0
reason2-join_catalogs
workshop_join_catalogs
Original procedural reasoning, release 2; CC0-1.0.
[ { "role": "user", "content": "Каталог связывает код книги с полкой: B90=S6, B27=S6, B26=S8, B57=S3, B77=S8. Соответствие полок и залов: S3=W, S8=B, S6=A. Число выданных экземпляров по коду книги: B57=2, B26=16, B77=7, B27=4, B90=3. В каком зале больше всего выдач?\nКратко обоснуй ответ и запиши сам ответ на...
{ "type": "exact", "value": "B", "tests": [] }
train
wiki-read-ru-d0e8c07fe52e3c64b175
ru
ru
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-ru-a8a33f424a241c2b03f88a
clause
Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-219010211548093084-2 (Apache-2.0). Wikipedia contributors, “Елизавета Баварская (императрица Австрии)” (https://ru.wikipedia.org/wiki/%D0%95%D0%BB%D0%B8%D0%B7%D0%B0%D0%B2%D0%B5%D1%82%D0%B0_%D0%91%D0%B0%D0%B2%D0%B0%D1%80%D1%81%D0%BA%D0%B0%D1%8F_(%D0%B8%D0%BC%D0%BF%D0...
[ { "role": "user", "content": "Елизавета Баварская (императрица Австрии)\n\nДетство Сиси прошло в Мюнхене и в летнем имении её семьи в 28 километрах от Мюнхена у озера Штарнбергер-Зе, где у юной герцогини был личный зверинец. Родители Елизаветы, вступившие в династический брак, не испытывали друг к другу ни ...
{ "type": "exact", "value": "где у юной герцогини был личный зверинец", "tests": [] }
train
reason2-line_breaks-025
reasoning
ru
Original
CC0-1.0
reason2-line_breaks
workshop_line_breaks
Original procedural reasoning, release 2; CC0-1.0.
[ { "role": "user", "content": "Длины слов заголовка в символах, от первого слова к последнему: 4, 3, 3, 3, 5, 3, 7. Предельная длина строки — 10. Между соседними словами ровно один пробел. Менять порядок и переносить часть слова нельзя. Каково наименьшее число строк?\nПриведи ход решения в нескольких фразах....
{ "type": "number", "value": "4", "tests": [] }
train
wiki-read-en-0889b51ddad7d1557bf7
en
en
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-en-9300ad822e5f36e001ea31
parenthetical_detail
Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-2276408421195606352-0 (Apache-2.0). Wikipedia contributors, “Mahlon Loomis” (https://en.wikipedia.org/wiki/Mahlon_Loomis), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise.
[ { "role": "user", "content": "Mahlon Loomis\n\nMahlon Loomis (21 July 1826 – 13 October 1886) was an American dentist and inventor. He is best known for promoting the idea that the Earth's upper atmosphere was divided into discrete concentric layers, and these layers could be tapped by metallic conductors o...
{ "type": "exact", "value": "21 July 1826 – 13 October 1886", "tests": [] }
train
wiki-read-ru-3352fa8aff268e3f426b
ru
ru
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-ru-8a6d8d338a2ff75e8512be
clause
Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--6391685014933743729-0 (Apache-2.0). Wikipedia contributors, “Не время для драконов” (https://ru.wikipedia.org/wiki/%D0%9D%D0%B5_%D0%B2%D1%80%D0%B5%D0%BC%D1%8F_%D0%B4%D0%BB%D1%8F_%D0%B4%D1%80%D0%B0%D0%BA%D0%BE%D0%BD%D0%BE%D0%B2), snapshot 2019-02-01 (CC-BY-SA-3.0). ...
[ { "role": "user", "content": "Не время для драконов\n\n«Не время для драконов» — роман российских писателей-фантастов Сергея Лукьяненко и Ника Перумова в жанре технофэнтези. Действие романа происходит в Срединном мире, где живут люди, эльфы и гномы, а правят кланы магов, истребившие драконов. Главному герою...
{ "type": "exact", "value": "чтобы спасти этот мир и его обитателей", "tests": [] }
train
wiki-read-ru-efc540ae5a7ffd8b2b1f
ru
ru
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-ru-fde0be375ddac935e4fdbb
chronology
Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-2439823221674943361-8 (Apache-2.0). Wikipedia contributors, “Список стран по добыче нефти” (https://ru.wikipedia.org/wiki/%D0%A1%D0%BF%D0%B8%D1%81%D0%BE%D0%BA_%D1%81%D1%82%D1%80%D0%B0%D0%BD_%D0%BF%D0%BE_%D0%B4%D0%BE%D0%B1%D1%8B%D1%87%D0%B5_%D0%BD%D0%B5%D1%84%D1%82%D...
[ { "role": "user", "content": "Список стран по добыче нефти\n\nПо данным BP в 2014 году США впервые с 1975 года вышли в лидеры по объёму добытой нефти, обойдя Россию и Саудовскую Аравию — 11644 тысяч баррелей в день против 11505 и 10838 соответственно. Учитывая, что большая часть добываемой в США нефти являе...
{ "type": "exact", "value": "1975, 2014", "tests": [] }
train
reason2-missing_cells-054
reasoning
ru
Original
CC0-1.0
reason2-missing_cells
workshop_missing_cells
Original procedural reasoning, release 2; CC0-1.0.
[ { "role": "user", "content": "В таблице учёта столбцы идут в порядке K, T, R. После вертикальной черты указан итог строки. Строки: R9: 3 / 14 / 9 | 26; R7: 2 / ? / ? | 9; R6: 14 / ? / 9 | 29; R8: 10 / 6 / 4 | 20. Итоги столбцов: K=29, T=31, R=24. Какое число скрыто в строке R7, столбце T?\nПокажи короткую п...
{ "type": "number", "value": "5", "tests": [] }
train
math-verified-binomial_divisibility-024
math
en
Original
CC0-1.0
math-verified-binomial_divisibility
verified_math_binomial_divisibility
Original bilingual mathematics exercises, CC0-1.0
[ { "role": "user", "content": "Choose 10 of 44 distinct items without regard to order. What is the greatest integer e ≥ 0 such that 18 to the power e divides the number of choices C(44,10)?\nGive the exact number on the last line; use a reduced fraction for a noninteger answer." }, { "role": "assista...
{ "type": "number", "value": "0", "tests": [] }
train
algpy-cd9092a450d00f9b-change-impact
code
en
TheAlgorithms/Python
MIT
algpy-cd9092a450d00f9b
change-impact
TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/series/arithmetic.py#is_arithmetic_series; adapted exercises
[ { "role": "user", "content": "Suppose `if len(series) == 1:` is replaced by `if len(series) != 1:` in the program below. Which expression changes its returned value? Briefly explain and write its letter on the last line.\n```python\ndef compute(series):\n if not isinstance(series, list):\n raise V...
{ "type": "exact", "value": "A", "tests": [] }
train
wiki-read-ru-88a329296d9c0d8d7d16
ru
ru
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-ru-bbd01dfe054a8193df8c1d
parenthetical_detail
Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--1321262428012747898-26 (Apache-2.0). Wikipedia contributors, “Восстание большевиков в Омске 22 декабря 1918” (https://ru.wikipedia.org/wiki/%D0%92%D0%BE%D1%81%D1%81%D1%82%D0%B0%D0%BD%D0%B8%D0%B5_%D0%B1%D0%BE%D0%BB%D1%8C%D1%88%D0%B5%D0%B2%D0%B8%D0%BA%D0%BE%D0%B2_%D0...
[ { "role": "user", "content": "Восстание большевиков в Омске 22 декабря 1918\n\nВ январе 1919 года оплата труда омских и куломзинских рабочих была повышена на четверть. С тех пор в течение года (до произошедших совершенно в иной обстановке Иркутского и Черемховского восстаний) крупных городских восстаний в С...
{ "type": "exact", "value": "до произошедших совершенно в иной обстановке Иркутского и Черемховского восстаний", "tests": [] }
train
verified-code-cached_keys-trace
code
ru
Original
CC0-1.0
verified-code-cache_order
verified_trace
Original algorithm and independent oracle, release 2; CC0-1.0.
[ { "role": "user", "content": "```python\ndef cached_keys(requests, capacity):\n order = []\n evicted = []\n hits = []\n for key in requests:\n if key in order:\n hits.append(key)\n order.remove(key)\n elif len(order) == capacity:\n evicted.append(or...
{ "type": "exact", "value": "[4]", "tests": [] }
train
algpy-02bb5961cc81f838-trace
code
ru
TheAlgorithms/Python
MIT
algpy-02bb5961cc81f838
trace
TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/special_numbers/perfect_number.py#perfect; adapted exercises
[ { "role": "user", "content": "```python\ndef perfect(number):\n if not isinstance(number, int):\n raise ValueError('number must be an integer')\n if number <= 0:\n return False\n return sum((i for i in range(1, number // 2 + 1) if number % i == 0)) == number\n```\nЧто вернёт выражение...
{ "type": "exact", "value": "False", "tests": [] }
train
gsm-train-5194
math
en
GSM8K
MIT
gsm8k-7025fe0dcfd22d6bc734
word_problem_7_steps
OpenAI (2021), GSM8K, original train row 5194
[ { "role": "user", "content": "Roxy has 7 flowering plants in her garden. She has twice as many fruiting plants as her flowering plants. On Saturday, she goes to the nursery and buys 3 flowering plants and 2 fruiting plants. On Sunday, she gives away 1 flowering plant and 4 fruiting plants to her neighbor,...
{ "type": "number", "value": "21", "tests": [] }
train
algpy-216188043fd1b3a3-trace
code
en
TheAlgorithms/Python
MIT
algpy-216188043fd1b3a3
trace
TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, strings/levenshtein_distance.py#levenshtein_distance_optimized; adapted exercises
[ { "role": "user", "content": "```python\ndef compute(first_word, second_word):\n if len(first_word) < len(second_word):\n return compute(second_word, first_word)\n if len(second_word) == 0:\n return len(first_word)\n previous_row = list(range(len(second_word) + 1))\n for i, c1 in e...
{ "type": "exact", "value": "4", "tests": [] }
train
wiki-read-en-d79f997adb3f610e2fac
en
en
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-en-1ebd09b8f78a62c96f3d06
measurement
Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-2334660316703974874-0 (Apache-2.0). Wikipedia contributors, “Trans-Canada Highway” (https://en.wikipedia.org/wiki/Trans-Canada_Highway), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise.
[ { "role": "user", "content": "Trans-Canada Highway\n\nThe Trans-Canada Highway (French: Route Transcanadienne) is a transcontinental federal-provincial highway system that travels through all ten provinces of Canada from the Pacific Ocean on the west to the Atlantic on the east. The main route spans 7,821km...
{ "type": "exact", "value": "7,821km", "tests": [] }
train
reason2-balanced_load-020
reasoning
ru
Original
CC0-1.0
reason2-balanced_load
workshop_balanced_load
Original procedural reasoning, release 2; CC0-1.0.
[ { "role": "user", "content": "Две тележки должны увезти все ящики без деления содержимого. Масса каждого ящика: L=12, B=6, J=19, F=11, E=22, W=16, C=21. Какой наименьшей разницы масс между тележками можно добиться?\nПокажи короткую проверку, а в конце на отдельной строке дай ответ." }, { "role": "as...
{ "type": "number", "value": "1", "tests": [] }
train
algpy-d47fc255962f537d-trace
code
en
TheAlgorithms/Python
MIT
algpy-d47fc255962f537d
trace
TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, boolean_algebra/nor_gate.py#nor_gate; adapted exercises
[ { "role": "user", "content": "```python\ndef nor_gate(input_1, input_2):\n return int(input_1 == input_2 == 0)\n```\nWhat does nor_gate(0, 1) return? Give the Python repr of the value." }, { "role": "assistant", "content": "0" } ]
{ "type": "exact", "value": "0", "tests": [] }
train
wiki-read-ru-8a494a9662626afa2d59
ru
ru
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-ru-6a8905705723efa31e79b7
definition
Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--6662505514735154313-0 (Apache-2.0). Wikipedia contributors, “Половцы Рожиновские” (https://ru.wikipedia.org/wiki/%D0%9F%D0%BE%D0%BB%D0%BE%D0%B2%D1%86%D1%8B_%D0%A0%D0%BE%D0%B6%D0%B8%D0%BD%D0%BE%D0%B2%D1%81%D0%BA%D0%B8%D0%B5), snapshot 2019-02-01 (CC-BY-SA-3.0). Exce...
[ { "role": "user", "content": "Половцы Рожиновские\n\nПо́ловцы Рожино́вские — угасший в XVI веке древнерусский и литовский княжеский род тюркского происхождения, предположительно от половецкого хана Тугоркана. Фамилия-прозвище Половцы со Сквира Рожиновские образована от названия вотчинных владений в районе з...
{ "type": "exact", "value": "угасший в XVI веке древнерусский и литовский княжеский род тюркского происхождения, предположительно от половецкого хана Тугоркана", "tests": [] }
train
wiki-read-en-74d19286bc90445e7ab8
en
en
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-en-9275ac25c7905547551847
date_normalization
Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-4415480320113825826-0 (Apache-2.0). Wikipedia contributors, “Diablo Cody” (https://en.wikipedia.org/wiki/Diablo_Cody), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise.
[ { "role": "user", "content": "Diablo Cody\n\nBrooke Busey-Maurio (born June 14, 1978), better known by the pen name Diablo Cody, is an American writer, director, and producer. She first became known for her candid memoir, Candy Girl: A Year in the Life of an Unlikely Stripper (2005), and the blog that prece...
{ "type": "exact", "value": "1978-06-14", "tests": [] }
train
wiki-read-ru-2fb0f71e550d5c389de1
ru
ru
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-ru-3a32a6ace572eb7f8e4265
chronology
Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--1528456844525862161-0 (Apache-2.0). Wikipedia contributors, “Список самых высоких зданий Сингапура” (https://ru.wikipedia.org/wiki/%D0%A1%D0%BF%D0%B8%D1%81%D0%BE%D0%BA_%D1%81%D0%B0%D0%BC%D1%8B%D1%85_%D0%B2%D1%8B%D1%81%D0%BE%D0%BA%D0%B8%D1%85_%D0%B7%D0%B4%D0%B0%D0%B...
[ { "role": "user", "content": "Список самых высоких зданий Сингапура\n\nСписок самых высоких зданий Сингапура содержит упорядоченные по высоте небоскрёбы азиатского города-государства Сингапура. Всего в Сингапуре построено 50 небоскрёбов высотой от 170 метров и строится ещё 3 небоскрёба. Титул самого высоког...
{ "type": "exact", "value": "1986, 1995, 2016", "tests": [] }
train
reason2-rotate_grid-000
reasoning
ru
Original
CC0-1.0
reason2-rotate_grid
workshop_rotate_grid
Original procedural reasoning, release 2; CC0-1.0.
[ { "role": "user", "content": "Исходные строки табло сверху вниз: H E W G / Z Y J V / R Q B S. Выполни циклические сдвиги по порядку: столбец 2 на 1 вниз; строка 3 на 1 вправо; столбец 4 на 2 вниз; строка 3 на 2 вправо; столбец 4 на 1 вниз. Какой символ теперь в строке 3, столбце 2? Нумерация с единицы.\nПри...
{ "type": "exact", "value": "G", "tests": [] }
train
reason2-missing_cells-055
reasoning
ru
Original
CC0-1.0
reason2-missing_cells
workshop_missing_cells
Original procedural reasoning, release 2; CC0-1.0.
[ { "role": "user", "content": "В таблице учёта столбцы идут в порядке T, P, X. После вертикальной черты указан итог строки. Строки: R7: 15 / ? / ? | 20; R1: 5 / 10 / ? | 26; R9: 7 / 8 / 4 | 19. Итоги столбцов: T=27, P=20, X=18. Какое число скрыто в строке R7, столбце X?\nПриведи ход решения в нескольких фраз...
{ "type": "number", "value": "3", "tests": [] }
train
algpy-bf90d3fd381a2913-repair
code
en
TheAlgorithms/Python
MIT
algpy-bf90d3fd381a2913
repair
TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, data_structures/hashing/number_theory/prime_numbers.py#is_prime; adapted exercises
[ { "role": "user", "content": "Repair this Python function. For a nonnegative integer, return True exactly when it is prime; 0 and 1 are not prime.\nFor is_prime(2) it should return True, but returns False. Keep the signature.\n```python\nimport math\n\ndef is_prime(number):\n assert isinstance(number, in...
{ "type": "code", "value": "", "tests": [ "assert is_prime(0) == False", "assert is_prime(1) == False", "assert is_prime(2) == True", "assert is_prime(3) == True", "assert is_prime(4) == False", "assert is_prime(6) == False", "assert is_prime(9) == False", "assert is_prime(13) == T...
train
wiki-read-ru-ab6d1e574101c2873b8c
ru
ru
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-ru-e835944b6d399d74be4a90
date_normalization
Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--4659788633801507151-10 (Apache-2.0). Wikipedia contributors, “Неопознанный летающий объект” (https://ru.wikipedia.org/wiki/%D0%9D%D0%B5%D0%BE%D0%BF%D0%BE%D0%B7%D0%BD%D0%B0%D0%BD%D0%BD%D1%8B%D0%B9_%D0%BB%D0%B5%D1%82%D0%B0%D1%8E%D1%89%D0%B8%D0%B9_%D0%BE%D0%B1%D1%8A%D...
[ { "role": "user", "content": "Неопознанный летающий объект\n\nОдно из первых сообщений о наблюдении дисковидного аппарата относится к 18 июля 1935 года: в Канаде (провинции Саскачеван) 3 человека заявили, что видели аппарат, приземлившийся в лесу у Нипавина; а также наблюдали, как по лесенке в него поднимал...
{ "type": "exact", "value": "1935-07-18", "tests": [] }
train
wiki-read-en-93ab79b716f6dcffb270
en
en
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-en-7f9e28ed469966d3401da2
parenthetical_detail
Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--3308160792580527337-1 (Apache-2.0). Wikipedia contributors, “Tornado climatology” (https://en.wikipedia.org/wiki/Tornado_climatology), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise.
[ { "role": "user", "content": "Tornado climatology\n\nThe United States averaged 1,274 tornadoes per year in the last decade while Canada reports nearly 100 annually (largely in the southern regions). However, the UK has most tornadoes per area per year, 0.14 per 1000km², although these tornadoes are general...
{ "type": "exact", "value": "largely in the southern regions", "tests": [] }
train
algpy-8287a0899454de6c-trace
code
ru
TheAlgorithms/Python
MIT
algpy-8287a0899454de6c
trace
TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, bit_manipulation/binary_shifts.py#arithmetic_right_shift; adapted exercises
[ { "role": "user", "content": "```python\ndef compute(number, shift_amount):\n if number >= 0:\n binary_number = '0' + str(bin(number)).strip('-')[2:]\n else:\n binary_number_length = len(bin(number)[3:])\n binary_number = bin(abs(number) - (1 << binary_number_length))[3:]\n ...
{ "type": "exact", "value": "'0b00'", "tests": [] }
train
math-verified-break_even-009
math
ru
Original
CC0-1.0
math-verified-break_even
verified_math_break_even
Original bilingual mathematics exercises, CC0-1.0
[ { "role": "user", "content": "Мастерская выбирает тариф на печать. Тариф A стоит 12 руб. в месяц плюс 8 руб. за каждую страницу. Абонентская плата по тарифу B — 54 руб. в месяц за пакет объёмом 3 стр. Каждая страница сверх пакета стоит 2 руб. При каком наименьшем целом числе страниц за месяц B обойдётся стр...
{ "type": "number", "value": "7", "tests": [] }
train
wiki-read-ru-bfe14e190f14406637c8
ru
ru
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-ru-b4e3fc7d001d116c05165e
chronology
Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--2665208739253985804-0 (Apache-2.0). Wikipedia contributors, “Розеттский камень” (https://ru.wikipedia.org/wiki/%D0%A0%D0%BE%D0%B7%D0%B5%D1%82%D1%82%D1%81%D0%BA%D0%B8%D0%B9_%D0%BA%D0%B0%D0%BC%D0%B5%D0%BD%D1%8C), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespac...
[ { "role": "user", "content": "Розеттский камень\n\nРозе́ттский ка́мень — плита из гранодиорита, найденная в 1799 году в Египте возле небольшого города Розетта (теперь Рашид), недалеко от Александрии, с выбитыми на ней тремя идентичными по смыслу текстами, в том числе двумя на древнеегипетском языке — начерт...
{ "type": "exact", "value": "1799, 1802", "tests": [] }
train
reason2-minimum_cover-013
reasoning
ru
Original
CC0-1.0
reason2-minimum_cover
workshop_minimum_cover
Original procedural reasoning, release 2; CC0-1.0.
[ { "role": "user", "content": "Для выставки нужны образцы всех типов 2, 4, 6, 7, 8. Наборы перечислены с типами внутри: U=6; J=4/7; A=2/8; R=6; S=2; P=2/4; W=7. Дубли допустимы. Какое наименьшее число наборов покроет все типы?\nПриведи ход решения в нескольких фразах. На последней строке оставь только ответ....
{ "type": "number", "value": "3", "tests": [] }
train
reason2-connected_groups-024
reasoning
ru
Original
CC0-1.0
reason2-connected_groups
workshop_connected_groups
Original procedural reasoning, release 2; CC0-1.0.
[ { "role": "user", "content": "Сначала у каждого кода из списка W, K, P, E, U, G, N, B, R, J свой архив. Связь между двумя кодами объединяет их архивы целиком; это распространяется по цепочке. Все действующие связи: P–N, J–E, B–P, W–U, N–B, E–W, U–J, G–R. Добавляют связь K–W. Сколько кодов будет в образовавш...
{ "type": "number", "value": "5", "tests": [] }
train
algpy-87d3ed7bbfc4ca50-trace
code
ru
TheAlgorithms/Python
MIT
algpy-87d3ed7bbfc4ca50
trace
TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, searches/median_of_medians.py#median_of_five; adapted exercises
[ { "role": "user", "content": "```python\ndef compute(arr):\n arr = sorted(arr)\n return arr[len(arr) // 2]\n```\nЧто вернёт выражение compute([2, 4, 5, 7, 899])? Запиши repr результата Python." }, { "role": "assistant", "content": "5" } ]
{ "type": "exact", "value": "5", "tests": [] }
train
algpy-db447b0725c447c9-trace
code
en
TheAlgorithms/Python
MIT
algpy-db447b0725c447c9
trace
TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, strings/count_vowels.py#count_vowels; adapted exercises
[ { "role": "user", "content": "```python\ndef count_vowels(s):\n if not isinstance(s, str):\n raise TypeError('Input must be a string')\n vowels = 'aeiouAEIOU'\n return sum((1 for char in s if char in vowels))\n```\nWhat does count_vowels('123 hello world') return? Give the Python repr of the...
{ "type": "exact", "value": "3", "tests": [] }
train
wiki-read-ru-a531c539ee35d05130d6
ru
ru
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-ru-b7946a4358706cd22fe792
definition
Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-4084671285749742046-0 (Apache-2.0). Wikipedia contributors, “Ядрышко” (https://ru.wikipedia.org/wiki/%D0%AF%D0%B4%D1%80%D1%8B%D1%88%D0%BA%D0%BE), 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
algpy-3ef394287f7cdda9-repair
code
en
TheAlgorithms/Python
MIT
algpy-3ef394287f7cdda9
repair
TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, conversions/excel_title_to_column.py#excel_title_to_column; adapted exercises
[ { "role": "user", "content": "Repair this Python function. Return the one-based column number for a nonempty uppercase ASCII spreadsheet label: A=1, Z=26, AA=27.\nFor excel_title_to_column('A') it should return 1, but returns 0. Keep the signature.\n```python\ndef excel_title_to_column(column_title):\n i...
{ "type": "code", "value": "", "tests": [ "assert excel_title_to_column('A') == 1", "assert excel_title_to_column('Z') == 26", "assert excel_title_to_column('AA') == 27", "assert excel_title_to_column('AZ') == 52", "assert excel_title_to_column('BA') == 53", "assert excel_title_to_column('...
train
wiki-read-ru-403870d79822729b7b6f
ru
ru
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-ru-c7ef6e68f137f4e5adc5b8
parenthetical_detail
Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-974311357533046556-19 (Apache-2.0). Wikipedia contributors, “Цвет глаз” (https://ru.wikipedia.org/wiki/%D0%A6%D0%B2%D0%B5%D1%82_%D0%B3%D0%BB%D0%B0%D0%B7), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise.
[ { "role": "user", "content": "Цвет глаз\n\nТрадиционно полагается, что цвет глаз определяется наследственностью. За светлые глаза отвечает мутация (как официально считается) гена OCA2. За синий или зелёный цвет отвечает ген EYCL1 хромосомы 19; за коричневый — EYCL2; за коричневый или синий — EYCL3 хромосомы...
{ "type": "exact", "value": "как официально считается", "tests": [] }
train
wiki-read-ru-bf1a6937258fcff2f2e5
ru
ru
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-ru-8245190229fccc068de757
date_normalization
Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--1088271816792590956-2 (Apache-2.0). Wikipedia contributors, “Перестройка” (https://ru.wikipedia.org/wiki/%D0%9F%D0%B5%D1%80%D0%B5%D1%81%D1%82%D1%80%D0%BE%D0%B9%D0%BA%D0%B0), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. N...
[ { "role": "user", "content": "Перестройка\n\nВпервые необходимость совершенствования существовавшей экономической системы — так называемого Ускорения — была провозглашена генеральным секретарём ЦК КПСС М. С. Горбачёвым на пленуме ЦК КПСС 23 апреля 1985 года. Однако эти меры касались только экономики, носили...
{ "type": "exact", "value": "1985-04-23", "tests": [] }
train
reason2-ballot_points-042
reasoning
ru
Original
CC0-1.0
reason2-ballot_points
workshop_ballot_points
Original procedural reasoning, release 2; CC0-1.0.
[ { "role": "user", "content": "Жюри оценивает макеты A, D, Y. Баллы за места, начиная с первого: 2, 1, 0. Бюллетени записаны как число одинаковых голосов × порядок от лучшего к худшему: 7 × Y>A>D; 2 × Y>D>A; 9 × D>Y>A; 2 × D>A>Y; 4 × A>D>Y. У какого макета больше всего баллов?\nПокажи короткую проверку, а в ...
{ "type": "exact", "value": "D", "tests": [] }
train
math-verified-route_speed-008
math
ru
Original
CC0-1.0
math-verified-route_speed
verified_math_route_speed
Original bilingual mathematics exercises, CC0-1.0
[ { "role": "user", "content": "Велосипедист ехал 50 мин со скоростью 36 км/ч, отдыхал 15 мин, затем ехал 40 мин со скоростью 24 км/ч. На обеих частях пути скорость была постоянной. Какова средняя скорость в км/ч за всё время от старта до финиша вместе с остановкой?\nЗапиши точное число в последней строке; не...
{ "type": "number", "value": "184/7", "tests": [] }
train
wiki-read-en-e6a71c4a5a8541872c65
en
en
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-en-4dedf2bdb583ea2924b406
measurement
Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-361831784472806123-37 (Apache-2.0). Wikipedia contributors, “Fright Night” (https://en.wikipedia.org/wiki/Fright_Night), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise.
[ { "role": "user", "content": "Fright Night\n\nFright Night holds a 91% approval rating on Rotten Tomatoes; the average rating is 7.3/10 based on 33 reviews. The site's consensus reads: \"Fright Night deftly combines thrills and humor in this ghostly tale about a man living next to a vampire.\" Roger Ebert g...
{ "type": "exact", "value": "91%", "tests": [] }
train
algpy-f01077b6e05540b2-check-assertions
code
ru
TheAlgorithms/Python
MIT
algpy-f01077b6e05540b2
check-assertions
TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/reverse_factorial_recursive.py#reverse_factorial_recursive; adapted exercises
[ { "role": "user", "content": "Один из тестов противоречит фактическому поведению этой функции. Определи его и вычисли верный результат. В последней строке запиши букву и результат через двоеточие, например A: 42.\n```python\ndef compute(value, current_divisor=1):\n if not isinstance(value, int):\n ...
{ "type": "exact", "value": "B: 5", "tests": [] }
train
algpy-bb09890748573f65-trace
code
en
TheAlgorithms/Python
MIT
algpy-bb09890748573f65
trace
TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, sorts/wiggle_sort.py#wiggle_sort; adapted exercises
[ { "role": "user", "content": "```python\ndef compute(nums):\n for i in range(1, len(nums)):\n if i % 2 == 1 and nums[i - 1] > nums[i] or (i % 2 == 0 and nums[i - 1] < nums[i]):\n nums[i - 1], nums[i] = (nums[i], nums[i - 1])\n return nums\n```\nWhat does compute([]) return? Give the ...
{ "type": "exact", "value": "[]", "tests": [] }
train
wiki-read-ru-cca20458f081ac59ff4a
ru
ru
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-ru-df98f9f6365b0068c87997
parenthetical_detail
Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-2342414535162551838-1 (Apache-2.0). Wikipedia contributors, “История «Яндекса»” (https://ru.wikipedia.org/wiki/%D0%98%D1%81%D1%82%D0%BE%D1%80%D0%B8%D1%8F_%C2%AB%D0%AF%D0%BD%D0%B4%D0%B5%D0%BA%D1%81%D0%B0%C2%BB), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace...
[ { "role": "user", "content": "История «Яндекса»\n\n«Яндекс» не был первой поисковой системой России (раньше появились Рамблер и Апорт), но стал быстро набирать аудиторию. В 2001 году он обогнал крупнейший поисковик российского сегмента сети — Рамблер, став лидером в Рунете.\n\nКакое пояснение в скобках авто...
{ "type": "exact", "value": "раньше появились Рамблер и Апорт", "tests": [] }
train
reason2-balanced_load-051
reasoning
en
Original
CC0-1.0
reason2-balanced_load
workshop_balanced_load
Original procedural reasoning, release 2; CC0-1.0.
[ { "role": "user", "content": "Two carts must carry all crates, with each crate kept intact. Crate weights: C=15, J=50, P=65, G=75, L=25, Z=55, V=90. What is the smallest possible difference between the two cart loads?\nBriefly justify your result, then put the answer alone on the last line." }, { "r...
{ "type": "number", "value": "5", "tests": [] }
train
algpy-a31a3f2232caf913-check-assertions
code
ru
TheAlgorithms/Python
MIT
algpy-a31a3f2232caf913
check-assertions
TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/segmented_sieve.py#sieve; adapted exercises
[ { "role": "user", "content": "Один из тестов противоречит фактическому поведению этой функции. Определи его и вычисли верный результат. В последней строке запиши букву и результат через двоеточие, например A: 42.\n```python\nimport math\n\ndef compute(n):\n if n <= 0 or isinstance(n, float):\n msg...
{ "type": "exact", "value": "A: [2, 3, 5, 7]", "tests": [] }
train
verified-code-peak_load-implement
code
ru
Original
CC0-1.0
verified-code-coverage
verified_implement
Original algorithm and independent oracle, release 2; CC0-1.0.
[ { "role": "user", "content": "Реализуй на Python peak_load(intervals). Дан список полуоткрытых интервалов [a,b) с целыми концами, a ≤ b. Верни максимальное число одновременно активных интервалов. Пустые интервалы ничего не покрывают, для пустого списка ответ 0.\nassert peak_load([(-3, -1), (2, 5), (7, 8)]) ...
{ "type": "code", "value": "", "tests": [ "assert peak_load([]) == 0", "assert peak_load([(1, 1)]) == 0", "assert peak_load([(0, 3)]) == 1", "assert peak_load([(0, 2), (2, 4)]) == 1", "assert peak_load([(0, 5), (2, 6), (3, 4)]) == 3", "assert peak_load([(-2, 1), (-1, 4), (2, 4)]) == 2", ...
train
math-verified-tank_posts-000
math
ru
Original
CC0-1.0
math-verified-tank_posts
verified_math_tank_posts
Original bilingual mathematics exercises, CC0-1.0
[ { "role": "user", "content": "Внутренние размеры дна прямоугольного бака — 24 × 26 см. В противоположных углах от дна вертикально стоят два сплошных прямоугольных столбика с основаниями 5 × 6 см и 7 × 7 см. Они выше конечного уровня воды и не перекрываются. Сколько литров воды нужно долить, чтобы уровень вы...
{ "type": "number", "value": "327/50", "tests": [] }
train
algpy-8ac88bc57fcad756-check-assertions
code
ru
TheAlgorithms/Python
MIT
algpy-8ac88bc57fcad756
check-assertions
TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/area.py#area_triangle_three_sides; adapted exercises
[ { "role": "user", "content": "Один из тестов противоречит фактическому поведению этой функции. Определи его и вычисли верный результат. В последней строке запиши букву и результат через двоеточие, например A: 42.\n```python\nfrom math import sqrt\n\ndef compute(side1, side2, side3):\n if side1 < 0 or sid...
{ "type": "exact", "value": "A: 30.0", "tests": [] }
train
verified-code-last_score-trace
code
ru
Original
CC0-1.0
verified-code-keyed_rows
verified_trace
Original algorithm and independent oracle, release 2; CC0-1.0.
[ { "role": "user", "content": "```python\ndef last_score(rows):\n acc = {}\n for k, score in rows:\n if True:\n acc[k] = score\n return sorted(acc.items())\n```\nЧто вернёт вызов last_score([('b', 4), ('b', 1)])? Запиши только repr результата Python." }, { "role": "assistan...
{ "type": "exact", "value": "[('b', 1)]", "tests": [] }
train
reason2-missing_cells-044
reasoning
en
Original
CC0-1.0
reason2-missing_cells
workshop_missing_cells
Original procedural reasoning, release 2; CC0-1.0.
[ { "role": "user", "content": "In a tally table the columns are C, X, F, in that order. A vertical bar precedes the row total. Rows: R7: 14 / 2 / 6 | 22; R11: 14 / ? / 10 | 33; R8: ? / ? / 12 | 42; R5: 4 / 8 / 8 | 20. Column totals: C=47, X=34, F=36. What is the missing entry in row R8, column X?\nBriefly ju...
{ "type": "number", "value": "15", "tests": [] }
train
verified-code-covered_units-trace
code
ru
Original
CC0-1.0
verified-code-coverage
verified_trace
Original algorithm and independent oracle, release 2; CC0-1.0.
[ { "role": "user", "content": "```python\ndef covered_units(intervals):\n changes = {}\n for a, b in intervals:\n changes[a] = changes.get(a, 0) + 1\n changes[b] = changes.get(b, 0) - 1\n active = out = last = 0\n for t in sorted(changes):\n if active >= 1:\n out +...
{ "type": "exact", "value": "6", "tests": [] }
train
wiki-read-en-d428f3b5ef485eb87ba8
en
en
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-en-523ec830685d6f6b92cf3f
measurement
Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--8944958681278516508-0 (Apache-2.0). Wikipedia contributors, “U.S. Route 20” (https://en.wikipedia.org/wiki/U.S._Route_20), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise.
[ { "role": "user", "content": "U.S. Route 20\n\nU.S. Highway 20 (US20) is an east–west United States highway that stretches from the Pacific Northwest all the way to New England. The \"0\" in its route number indicates that US20 is a coast-to-coast route. Spanning 3,365 miles (5,415km), it is the longest roa...
{ "type": "exact", "value": "5,415km", "tests": [] }
train
algpy-948ff5b63f28f6b2-trace
code
ru
TheAlgorithms/Python
MIT
algpy-948ff5b63f28f6b2
trace
TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/josephus_problem.py#find_winner; adapted exercises
[ { "role": "user", "content": "```python\ndef josephus_recursive(num_people, step_size):\n if not isinstance(num_people, int) or not isinstance(step_size, int) or num_people <= 0 or (step_size <= 0):\n raise ValueError('num_people or step_size is not a positive integer.')\n if num_people == 1:\n...
{ "type": "exact", "value": "4", "tests": [] }
train
wiki-read-ru-62043dd3e07b73162498
ru
ru
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-ru-bd1486b06bc3dd89d4999c
measurement
Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--3449339956088216291-1 (Apache-2.0). Wikipedia contributors, “Московский трамвай” (https://ru.wikipedia.org/wiki/%D0%9C%D0%BE%D1%81%D0%BA%D0%BE%D0%B2%D1%81%D0%BA%D0%B8%D0%B9_%D1%82%D1%80%D0%B0%D0%BC%D0%B2%D0%B0%D0%B9), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; wh...
[ { "role": "user", "content": "Московский трамвай\n\nДлина путей в однопутном исчислении, включая путевое развитие депо, составляет на март 2018 года 418 км. Трамвай образует две изолированные сети: основную и северо-западную, обслуживаемую Краснопресненским трамвайным депо в Строгино. Вагоны между двумя сет...
{ "type": "exact", "value": "418 км", "tests": [] }
train
algpy-412c4d5f172fd852-repair
code
en
TheAlgorithms/Python
MIT
algpy-412c4d5f172fd852
repair
TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, divide_and_conquer/power.py#power; adapted exercises
[ { "role": "user", "content": "Repair this Python function. Return the first integer raised to the second integer power. Both inputs are nonnegative and are not both zero.\nFor power(2, 0) it should return 1, but returns 1.0. Keep the signature.\n```python\ndef actual_power(a, b):\n if b == 0:\n re...
{ "type": "code", "value": "", "tests": [ "assert power(0, 2) == 0", "assert power(1, 8) == 1", "assert power(2, 0) == 1", "assert power(2, 5) == 32", "assert power(5, 3) == 125", "assert power(7, 4) == 2401" ] }
train
reason2-room_peak-001
reasoning
ru
Original
CC0-1.0
reason2-room_peak
workshop_room_peak
Original procedural reasoning, release 2; CC0-1.0.
[ { "role": "user", "content": "Репетиции занимают отдельные комнаты в такие минуты: F [17,20); Z [6,12); J [18,21); Y [10,12); W [3,6); B [16,21); G [5,13); C [4,8). Конец интервала уже свободен; одна комната подходит любой группе. Сколько комнат как минимум требуется одновременно?\nКратко обоснуй ответ и за...
{ "type": "number", "value": "3", "tests": [] }
train
wiki-read-en-a5004500ab3ad95afe0a
en
en
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-en-8f40d29c6591983ace8fd1
date_normalization
Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--6476110751498339768-47 (Apache-2.0). Wikipedia contributors, “Ohio” (https://en.wikipedia.org/wiki/Ohio), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise.
[ { "role": "user", "content": "Ohio\n\nFrom just over 45,000 residents in 1800, Ohio's population grew at rates of over 10% per decade (except for the 1940 census) until the 1970 census, which recorded just over 10.65 million Ohioans. Growth then slowed for the next four decades. The United States Census Bur...
{ "type": "exact", "value": "2018-07-01", "tests": [] }
train
reason2-join_catalogs-069
reasoning
en
Original
CC0-1.0
reason2-join_catalogs
workshop_join_catalogs
Original procedural reasoning, release 2; CC0-1.0.
[ { "role": "user", "content": "A catalog maps book codes to shelves: B65=S7, B86=S6, B33=S3, B31=S9, B17=S6, B72=S9. Shelves map to rooms: S3=Z, S9=V, S7=W, S6=Z. Loans by book code: B86=7, B17=12, B72=4, B33=6, B31=17, B65=4. Which room accounts for the most loans?\nBriefly justify your result, then put the...
{ "type": "exact", "value": "Z", "tests": [] }
train
reason2-event_selection-040
reasoning
ru
Original
CC0-1.0
reason2-event_selection
workshop_event_selection
Original procedural reasoning, release 2; CC0-1.0.
[ { "role": "user", "content": "Один фотограф хочет целиком снять как можно больше коротких показов. Начала и окончания: X 11–15; C 4–6; T 13–21; W 0–3; Z 11–18. В момент окончания одного показа можно сразу начать следующий. Каково максимальное число показов?\nКратко обоснуй ответ и запиши сам ответ на послед...
{ "type": "number", "value": "3", "tests": [] }
train
wiki-read-en-bd09b0b8d7b928d8bc30
en
en
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-en-5960b775113e3b7e673da7
parenthetical_detail
Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-5860613325844559310-1 (Apache-2.0). Wikipedia contributors, “Topkapı Palace” (https://en.wikipedia.org/wiki/Topkap%C4%B1_Palace), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise.
[ { "role": "user", "content": "Topkapı Palace\n\nConstruction began in 1459, ordered by Mehmed the Conqueror, six years after the conquest of Constantinople. Topkapı was originally called the \"New Palace\" (Yeni Saray or Saray-ı Cedîd-i Âmire) to distinguish it from the Old Palace in Beyazıt Square. It was ...
{ "type": "exact", "value": "Yeni Saray or Saray-ı Cedîd-i Âmire", "tests": [] }
train
algpy-12303cca6b52221e-change-impact
code
ru
TheAlgorithms/Python
MIT
algpy-12303cca6b52221e
change-impact
TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, searches/simple_binary_search.py#binary_search; adapted exercises
[ { "role": "user", "content": "В показанном коде строку `return False` заменяют на `return True`. Для какого из двух выражений изменится возвращаемое значение? Дай короткое объяснение и запиши букву в последней строке.\n```python\ndef compute(a_list, item):\n if len(a_list) == 0:\n return False\n ...
{ "type": "exact", "value": "B", "tests": [] }
train
reason2-frequency_median-043
reasoning
ru
Original
CC0-1.0
reason2-frequency_median
workshop_frequency_median
Original procedural reasoning, release 2; CC0-1.0.
[ { "role": "user", "content": "В журнале длительности занятий записаны парами «минуты × число занятий»: 28×6; 18×8; 19×10; 44×12; 4×2; 29×6; 10×3; 36×8. Какова медианная длительность одного занятия?\nКратко обоснуй ответ и запиши сам ответ на последней строке." }, { "role": "assistant", "content"...
{ "type": "number", "value": "28", "tests": [] }
train
wiki-read-ru-0a93f1f32895e7ec3155
ru
ru
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-ru-3acee38caa0fd678a940b1
clause
Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--6287981754962385510-0 (Apache-2.0). Wikipedia contributors, “Бокс” (https://ru.wikipedia.org/wiki/%D0%91%D0%BE%D0%BA%D1%81), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise.
[ { "role": "user", "content": "Бокс\n\nБокс (от English: Boxing) — контактный вид спорта, единоборство, в котором спортсмены наносят друг другу удары кулаками в специальных перчатках. Рефери контролирует бой, который длится до 12 раундов. Победа присваивается в случае, если соперник сбит с ног и не может под...
{ "type": "exact", "value": "который длится до 12 раундов", "tests": [] }
train
wiki-read-en-4bfde9473a4af48ea284
en
en
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-en-40a00b802c9dab6312f466
date_normalization
Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--1261932511906925195-0 (Apache-2.0). Wikipedia contributors, “Demographics of France” (https://en.wikipedia.org/wiki/Demographics_of_France), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise.
[ { "role": "user", "content": "Demographics of France\n\nThe demography of France is monitored by the Institut national d'études démographiques (INED) and the Institut national de la statistique et des études économiques (INSEE). As of 1 January 2018, 67.19 million people lived in France (67,186,638), includ...
{ "type": "exact", "value": "2018-01-01", "tests": [] }
train
gsm-train-96
math
en
GSM8K
MIT
gsm8k-db00a02802c348ad568c
word_problem_7_steps
OpenAI (2021), GSM8K, original train row 96
[ { "role": "user", "content": "Alice has 20 quarters. She wants to exchange them for nickels and so she goes to the bank. After getting back from the bank, she discovers that 20% of the nickels are iron nickels worth $3 each. What is the total value of her money now?\nShow a short calculation. Put the final ...
{ "type": "number", "value": "64", "tests": [] }
train
wiki-read-ru-8dade292b5edf613d296
ru
ru
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-ru-40cc3d04727101885348d8
parenthetical_detail
Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--8341952256965513735-47 (Apache-2.0). Wikipedia contributors, “Тепловоз” (https://ru.wikipedia.org/wiki/%D0%A2%D0%B5%D0%BF%D0%BB%D0%BE%D0%B2%D0%BE%D0%B7), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise.
[ { "role": "user", "content": "Тепловоз\n\nВ 1896 году был построен первый локомотив, работающий на жидком топливе, на него был установлен нефтяной двигатель, изобретённый Гербертом Стюартом. Нефтяной двигатель (известный также как калоризаторный двигатель или полудизель) стал предшественником дизельного дви...
{ "type": "exact", "value": "известный также как калоризаторный двигатель или полудизель", "tests": [] }
train
reason2-join_catalogs-014
reasoning
ru
Original
CC0-1.0
reason2-join_catalogs
workshop_join_catalogs
Original procedural reasoning, release 2; CC0-1.0.
[ { "role": "user", "content": "Каталог связывает код книги с полкой: B70=S6, B42=S6, B81=S5, B91=S9, B88=S5. Соответствие полок и залов: S6=B, S5=F, S9=J. Число выданных экземпляров по коду книги: B88=17, B91=11, B81=3, B42=8, B70=5. В каком зале больше всего выдач?\nПриведи ход решения в нескольких фразах. ...
{ "type": "exact", "value": "F", "tests": [] }
train
algpy-dc511a7cb080cb6a-trace
code
ru
TheAlgorithms/Python
MIT
algpy-dc511a7cb080cb6a
trace
TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/average_absolute_deviation.py#average_absolute_deviation; adapted exercises
[ { "role": "user", "content": "```python\ndef compute(nums):\n if not nums:\n raise ValueError('List is empty')\n average = sum(nums) / len(nums)\n return sum((abs(x - average) for x in nums)) / len(nums)\n```\nЧто вернёт выражение round(compute([2, 70, 6, 50, 20, 8, 4, 0]), 6)? Запиши repr р...
{ "type": "exact", "value": "20.0", "tests": [] }
train
wiki-read-en-fabfeb6b3a47d8948148
en
en
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-en-38e0ca9ab149591f9023aa
date_normalization
Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--7501370868798204034-3 (Apache-2.0). Wikipedia contributors, “Jeff Dunham” (https://en.wikipedia.org/wiki/Jeff_Dunham), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise.
[ { "role": "user", "content": "Jeff Dunham\n\nDunham was born in Dallas, Texas on April 18, 1962. When he was three months old, he was adopted by real estate appraiser Howard Dunham, and his homemaker wife Joyce, who raised him in a devoutly Presbyterian household in an affluent Dallas neighborhood, as an on...
{ "type": "exact", "value": "1962-04-18", "tests": [] }
train
gsm-train-558
math
en
GSM8K
MIT
gsm8k-2a71508faa054ed99d82
word_problem_4_steps
OpenAI (2021), GSM8K, original train row 558
[ { "role": "user", "content": "Andy harvests all the tomatoes from 18 plants that have 7 tomatoes each. If he dries half the tomatoes and turns a third of the remainder into marinara sauce, how many tomatoes are left?\nShow a short calculation. Put the final number alone on the last line." }, { "role...
{ "type": "number", "value": "42", "tests": [] }
train
reason2-pareto-005
reasoning
ru
Original
CC0-1.0
reason2-pareto
workshop_pareto
Original procedural reasoning, release 2; CC0-1.0.
[ { "role": "user", "content": "Для печати плаката доступны заказы (дни, цена): U (16, 53); P (17, 36); T (22, 32); Z (21, 37); W (23, 49); B (3, 50); F (11, 40); K (13, 63); X (24, 25). Отбрось любой вариант, для которого другой вариант одновременно дешевле и быстрее. Запиши коды оставшихся в алфавитном поря...
{ "type": "exact", "value": "B F P T X", "tests": [] }
train
algpy-2dbbb0aeb5c66eb7-check-assertions
code
ru
TheAlgorithms/Python
MIT
algpy-2dbbb0aeb5c66eb7
check-assertions
TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, backtracking/word_ladder.py#word_ladder; adapted exercises
[ { "role": "user", "content": "Один из тестов противоречит фактическому поведению этой функции. Определи его и вычисли верный результат. В последней строке запиши букву и результат через двоеточие, например A: 42.\n```python\nimport string\n\ndef backtrack(current_word, path, end_word, word_set):\n if cur...
{ "type": "exact", "value": "B: ['hit', 'hot', 'dot', 'lot', 'log', 'cog']", "tests": [] }
train
algpy-0279eee6c732277c-trace
code
ru
TheAlgorithms/Python
MIT
algpy-0279eee6c732277c
trace
TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, strings/upper.py#upper; adapted exercises
[ { "role": "user", "content": "```python\ndef upper(word):\n return ''.join((chr(ord(char) - 32) if 'a' <= char <= 'z' else char for char in word))\n```\nЧто вернёт выражение upper('wow')? Запиши repr результата Python." }, { "role": "assistant", "content": "'WOW'" } ]
{ "type": "exact", "value": "'WOW'", "tests": [] }
train
algpy-f7ea1cde3a529703-check-assertions
code
ru
TheAlgorithms/Python
MIT
algpy-f7ea1cde3a529703
check-assertions
TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/area.py#surface_area_reg_prism; adapted exercises
[ { "role": "user", "content": "Один из тестов противоречит фактическому поведению этой функции. Определи его и вычисли верный результат. В последней строке запиши букву и результат через двоеточие, например A: 42.\n```python\nfrom math import pi\nfrom math import tan\n\ndef area_reg_polygon(sides, length):\n...
{ "type": "exact", "value": "A: 686.60254", "tests": [] }
train
wiki-read-ru-3a6def0a055a6bb2de34
ru
ru
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-ru-868bdafd623b1e4481c9d8
measurement
Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-7001746154258122473-1 (Apache-2.0). Wikipedia contributors, “Санкт-петербургский трамвай” (https://ru.wikipedia.org/wiki/%D0%A1%D0%B0%D0%BD%D0%BA%D1%82-%D0%BF%D0%B5%D1%82%D0%B5%D1%80%D0%B1%D1%83%D1%80%D0%B3%D1%81%D0%BA%D0%B8%D0%B9_%D1%82%D1%80%D0%B0%D0%BC%D0%B2%D0%B...
[ { "role": "user", "content": "Санкт-петербургский трамвай\n\nПо состоянию на начало 2018 года действуют 39 трамвайных маршрутов, эксплуатируется 786 единиц подвижного состава, которые обслуживаются шестью трамвайными парками. С 228 км путей трамвайная сеть Санкт-Петербурга занимает 4-е место в мире по протя...
{ "type": "exact", "value": "228 км", "tests": [] }
train
reason2-room_peak-021
reasoning
ru
Original
CC0-1.0
reason2-room_peak
workshop_room_peak
Original procedural reasoning, release 2; CC0-1.0.
[ { "role": "user", "content": "Репетиции занимают отдельные комнаты в такие минуты: K [8,13); F [9,17); J [0,6); G [6,14); V [12,16); N [18,21); M [8,16). Конец интервала уже свободен; одна комната подходит любой группе. Сколько комнат как минимум требуется одновременно?\nПриведи ход решения в нескольких фра...
{ "type": "number", "value": "5", "tests": [] }
train
math-verified-grid_triangle-017
math
ru
Original
CC0-1.0
math-verified-grid_triangle
verified_math_grid_triangle
Original bilingual mathematics exercises, CC0-1.0
[ { "role": "user", "content": "На квадратной решётке с шагом 1 отмечены вершины треугольника (-1, 1), (10, 1) и (4, 4). Сколько узлов с целыми координатами лежит строго внутри него? Точки на сторонах не включай.\nЗапиши точное число в последней строке; нецелый ответ дай несократимой дробью." }, { "ro...
{ "type": "number", "value": "10", "tests": [] }
train
reason2-order_count-041
reasoning
ru
Original
CC0-1.0
reason2-order_count
workshop_order_count
Original procedural reasoning, release 2; CC0-1.0.
[ { "role": "user", "content": "Экспонаты K, N, W, Z, M, C выносят по одному, каждый ровно раз. Правило X→Y требует вынести X раньше Y. Правила: K→N, N→M, K→C, N→C. Сколько полных порядков допускают эти условия?\nКратко обоснуй ответ и запиши сам ответ на последней строке." }, { "role": "assistant", ...
{ "type": "number", "value": "60", "tests": [] }
train
algpy-37977936e7118ddc-repair
code
en
TheAlgorithms/Python
MIT
algpy-37977936e7118ddc
repair
TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, searches/binary_search.py#bisect_left; adapted exercises
[ { "role": "user", "content": "Repair this Python function. Given a sorted integer list and a target, return the first index at which the target can be inserted while keeping order, before any equal values. Calls use the entire list with the default lo and hi bounds.\nFor bisect_left([1], 1) it should return...
{ "type": "code", "value": "", "tests": [ "assert bisect_left([], 1) == 0", "assert bisect_left([1], 1) == 0", "assert bisect_left([1, 1, 2, 5], 1) == 0", "assert bisect_left([1, 1, 2, 5], 3) == 3", "assert bisect_left([0, 2, 4, 4], 7) == 4", "assert bisect_left([1, 4, 4], 0) == 0" ] }
train
wiki-read-ru-aba6aecb3d50402a6241
ru
ru
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-ru-e51a065854dd839cba7bf3
parenthetical_detail
Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--8842189925708780265-0 (Apache-2.0). Wikipedia contributors, “Евклидово пространство” (https://ru.wikipedia.org/wiki/%D0%95%D0%B2%D0%BA%D0%BB%D0%B8%D0%B4%D0%BE%D0%B2%D0%BE_%D0%BF%D1%80%D0%BE%D1%81%D1%82%D1%80%D0%B0%D0%BD%D1%81%D1%82%D0%B2%D0%BE), snapshot 2019-02-01...
[ { "role": "user", "content": "Евклидово пространство\n\nЕвкли́дово простра́нство (также эвкли́дово простра́нство) — в изначальном смысле, пространство, свойства которого описываются аксиомами евклидовой геометрии. В этом случае предполагается, что пространство имеет размерность, равную 3.\n\nКакое пояснение...
{ "type": "exact", "value": "также эвкли́дово простра́нство", "tests": [] }
train
math-verified-tank_posts-023
math
ru
Original
CC0-1.0
math-verified-tank_posts
verified_math_tank_posts
Original bilingual mathematics exercises, CC0-1.0
[ { "role": "user", "content": "Внутренние размеры дна прямоугольного бака — 26 × 27 см. В противоположных углах от дна вертикально стоят два сплошных прямоугольных столбика с основаниями 7 × 4 см и 7 × 4 см. Они выше конечного уровня воды и не перекрываются. Сколько литров воды нужно долить, чтобы уровень вы...
{ "type": "number", "value": "969/125", "tests": [] }
train
wiki-read-en-1a1a8f3bc3a598284579
en
en
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-en-66ef2fa1581abd5a380590
chronology
Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--5889649413624382231-1 (Apache-2.0). Wikipedia contributors, “Neath and Tennant Canal” (https://en.wikipedia.org/wiki/Neath_and_Tennant_Canal), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise.
[ { "role": "user", "content": "Neath and Tennant Canal\n\nThe Neath and Tennant Canals are two independent but linked canals in South Wales that are usually regarded as a single canal. The Neath Canal was opened from Glynneath to Melincryddan, to the south of Neath, in 1795 and extended to Giant's Grave in 1...
{ "type": "exact", "value": "1795, 1799", "tests": [] }
train
wiki-read-ru-ae2d2e1f95a80f1557af
ru
ru
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-ru-ed080a66c0272766296132
parenthetical_detail
Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-8154593104199856844-0 (Apache-2.0). Wikipedia contributors, “Средний дуэт” (https://ru.wikipedia.org/wiki/%D0%A1%D1%80%D0%B5%D0%B4%D0%BD%D0%B8%D0%B9_%D0%B4%D1%83%D1%8D%D1%82), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. ...
[ { "role": "user", "content": "Средний дуэт\n\nСре́дний дуэ́т (балетмейстер Алексей Ратманский, композитор Юрий Ханон) — одноактный балет, поставленный в Мариинском театре в ноябре 1998 года на музыку первой части «Средней симфонии». Десятиминутная постановка стала дебютом Ратманского как хореографа в Мариин...
{ "type": "exact", "value": "балетмейстер Алексей Ратманский, композитор Юрий Ханон", "tests": [] }
train
wiki-read-en-8393e94f7be3649172f2
en
en
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-en-c51e263f9aa21501a3790a
clause
Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-1897941942247322587-0 (Apache-2.0). Wikipedia contributors, “Gollum” (https://en.wikipedia.org/wiki/Gollum), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise.
[ { "role": "user", "content": "Gollum\n\nGollum is a fictional character from J. R. R. Tolkien's legendarium. He was introduced in the 1937 fantasy novel The Hobbit, and became an important character in its sequel, The Lord of the Rings. Gollum was a Stoor Hobbit of the River-folk, who lived near the Gladden...
{ "type": "exact", "value": "who lived near the Gladden Fields", "tests": [] }
train
reason2-ballot_points-024
reasoning
ru
Original
CC0-1.0
reason2-ballot_points
workshop_ballot_points
Original procedural reasoning, release 2; CC0-1.0.
[ { "role": "user", "content": "Жюри оценивает макеты N, D, F. Баллы за места, начиная с первого: 2, 1, 0. Бюллетени записаны как число одинаковых голосов × порядок от лучшего к худшему: 8 × F>D>N; 5 × D>N>F; 4 × N>F>D; 6 × D>F>N. У какого макета больше всего баллов?\nПриведи ход решения в нескольких фразах. ...
{ "type": "exact", "value": "D", "tests": [] }
train
reason2-minimum_cover-027
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, 3, 4, 5, 8, 9. Наборы перечислены с типами внутри: X=4/5/8/9; Y=1/3/5/8; K=1/2/9; F=1/3/8; B=1; M=2/4; C=2/3/5/9. Дубли допустимы. Какое наименьшее число наборов покроет все типы?\nКратко обоснуй ответ и запиши сам ответ на последней ...
{ "type": "number", "value": "3", "tests": [] }
train
algpy-f4c7cfda4923cd99-implement
code
en
TheAlgorithms/Python
MIT
algpy-f4c7cfda4923cd99
implement
TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, boolean_algebra/imply_gate.py#imply_gate; adapted exercises
[ { "role": "user", "content": "Implement this Python function. For integer bits a,b return integer 1 exactly when the first input is 0 or the second is 1, else 0.\nSignature: def imply_gate(input_1, input_2):\nExamples:\n```python\nassert imply_gate(0, 0) == 1\nassert imply_gate(1, 0) == 0\n```" }, { ...
{ "type": "code", "value": "", "tests": [ "assert imply_gate(0, 1) == 1", "assert imply_gate(1, 1) == 1" ] }
train
algpy-2210eb4845269c4b-check-assertions
code
en
TheAlgorithms/Python
MIT
algpy-2210eb4845269c4b
check-assertions
TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, strings/longest_word_in_sentence.py#longest_word; 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(sentence):\n words = sentence.split()\n return max(words, key=len) if wor...
{ "type": "exact", "value": "B: 'jumped'", "tests": [] }
train
math-verified-skipped_payment-026
math
ru
Original
CC0-1.0
math-verified-skipped_payment
verified_math_skipped_payment
Original bilingual mathematics exercises, CC0-1.0
[ { "role": "user", "content": "В первый день планировали отложить 23 руб., а в каждый следующий — на 7 руб. больше, чем было запланировано накануне. План рассчитан на 13 дней. Ровно в один день взнос пропустили; все остальные суммы внесли по расписанию. Всего отложили 766 руб. В какой по счёту день пропустил...
{ "type": "number", "value": "9", "tests": [] }
train
wiki-read-en-59c87b03a6343150691f
en
en
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-en-8e4a540e4f7f09777a6184
date_normalization
Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-5140670592304010756-1 (Apache-2.0). Wikipedia contributors, “Demographics of China” (https://en.wikipedia.org/wiki/Demographics_of_China), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise.
[ { "role": "user", "content": "Demographics of China\n\nIn 2019, China's population stands at 1.418billion, the largest of any country in the world. According to the 2010 census, 91.51% of the population was Han Chinese, and 8.49% were minorities. China's population growth rate is only 0.59%, ranking 159th i...
{ "type": "exact", "value": "2010-11-01", "tests": [] }
train
algpy-8dfd2e4b97bf8061-check-assertions
code
en
TheAlgorithms/Python
MIT
algpy-8dfd2e4b97bf8061
check-assertions
TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/euclidean_distance.py#euclidean_distance_no_np; 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(vector_1, vector_2):\n return sum(((v1 - v2) ** 2 for v1, v2 in zip(vector_1...
{ "type": "exact", "value": "A: 2.828427", "tests": [] }
train
math-verified-binomial_divisibility-005
math
ru
Original
CC0-1.0
math-verified-binomial_divisibility
verified_math_binomial_divisibility
Original bilingual mathematics exercises, CC0-1.0
[ { "role": "user", "content": "Из 105 разных элементов выбирают 12 без учёта порядка. Найди наибольшее целое e ≥ 0, при котором число способов C(105,12) делится на 12 в степени e.\nЗапиши точное число в последней строке; нецелый ответ дай несократимой дробью." }, { "role": "assistant", "content":...
{ "type": "number", "value": "0", "tests": [] }
train
algpy-61dfa45dfec264fe-repair
code
en
TheAlgorithms/Python
MIT
algpy-61dfa45dfec264fe
repair
TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/primelib.py#is_even; adapted exercises
[ { "role": "user", "content": "Repair this Python function. For a signed integer, return True exactly when it is even.\nFor is_even(-101) it should return False, but returns True. Keep the signature.\n```python\ndef is_even(number):\n assert isinstance(number, int), \"'number' must been an int\"\n asse...
{ "type": "code", "value": "", "tests": [ "assert is_even(-101) == False", "assert is_even(-17) == False", "assert is_even(-2) == True", "assert is_even(-1) == False", "assert is_even(0) == True", "assert is_even(1) == False", "assert is_even(2) == True", "assert is_even(17) == Fal...
train
algpy-b1cf7155f5c18ac1-trace
code
en
TheAlgorithms/Python
MIT
algpy-b1cf7155f5c18ac1
trace
TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/juggler_sequence.py#juggler_sequence; adapted exercises
[ { "role": "user", "content": "```python\nimport math\n\ndef compute(number):\n if not isinstance(number, int):\n msg = f'Input value of [number={number}] must be an integer'\n raise TypeError(msg)\n if number < 1:\n msg = f'Input value of [number={number}] must be a positive integ...
{ "type": "exact", "value": "[2, 1]", "tests": [] }
train
gsm-train-1225
math
en
GSM8K
MIT
gsm8k-d075260b4ff90845b44d
word_problem_5_steps
OpenAI (2021), GSM8K, original train row 1225
[ { "role": "user", "content": "Jim starts with $80 in his investment portfolio. After 1 year it grows by 15%. He then adds another $28 to his portfolio. After 1 more year the combined portfolio grows by 10%. What is his final portfolio worth after 2 years from when he started?\nShow a short calculation. Put ...
{ "type": "number", "value": "132", "tests": [] }
train
wiki-read-ru-877680d64217ebda8b6b
ru
ru
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-ru-5c1c65c7eb5dace2a0f053
date_normalization
Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-6733580310047902702-2 (Apache-2.0). Wikipedia contributors, “Mortal Kombat (игра, 2011)” (https://ru.wikipedia.org/wiki/Mortal_Kombat_(%D0%B8%D0%B3%D1%80%D0%B0%2C_2011)), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New r...
[ { "role": "user", "content": "Mortal Kombat (игра, 2011)\n\n18 июня 2009 года на своей странице в Twitter Бун объявил, что команда разработчиков занимается созданием анимации motion capture и движений персонажей для нового проекта MK. Он также сообщил об отсутствии в игре супергероев из вселенной DC Comics,...
{ "type": "exact", "value": "2009-06-18", "tests": [] }
train
reason2-order_count-025
reasoning
ru
Original
CC0-1.0
reason2-order_count
workshop_order_count
Original procedural reasoning, release 2; CC0-1.0.
[ { "role": "user", "content": "Экспонаты W, J, V, X, S выносят по одному, каждый ровно раз. Правило X→Y требует вынести X раньше Y. Правила: J→X, V→X, W→J, J→S, V→S. Сколько полных порядков допускают эти условия?\nКратко обоснуй ответ и запиши сам ответ на последней строке." }, { "role": "assistant",...
{ "type": "number", "value": "6", "tests": [] }
train