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-cb7ae23a37527ba0-check-assertions | code | ru | TheAlgorithms/Python | MIT | algpy-cb7ae23a37527ba0 | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/special_numbers/krishnamurthy_number.py#krishnamurthy; adapted exercises | [
{
"role": "user",
"content": "Один из тестов противоречит фактическому поведению этой функции. Определи его и вычисли верный результат. В последней строке запиши букву и результат через двоеточие, например A: 42.\n```python\ndef factorial(digit):\n return 1 if digit in (0, 1) else digit * factorial(digit... | {
"type": "exact",
"value": "B: True",
"tests": []
} | train |
wiki-read-en-6b01387dee0bf6ab2f12 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-e3b9e0f6df43d18ec095ea | definition | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--6660682402435382116-0 (Apache-2.0). Wikipedia contributors, “Age of Empires” (https://en.wikipedia.org/wiki/Age_of_Empires), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Age of Empires\n\nAge of Empires is a series of historical real-time strategy video games, originally developed by Ensemble Studios and published by Microsoft Studios. The first title of the series was Age of Empires, released in 1997. Seven titles and three spin-offs have been... | {
"type": "exact",
"value": "a series of historical real-time strategy video games, originally developed by Ensemble Studios and published by Microsoft Studios",
"tests": []
} | train |
reason2-motif_growth-069 | reasoning | ru | Original | CC0-1.0 | reason2-motif_growth | workshop_motif_growth | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Начальный орнамент LLP. За проход каждый исходный символ одновременно заменяют по правилам L→LLL; P→LP; новые символы в том же проходе не заменяются. Сколько символов L будет после 3 проходов?\nПокажи короткую проверку, а в конце на отдельной строке дай ответ."
},
{
"ro... | {
"type": "number",
"value": "67",
"tests": []
} | train |
reason2-connected_groups-069 | reasoning | en | Original | CC0-1.0 | reason2-connected_groups | workshop_connected_groups | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Each code in X, D, M, S, Y, U, R, K, C initially has its own archive. Linking two codes merges their entire archives, including indirect links. The full list of existing links is D–X, M–R, R–K, K–M, S–Y, C–K. One new link R–Y is added. How many codes belong to the newly merged ... | {
"type": "number",
"value": "6",
"tests": []
} | train |
wiki-read-ru-bb92bd0b9dc23532611e | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-15470dfaaf07e95da2b8ed | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--5799901045054152418-0 (Apache-2.0). Wikipedia contributors, “Багиров, Мир Джафар Аббас оглы” (https://ru.wikipedia.org/wiki/%D0%91%D0%B0%D0%B3%D0%B8%D1%80%D0%BE%D0%B2%2C_%D0%9C%D0%B8%D1%80_%D0%94%D0%B6%D0%B0%D1%84%D0%B0%D1%80_%D0%90%D0%B1%D0%B1%D0%B0%D1%81_%D0%BE%D... | [
{
"role": "user",
"content": "Багиров, Мир Джафар Аббас оглы\n\nМир Джафар Аббасович Баги́ров (Azerbaijani: Mir Cəfər Abbas oğlu Bağırov; 5 сентября (17 сентября) 1895 года, г. Куба, Бакинская губерния — 26 мая 1956 года, Баку) — советский и азербайджанский партийный и государственный деятель.\n\nНайди полн... | {
"type": "exact",
"value": "1956-05-26",
"tests": []
} | train |
reason2-room_peak-049 | reasoning | ru | Original | CC0-1.0 | reason2-room_peak | workshop_room_peak | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Репетиции занимают отдельные комнаты в такие минуты: P [11,14); C [10,15); L [6,10); A [14,19); B [16,18); D [13,17); R [5,12). Конец интервала уже свободен; одна комната подходит любой группе. Сколько комнат как минимум требуется одновременно?\nПриведи ход решения в нескольких... | {
"type": "number",
"value": "3",
"tests": []
} | train |
math-verified-binomial_divisibility-014 | math | ru | Original | CC0-1.0 | math-verified-binomial_divisibility | verified_math_binomial_divisibility | Original bilingual mathematics exercises, CC0-1.0 | [
{
"role": "user",
"content": "Из 52 разных элементов выбирают 3 без учёта порядка. Найди наибольшее целое e ≥ 0, при котором число способов C(52,3) делится на 10 в степени e.\nЗапиши точное число в последней строке; нецелый ответ дай несократимой дробью."
},
{
"role": "assistant",
"content": "По... | {
"type": "number",
"value": "2",
"tests": []
} | train |
wiki-read-en-9abf4662edd6a56c2989 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-39d031b574335a84cfce89 | measurement | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--2810673447011966290-0 (Apache-2.0). Wikipedia contributors, “Anzac Avenue” (https://en.wikipedia.org/wiki/Anzac_Avenue), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Anzac Avenue\n\nAnzac Avenue is a heritage-listed major arterial road lined with trees in the Moreton Bay Region, Queensland, Australia. It runs 17.8 kilometres (11.1mi) from Petrie to Redcliffe, with most of the route signed as state route 71. The route was formerly the main r... | {
"type": "exact",
"value": "17.8 kilometres",
"tests": []
} | train |
wiki-read-ru-6dc643f20dca8bbf9893 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-072e1b6979b9fe2a9f9a2a | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-8316636282612219506-0 (Apache-2.0). Wikipedia contributors, “Ангола” (https://ru.wikipedia.org/wiki/%D0%90%D0%BD%D0%B3%D0%BE%D0%BB%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Анго́ла (Portuguese: Angola), полная официальная форма — Респу́блика Анго́ла (Portuguese: República de Angola ʁɛˈpublikɐ dɨ ɐ̃ˈɡɔlɐ) — государство в Южной Африке. Бывшая португальская колония, получила независимость в 1975 году. Член ООН с 1 декабря 1976 года.\n\nНайд... | {
"type": "exact",
"value": "1976-12-01",
"tests": []
} | train |
reason2-ballot_points-027 | reasoning | ru | Original | CC0-1.0 | reason2-ballot_points | workshop_ballot_points | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Жюри оценивает макеты W, E, R, Y. Баллы за места, начиная с первого: 3, 2, 1, 0. Бюллетени записаны как число одинаковых голосов × порядок от лучшего к худшему: 8 × Y>R>W>E; 8 × R>Y>W>E; 4 × E>R>W>Y; 5 × R>Y>E>W; 3 × E>R>Y>W. У какого макета больше всего баллов?\nКратко обоснуй... | {
"type": "exact",
"value": "R",
"tests": []
} | train |
wiki-read-en-1de63ebb1c004f8cef5d | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-41bce3cb2b256357262ded | chronology | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--1678199803138781882-42 (Apache-2.0). Wikipedia contributors, “Grand Duchy of Lithuania” (https://en.wikipedia.org/wiki/Grand_Duchy_of_Lithuania), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Grand Duchy of Lithuania\n\nIn 1260 the Grand Duchy of Lithuania was the land of Lithuania, and ethnic Lithuanians formed majority (67.5%) of its 400,000 people. With the acquisition of new Ruthenian territories, in 1340 this portion decreased to 30% By the time of the largest ... | {
"type": "exact",
"value": "1260, 1340",
"tests": []
} | train |
math-verified-quadratic_samples-017 | math | en | Original | CC0-1.0 | math-verified-quadratic_samples | verified_math_quadratic_samples | Original bilingual mathematics exercises, CC0-1.0 | [
{
"role": "user",
"content": "The function f is a quadratic polynomial. Its values are f(3) = 2, f(5) = 30, f(7) = 74. Find f(13).\nGive the exact number on the last line; use a reduced fraction for a noninteger answer."
},
{
"role": "assistant",
"content": "The arguments are 2 units apart. The ... | {
"type": "number",
"value": "302",
"tests": []
} | train |
wiki-read-ru-cb05fbf62fd9e31fa668 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-34010117bf3f5b0c19a92d | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--5731245710640085772-3 (Apache-2.0). Wikipedia contributors, “Джексон, Майкл” (https://ru.wikipedia.org/wiki/%D0%94%D0%B6%D0%B5%D0%BA%D1%81%D0%BE%D0%BD%2C_%D0%9C%D0%B0%D0%B9%D0%BA%D0%BB), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers ... | [
{
"role": "user",
"content": "Джексон, Майкл\n\nДжексон выступал перед одноклассниками на Рождественских концертах с пятилетнего возраста. В 1964 году Майкл и Марлон присоединились к «The Jacksons» — группе, созданной их братьями Джеки, Тито и Джермейном — в качестве музыкантов-дублёров, играя на конго и та... | {
"type": "exact",
"value": "I Feel Good",
"tests": []
} | train |
wiki-read-en-75bc1f1294d4bc7dcdf9 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-d7599da11d2e317671100c | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--8040188348303913121-0 (Apache-2.0). Wikipedia contributors, “Studio Ghibli” (https://en.wikipedia.org/wiki/Studio_Ghibli), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Studio Ghibli\n\nStudio Ghibli, Inc.(Japanese:株式会社スタジオジブリ,Hepburn:Kabushiki gaisha Sutajio Jiburi) is a Japanese animation film studio based in Koganei, Tokyo, Japan. The studio is best known for its anime feature films, and has also produced several short films, television com... | {
"type": "exact",
"value": "1985-06-15",
"tests": []
} | train |
algpy-3351e48ef50fe5e7-change-impact | code | en | TheAlgorithms/Python | MIT | algpy-3351e48ef50fe5e7 | change-impact | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/padovan_sequence.py#padovan_sequence; adapted exercises | [
{
"role": "user",
"content": "Suppose `return 1` is replaced by `return 2` in the program below. Which expression changes its returned value? Briefly explain and write its letter on the last line.\n```python\ndef compute(n):\n if not isinstance(n, int) or n < 0:\n raise ValueError('Input must be a... | {
"type": "exact",
"value": "B",
"tests": []
} | train |
algpy-160761cc46693591-check-assertions | code | en | TheAlgorithms/Python | MIT | algpy-160761cc46693591 | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/perfect_cube.py#perfect_cube_binary_search; 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(n):\n if not isinstance(n, int):\n raise TypeError('compute() only ac... | {
"type": "exact",
"value": "B: True",
"tests": []
} | train |
algpy-bcbcd60132574e60-implement | code | en | TheAlgorithms/Python | MIT | algpy-bcbcd60132574e60 | implement | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, conversions/octal_to_decimal.py#oct_to_decimal; adapted exercises | [
{
"role": "user",
"content": "Implement this Python function. Interpret a nonempty string of octal digits as a nonnegative integer. Leading zeros are allowed.\nSignature: def oct_to_decimal(oct_string):\nExamples:\n```python\nassert oct_to_decimal('0') == 0\nassert oct_to_decimal('1') == 1\n```"
},
{
... | {
"type": "code",
"value": "",
"tests": [
"assert oct_to_decimal('7') == 7",
"assert oct_to_decimal('10') == 8",
"assert oct_to_decimal('17') == 15",
"assert oct_to_decimal('020') == 16",
"assert oct_to_decimal('351') == 233",
"assert oct_to_decimal('777') == 511"
]
} | train |
wiki-read-ru-bb9432a88a12ec9c9b29 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-0ee5568af8a2da3144c702 | clause | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--4822312852218708297-69 (Apache-2.0). Wikipedia contributors, “История Чечни” (https://ru.wikipedia.org/wiki/%D0%98%D1%81%D1%82%D0%BE%D1%80%D0%B8%D1%8F_%D0%A7%D0%B5%D1%87%D0%BD%D0%B8), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers nor... | [
{
"role": "user",
"content": "История Чечни\n\nЛетом 1990 года группа видных представителей чеченской интеллигенции выступила с инициативой проведения Чеченского национального съезда для обсуждения проблем возрождения национальной культуры, языка, традиций, исторической памяти. 23—25 ноября в Грозном прошёл... | {
"type": "exact",
"value": "который избрал Исполнительный комитет во главе с председателем генерал-майором Джохаром Дудаевым",
"tests": []
} | train |
reason2-minimum_cover-041 | reasoning | ru | Original | CC0-1.0 | reason2-minimum_cover | workshop_minimum_cover | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Для выставки нужны образцы всех типов 1, 3, 4, 5, 7, 9. Наборы перечислены с типами внутри: L=1; C=9; H=3; N=7; W=9; Z=1/4; V=1/3/5/9. Дубли допустимы. Какое наименьшее число наборов покроет все типы?\nПриведи ход решения в нескольких фразах. На последней строке оставь только о... | {
"type": "number",
"value": "3",
"tests": []
} | train |
wiki-read-en-24d087cdefd2b719c02f | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-d0694248a8037911d44092 | clause | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--1913866656899843578-7 (Apache-2.0). Wikipedia contributors, “Howler monkey” (https://en.wikipedia.org/wiki/Howler_monkey), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Howler monkey\n\nAs their name suggests, vocal communication forms an important part of their social behavior. They each have an enlarged basihyal or hyoid bone, which helps them make their loud vocalizations. Group males generally call at dawn and dusk, as well as interspersed... | {
"type": "exact",
"value": "which helps them make their loud vocalizations",
"tests": []
} | train |
reason2-rotate_grid-061 | reasoning | en | Original | CC0-1.0 | reason2-rotate_grid | workshop_rotate_grid | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "The board's original rows from top to bottom are B T M / Y L F / U Q P / G K A. Apply these cyclic shifts in order: column 2 down by 2; row 4 right by 2; column 1 down by 1; row 1 right by 1; column 2 down by 3. Which symbol is now in row 2, column 2? Indices start at 1.\nBrief... | {
"type": "exact",
"value": "T",
"tests": []
} | train |
wiki-read-en-3855a67d6440802fac14 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-d968659d0bf2e5568d7f28 | definition | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-1964830945801274560-0 (Apache-2.0). Wikipedia contributors, “2019 Atlantic hurricane season” (https://en.wikipedia.org/wiki/2019_Atlantic_hurricane_season), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercis... | [
{
"role": "user",
"content": "2019 Atlantic hurricane season\n\nThe 2019 Atlantic hurricane season is an upcoming event in the annual formation of tropical cyclones in the Northern Hemisphere. The season will officially begin on June 1, 2019, and end on November 30, 2019. These dates historically describe t... | {
"type": "exact",
"value": "an upcoming event in the annual formation of tropical cyclones in the Northern Hemisphere",
"tests": []
} | train |
gsm-train-4573 | math | en | GSM8K | MIT | gsm8k-679ff0640a658b756422 | word_problem_7_steps | OpenAI (2021), GSM8K, original train row 4573 | [
{
"role": "user",
"content": "Jon drinks a bottle of water that is 16 ounces every 4 hours for the 16 hours he is awake. Twice a day he also drinks a bottle that is 25% larger than those bottles. How much fluid does he drink a week?\nShow a short calculation. Put the final number alone on the last line."
... | {
"type": "number",
"value": "728",
"tests": []
} | train |
gsm-train-1591 | math | en | GSM8K | MIT | gsm8k-5f6f9f10064f00d9f0b3 | word_problem_6_steps | OpenAI (2021), GSM8K, original train row 1591 | [
{
"role": "user",
"content": "John used to buy 4 coffees a day for $2 each. They raised the price by 50% so he cut the number of coffees he drinks in half. How much money does he save per day compared to what he used to spend?\nShow a short calculation. Put the final number alone on the last line."
},
... | {
"type": "number",
"value": "2",
"tests": []
} | train |
math-verified-three_clubs-004 | math | en | Original | CC0-1.0 | math-verified-three_clubs | verified_math_three_clubs | Original bilingual mathematics exercises, CC0-1.0 | [
{
"role": "user",
"content": "Classes A, B and C have 33, 27 and 23 members respectively. There are 13 in A and B, 15 in B and C, and 6 in A and C. Each pairwise count includes the 3 people in all three classes. How many people joined exactly one class?\nGive the exact number on the last line; use a reduced... | {
"type": "number",
"value": "24",
"tests": []
} | train |
algpy-62e44949de35eefd-check-assertions | code | ru | TheAlgorithms/Python | MIT | algpy-62e44949de35eefd | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, boolean_algebra/not_gate.py#not_gate; adapted exercises | [
{
"role": "user",
"content": "Один из тестов противоречит фактическому поведению этой функции. Определи его и вычисли верный результат. В последней строке запиши букву и результат через двоеточие, например A: 42.\n```python\ndef compute(input_1):\n return 1 if input_1 == 0 else 0\n```\n```python\n# A\nas... | {
"type": "exact",
"value": "B: 1",
"tests": []
} | train |
reason2-assembly_units-025 | reasoning | en | Original | CC0-1.0 | reason2-assembly_units | workshop_assembly_units | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Each bill of materials lists the contents of one unit: P = 4×T + 2×U; T = 2×C + 5×D; U = 5×C + 2×D. The order requires 8 units of P plus 5 additional units of T. How many individual C parts are needed?\nExplain in a few sentences and use the final line for the answer alone."
... | {
"type": "number",
"value": "154",
"tests": []
} | train |
gsm-train-5982 | math | en | GSM8K | MIT | gsm8k-11acc14fa7fcc8629241 | word_problem_5_steps | OpenAI (2021), GSM8K, original train row 5982 | [
{
"role": "user",
"content": "Cortney is downloading some files to her computer. Her internet speed is 2 megabits per minute. If she can download the files one at a time and the files she is downloading have the size of 80 megabits, 90 megabits, and 70 megabits. How many hours will it take for her to downlo... | {
"type": "number",
"value": "2",
"tests": []
} | train |
reason2-editing_history-044 | reasoning | ru | Original | CC0-1.0 | reason2-editing_history | workshop_editing_history | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "В редакторе поле сначала содержит F. Запись заменяет значение и стирает возможность повтора отменённых записей. «Отмена» возвращает предыдущее значение, «повтор» восстанавливает отменённую запись. Если действие недоступно, поле не меняется. Команды: записать N; записать M; отме... | {
"type": "exact",
"value": "E",
"tests": []
} | train |
reason2-bottleneck-021 | reasoning | ru | Original | CC0-1.0 | reason2-bottleneck | workshop_bottleneck | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Двусторонние конвейеры допускают коробки шириной не более указанной (см): Z–J=3; N–Y=12; B–Z=10; Y–Z=16; K–N=12; N–W=9; Y–B=13; J–W=12; Y–W=13. Нужно перевезти коробку из K в W, не поворачивая её. Какова наибольшая допустимая ширина?\nПриведи ход решения в нескольких фразах. На... | {
"type": "number",
"value": "12",
"tests": []
} | train |
reason2-ballot_points-051 | reasoning | ru | Original | CC0-1.0 | reason2-ballot_points | workshop_ballot_points | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Жюри оценивает макеты G, E, K, B. Баллы за места, начиная с первого: 3, 2, 1, 0. Бюллетени записаны как число одинаковых голосов × порядок от лучшего к худшему: 8 × G>K>B>E; 9 × G>E>K>B; 6 × G>E>B>K; 7 × E>B>K>G; 8 × G>B>E>K. У какого макета больше всего баллов?\nПокажи коротку... | {
"type": "exact",
"value": "G",
"tests": []
} | train |
algpy-45e52de8dd70015e-trace | code | ru | TheAlgorithms/Python | MIT | algpy-45e52de8dd70015e | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/extended_euclidean_algorithm.py#extended_euclidean_algorithm; adapted exercises | [
{
"role": "user",
"content": "```python\ndef compute(a, b):\n if abs(a) == 1:\n return (a, 0)\n elif abs(b) == 1:\n return (0, b)\n old_remainder, remainder = (a, b)\n old_coeff_a, coeff_a = (1, 0)\n old_coeff_b, coeff_b = (0, 1)\n while remainder != 0:\n quotient = ol... | {
"type": "exact",
"value": "(1, 0)",
"tests": []
} | train |
wiki-read-en-80910dbc50abdbaf285d | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-b1f3ed02f71caee2a6b010 | measurement | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--2148601120330344241-0 (Apache-2.0). Wikipedia contributors, “Sea urchin” (https://en.wikipedia.org/wiki/Sea_urchin), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Sea urchin\n\nSea urchins or urchins (/ˈɜːrtʃɪnz/) are typically spiny, globular animals, echinoderms in the class Echinoidea. About 950 species live on the seabed, inhabiting all oceans and depth zones from the intertidal to 5,000 metres (16,000ft; 2,700 fathoms). Their tests ... | {
"type": "exact",
"value": "5,000 metres",
"tests": []
} | train |
reason2-connected_groups-032 | reasoning | ru | Original | CC0-1.0 | reason2-connected_groups | workshop_connected_groups | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Сначала у каждого кода из списка C, F, V, W, S, K, L, G, Y, B свой архив. Связь между двумя кодами объединяет их архивы целиком; это распространяется по цепочке. Все действующие связи: W–G, F–L, G–V, L–Y, V–S, K–G, Y–F, G–B, B–F, F–G, V–W, B–W, V–K, Y–S, S–L, Y–B. Добавляют свя... | {
"type": "number",
"value": "10",
"tests": []
} | train |
wiki-read-en-20b3321791d9a6776ed9 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-a0d183c22caff7872ae9a8 | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-3396379317068091480-0 (Apache-2.0). Wikipedia contributors, “History of Ford Motor Company” (https://en.wikipedia.org/wiki/History_of_Ford_Motor_Company), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "History of Ford Motor Company\n\nFord Motor Company is an American automaker and the world's fifth largest automaker based on worldwide vehicle sales. Based in Dearborn, Michigan, a suburb of Detroit, the automaker was founded by Henry Ford, on June 16, 1903. Ford Motor Company... | {
"type": "exact",
"value": "1903-06-16",
"tests": []
} | train |
reason2-rotate_grid-025 | reasoning | en | Original | CC0-1.0 | reason2-rotate_grid | workshop_rotate_grid | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "The board's original rows from top to bottom are S C E W / J A M K / F L G Y / R X V T. Apply these cyclic shifts in order: row 3 right by 1; column 3 down by 1; row 3 right by 1; column 1 down by 3. Which symbol is now in row 3, column 4? Indices start at 1.\nShow a short chec... | {
"type": "exact",
"value": "M",
"tests": []
} | train |
reason2-pareto-031 | reasoning | en | Original | CC0-1.0 | reason2-pareto | workshop_pareto | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Poster printing options are listed as (days, price): K (22, 70); Z (8, 22); L (24, 32); R (14, 20); H (28, 18); X (16, 46); P (26, 62); F (7, 47). Discard any option if another is both faster and cheaper. Give the surviving codes alphabetically, separated by spaces.\nBriefly ju... | {
"type": "exact",
"value": "F H R Z",
"tests": []
} | train |
reason2-balanced_load-007 | 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: M=72, G=88, X=96, N=28, E=76, H=100, B=68, D=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": "4",
"tests": []
} | train |
reason2-editing_history-028 | reasoning | ru | Original | CC0-1.0 | reason2-editing_history | workshop_editing_history | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "В редакторе поле сначала содержит P. Запись заменяет значение и стирает возможность повтора отменённых записей. «Отмена» возвращает предыдущее значение, «повтор» восстанавливает отменённую запись. Если действие недоступно, поле не меняется. Команды: записать L; записать G; отме... | {
"type": "exact",
"value": "X",
"tests": []
} | train |
reason2-ballot_points-063 | reasoning | ru | Original | CC0-1.0 | reason2-ballot_points | workshop_ballot_points | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Жюри оценивает макеты X, R, L. Баллы за места, начиная с первого: 2, 1, 0. Бюллетени записаны как число одинаковых голосов × порядок от лучшего к худшему: 5 × L>R>X; 4 × R>X>L; 8 × X>R>L. У какого макета больше всего баллов?\nПокажи короткую проверку, а в конце на отдельной стр... | {
"type": "exact",
"value": "R",
"tests": []
} | train |
wiki-read-ru-9e70bcb0121d38334e35 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-09c85cc180a4e81ddb3030 | clause | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-657497254915432080-3 (Apache-2.0). Wikipedia contributors, “Автоматическая коробка передач” (https://ru.wikipedia.org/wiki/%D0%90%D0%B2%D1%82%D0%BE%D0%BC%D0%B0%D1%82%D0%B8%D1%87%D0%B5%D1%81%D0%BA%D0%B0%D1%8F_%D0%BA%D0%BE%D1%80%D0%BE%D0%B1%D0%BA%D0%B0_%D0%BF%D0%B5%D1... | [
{
"role": "user",
"content": "Автоматическая коробка передач\n\nК появлению классической гидромеханической автоматической коробки передач привели три изначально независимые линии разработок, которые были впоследствии объединены в её конструкции. Наиболее ранней из них можно считать применявшиеся на некоторы... | {
"type": "exact",
"value": "которые были впоследствии объединены в её конструкции",
"tests": []
} | train |
math-verified-skipped_payment-015 | math | ru | Original | CC0-1.0 | math-verified-skipped_payment | verified_math_skipped_payment | Original bilingual mathematics exercises, CC0-1.0 | [
{
"role": "user",
"content": "В первый день планировали отложить 20 руб., а в каждый следующий — на 7 руб. больше, чем было запланировано накануне. План рассчитан на 18 дней. Ровно в один день взнос пропустили; все остальные суммы внесли по расписанию. Всего отложили 1411 руб. В какой по счёту день пропусти... | {
"type": "number",
"value": "1",
"tests": []
} | train |
math-verified-skipped_payment-013 | math | en | Original | CC0-1.0 | math-verified-skipped_payment | verified_math_skipped_payment | Original bilingual mathematics exercises, CC0-1.0 | [
{
"role": "user",
"content": "A savings schedule starts at 21 dollars on day 1 and increases the scheduled payment by 6 dollars each day for 13 days. Exactly one payment was skipped; all other scheduled amounts were paid. The total paid was 660 dollars. On which day was the payment missed?\nGive the exact n... | {
"type": "number",
"value": "11",
"tests": []
} | train |
wiki-read-en-6078379b979fa5e90407 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-81c3871e4cfdc0107bcee1 | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-3576418658045422556-0 (Apache-2.0). Wikipedia contributors, “Columbia, South Carolina” (https://en.wikipedia.org/wiki/Columbia%2C_South_Carolina), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Columbia, South Carolina\n\nColumbia is the capital and second largest city of the U.S. state of South Carolina, with a population estimate of 134,309 as of 2016. The city serves as the county seat of Richland County, and a portion of the city extends into neighboring Lexington... | {
"type": "exact",
"value": "2016-07-01",
"tests": []
} | train |
algpy-45ec4b2ab48c7452-check-assertions | code | en | TheAlgorithms/Python | MIT | algpy-45ec4b2ab48c7452 | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/area.py#area_square; 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(side_length):\n if side_length < 0:\n raise ValueError('compute() onl... | {
"type": "exact",
"value": "A: 100",
"tests": []
} | train |
reason2-minimum_cover-024 | 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 1, 2, 3, 4, 5, 6, 7, 9. Available kits and the types they contain: T=2/5; R=2/3/5/9; C=4; J=5/7; G=1/5/6/7. Duplicate samples are allowed. What is the fewest kits that cover every type?\nBriefly justify your result, then put the answer alon... | {
"type": "number",
"value": "3",
"tests": []
} | train |
reason2-ballot_points-050 | reasoning | ru | Original | CC0-1.0 | reason2-ballot_points | workshop_ballot_points | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Жюри оценивает макеты C, L, Y. Баллы за места, начиная с первого: 2, 1, 0. Бюллетени записаны как число одинаковых голосов × порядок от лучшего к худшему: 2 × Y>C>L; 7 × Y>L>C; 8 × L>Y>C; 6 × L>C>Y; 8 × C>L>Y. У какого макета больше всего баллов?\nКратко обоснуй ответ и запиши ... | {
"type": "exact",
"value": "L",
"tests": []
} | train |
math-verified-three_clubs-006 | math | ru | Original | CC0-1.0 | math-verified-three_clubs | verified_math_three_clubs | Original bilingual mathematics exercises, CC0-1.0 | [
{
"role": "user",
"content": "Численность трёх учебных групп: A — 37, B — 52, C — 35. На A и B записаны 22, на B и C — 26, на A и C — 12. Число участников всех трёх групп — 8; они включены в каждое парное пересечение. Сколько человек записалось ровно на одно занятие?\nЗапиши точное число в последней строке;... | {
"type": "number",
"value": "28",
"tests": []
} | train |
algpy-8474d29b0130a22c-check-assertions | code | ru | TheAlgorithms/Python | MIT | algpy-8474d29b0130a22c | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/decimal_to_fraction.py#decimal_to_fraction; adapted exercises | [
{
"role": "user",
"content": "Один из тестов противоречит фактическому поведению этой функции. Определи его и вычисли верный результат. В последней строке запиши букву и результат через двоеточие, например A: 42.\n```python\ndef compute(decimal):\n try:\n decimal = float(decimal)\n except Value... | {
"type": "exact",
"value": "A: (2, 1)",
"tests": []
} | train |
algpy-1dbc9346079e0410-trace | code | ru | TheAlgorithms/Python | MIT | algpy-1dbc9346079e0410 | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, data_structures/arrays/pairs_with_given_sum.py#pairs_with_sum; adapted exercises | [
{
"role": "user",
"content": "```python\nfrom itertools import combinations\n\ndef pairs_with_sum(arr, req_sum):\n return len([1 for a, b in combinations(arr, 2) if a + b == req_sum])\n```\nЧто вернёт выражение pairs_with_sum([1, 7, 6, 2, 5, 4, 3, 1, 9, 8], 7)? Запиши repr результата Python."
},
{
... | {
"type": "exact",
"value": "4",
"tests": []
} | train |
wiki-read-ru-4e0faeb82dd61b115c94 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-f9d84dd923c8c6342a28de | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-558258244943492647-5 (Apache-2.0). Wikipedia contributors, “Синтетические алмазы” (https://ru.wikipedia.org/wiki/%D0%A1%D0%B8%D0%BD%D1%82%D0%B5%D1%82%D0%B8%D1%87%D0%B5%D1%81%D0%BA%D0%B8%D0%B5_%D0%B0%D0%BB%D0%BC%D0%B0%D0%B7%D1%8B), snapshot 2019-02-01 (CC-BY-SA-3.0).... | [
{
"role": "user",
"content": "Синтетические алмазы\n\nВпервые воспроизводимый синтез был выполнен в 1953 году: шведский учёный Балтазар Платен сконструировал установку, в которой кубический образец сжимался шестью поршнями с разных сторон. 15 сентября 1953 года на ней были получены первые в мире искусственн... | {
"type": "exact",
"value": "1953-09-15",
"tests": []
} | train |
reason2-frequency_median-042 | reasoning | ru | Original | CC0-1.0 | reason2-frequency_median | workshop_frequency_median | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "В журнале длительности занятий записаны парами «минуты × число занятий»: 7×11; 48×2; 8×2; 20×11; 44×5. Какова медианная длительность одного занятия?\nПокажи короткую проверку, а в конце на отдельной строке дай ответ."
},
{
"role": "assistant",
"content": "Общее числ... | {
"type": "number",
"value": "20",
"tests": []
} | train |
algpy-72fbd3a0f1191bc8-check-assertions | code | ru | TheAlgorithms/Python | MIT | algpy-72fbd3a0f1191bc8 | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/ear_clipping_polygon_triangulation.py#is_point_inside_triangle; adapted exercises | [
{
"role": "user",
"content": "Один из тестов противоречит фактическому поведению этой функции. Определи его и вычисли верный результат. В последней строке запиши букву и результат через двоеточие, например A: 42.\n```python\ndef compute(p1, p2, p3, test_point):\n area_triangle = abs(0.5 * (p1[0] * (p2[1]... | {
"type": "exact",
"value": "A: False",
"tests": []
} | train |
reason2-assembly_units-011 | reasoning | ru | Original | CC0-1.0 | reason2-assembly_units | workshop_assembly_units | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Для сборки используются спецификации (правая часть — состав одной единицы): H = 3×W + 1×Y; W = 2×X + 3×E; Y = 4×X + 4×E. Заказ включает изделия H в количестве 2 и отдельно узлы W в количестве 4. Сколько отдельных деталей E потребуется?\nКратко обоснуй ответ и запиши сам ответ н... | {
"type": "number",
"value": "38",
"tests": []
} | train |
reason2-minimum_cover-006 | reasoning | ru | Original | CC0-1.0 | reason2-minimum_cover | workshop_minimum_cover | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Для выставки нужны образцы всех типов 1, 3, 4, 5, 6, 7, 8, 9. Наборы перечислены с типами внутри: A=1/3/8; G=3/7/9; S=3; P=1/3/4/9; M=1/6/7/8; D=5/9. Дубли допустимы. Какое наименьшее число наборов покроет все типы?\nПриведи ход решения в нескольких фразах. На последней строке ... | {
"type": "number",
"value": "3",
"tests": []
} | train |
wiki-read-en-cc915ac0a0c641c4825c | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-49952adb312fe213e087a8 | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--1101215611760887580-1 (Apache-2.0). Wikipedia contributors, “Caldecott Medal” (https://en.wikipedia.org/wiki/Caldecott_Medal), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Caldecott Medal\n\nThe award is named for Randolph Caldecott, a nineteenth-century English illustrator. Rene Paul Chambellan designed the Medal in 1937. The obverse scene is derived from Randolph Caldecott's front cover illustration for The Diverting History of John Gilpin (Rou... | {
"type": "exact",
"value": "Routledge, 1878, an edition of the 1782 poem by William Cowper",
"tests": []
} | train |
reason2-rotate_grid-066 | reasoning | ru | Original | CC0-1.0 | reason2-rotate_grid | workshop_rotate_grid | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Исходные строки табло сверху вниз: F K N / D U P / J Y G / V M C. Выполни циклические сдвиги по порядку: столбец 3 на 2 вниз; строка 4 на 1 вправо; столбец 2 на 1 вниз. Какой символ теперь в строке 1, столбце 2? Нумерация с единицы.\nПокажи короткую проверку, а в конце на отдел... | {
"type": "exact",
"value": "V",
"tests": []
} | train |
wiki-read-ru-5ffec7243842bc475793 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-8082e7a50efadcf20bd681 | definition | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-8536938862504853982-1 (Apache-2.0). Wikipedia contributors, “Липецк” (https://ru.wikipedia.org/wiki/%D0%9B%D0%B8%D0%BF%D0%B5%D1%86%D0%BA), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Липецк\n\nЛипецк — один из крупнейших и второй по численности населения город в Черноземье, пятый в Центральном федеральном округе и тридцать шестой в России. Расположен на реке Воронеж в лесостепной зоне на стыке Среднерусской возвышенности и Окско-Донской равнины. Важный авто... | {
"type": "exact",
"value": "один из крупнейших и второй по численности населения город в Черноземье, пятый в Центральном федеральном округе и тридцать шестой в России",
"tests": []
} | train |
wiki-read-en-6a30c5e5270006db11c6 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-5fbda82b7cb9140c573d1c | measurement | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-3763332256657739755-2 (Apache-2.0). Wikipedia contributors, “River Swilly” (https://en.wikipedia.org/wiki/River_Swilly), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "River Swilly\n\nThe River Swilly rises near Glendore, a mountain in County Donegal, and flows for around 41.8km (26.0mi) through Letterkenny before flowing into the Atlantic Ocean at Lough Swilly.\n\nWhich value is expressed numerically in kilometres? Copy just the number and u... | {
"type": "exact",
"value": "41.8km",
"tests": []
} | train |
reason2-order_count-018 | reasoning | en | Original | CC0-1.0 | reason2-order_count | workshop_order_count | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Display items R, V, D, K, J, B must be brought in one at a time, each exactly once. X→Y requires X before Y. Given R→J, V→J, R→B, R→K, V→K, how many complete orders are possible?\nBriefly justify your result, then put the answer alone on the last line."
},
{
"role": "as... | {
"type": "number",
"value": "84",
"tests": []
} | train |
wiki-read-en-1115af289b4ac4773260 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-0b444badf3cad483b6a4b8 | measurement | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-984261820054657311-2 (Apache-2.0). Wikipedia contributors, “Large intestine” (https://en.wikipedia.org/wiki/Large_intestine), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Large intestine\n\nIn humans, the large intestine begins in the right iliac region of the pelvis, just at or below the waist, where it is joined to the end of the small intestine at the cecum, via the ileocecal valve. It then continues as the colon ascending the abdomen, across... | {
"type": "exact",
"value": "1.5 metres",
"tests": []
} | train |
math-verified-stock-026 | math | ru | Original | CC0-1.0 | math-verified-stock | verified_math_stock | Original bilingual mathematics exercises, CC0-1.0 | [
{
"role": "user",
"content": "Утром со склада отгрузили 1/3 всех коробок. Затем привезли ещё 20 коробок и отгрузили 1/4 нового запаса. Остаток к вечеру — 75 коробок. Сколько коробок было до первой отгрузки?\nЗапиши точное число в последней строке; нецелый ответ дай несократимой дробью."
},
{
"role":... | {
"type": "number",
"value": "120",
"tests": []
} | train |
gsm-train-4347 | math | en | GSM8K | MIT | gsm8k-28b20ad25c3695d105fa | word_problem_7_steps | OpenAI (2021), GSM8K, original train row 4347 | [
{
"role": "user",
"content": "Julio has four bottles of orange soda and seven bottles of grape soda in his fridge. His friend Mateo has a bottle of orange soda and 3 bottles of grape soda in his fridge. If the amount of beverage in each bottle is 2 liters, how many more liters of soda does Julio have?\nShow... | {
"type": "number",
"value": "14",
"tests": []
} | train |
wiki-read-en-ac240cf8422ba9eab822 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-83a5a84adea36c3e1987d8 | definition | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-416252878740839308-0 (Apache-2.0). Wikipedia contributors, “Pine City, Minnesota” (https://en.wikipedia.org/wiki/Pine_City%2C_Minnesota), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Pine City, Minnesota\n\nPine City is a city in Pine County, Minnesota, in East Central Minnesota. Pine City is the county seat of, and the largest city in, Pine County. A portion of the city is located on the Mille Lacs Indian Reservation. Founded as a railway town, it quickly ... | {
"type": "exact",
"value": "a city in Pine County, Minnesota, in East Central Minnesota",
"tests": []
} | train |
reason2-editing_history-004 | reasoning | ru | Original | CC0-1.0 | reason2-editing_history | workshop_editing_history | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "В редакторе поле сначала содержит B. Запись заменяет значение и стирает возможность повтора отменённых записей. «Отмена» возвращает предыдущее значение, «повтор» восстанавливает отменённую запись. Если действие недоступно, поле не меняется. Команды: записать M; записать R; повт... | {
"type": "exact",
"value": "U",
"tests": []
} | train |
reason2-critical_path-017 | reasoning | ru | Original | CC0-1.0 | reason2-critical_path | workshop_critical_path | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Число рабочих мест в мастерской не ограничено. Время выполнения каждого этапа в минутах: D=9, F=2, R=3, J=3, V=8. Стрелка X→Y означает, что Y начинает работу после завершения X. Все зависимости: D→F, J→F, R→F, V→F, D→J, V→J. Время отсчитывают с нуля. Когда раньше всего можно за... | {
"type": "number",
"value": "14",
"tests": []
} | train |
wiki-read-ru-963140b037c2cdb2e01c | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-d5120639ea0296f16edf2c | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-7814901634390315281-13 (Apache-2.0). Wikipedia contributors, “Красота по-американски” (https://ru.wikipedia.org/wiki/%D0%9A%D1%80%D0%B0%D1%81%D0%BE%D1%82%D0%B0_%D0%BF%D0%BE-%D0%B0%D0%BC%D0%B5%D1%80%D0%B8%D0%BA%D0%B0%D0%BD%D1%81%D0%BA%D0%B8), snapshot 2019-02-01 (CC-... | [
{
"role": "user",
"content": "Красота по-американски\n\nОригинальную музыку к фильму написал композитор Томас Ньюман, за которую он был номинирован на премию Оскар. В саундтреке к фильму были использованы композиции таких исполнителей как Bobby Darin, The Who, Free, Eels, The Guess Who, The Folk Implosion, ... | {
"type": "exact",
"value": "2000-01-11",
"tests": []
} | train |
verified-code-cached_keys-implement | code | ru | Original | CC0-1.0 | verified-code-cache_order | verified_implement | Original algorithm and independent oracle, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Реализуй на Python cached_keys(requests, capacity). Изначально пустой кэш вмещает capacity ≥ 1 разных ключей. Запрос целого ключа делает его самым свежим. При добавлении нового в полный кэш вытесняется ключ, к которому не обращались дольше всего. Верни список: ключи в конце от ... | {
"type": "code",
"value": "",
"tests": [
"assert cached_keys([], 2) == []",
"assert cached_keys([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([3, 5, 3, 6, 5, 2], 2) == [5, 2]",
"assert cached_keys(... | train |
reason2-minimum_cover-066 | 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, 6, 8, 9. Наборы перечислены с типами внутри: T=3/5/6; F=3/6; S=4/5/6; R=2/5/6/8; V=1/5/8; A=1/8; G=2/3/8/9. Дубли допустимы. Какое наименьшее число наборов покроет все типы?\nПокажи короткую проверку, а в конце на отдельной с... | {
"type": "number",
"value": "3",
"tests": []
} | train |
reason2-room_peak-044 | reasoning | en | Original | CC0-1.0 | reason2-room_peak | workshop_room_peak | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Rehearsals each need a room for the following minute intervals: D [19,24); V [12,15); C [18,21); X [18,23); L [5,8). A room is free at the right endpoint, and all rooms are interchangeable. What is the minimum room count?\nExplain in a few sentences and use the final line for t... | {
"type": "number",
"value": "3",
"tests": []
} | train |
gsm-train-6221 | math | en | GSM8K | MIT | gsm8k-708a66af97060808ae47 | word_problem_5_steps | OpenAI (2021), GSM8K, original train row 6221 | [
{
"role": "user",
"content": "Lily bought a Russian nesting doll as a souvenir. The biggest doll is 243 cm tall, and each doll is 2/3rd the size of the doll that contains it. How big is the 6th biggest doll?\nShow a short calculation. Put the final number alone on the last line."
},
{
"role": "assis... | {
"type": "number",
"value": "32",
"tests": []
} | train |
math-verified-tank_posts-019 | math | en | Original | CC0-1.0 | math-verified-tank_posts | verified_math_tank_posts | Original bilingual mathematics exercises, CC0-1.0 | [
{
"role": "user",
"content": "A tank has a rectangular inner base measuring 29 by 12 cm and vertical sides. Two solid rectangular posts rise from opposite corners of the floor. Their footprints measure 5 by 2 and 6 by 4 cm. They do not overlap and both extend above the final water level. How many liters mus... | {
"type": "number",
"value": "471/100",
"tests": []
} | train |
wiki-read-en-8ef99149d11f13a08b46 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-aa61a9ec64642839768b4c | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-2434442980932265153-0 (Apache-2.0). Wikipedia contributors, “Water Music” (https://en.wikipedia.org/wiki/Water_Music), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Water Music\n\nThe Water Music is a collection of orchestral movements, often published as three suites, composed by George Frideric Handel. It premiered on 17 July 1717, in response to King George I's request for a concert on the River Thames.\n\nFind the full calendar date wh... | {
"type": "exact",
"value": "1717-07-17",
"tests": []
} | train |
math-verified-conditional_draw-014 | math | ru | Original | CC0-1.0 | math-verified-conditional_draw | verified_math_conditional_draw | Original bilingual mathematics exercises, CC0-1.0 | [
{
"role": "user",
"content": "В мешке красных жетонов — 6, синих — 4, жёлтых — 2. Два жетона выбирают равновероятно без возвращения. Известно, что среди них есть хотя бы один красный. Какова при этом вероятность, что выбраны ровно один красный и один синий жетон?\nЗапиши точное число в последней строке; нец... | {
"type": "number",
"value": "8/17",
"tests": []
} | train |
reason2-motif_growth-051 | reasoning | ru | Original | CC0-1.0 | reason2-motif_growth | workshop_motif_growth | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Начальный орнамент SJS. За проход каждый исходный символ одновременно заменяют по правилам S→SS; J→JSS; новые символы в том же проходе не заменяются. Сколько символов S будет после 3 проходов?\nКратко обоснуй ответ и запиши сам ответ на последней строке."
},
{
"role": "... | {
"type": "number",
"value": "30",
"tests": []
} | train |
wiki-read-ru-6faedea743595c1a2cd5 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-2c49e0e62d59dbc76f2d45 | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--779462514214189295-71 (Apache-2.0). Wikipedia contributors, “Белка и Стрелка. Звёздные собаки” (https://ru.wikipedia.org/wiki/%D0%91%D0%B5%D0%BB%D0%BA%D0%B0_%D0%B8_%D0%A1%D1%82%D1%80%D0%B5%D0%BB%D0%BA%D0%B0._%D0%97%D0%B2%D1%91%D0%B7%D0%B4%D0%BD%D1%8B%D0%B5_%D1%81%D... | [
{
"role": "user",
"content": "Белка и Стрелка. Звёздные собаки\n\nМолодой композитор и дирижёр фильма Иван Урюпин начал писать музыку к фильму осенью 2008 года. Для проекта такого масштаба работа была выполнена достаточно быстро — всего за четыре месяца. Сведение музыки заняло полтора месяца и проводилось н... | {
"type": "exact",
"value": "Григорий Гладков, Александр Зацепин",
"tests": []
} | train |
algpy-7c01fffaef903d4a-trace | code | ru | TheAlgorithms/Python | MIT | algpy-7c01fffaef903d4a | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/keith_number.py#is_keith_number; adapted exercises | [
{
"role": "user",
"content": "```python\nfrom collections import deque\n\ndef compute(number):\n if not isinstance(number, int) or isinstance(number, bool):\n raise TypeError('number must be an integer')\n if number < 10:\n return False\n digits = [int(digit) for digit in str(number)]... | {
"type": "exact",
"value": "True",
"tests": []
} | train |
wiki-read-en-6f2b1153687af7c83037 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-a5cb8745ed0aa42e515dd9 | clause | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--4700250010131055119-0 (Apache-2.0). Wikipedia contributors, “Cuneiform law” (https://en.wikipedia.org/wiki/Cuneiform_law), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Cuneiform law\n\nCuneiform law refers to any of the legal codes written in cuneiform script, that were developed and used throughout the ancient Middle East among the Sumerians, Babylonians, Assyrians, Elamites, Hurrians, Kassites, and Hittites. The Code of Hammurabi is the mos... | {
"type": "exact",
"value": "but there were a number of precursor laws",
"tests": []
} | train |
reason2-critical_path-021 | reasoning | ru | Original | CC0-1.0 | reason2-critical_path | workshop_critical_path | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Число рабочих мест в мастерской не ограничено. Время выполнения каждого этапа в минутах: Z=4, R=4, X=5, S=9, A=6, E=2, L=2. Стрелка X→Y означает, что Y начинает работу после завершения X. Все зависимости: L→S, R→S, Z→S, S→E, A→L, R→L, Z→L, A→X, E→X, L→X, R→X, Z→X, Z→R, A→Z. Вре... | {
"type": "number",
"value": "32",
"tests": []
} | train |
wiki-read-ru-24025a56dfe0d1334f10 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-1cbbd6ff864a447e6ab969 | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-4115483505044430186-67 (Apache-2.0). Wikipedia contributors, “Resident Evil 4” (https://ru.wikipedia.org/wiki/Resident_Evil_4), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Resident Evil 4\n\nИздателем Windows-версии в России выступила компания «Новый диск». Официальные американское, европейское и русское издание для персональных компьютеров появились в продаже 22 февраля 2007 года.\n\nНайди полную календарную дату, у которой месяц написан словом,... | {
"type": "exact",
"value": "2007-02-22",
"tests": []
} | train |
algpy-c60e90c50b9fbb66-trace | code | ru | TheAlgorithms/Python | MIT | algpy-c60e90c50b9fbb66 | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, dynamic_programming/smith_waterman.py#score_function; adapted exercises | [
{
"role": "user",
"content": "```python\ndef compute(source_char, target_char, match=1, mismatch=-1, gap=-2):\n if '-' in (source_char, target_char):\n return gap\n return match if source_char == target_char else mismatch\n```\nЧто вернёт выражение compute('-', '-')? Запиши repr результата Pyth... | {
"type": "exact",
"value": "-2",
"tests": []
} | train |
reason2-fair_slots-024 | reasoning | ru | Original | CC0-1.0 | reason2-fair_slots | workshop_fair_slots | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Клуб делит часы студии по одному. Веса секций: C=28, H=15, N=6. Следующий час получает секция с наибольшим отношением «вес / (1 + число уже выделенных часов)». При равенстве выбирают первый код по алфавиту. Какой секции достанется час номер 4, если сначала ни у кого нет часов?\... | {
"type": "exact",
"value": "C",
"tests": []
} | train |
reason2-critical_path-042 | reasoning | ru | Original | CC0-1.0 | reason2-critical_path | workshop_critical_path | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Число рабочих мест в мастерской не ограничено. Время выполнения каждого этапа в минутах: K=4, C=2, X=8, P=6, V=4. Стрелка X→Y означает, что Y начинает работу после завершения X. Все зависимости: P→K, V→K, X→K, P→V, P→C, V→C. Время отсчитывают с нуля. Когда раньше всего можно за... | {
"type": "number",
"value": "14",
"tests": []
} | train |
reason2-ballot_points-039 | reasoning | ru | Original | CC0-1.0 | reason2-ballot_points | workshop_ballot_points | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Жюри оценивает макеты C, D, T, G. Баллы за места, начиная с первого: 3, 2, 1, 0. Бюллетени записаны как число одинаковых голосов × порядок от лучшего к худшему: 3 × D>G>T>C; 2 × G>C>T>D; 4 × G>T>C>D. У какого макета больше всего баллов?\nПокажи короткую проверку, а в конце на о... | {
"type": "exact",
"value": "G",
"tests": []
} | train |
reason2-line_breaks-055 | reasoning | ru | Original | CC0-1.0 | reason2-line_breaks | workshop_line_breaks | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Длины слов заголовка в символах, от первого слова к последнему: 5, 3, 6, 2, 4, 3, 4, 9. Предельная длина строки — 14. Между соседними словами ровно один пробел. Менять порядок и переносить часть слова нельзя. Каково наименьшее число строк?\nКратко обоснуй ответ и запиши сам отв... | {
"type": "number",
"value": "4",
"tests": []
} | train |
reason2-rotate_grid-053 | reasoning | en | Original | CC0-1.0 | reason2-rotate_grid | workshop_rotate_grid | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "The board's original rows from top to bottom are Y S R / Q G P / D T A. Apply these cyclic shifts in order: column 1 down by 1; row 2 right by 2; column 2 down by 1; row 1 right by 1; column 1 down by 2. Which symbol is now in row 1, column 3? Indices start at 1.\nBriefly justi... | {
"type": "exact",
"value": "T",
"tests": []
} | train |
reason2-critical_path-049 | reasoning | ru | Original | CC0-1.0 | reason2-critical_path | workshop_critical_path | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Число рабочих мест в мастерской не ограничено. Время выполнения каждого этапа в минутах: D=6, C=8, H=2, S=8, E=8, M=2, F=3. Стрелка X→Y означает, что Y начинает работу после завершения X. Все зависимости: D→H, C→S, S→M, E→F, M→F, C→E. Время отсчитывают с нуля. Когда раньше всег... | {
"type": "number",
"value": "21",
"tests": []
} | train |
algpy-db447b0725c447c9-implement | code | en | TheAlgorithms/Python | MIT | algpy-db447b0725c447c9 | implement | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, strings/count_vowels.py#count_vowels; adapted exercises | [
{
"role": "user",
"content": "Implement this Python function. Count ASCII vowels a, e, i, o and u without case sensitivity.\nSignature: def count_vowels(s):\nExamples:\n```python\nassert count_vowels('') == 0\nassert count_vowels('a') == 1\n```"
},
{
"role": "assistant",
"content": "```python\nd... | {
"type": "code",
"value": "",
"tests": [
"assert count_vowels('A') == 1",
"assert count_vowels('hello') == 2",
"assert count_vowels('AaB') == 2",
"assert count_vowels('a! b') == 1",
"assert count_vowels('aBc') == 1",
"assert count_vowels('hello World') == 3",
"assert count_vowels('zZ'... | train |
wiki-read-ru-88929160a31afafc9aca | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-2e817c3df42cd4e1c13a32 | clause | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-8579686843344075330-16 (Apache-2.0). Wikipedia contributors, “Куган, Джеки” (https://ru.wikipedia.org/wiki/%D0%9A%D1%83%D0%B3%D0%B0%D0%BD%2C_%D0%94%D0%B6%D0%B5%D0%BA%D0%B8), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. Ne... | [
{
"role": "user",
"content": "Куган, Джеки\n\nПоявление на сцене маленького мальчика заставило Чаплина вспомнить своё детство, когда он был вынужден выходить на сцену, чтобы заработать денег. Это вдохновило его на идею фильма, где могли бы сыграть он сам и Джеки. После окончания номера Чаплин договорился вс... | {
"type": "exact",
"value": "где могли бы сыграть он сам и Джеки",
"tests": []
} | train |
reason2-bottleneck-050 | reasoning | en | Original | CC0-1.0 | reason2-bottleneck | workshop_bottleneck | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Bidirectional conveyors admit boxes up to their listed width in cm: C–W=6; T–F=3; T–C=10; S–U=18; C–S=8; R–C=10; W–S=4; F–R=5. A box must travel from T to U without rotation. What is its largest possible width?\nBriefly justify your result, then put the answer alone on the last... | {
"type": "number",
"value": "8",
"tests": []
} | train |
algpy-f95c8e335603ede7-implement | code | en | TheAlgorithms/Python | MIT | algpy-f95c8e335603ede7 | implement | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/special_numbers/jacobsthal_number.py#jacobsthal_number; adapted exercises | [
{
"role": "user",
"content": "Implement this Python function. For 0 ≤ n ≤ 12 return J(n) where J(0)=0, J(1)=1 and J(n)=J(n−1)+2*J(n−2).\nSignature: def jacobsthal_number(n):\nExamples:\n```python\nassert jacobsthal_number(0) == 0\nassert jacobsthal_number(1) == 1\n```"
},
{
"role": "assistant",
... | {
"type": "code",
"value": "",
"tests": [
"assert jacobsthal_number(2) == 1",
"assert jacobsthal_number(3) == 3",
"assert jacobsthal_number(4) == 5",
"assert jacobsthal_number(5) == 11",
"assert jacobsthal_number(6) == 21",
"assert jacobsthal_number(7) == 43",
"assert jacobsthal_number... | train |
math-verified-spaced_seats-003 | math | en | Original | CC0-1.0 | math-verified-spaced_seats | verified_math_spaced_seats | Original bilingual mathematics exercises, CC0-1.0 | [
{
"role": "user",
"content": "A row is numbered 1 through 15. Seat 4 is closed. How many sets of exactly 2 available seats can be chosen so that no two chosen numbers are consecutive? The order of selection does not matter.\nGive the exact number on the last line; use a reduced fraction for a noninteger ans... | {
"type": "number",
"value": "79",
"tests": []
} | train |
reason2-motif_growth-064 | reasoning | en | Original | CC0-1.0 | reason2-motif_growth | workshop_motif_growth | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "A pattern starts as ET. During each pass, replace every current symbol simultaneously using T→TGE; E→GE; G→GT. Newly produced symbols wait for the next pass. After 3 passes, how many T symbols are there?\nShow a short check. Give the final answer on a separate line."
},
{
... | {
"type": "number",
"value": "8",
"tests": []
} | train |
wiki-read-ru-0adbe6c89febfd9e3b6e | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-93bb224ac68e696ca4bd09 | clause | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-4791525542503201297-1 (Apache-2.0). Wikipedia contributors, “Закон Базальи” (https://ru.wikipedia.org/wiki/%D0%97%D0%B0%D0%BA%D0%BE%D0%BD_%D0%91%D0%B0%D0%B7%D0%B0%D0%BB%D1%8C%D0%B8), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers norma... | [
{
"role": "user",
"content": "Закон Базальи\n\nЗакон был принят 13 мая 1978 года и ознаменовал широкомасштабную реформу психиатрической системы в Италии. Он содержал указания о закрытии всех психиатрических больниц и привёл к их замене целым рядом общественных служб, включая службы по оказанию помощи острым... | {
"type": "exact",
"value": "когда была завершена реализация закона о психиатрической реформе",
"tests": []
} | train |
algpy-a31df8a6b99eab4c-check-assertions | code | ru | TheAlgorithms/Python | MIT | algpy-a31df8a6b99eab4c | check-assertions | 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": "Один из тестов противоречит фактическому поведению этой функции. Определи его и вычисли верный результат. В последней строке запиши букву и результат через двоеточие, например A: 42.\n```python\nfrom collections import Counter\n\ndef compute(input_str=''):\n return sum((c % ... | {
"type": "exact",
"value": "B: True",
"tests": []
} | train |
algpy-8bb5f5e58893d5ab-trace | code | en | TheAlgorithms/Python | MIT | algpy-8bb5f5e58893d5ab | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, dynamic_programming/catalan_numbers.py#catalan_numbers; adapted exercises | [
{
"role": "user",
"content": "```python\ndef catalan_numbers(upper_limit):\n if upper_limit < 0:\n raise ValueError('Limit for the Catalan sequence must be ≥ 0')\n catalan_list = [0] * (upper_limit + 1)\n catalan_list[0] = 1\n if upper_limit > 0:\n catalan_list[1] = 1\n for i in... | {
"type": "exact",
"value": "[1, 1, 2]",
"tests": []
} | train |
reason2-light_piece-020 | reasoning | ru | Original | CC0-1.0 | reason2-light_piece | workshop_light_piece | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Детали D, M, E, C, W, F, V, Z, Y должны весить одинаково, но ровно одна легче. На чаши каждый раз кладут поровну деталей. Результаты (знаки сравнивают массу левой и правой чаш): E+D+Y < W+Z+V; Y+E+Z < D+W+V; C+V+M+E > F+W+D+Y. Какая деталь легче?\nКратко обоснуй ответ и запиши ... | {
"type": "exact",
"value": "Y",
"tests": []
} | train |
verified-code-edit_insert_cost_two-trace | code | en | 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_insert_cost_two(a, b):\n row = [j * 2 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] + 2, row[j] + 1, row[j-1] + (ca != cb)))\n row = ... | {
"type": "exact",
"value": "3",
"tests": []
} | train |
math-verified-break_even-025 | 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 стоит 11 руб. в месяц плюс 9 руб. за каждую страницу. Абонентская плата по тарифу B — 102 руб. в месяц за пакет объёмом 7 стр. Каждая страница сверх пакета стоит 4 руб. При каком наименьшем целом числе страниц за месяц B обойдётся ст... | {
"type": "number",
"value": "13",
"tests": []
} | train |
algpy-c5c74eea1e57f662-trace | code | ru | TheAlgorithms/Python | MIT | algpy-c5c74eea1e57f662 | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, bit_manipulation/rotate_bits.py#rotate_right32; adapted exercises | [
{
"role": "user",
"content": "```python\ndef compute(x, k):\n if not isinstance(x, int) or x < 0:\n raise ValueError('x must be a non-negative integer')\n if not isinstance(k, int) or k < 0:\n raise ValueError('k must be non-negative')\n mask = (1 << 32) - 1\n k &= 31\n return (... | {
"type": "exact",
"value": "2166572391",
"tests": []
} | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.