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 |
|---|---|---|---|---|---|---|---|---|---|---|
math-verified-binomial_divisibility-004 | math | ru | Original | CC0-1.0 | math-verified-binomial_divisibility | verified_math_binomial_divisibility | Original bilingual mathematics exercises, CC0-1.0 | [
{
"role": "user",
"content": "Из 48 разных элементов выбирают 3 без учёта порядка. Найди наибольшее целое e ≥ 0, при котором число способов C(48,3) делится на 18 в степени e.\nЗапиши точное число в последней строке; нецелый ответ дай несократимой дробью."
},
{
"role": "assistant",
"content": "По... | {
"type": "number",
"value": "0",
"tests": []
} | train |
reason2-motif_growth-010 | reasoning | ru | Original | CC0-1.0 | reason2-motif_growth | workshop_motif_growth | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Начальный орнамент CYC. За проход каждый исходный символ одновременно заменяют по правилам C→CY; Y→CCC; новые символы в том же проходе не заменяются. Сколько символов C будет после 4 проходов?\nПриведи ход решения в нескольких фразах. На последней строке оставь только ответ."
... | {
"type": "number",
"value": "59",
"tests": []
} | train |
reason2-event_selection-027 | 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 J 12–14; P 10–16; N 3–8; M 16–20; A 18–23; R 9–12; L 12–19. Finishing one at the instant another starts is allowed. What is the maximum count?\nShow a short check. Give the ... | {
"type": "number",
"value": "4",
"tests": []
} | train |
algpy-ee95b72ff1342e15-implement | code | en | TheAlgorithms/Python | MIT | algpy-ee95b72ff1342e15 | implement | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/addition_without_arithmetic.py#add; adapted exercises | [
{
"role": "user",
"content": "Implement this Python function. Return the sum of two nonnegative integers.\nSignature: def add(first, second):\nExamples:\n```python\nassert add(0, 0) == 0\nassert add(0, 5) == 5\n```"
},
{
"role": "assistant",
"content": "```python\ndef add(first, second):\n wh... | {
"type": "code",
"value": "",
"tests": [
"assert add(7, 0) == 7",
"assert add(3, 4) == 7",
"assert add(12, 17) == 29",
"assert add(255, 1) == 256"
]
} | train |
wiki-read-en-e7ebb9c5636d39d33619 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-501f025f43dda0ca8cd6af | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--4484468577066730820-0 (Apache-2.0). Wikipedia contributors, “The Wonderful Wizard of Oz” (https://en.wikipedia.org/wiki/The_Wonderful_Wizard_of_Oz), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "The Wonderful Wizard of Oz\n\nThe Wonderful Wizard of Oz (/ɒz/) is an American children's novel written by author L. Frank Baum and illustrated by W. W. Denslow, originally published by the George M. Hill Company in Chicago on May 17, 1900. It has since seen several reprints, m... | {
"type": "exact",
"value": "1900-05-17",
"tests": []
} | train |
reason2-connected_groups-036 | reasoning | ru | Original | CC0-1.0 | reason2-connected_groups | workshop_connected_groups | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Сначала у каждого кода из списка M, A, T, D, U, C, J, N, H, G свой архив. Связь между двумя кодами объединяет их архивы целиком; это распространяется по цепочке. Все действующие связи: G–C, T–M, D–T, J–A, M–G, C–M, C–T, H–D, A–N, D–G, H–G, U–N. Добавляют связь N–H. Сколько кодо... | {
"type": "number",
"value": "10",
"tests": []
} | train |
gsm-train-2068 | math | en | GSM8K | MIT | gsm8k-bf387025b1cbb97dfed1 | word_problem_6_steps | OpenAI (2021), GSM8K, original train row 2068 | [
{
"role": "user",
"content": "A group of 6 students organized a fundraiser to go to Nicaragua for the summer. For them to go on the trip, each of them needs at least $450. On top of that, they need $3000 for their miscellaneous collective expenses. On the first day of their fundraiser, they receive $600. On... | {
"type": "number",
"value": "475",
"tests": []
} | train |
reason2-event_selection-056 | reasoning | ru | Original | CC0-1.0 | reason2-event_selection | workshop_event_selection | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Один фотограф хочет целиком снять как можно больше коротких показов. Начала и окончания: G 9–15; M 3–8; N 17–24; F 3–7; V 8–11; H 7–13; J 17–24. В момент окончания одного показа можно сразу начать следующий. Каково максимальное число показов?\nКратко обоснуй ответ и запиши сам ... | {
"type": "number",
"value": "3",
"tests": []
} | train |
algpy-cf7ddcf3918f90d0-check-assertions | code | ru | TheAlgorithms/Python | MIT | algpy-cf7ddcf3918f90d0 | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, strings/damerau_levenshtein_distance.py#damerau_levenshtein_distance; adapted exercises | [
{
"role": "user",
"content": "Один из тестов противоречит фактическому поведению этой функции. Определи его и вычисли верный результат. В последней строке запиши букву и результат через двоеточие, например A: 42.\n```python\ndef compute(first_string, second_string):\n dp_matrix = [[0] * (len(second_strin... | {
"type": "exact",
"value": "B: 1",
"tests": []
} | train |
reason2-frequency_median-056 | reasoning | en | Original | CC0-1.0 | reason2-frequency_median | workshop_frequency_median | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "A log summarises sessions as minutes × number of sessions: 43×8; 44×10; 33×8; 4×3; 31×3; 16×3; 11×10. What is the median duration of an individual session?\nBriefly justify your result, then put the answer alone on the last line."
},
{
"role": "assistant",
"content"... | {
"type": "number",
"value": "33",
"tests": []
} | train |
reason2-ballot_points-052 | reasoning | ru | Original | CC0-1.0 | reason2-ballot_points | workshop_ballot_points | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Жюри оценивает макеты G, H, T. Баллы за места, начиная с первого: 2, 1, 0. Бюллетени записаны как число одинаковых голосов × порядок от лучшего к худшему: 3 × H>T>G; 7 × T>G>H; 8 × T>H>G. У какого макета больше всего баллов?\nКратко обоснуй ответ и запиши сам ответ на последней... | {
"type": "exact",
"value": "T",
"tests": []
} | train |
reason2-order_count-044 | reasoning | ru | Original | CC0-1.0 | reason2-order_count | workshop_order_count | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Экспонаты W, B, J, P, C, T выносят по одному, каждый ровно раз. Правило X→Y требует вынести X раньше Y. Правила: B→T, C→T, W→J, W→B. Сколько полных порядков допускают эти условия?\nКратко обоснуй ответ и запиши сам ответ на последней строке."
},
{
"role": "assistant",
... | {
"type": "number",
"value": "66",
"tests": []
} | train |
algpy-a6deadac861952b4-trace | code | ru | TheAlgorithms/Python | MIT | algpy-a6deadac861952b4 | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, strings/is_isogram.py#is_isogram; adapted exercises | [
{
"role": "user",
"content": "```python\ndef compute(string):\n if not all((x.isalpha() for x in string)):\n raise ValueError('String must only contain alphabetic characters.')\n letters = string.lower()\n return len(letters) == len(set(letters))\n```\nЧто вернёт выражение compute('Uncopyrig... | {
"type": "exact",
"value": "True",
"tests": []
} | train |
algpy-6257d1bc65af22a2-change-impact | code | ru | TheAlgorithms/Python | MIT | algpy-6257d1bc65af22a2 | change-impact | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, strings/levenshtein_distance.py#levenshtein_distance; adapted exercises | [
{
"role": "user",
"content": "В показанном коде строку `if len(second_word) == 0:` заменяют на `if len(second_word) != 0:`. Для какого из двух выражений изменится возвращаемое значение? Дай короткое объяснение и запиши букву в последней строке.\n```python\ndef compute(first_word, second_word):\n if len(f... | {
"type": "exact",
"value": "A",
"tests": []
} | train |
algpy-61dfa45dfec264fe-trace | code | ru | TheAlgorithms/Python | MIT | algpy-61dfa45dfec264fe | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/primelib.py#is_even; adapted exercises | [
{
"role": "user",
"content": "```python\ndef is_even(number):\n assert isinstance(number, int), \"'number' must been an int\"\n assert isinstance(number % 2 == 0, bool), 'compare must been from type bool'\n return number % 2 == 0\n```\nЧто вернёт выражение is_even(287)? Запиши repr результата Pytho... | {
"type": "exact",
"value": "False",
"tests": []
} | train |
algpy-e41e28fd7327c522-trace | code | ru | TheAlgorithms/Python | MIT | algpy-e41e28fd7327c522 | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, conversions/temperature_conversions.py#celsius_to_kelvin; adapted exercises | [
{
"role": "user",
"content": "```python\ndef compute(celsius, ndigits=2):\n return round(float(celsius) + 273.15, ndigits)\n```\nЧто вернёт выражение round(compute(273.354, 0), 6)? Запиши repr результата Python."
},
{
"role": "assistant",
"content": "547.0"
}
] | {
"type": "exact",
"value": "547.0",
"tests": []
} | train |
wiki-read-ru-4a06da6962c38cb5f608 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-1dfc8e8b367331959db91b | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-6981401380836566926-2 (Apache-2.0). Wikipedia contributors, “Спутниковая фотосъёмка” (https://ru.wikipedia.org/wiki/%D0%A1%D0%BF%D1%83%D1%82%D0%BD%D0%B8%D0%BA%D0%BE%D0%B2%D0%B0%D1%8F_%D1%84%D0%BE%D1%82%D0%BE%D1%81%D1%8A%D1%91%D0%BC%D0%BA%D0%B0), snapshot 2019-02-01 ... | [
{
"role": "user",
"content": "Спутниковая фотосъёмка\n\nПервая спутниковая фотография Земли была сделана 14 августа 1959 года американским спутником Explorer 6, а первые фотографии Луны — советским спутником Луна-3 6 октября того же года (во время выполнения фотографирования обратной стороны Луны).\n\nНайди... | {
"type": "exact",
"value": "1959-08-14",
"tests": []
} | train |
wiki-read-en-a6005fdd6064b91e7f90 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-e70636a053b8c0cbb7511e | chronology | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-5439584669999146580-1 (Apache-2.0). Wikipedia contributors, “Danny Boy” (https://en.wikipedia.org/wiki/Danny_Boy), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Danny Boy\n\nInitially written to a tune other than \"Londonderry Air\", English lawyer and lyricist Frederic Weatherly wrote the words to \"Danny Boy\" in Bath, Somerset in 1910. After his Irish-born sister-in-law Margaret (known as Jess) in the United States sent him a copy o... | {
"type": "exact",
"value": "1910, 1912, 1913",
"tests": []
} | train |
algpy-98591416558ed769-change-impact | code | ru | TheAlgorithms/Python | MIT | algpy-98591416558ed769 | change-impact | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, graphs/eulerian_path_and_circuit_for_undirected_graph.py#check_circuit_or_path; adapted exercises | [
{
"role": "user",
"content": "В показанном коде строку `if odd_degree_nodes == 2:` заменяют на `if odd_degree_nodes != 2:`. Для какого из двух выражений изменится возвращаемое значение? Дай короткое объяснение и запиши букву в последней строке.\n```python\ndef compute(graph, max_node):\n odd_degree_nodes... | {
"type": "exact",
"value": "A",
"tests": []
} | train |
reason2-light_piece-040 | 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, H, M, X, T, L, V должны весить одинаково, но ровно одна легче. На чаши каждый раз кладут поровну деталей. Результаты (знаки сравнивают массу левой и правой чаш): F+M+L+V < H+T+J+X; L+X+T+H > M+V+J+F; L+T+X = M+H+J; H+T+L = M+F+J. Какая деталь легче?\nПокажи коротку... | {
"type": "exact",
"value": "V",
"tests": []
} | train |
reason2-room_peak-065 | reasoning | ru | Original | CC0-1.0 | reason2-room_peak | workshop_room_peak | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Репетиции занимают отдельные комнаты в такие минуты: L [19,24); J [12,16); C [12,18); W [9,13); A [19,25); S [8,16); M [10,16). Конец интервала уже свободен; одна комната подходит любой группе. Сколько комнат как минимум требуется одновременно?\nКратко обоснуй ответ и запиши са... | {
"type": "number",
"value": "5",
"tests": []
} | train |
reason2-minimum_cover-037 | 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, 6, 7, 8, 9. Наборы перечислены с типами внутри: M=2/6/7/9; V=2/6; E=1; Z=4/7/8; P=3/4/7/9. Дубли допустимы. Какое наименьшее число наборов покроет все типы?\nПриведи ход решения в нескольких фразах. На последней строке оставь то... | {
"type": "number",
"value": "4",
"tests": []
} | train |
wiki-read-ru-44ce570cf5dd3812d30c | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-453d1da1a128fe1d05bc84 | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--4067194326146181826-1 (Apache-2.0). Wikipedia contributors, “Козаков, Михаил Михайлович” (https://ru.wikipedia.org/wiki/%D0%9A%D0%BE%D0%B7%D0%B0%D0%BA%D0%BE%D0%B2%2C_%D0%9C%D0%B8%D1%85%D0%B0%D0%B8%D0%BB_%D0%9C%D0%B8%D1%85%D0%B0%D0%B9%D0%BB%D0%BE%D0%B2%D0%B8%D1%87),... | [
{
"role": "user",
"content": "Козаков, Михаил Михайлович\n\nМихаил Михайлович Козаков родился 14 октября 1934 года в Ленинграде, в семье писателя Михаила Эммануиловича Козакова (1897—1954) и Зои Александровны Никитиной (урождённой Гацкевич, 1902—1973), редактора «Издательства писателей в Ленинграде». Отец п... | {
"type": "exact",
"value": "1934-10-14",
"tests": []
} | train |
verified-code-route_count-implement | code | en | Original | CC0-1.0 | verified-code-grid_walks | verified_implement | Original algorithm and independent oracle, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Implement route_count(grid) in Python. A nonempty rectangular grid holds integer costs or None for blocked cells. Paths go only right or down from top left to bottom right and include both endpoints. Return the path count, or 0 if no path exists.\nassert route_count([[1, 2], [4... | {
"type": "code",
"value": "",
"tests": [
"assert route_count([[None]]) == 0",
"assert route_count([[0]]) == 1",
"assert route_count([[1, None], [4, 2]]) == 1",
"assert route_count([[0, -3, 6], [1, None, 2], [3, 0, -1]]) == 2",
"assert route_count([[1, None, 3], [None, 2, 0]]) == 0",
"asse... | train |
reason2-frequency_median-055 | reasoning | ru | Original | CC0-1.0 | reason2-frequency_median | workshop_frequency_median | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "В журнале длительности занятий записаны парами «минуты × число занятий»: 40×9; 43×7; 19×6; 32×7; 26×2. Какова медианная длительность одного занятия?\nПокажи короткую проверку, а в конце на отдельной строке дай ответ."
},
{
"role": "assistant",
"content": "Общее числ... | {
"type": "number",
"value": "40",
"tests": []
} | train |
algpy-b5e157f5f337845b-check-assertions | code | ru | TheAlgorithms/Python | MIT | algpy-b5e157f5f337845b | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, conversions/temperature_conversions.py#fahrenheit_to_rankine; adapted exercises | [
{
"role": "user",
"content": "Один из тестов противоречит фактическому поведению этой функции. Определи его и вычисли верный результат. В последней строке запиши букву и результат через двоеточие, например A: 42.\n```python\ndef compute(fahrenheit, ndigits=2):\n return round(float(fahrenheit) + 459.67, n... | {
"type": "exact",
"value": "A: 733.024",
"tests": []
} | train |
reason2-fair_slots-049 | reasoning | ru | Original | CC0-1.0 | reason2-fair_slots | workshop_fair_slots | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Клуб делит часы студии по одному. Веса секций: K=13, M=23, N=35. Следующий час получает секция с наибольшим отношением «вес / (1 + число уже выделенных часов)». При равенстве выбирают первый код по алфавиту. Какой секции достанется час номер 4, если сначала ни у кого нет часов?... | {
"type": "exact",
"value": "K",
"tests": []
} | train |
algpy-b717c424aa385eff-trace | code | en | TheAlgorithms/Python | MIT | algpy-b717c424aa385eff | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/special_numbers/kaprekar_number.py#is_kaprekar; adapted exercises | [
{
"role": "user",
"content": "```python\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 return False\n if number == 1:\n return True\n square = number ** 2... | {
"type": "exact",
"value": "True",
"tests": []
} | train |
wiki-read-ru-e2525d082fa08dc3bec4 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-6d1a585b074f52d2a0cef5 | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-7444326730273114344-0 (Apache-2.0). Wikipedia contributors, “Перекопский вал” (https://ru.wikipedia.org/wiki/%D0%9F%D0%B5%D1%80%D0%B5%D0%BA%D0%BE%D0%BF%D1%81%D0%BA%D0%B8%D0%B9_%D0%B2%D0%B0%D0%BB), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference... | [
{
"role": "user",
"content": "Перекопский вал\n\nПереко́пский вал (или Турецкий вал) — фортификационное сооружение, представляющее собой ров с валом, отделяющее Крымский полуостров от материка и укрепленный фортами и крепостью Ор-Капу. Известное с глубокой древности, в современном виде построено в конце XV ... | {
"type": "exact",
"value": "или Турецкий вал",
"tests": []
} | train |
wiki-read-en-bb9419105195eafb803d | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-c7bc0d06518367ac301415 | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-5548342380310026010-3 (Apache-2.0). Wikipedia contributors, “Movistar Team (men's team)” (https://en.wikipedia.org/wiki/Movistar_Team_(men%27s_team)), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Movistar Team (men's team)\n\nThe team began in 1980 as the Reynolds team which José Miguel Echavarri as the directeur sportif. In 1982 signed a young Pedro Delgado who acted as a domestique for team leader Ángel Arroyo during the 1982 Vuelta a España. Arroyo won the Vuelta aft... | {
"type": "exact",
"value": "Ritalin",
"tests": []
} | train |
wiki-read-en-b75f27c832c7a270ed4e | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-b05563f28b695c396f1c19 | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-8804027212764219327-0 (Apache-2.0). Wikipedia contributors, “Silicon Valley” (https://en.wikipedia.org/wiki/Silicon_Valley), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Silicon Valley\n\nSilicon Valley is a region in the southern San Francisco Bay Area of Northern California that serves as a global center for high technology, innovation and social media. It corresponds roughly to the geographical area of Santa Clara Valley. San Jose is the Val... | {
"type": "exact",
"value": "after Zurich, Switzerland and Oslo, Norway",
"tests": []
} | train |
reason2-assembly_units-046 | reasoning | ru | Original | CC0-1.0 | reason2-assembly_units | workshop_assembly_units | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Для сборки используются спецификации (правая часть — состав одной единицы): U = 3×L + 1×K; L = 5×N + 4×G; K = 6×N + 5×G. Заказ включает изделия U в количестве 6 и отдельно узлы L в количестве 5. Сколько отдельных деталей N потребуется?\nПокажи короткую проверку, а в конце на от... | {
"type": "number",
"value": "151",
"tests": []
} | train |
reason2-join_catalogs-032 | reasoning | ru | Original | CC0-1.0 | reason2-join_catalogs | workshop_join_catalogs | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Каталог связывает код книги с полкой: B42=S5, B88=S6, B74=S1, B77=S5, B18=S6, B10=S1, B45=S5. Соответствие полок и залов: S5=B, S1=R, S6=E. Число выданных экземпляров по коду книги: B42=14, B10=9, B88=15, B77=12, B74=14, B45=9, B18=15. В каком зале больше всего выдач?\nКратко о... | {
"type": "exact",
"value": "B",
"tests": []
} | train |
wiki-read-ru-0014e5e2a80cc3b29dc1 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-9a9e243bb4625c09fe4073 | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-8935999326120698288-1 (Apache-2.0). Wikipedia contributors, “Тауэрский мост” (https://ru.wikipedia.org/wiki/%D0%A2%D0%B0%D1%83%D1%8D%D1%80%D1%81%D0%BA%D0%B8%D0%B9_%D0%BC%D0%BE%D1%81%D1%82), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference marker... | [
{
"role": "user",
"content": "Тауэрский мост\n\nПредставляет собой разводной мост длиной 244 м с двумя поставленными на промежуточные опоры башнями высотой 65 м. Центральный пролёт между башнями, длиной 61 м, разбит на два подъёмных крыла весом более тысячи тонн, которые для пропуска судов могут быть поднят... | {
"type": "exact",
"value": "750 psi",
"tests": []
} | train |
reason2-connected_groups-054 | reasoning | ru | Original | CC0-1.0 | reason2-connected_groups | workshop_connected_groups | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Сначала у каждого кода из списка E, F, Y, D, C, L, S, G, B свой архив. Связь между двумя кодами объединяет их архивы целиком; это распространяется по цепочке. Все действующие связи: D–B, F–E, S–L, B–G, Y–D, B–C, G–D, C–D. Добавляют связь Y–S. Сколько кодов будет в образовавшемс... | {
"type": "number",
"value": "7",
"tests": []
} | train |
reason2-editing_history-017 | reasoning | ru | Original | CC0-1.0 | reason2-editing_history | workshop_editing_history | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "В редакторе поле сначала содержит C. Запись заменяет значение и стирает возможность повтора отменённых записей. «Отмена» возвращает предыдущее значение, «повтор» восстанавливает отменённую запись. Если действие недоступно, поле не меняется. Команды: записать P; повтор; отмена; ... | {
"type": "exact",
"value": "R",
"tests": []
} | train |
algpy-8eaec32a14b98b9e-implement | code | en | TheAlgorithms/Python | MIT | algpy-8eaec32a14b98b9e | implement | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/factorial.py#factorial; adapted exercises | [
{
"role": "user",
"content": "Implement this Python function. Return n factorial for an integer n from 0 through 12; 0! equals 1.\nSignature: def factorial(number):\nExamples:\n```python\nassert factorial(0) == 1\nassert factorial(2) == 2\n```"
},
{
"role": "assistant",
"content": "```python\nde... | {
"type": "code",
"value": "",
"tests": [
"assert factorial(1) == 1",
"assert factorial(3) == 6",
"assert factorial(4) == 24",
"assert factorial(5) == 120",
"assert factorial(6) == 720",
"assert factorial(7) == 5040",
"assert factorial(8) == 40320",
"assert factorial(9) == 362880",... | train |
reason2-room_peak-017 | reasoning | ru | Original | CC0-1.0 | reason2-room_peak | workshop_room_peak | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Репетиции занимают отдельные комнаты в такие минуты: C [13,15); V [16,18); L [14,16); M [5,10); D [13,16); T [1,8). Конец интервала уже свободен; одна комната подходит любой группе. Сколько комнат как минимум требуется одновременно?\nПриведи ход решения в нескольких фразах. На ... | {
"type": "number",
"value": "3",
"tests": []
} | train |
algpy-c3ba5747505f6d07-trace | code | en | TheAlgorithms/Python | MIT | algpy-c3ba5747505f6d07 | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/volume.py#vol_circular_cylinder; adapted exercises | [
{
"role": "user",
"content": "```python\nfrom math import pi\n\ndef compute(radius, height):\n if height < 0 or radius < 0:\n raise ValueError('compute() only accepts non-negative values')\n return pow(radius, 2) * height * pi\n```\nWhat does round(compute(0, 0), 6) return? Give the Python repr... | {
"type": "exact",
"value": "0.0",
"tests": []
} | train |
algpy-fde5363caa668606-change-impact | code | ru | TheAlgorithms/Python | MIT | algpy-fde5363caa668606 | change-impact | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, bit_manipulation/numbers_different_signs.py#different_signs; adapted exercises | [
{
"role": "user",
"content": "В показанном коде строку `return num1 ^ num2 < 0` заменяют на `return num1 ^ num2 <= 0`. Для какого из двух выражений изменится возвращаемое значение? Дай короткое объяснение и запиши букву в последней строке.\n```python\ndef compute(num1, num2):\n return num1 ^ num2 < 0\n``... | {
"type": "exact",
"value": "B",
"tests": []
} | train |
verified-code-cached_keys-repair | code | en | Original | CC0-1.0 | verified-code-cache_order | verified_repair | Original algorithm and independent oracle, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Correct one line. cached_keys([3, 5, 3, 6, 5, 2], 2) returns [6, 2]; expected [5, 2]. An initially empty cache holds capacity ≥ 1 distinct keys. Each integer request makes its key most recent. Adding a missing key to a full cache evicts the least recently requested key. Return ... | {
"type": "code",
"value": "",
"tests": [
"assert cached_keys([], 2) == []",
"assert cached_keys([1], 1) == [1]",
"assert cached_keys([2, 2, 1], 1) == [1]",
"assert cached_keys([1, 2, 1, 3, 2], 2) == [3, 2]",
"assert cached_keys([9, 8, 7, 6], 2) == [7, 6]",
"assert cached_keys([4, 4, 4], 3... | train |
wiki-read-en-cb3b519c8330772fd5f1 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-b3d44140d30cef6fd23588 | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--5718410376468084727-1 (Apache-2.0). Wikipedia contributors, “The Lion King (2019 film)” (https://en.wikipedia.org/wiki/The_Lion_King_(2019_film)), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "The Lion King (2019 film)\n\nPlans for a remake of The Lion King were confirmed in September 2016 following the success of Favreau's The Jungle Book. Much of the main cast signed in early 2017 and principal photography began in mid-2017 on a blue screen stage in Los Angeles. Th... | {
"type": "exact",
"value": "2019-07-19",
"tests": []
} | train |
wiki-read-ru-187f9ee868dc2b24b6d6 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-cd6f121b4c4508df00e0c9 | definition | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-2250924999525504563-0 (Apache-2.0). Wikipedia contributors, “Pony Car” (https://ru.wikipedia.org/wiki/Pony_Car), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Pony Car\n\nPony car — в США так называют модели класса Compact Car со спортивным или стилизованным под спортивный дизайном, но, как правило, не имеющие в базовой комплектации мощных двигателей. В честь феноменальных продаж одного из первых таких автомобилей, Ford Mustang, данн... | {
"type": "exact",
"value": "в США так называют модели класса Compact Car со спортивным или стилизованным под спортивный дизайном, но, как правило, не имеющие в базовой комплектации мощных двигателей",
"tests": []
} | train |
algpy-a31df8a6b99eab4c-trace | code | ru | TheAlgorithms/Python | MIT | algpy-a31df8a6b99eab4c | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, strings/can_string_be_rearranged_as_palindrome.py#can_string_be_rearranged_as_palindrome_counter; adapted exercises | [
{
"role": "user",
"content": "```python\nfrom collections import Counter\n\ndef compute(input_str=''):\n return sum((c % 2 for c in Counter(input_str.replace(' ', '').lower()).values())) < 2\n```\nЧто вернёт выражение compute('Momo')? Запиши repr результата Python."
},
{
"role": "assistant",
... | {
"type": "exact",
"value": "True",
"tests": []
} | train |
reason2-light_piece-013 | reasoning | ru | Original | CC0-1.0 | reason2-light_piece | workshop_light_piece | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Детали R, M, Z, A, C, B, N, Y должны весить одинаково, но ровно одна легче. На чаши каждый раз кладут поровну деталей. Результаты (знаки сравнивают массу левой и правой чаш): N+M = B+A; Y+B+A+M > R+Z+N+C; C+M+A = Y+B+R. Какая деталь легче?\nПриведи ход решения в нескольких фраз... | {
"type": "exact",
"value": "Z",
"tests": []
} | train |
reason2-event_selection-037 | reasoning | ru | Original | CC0-1.0 | reason2-event_selection | workshop_event_selection | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Один фотограф хочет целиком снять как можно больше коротких показов. Начала и окончания: P 8–16; W 3–7; B 4–7; G 13–20; X 3–8; L 19–26; S 12–16. В момент окончания одного показа можно сразу начать следующий. Каково максимальное число показов?\nКратко обоснуй ответ и запиши сам ... | {
"type": "number",
"value": "3",
"tests": []
} | train |
reason2-editing_history-051 | 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 D. 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 Z; write Y; undo; redo; redo; undo; redo; undo; write W; undo; write V... | {
"type": "exact",
"value": "M",
"tests": []
} | train |
verified-code-peak_score-implement | code | en | Original | CC0-1.0 | verified-code-keyed_rows | verified_implement | Original algorithm and independent oracle, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Implement peak_score(rows) in Python. rows lists (string key, integer score) pairs in arrival order. For each key choose its maximum score. Return (key, chosen score) pairs sorted by key, or [] for no rows.\nassert peak_score([('b', 4), ('b', 1)]) == [('b', 4)]"
},
{
"r... | {
"type": "code",
"value": "",
"tests": [
"assert peak_score([]) == []",
"assert peak_score([('b', 2)]) == [('b', 2)]",
"assert peak_score([('x', 3), ('a', -3), ('x', 0), ('a', 8)]) == [('a', 8), ('x', 3)]",
"assert peak_score([('b', -5), ('b', -2), ('a', 0)]) == [('a', 0), ('b', -2)]",
"asser... | train |
algpy-da4a059650900091-check-assertions | code | ru | TheAlgorithms/Python | MIT | algpy-da4a059650900091 | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, strings/word_patterns.py#get_word_pattern; adapted exercises | [
{
"role": "user",
"content": "Один из тестов противоречит фактическому поведению этой функции. Определи его и вычисли верный результат. В последней строке запиши букву и результат через двоеточие, например A: 42.\n```python\ndef compute(word):\n word = word.upper()\n next_num = 0\n letter_nums = {}... | {
"type": "exact",
"value": "A: ''",
"tests": []
} | train |
reason2-join_catalogs-001 | 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: B55=S7, B57=S9, B13=S3, B21=S7, B86=S9. Shelves map to rooms: S9=G, S3=C, S7=V. Loans by book code: B13=6, B55=7, B86=12, B21=6, B57=5. Which room accounts for the most loans?\nExplain in a few sentences and use the final line for the answe... | {
"type": "exact",
"value": "G",
"tests": []
} | train |
reason2-event_selection-010 | reasoning | ru | Original | CC0-1.0 | reason2-event_selection | workshop_event_selection | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Один фотограф хочет целиком снять как можно больше коротких показов. Начала и окончания: E 10–15; S 14–19; V 3–11; K 18–26; H 19–23. В момент окончания одного показа можно сразу начать следующий. Каково максимальное число показов?\nКратко обоснуй ответ и запиши сам ответ на пос... | {
"type": "number",
"value": "3",
"tests": []
} | train |
wiki-read-ru-25b44c49fb5ebf34cc46 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-81983b427aee51991ba1fe | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-5842673151767594421-1 (Apache-2.0). Wikipedia contributors, “Одесса” (https://ru.wikipedia.org/wiki/%D0%9E%D0%B4%D0%B5%D1%81%D1%81%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Третий по населению город страны. Численность населения города на 1 января 2018 года составила 993 831 постоянный житель и 1 011 494 человека наличного населения. В пределах агломерации проживает свыше 1,2 млн человек. Национальный состав населения: 61,7 % украинцев, ... | {
"type": "exact",
"value": "2001 год",
"tests": []
} | train |
wiki-read-ru-b4297e2b73e3fec7acfc | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-7cccaa86a712c5a515fb46 | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-5669078040963152827-3 (Apache-2.0). Wikipedia contributors, “Герб Соликамска” (https://ru.wikipedia.org/wiki/%D0%93%D0%B5%D1%80%D0%B1_%D0%A1%D0%BE%D0%BB%D0%B8%D0%BA%D0%B0%D0%BC%D1%81%D0%BA%D0%B0), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference... | [
{
"role": "user",
"content": "Герб Соликамска\n\nПервый герб Соликамска, составителем которого считается граф Ф. М. Санти, был утверждён 17 июля 1783 года. Описание герба: «„Въ верхней части щита гербъ Пермскiй. Въ нижней въ золотомъ поле, соляной колодезь, съ опущеннымъ въ него ведромъ для вынутiя соли, и ... | {
"type": "exact",
"value": "1783-07-17",
"tests": []
} | train |
wiki-read-en-80d987623b21e1a8a0de | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-c46d83061f36a29c719ac4 | measurement | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-4337312322550019263-1 (Apache-2.0). Wikipedia contributors, “List of tallest buildings in Colombia” (https://en.wikipedia.org/wiki/List_of_tallest_buildings_in_Colombia), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New r... | [
{
"role": "user",
"content": "List of tallest buildings in Colombia\n\nThe new current tallest building in Bogotá is the BD Bacatá, In June 2, 2015 it became taller than Torre Colpatria, which held the title of the tallest building in Colombia since 1979. When finished, The BC Bacatá is expected to be 240 m... | {
"type": "exact",
"value": "240 meters",
"tests": []
} | train |
wiki-read-ru-2f3d6037eb92e8466c73 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-30ad78ee0304dc6cc6907e | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--3352349419708094115-1 (Apache-2.0). Wikipedia contributors, “Жестокий романс (фильм)” (https://ru.wikipedia.org/wiki/%D0%96%D0%B5%D1%81%D1%82%D0%BE%D0%BA%D0%B8%D0%B9_%D1%80%D0%BE%D0%BC%D0%B0%D0%BD%D1%81_(%D1%84%D0%B8%D0%BB%D1%8C%D0%BC)), snapshot 2019-02-01 (CC-BY-... | [
{
"role": "user",
"content": "Жестокий романс (фильм)\n\nФильм снискал популярность у зрителей (о чём говорит, в частности, признание его «лучшим фильмом года» по версии журнала «Советский экран») и получил несколько наград. Популярность обрели звучащие в нём романсы в исполнении Валентины Пономарёвой и Ник... | {
"type": "exact",
"value": "о чём говорит, в частности, признание его «лучшим фильмом года» по версии журнала «Советский экран»",
"tests": []
} | train |
gsm-train-4148 | math | en | GSM8K | MIT | gsm8k-5316a6e9267dc280d48e | word_problem_4_steps | OpenAI (2021), GSM8K, original train row 4148 | [
{
"role": "user",
"content": "Tom, an avid stamp collector, has 3,000 stamps in his collection. He is very sad because he lost his job last Friday. His brother, Mike, and best friend, Harry, try to cheer him up with more stamps. Harry’s gift to Tom is 10 more stamps than twice Mike’s gift. If Mike has given... | {
"type": "number",
"value": "3061",
"tests": []
} | train |
reason2-rotate_grid-046 | reasoning | ru | Original | CC0-1.0 | reason2-rotate_grid | workshop_rotate_grid | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Исходные строки табло сверху вниз: C B J / Z X M / N S H / R A W. Выполни циклические сдвиги по порядку: строка 4 на 2 вправо; столбец 2 на 1 вниз; строка 4 на 2 вправо; столбец 3 на 3 вниз; строка 4 на 1 вправо. Какой символ теперь в строке 4, столбце 2? Нумерация с единицы.\n... | {
"type": "exact",
"value": "S",
"tests": []
} | train |
wiki-read-en-211dad5438eb49db1940 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-43ea9ad6455361a94c7c00 | chronology | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--1953817583617857539-1 (Apache-2.0). Wikipedia contributors, “Cherry Springs State Park” (https://en.wikipedia.org/wiki/Cherry_Springs_State_Park), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Cherry Springs State Park\n\nThe earliest recorded inhabitants of the area were the Susquehannocks, followed by the Seneca nation, who hunted there. The first settlement within the park was a log tavern built in 1818along a trail; the trail became a turnpike by 1834and a hotel ... | {
"type": "exact",
"value": "1874, 1897, 1922, 1952",
"tests": []
} | train |
algpy-dd92568a7bfe96d4-change-impact | code | ru | TheAlgorithms/Python | MIT | algpy-dd92568a7bfe96d4 | change-impact | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, dynamic_programming/smith_waterman.py#smith_waterman; adapted exercises | [
{
"role": "user",
"content": "В показанном коде строку `score[i][j] = max(0, match, delete, insert)` заменяют на `score[i][j] = min(0, match, delete, insert)`. Для какого из двух выражений изменится возвращаемое значение? Дай короткое объяснение и запиши букву в последней строке.\n```python\ndef score_funct... | {
"type": "exact",
"value": "A",
"tests": []
} | train |
algpy-f360432167099b21-check-assertions | code | ru | TheAlgorithms/Python | MIT | algpy-f360432167099b21 | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, data_structures/arrays/product_sum.py#product_sum_array; adapted exercises | [
{
"role": "user",
"content": "Один из тестов противоречит фактическому поведению этой функции. Определи его и вычисли верный результат. В последней строке запиши букву и результат через двоеточие, например A: 42.\n```python\ndef product_sum(arr, depth):\n total_sum = 0\n for ele in arr:\n total... | {
"type": "exact",
"value": "A: 6",
"tests": []
} | train |
wiki-read-ru-d9b02ca41545a719e9d5 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-c7d25a3dae19d92f66554f | measurement | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-4365991707119277714-2 (Apache-2.0). Wikipedia contributors, “Кавказские горы” (https://ru.wikipedia.org/wiki/%D0%9A%D0%B0%D0%B2%D0%BA%D0%B0%D0%B7%D1%81%D0%BA%D0%B8%D0%B5_%D0%B3%D0%BE%D1%80%D1%8B), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference... | [
{
"role": "user",
"content": "Кавказские горы\n\nНаиболее известные вершины (такие, как Эльбрус (5642 м) и Казбек (5033 м)) покрыты вечными снегами и ледниками. Большой Кавказ — регион с большим современным оледенением. Общая численность ледников составляет около 2 050, занимаемая ими площадь составляет при... | {
"type": "exact",
"value": "17 км",
"tests": []
} | train |
reason2-room_peak-062 | reasoning | ru | Original | CC0-1.0 | reason2-room_peak | workshop_room_peak | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Репетиции занимают отдельные комнаты в такие минуты: D [5,12); C [14,16); L [14,21); N [18,21); U [2,6); M [10,16); E [5,11); J [1,6). Конец интервала уже свободен; одна комната подходит любой группе. Сколько комнат как минимум требуется одновременно?\nПриведи ход решения в нес... | {
"type": "number",
"value": "4",
"tests": []
} | train |
reason2-fair_slots-028 | reasoning | ru | Original | CC0-1.0 | reason2-fair_slots | workshop_fair_slots | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Клуб делит часы студии по одному. Веса секций: C=23, F=34, X=28. Следующий час получает секция с наибольшим отношением «вес / (1 + число уже выделенных часов)». При равенстве выбирают первый код по алфавиту. Какой секции достанется час номер 4, если сначала ни у кого нет часов?... | {
"type": "exact",
"value": "F",
"tests": []
} | train |
wiki-read-ru-223c2d1f24f218e2ffe6 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-c1aa9cabfbfa3a0599dce1 | chronology | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--2352747477142900561-14 (Apache-2.0). Wikipedia contributors, “Уран по странам” (https://ru.wikipedia.org/wiki/%D0%A3%D1%80%D0%B0%D0%BD_%D0%BF%D0%BE_%D1%81%D1%82%D1%80%D0%B0%D0%BD%D0%B0%D0%BC), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference ma... | [
{
"role": "user",
"content": "Уран по странам\n\nВ 2009 году Казахстан вышел на первое место в мире по добыче урана (добыто 13 500 тонн), опередив Канаду, которая оказалась на втором месте. В 2013 году планируется добыть 20 000 тонн урана.\n\nКакие четырёхзначные календарные годы упомянуты в отрывке? Запиши... | {
"type": "exact",
"value": "2009, 2013",
"tests": []
} | train |
wiki-read-en-f3e043d39697fbbbbbb0 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-4392a0c582e4caffdfaf0f | measurement | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-7487690016733036751-2 (Apache-2.0). Wikipedia contributors, “Hermaphrodite” (https://en.wikipedia.org/wiki/Hermaphrodite), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Hermaphrodite\n\nA rough estimate of the number of hermaphroditic animal species is 65,000. Since the estimated total number of animal species is 8.6 million, the percentage of animal species that are hermaphroditic is about 0.7%. Arthropods are the phylum with the largest numb... | {
"type": "exact",
"value": "0.7%",
"tests": []
} | train |
reason2-assembly_units-041 | 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: R = 2×S + 3×P; S = 4×E + 4×A; P = 3×E + 6×A. The order requires 6 units of R plus 4 additional units of S. How many individual E parts are needed?\nExplain in a few sentences and use the final line for the answer alone."
... | {
"type": "number",
"value": "118",
"tests": []
} | train |
reason2-room_peak-057 | reasoning | ru | Original | CC0-1.0 | reason2-room_peak | workshop_room_peak | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Репетиции занимают отдельные комнаты в такие минуты: W [1,4); U [11,19); H [18,26); A [17,22); K [13,15); T [11,18). Конец интервала уже свободен; одна комната подходит любой группе. Сколько комнат как минимум требуется одновременно?\nПокажи короткую проверку, а в конце на отде... | {
"type": "number",
"value": "3",
"tests": []
} | train |
wiki-read-en-b0262ccb48edb3a38ea6 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-40a5770210ff4c9aceedaf | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--296383621855457088-0 (Apache-2.0). Wikipedia contributors, “Joe Camel” (https://en.wikipedia.org/wiki/Joe_Camel), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Joe Camel\n\nJoe Camel (officially Old Joe) was the advertising mascot for Camel cigarettes from late 1987 to July 12, 1997, appearing in magazine advertisements, billboards, and other print media.\n\nFind the full calendar date whose month is spelled out. Write it in YYYY-MM-D... | {
"type": "exact",
"value": "1997-07-12",
"tests": []
} | train |
algpy-4784f15e164ab2da-trace | code | ru | TheAlgorithms/Python | MIT | algpy-4784f15e164ab2da | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/area.py#area_triangle; adapted exercises | [
{
"role": "user",
"content": "```python\ndef compute(base, height):\n if base < 0 or height < 0:\n raise ValueError('compute() only accepts non-negative values')\n return base * height / 2\n```\nЧто вернёт выражение round(compute(10, 10), 6)? Запиши repr результата Python."
},
{
"role":... | {
"type": "exact",
"value": "50.0",
"tests": []
} | train |
algpy-39084143727193d8-change-impact | code | ru | TheAlgorithms/Python | MIT | algpy-39084143727193d8 | change-impact | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, bit_manipulation/binary_shifts.py#logical_right_shift; adapted exercises | [
{
"role": "user",
"content": "В показанном коде строку `if shift_amount >= len(binary_number):` заменяют на `if shift_amount > len(binary_number):`. Для какого из двух выражений изменится возвращаемое значение? Дай короткое объяснение и запиши букву в последней строке.\n```python\ndef compute(number, shift_... | {
"type": "exact",
"value": "B",
"tests": []
} | train |
reason2-missing_cells-042 | reasoning | ru | Original | CC0-1.0 | reason2-missing_cells | workshop_missing_cells | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "В таблице учёта столбцы идут в порядке E, Z, D. После вертикальной черты указан итог строки. Строки: R6: 9 / 9 / 11 | 29; R5: 2 / ? / ? | 18; R1: 8 / 4 / ? | 21; R4: 5 / 9 / 13 | 27. Итоги столбцов: E=24, Z=31, D=40. Какое число скрыто в строке R5, столбце D?\nКратко обоснуй от... | {
"type": "number",
"value": "7",
"tests": []
} | train |
math-verified-tank_posts-012 | math | ru | Original | CC0-1.0 | math-verified-tank_posts | verified_math_tank_posts | Original bilingual mathematics exercises, CC0-1.0 | [
{
"role": "user",
"content": "Внутренние размеры дна прямоугольного бака — 32 × 14 см. В противоположных углах от дна вертикально стоят два сплошных прямоугольных столбика с основаниями 5 × 2 см и 4 × 2 см. Они выше конечного уровня воды и не перекрываются. Сколько литров воды нужно долить, чтобы уровень вы... | {
"type": "number",
"value": "387/100",
"tests": []
} | train |
reason2-fair_slots-038 | reasoning | en | Original | CC0-1.0 | reason2-fair_slots | workshop_fair_slots | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "A club allocates studio hours one by one. Section weights: E=16, G=31, W=25. Each next hour goes to the largest weight / (1 + hours already awarded), ties to the alphabetically first code. Starting from zero, which section gets hour 7?\nExplain in a few sentences and use the fi... | {
"type": "exact",
"value": "W",
"tests": []
} | train |
wiki-read-en-f2c7d5a20dd8294785a6 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-5e13290cd40a18c445ad2b | colon_explanation | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--7630787588183720678-1 (Apache-2.0). Wikipedia contributors, “Fatty acid” (https://en.wikipedia.org/wiki/Fatty_acid), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Fatty acid\n\nIn chemistry, particularly in biochemistry, a fatty acid is a carboxylic acid with a long aliphatic chain, which is either saturated or unsaturated. Most naturally occurring fatty acids have an unbranched chain of an even number of carbon atoms, from 4 to 28. Fatt... | {
"type": "exact",
"value": "triglycerides, phospholipids, and cholesterol esters",
"tests": []
} | train |
verified-code-cancel_swapped_case-repair | code | en | Original | CC0-1.0 | verified-code-cancellation | verified_repair | Original algorithm and independent oracle, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Correct one line. cancel_swapped_case('XyYx') returns 'XyYx'; expected ''. From a string of ASCII letters, repeatedly remove adjacent case-opposite versions of the same letter. Always remove the leftmost eligible pair until no pair remains. Return the final string.\n```python\n... | {
"type": "code",
"value": "",
"tests": [
"assert cancel_swapped_case('') == ''",
"assert cancel_swapped_case('a') == 'a'",
"assert cancel_swapped_case('aa') == 'aa'",
"assert cancel_swapped_case('aA') == ''",
"assert cancel_swapped_case('ab') == 'ab'",
"assert cancel_swapped_case('abbaca'... | train |
algpy-92452bd3610a30a9-check-assertions | code | ru | TheAlgorithms/Python | MIT | algpy-92452bd3610a30a9 | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/volume.py#vol_hemisphere; adapted exercises | [
{
"role": "user",
"content": "Один из тестов противоречит фактическому поведению этой функции. Определи его и вычисли верный результат. В последней строке запиши букву и результат через двоеточие, например A: 42.\n```python\nfrom math import pi\n\ndef compute(radius):\n if radius < 0:\n raise Valu... | {
"type": "exact",
"value": "A: 2.094395",
"tests": []
} | train |
reason2-minimum_cover-032 | reasoning | en | Original | CC0-1.0 | reason2-minimum_cover | workshop_minimum_cover | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "The exhibition needs all sample types 3, 4, 7, 8, 9. Available kits and the types they contain: L=3/7; T=9; U=3/4/8; D=4/8; Y=3/8/9. Duplicate samples are allowed. What is the fewest kits that cover every type?\nExplain in a few sentences and use the final line for the answer a... | {
"type": "number",
"value": "3",
"tests": []
} | train |
reason2-balanced_load-059 | 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: J=66, L=54, H=39, P=9, K=18, X=42, Z=72, T=12. What is the smallest possible difference between the two cart loads?\nShow a short check. Give the final answer on a separate line."
},
{
"role": ... | {
"type": "number",
"value": "0",
"tests": []
} | train |
wiki-read-ru-1b4a8683ed9532b6df2b | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-9c4910b0299a535509b538 | chronology | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-2164412097770097322-1 (Apache-2.0). Wikipedia contributors, “Naughty Dog” (https://ru.wikipedia.org/wiki/Naughty_Dog), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Naughty Dog\n\nСтудия была основана в 1984 году Энди Гавином (English: Andy Gavin) и Джейсоном Рубином (English: Jason Rubin), тогда она называлась Jam Software. По словам самих основателей компании в то время они работали над играми в своём гараже. Компания была переименована ... | {
"type": "exact",
"value": "1984, 1989, 1994",
"tests": []
} | train |
wiki-read-en-0d51903840fb4af1aa86 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-8eb9c70ffc36c83b8aaf7c | clause | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--4640033325738671227-6 (Apache-2.0). Wikipedia contributors, “Shrewsbury” (https://en.wikipedia.org/wiki/Shrewsbury), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Shrewsbury\n\nShrewsbury's known history commences in the Early Middle Ages, having been founded c. 800 AD. It is believed that Anglo-Saxon Shrewsbury was most probably a settlement fortified through the use of earthworks comprising a ditch and rampart, which were then shored u... | {
"type": "exact",
"value": "which were then shored up with a wooden stockade",
"tests": []
} | train |
wiki-read-ru-3108c61e9578dd912370 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-b63301d319696c9ef048d7 | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--6574078108537211809-8 (Apache-2.0). Wikipedia contributors, “Выставка достижений народного хозяйства” (https://ru.wikipedia.org/wiki/%D0%92%D1%8B%D1%81%D1%82%D0%B0%D0%B2%D0%BA%D0%B0_%D0%B4%D0%BE%D1%81%D1%82%D0%B8%D0%B6%D0%B5%D0%BD%D0%B8%D0%B9_%D0%BD%D0%B0%D1%80%D0%... | [
{
"role": "user",
"content": "Выставка достижений народного хозяйства\n\nПредложение 4-й мастерской было утверждено постановлением СНК СССР «О Всесоюзной сельскохозяйственной выставке» № 1821 от 17 августа 1935 года. Этим же постановлением был создан Главный выставочный комитет, в функции которого вошли обя... | {
"type": "exact",
"value": "1935-08-17",
"tests": []
} | train |
algpy-f7cc351d321e1afb-implement | code | en | TheAlgorithms/Python | MIT | algpy-f7cc351d321e1afb | implement | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, boolean_algebra/nimply_gate.py#nimply_gate; adapted exercises | [
{
"role": "user",
"content": "Implement this Python function. For integer bits a,b return integer 1 exactly when the first input is 1 and the second is 0, else 0.\nSignature: def nimply_gate(input_1, input_2):\nExamples:\n```python\nassert nimply_gate(0, 0) == 0\nassert nimply_gate(1, 0) == 1\n```"
},
{... | {
"type": "code",
"value": "",
"tests": [
"assert nimply_gate(0, 1) == 0",
"assert nimply_gate(1, 1) == 0"
]
} | train |
reason2-editing_history-067 | 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 Z. 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; undo; write T; undo; undo; undo; redo; undo; redo; write K; write H... | {
"type": "exact",
"value": "Y",
"tests": []
} | train |
math-verified-syrup-017 | math | ru | Original | CC0-1.0 | math-verified-syrup | verified_math_syrup | Original bilingual mathematics exercises, CC0-1.0 | [
{
"role": "user",
"content": "Смешали два сахарных сиропа с массовыми долями сахара 35% и 50%. При нагревании испарилось 40 г воды; сахар полностью остался в смеси. После нагревания масса смеси составила 200 г, в том числе 96 г сахара. Сколько граммов 50%-го сиропа взяли?\nЗапиши точное число в последней ст... | {
"type": "number",
"value": "80",
"tests": []
} | train |
math-verified-stock-020 | math | ru | Original | CC0-1.0 | math-verified-stock | verified_math_stock | Original bilingual mathematics exercises, CC0-1.0 | [
{
"role": "user",
"content": "Утром со склада отгрузили 1/2 всех коробок. Затем привезли ещё 45 коробок и отгрузили 1/5 нового запаса. Остаток к вечеру — 60 коробок. Сколько коробок было до первой отгрузки?\nЗапиши точное число в последней строке; нецелый ответ дай несократимой дробью."
},
{
"role":... | {
"type": "number",
"value": "60",
"tests": []
} | train |
gsm-train-6756 | math | en | GSM8K | MIT | gsm8k-f1b3942b07d04e97bf92 | word_problem_7_steps | OpenAI (2021), GSM8K, original train row 6756 | [
{
"role": "user",
"content": "Alexander draws 9 pictures for an exhibition at a gallery. 5 new galleries also want Alexander to draw for them, so he draws pictures for their exhibitions too. Each of these new galleries receives the same amount of pictures. For each picture, Alexander needs 4 pencils. For ea... | {
"type": "number",
"value": "2",
"tests": []
} | train |
math-verified-binomial_divisibility-000 | 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 13 of 90 distinct items without regard to order. What is the greatest integer e ≥ 0 such that 10 to the power e divides the number of choices C(90,13)?\nGive the exact number on the last line; use a reduced fraction for a noninteger answer."
},
{
"role": "assista... | {
"type": "number",
"value": "1",
"tests": []
} | train |
algpy-412c4d5f172fd852-trace | code | ru | TheAlgorithms/Python | MIT | algpy-412c4d5f172fd852 | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, divide_and_conquer/power.py#power; adapted exercises | [
{
"role": "user",
"content": "```python\ndef actual_power(a, b):\n if b == 0:\n return 1\n half = actual_power(a, b // 2)\n if b % 2 == 0:\n return half * half\n else:\n return a * half * half\n\ndef power(a, b):\n if b < 0:\n return 1 / actual_power(a, -b)\n re... | {
"type": "exact",
"value": "0.125",
"tests": []
} | train |
algpy-725e0c97f101df41-trace | code | en | TheAlgorithms/Python | MIT | algpy-725e0c97f101df41 | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/series/geometric.py#geometric_mean; adapted exercises | [
{
"role": "user",
"content": "```python\ndef compute(series):\n if not isinstance(series, list):\n raise ValueError('Input series is not valid, valid series - [2, 4, 8]')\n if len(series) == 0:\n raise ValueError('Input list must be a non empty list')\n answer = 1\n for value in se... | {
"type": "exact",
"value": "1.817121",
"tests": []
} | train |
wiki-read-en-c4432c05895055ae7727 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-3fbff8c495e24946b2c348 | definition | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-1770983738940295933-0 (Apache-2.0). Wikipedia contributors, “Pan-American Highway” (https://en.wikipedia.org/wiki/Pan-American_Highway), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Pan-American Highway\n\nThe Pan-American Highway is a network of roads stretching across the American continents and measuring about 30,000 kilometres (19,000mi) in total length. Except for a rainforest break of approximately 160km (100mi), called the Darién Gap, the roads link... | {
"type": "exact",
"value": "a network of roads stretching across the American continents and measuring about 30,000 kilometres (19,000mi) in total length",
"tests": []
} | train |
algpy-599afa4ad30596a5-check-assertions | code | en | TheAlgorithms/Python | MIT | algpy-599afa4ad30596a5 | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, conversions/binary_to_gray.py#binary_to_gray; 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(binary):\n binary_int = int(binary, 2)\n gray_int = binary_int ^ binary_i... | {
"type": "exact",
"value": "B: '11111111'",
"tests": []
} | train |
wiki-read-en-10c9b4a906292e1c84eb | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-1ff24f4429a33ae671023a | measurement | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-6889623037723241512-0 (Apache-2.0). Wikipedia contributors, “Geography of Vietnam” (https://en.wikipedia.org/wiki/Geography_of_Vietnam), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Geography of Vietnam\n\nVietnam is located on the eastern margin of the Indochinese peninsula and occupies about 331,211.6 square kilometers, of which about 25% was under cultivation in 1987. It borders the Gulf of Thailand, Gulf of Tonkin, and Pacific Ocean, along with China, ... | {
"type": "exact",
"value": "25%",
"tests": []
} | train |
wiki-read-ru-a368ee6e02959436079f | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-91aa9db9bbd71179adadc9 | definition | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-2683152003958528191-13 (Apache-2.0). Wikipedia contributors, “Нева” (https://ru.wikipedia.org/wiki/%D0%9D%D0%B5%D0%B2%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Нева — широкая и глубокая река. Средняя ширина 400—600 м. Самые широкие места (1000—1250 м) — в дельте у Невских ворот Морского торгового порта в так называемой воронке рукава Большая Нева, у окончания Ивановских порогов при впадении реки Тосны и у острова Фабричный вбл... | {
"type": "exact",
"value": "широкая и глубокая река",
"tests": []
} | train |
algpy-3656bfe50b4bca3d-check-assertions | code | ru | TheAlgorithms/Python | MIT | algpy-3656bfe50b4bca3d | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/prime_factors.py#prime_factors; adapted exercises | [
{
"role": "user",
"content": "Один из тестов противоречит фактическому поведению этой функции. Определи его и вычисли верный результат. В последней строке запиши букву и результат через двоеточие, например A: 42.\n```python\ndef compute(n):\n i = 2\n factors = []\n while i * i <= n:\n if n %... | {
"type": "exact",
"value": "B: []",
"tests": []
} | train |
math-verified-spaced_seats-010 | math | ru | Original | CC0-1.0 | math-verified-spaced_seats | verified_math_spaced_seats | Original bilingual mathematics exercises, CC0-1.0 | [
{
"role": "user",
"content": "В ряду места пронумерованы от 1 до 12. Место 8 закрыто. Сколькими способами можно выбрать набор из 4 свободных мест так, чтобы никакие два выбранных номера не были соседними? Учитывается только набор номеров.\nЗапиши точное число в последней строке; нецелый ответ дай несократим... | {
"type": "number",
"value": "86",
"tests": []
} | train |
algpy-97ac85f558fc612a-check-assertions | code | ru | TheAlgorithms/Python | MIT | algpy-97ac85f558fc612a | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, greedy_methods/optimal_merge_pattern.py#optimal_merge_pattern; adapted exercises | [
{
"role": "user",
"content": "Один из тестов противоречит фактическому поведению этой функции. Определи его и вычисли верный результат. В последней строке запиши букву и результат через двоеточие, например A: 42.\n```python\ndef compute(files):\n optimal_merge_cost = 0\n while len(files) > 1:\n ... | {
"type": "exact",
"value": "A: 14",
"tests": []
} | train |
math-verified-route_speed-000 | math | en | Original | CC0-1.0 | math-verified-route_speed | verified_math_route_speed | Original bilingual mathematics exercises, CC0-1.0 | [
{
"role": "user",
"content": "A cyclist rode for 60 minutes at 20 km/h, rested for 20 minutes and rode for 20 minutes at 60 km/h. Each riding speed was constant. What was the average speed in km/h over the entire elapsed time, including the stop?\nGive the exact number on the last line; use a reduced fracti... | {
"type": "number",
"value": "24",
"tests": []
} | train |
wiki-read-ru-d03aa396d3782bb351a3 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-468172842fe21b699fce4b | clause | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-4776038269989009617-44 (Apache-2.0). Wikipedia contributors, “Обыкновенный бегемот” (https://ru.wikipedia.org/wiki/%D0%9E%D0%B1%D1%8B%D0%BA%D0%BD%D0%BE%D0%B2%D0%B5%D0%BD%D0%BD%D1%8B%D0%B9_%D0%B1%D0%B5%D0%B3%D0%B5%D0%BC%D0%BE%D1%82), snapshot 2019-02-01 (CC-BY-SA-3.0... | [
{
"role": "user",
"content": "Обыкновенный бегемот\n\nВ настоящее время основная часть общей популяции гиппопотамов находится на территории Восточной и Юго-Восточной Африки, это в основном территория Кении, Танзании, Уганды, Замбии, Малави и Мозамбика (всего в этом регионе около 80 тыс. голов). Замбия стоит... | {
"type": "exact",
"value": "хотя там ситуация благополучна благодаря хорошо налаженной системе учёта диких животных и их охраны",
"tests": []
} | train |
reason2-assembly_units-038 | reasoning | ru | Original | CC0-1.0 | reason2-assembly_units | workshop_assembly_units | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Для сборки используются спецификации (правая часть — состав одной единицы): A = 2×S + 1×X; S = 3×C + 2×U; X = 2×C + 6×U. Заказ включает изделия A в количестве 7 и отдельно узлы S в количестве 3. Сколько отдельных деталей C потребуется?\nКратко обоснуй ответ и запиши сам ответ н... | {
"type": "number",
"value": "65",
"tests": []
} | train |
algpy-9477b5a79ca177fe-trace | code | ru | TheAlgorithms/Python | MIT | algpy-9477b5a79ca177fe | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, data_structures/binary_tree/number_of_possible_binary_trees.py#catalan_number; adapted exercises | [
{
"role": "user",
"content": "```python\ndef binomial_coefficient(n, k):\n result = 1\n k = min(k, n - k)\n for i in range(k):\n result *= n - i\n result //= i + 1\n return result\n\ndef catalan_number(node_count):\n return binomial_coefficient(2 * node_count, node_count) // (no... | {
"type": "exact",
"value": "42",
"tests": []
} | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.