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
wiki-read-en-025926045f8535187123
en
en
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-en-e0fc2ffb269489e70cd72d
definition
Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-5665227793868530151-0 (Apache-2.0). Wikipedia contributors, “Drexel University” (https://en.wikipedia.org/wiki/Drexel_University), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise.
[ { "role": "user", "content": "Drexel University\n\nDrexel University is a private research university with its main campus located in the University City neighborhood of Philadelphia, Pennsylvania, United States. It was founded in 1891 by Anthony J. Drexel, a noted financier and philanthropist. Founded as D...
{ "type": "exact", "value": "a private research university with its main campus located in the University City neighborhood of Philadelphia, Pennsylvania, United States", "tests": [] }
train
reason2-ballot_points-006
reasoning
ru
Original
CC0-1.0
reason2-ballot_points
workshop_ballot_points
Original procedural reasoning, release 2; CC0-1.0.
[ { "role": "user", "content": "Жюри оценивает макеты B, V, L. Баллы за места, начиная с первого: 2, 1, 0. Бюллетени записаны как число одинаковых голосов × порядок от лучшего к худшему: 5 × B>L>V; 4 × V>L>B; 4 × V>B>L; 8 × L>B>V. У какого макета больше всего баллов?\nПокажи короткую проверку, а в конце на от...
{ "type": "exact", "value": "L", "tests": [] }
train
reason2-fair_slots-000
reasoning
ru
Original
CC0-1.0
reason2-fair_slots
workshop_fair_slots
Original procedural reasoning, release 2; CC0-1.0.
[ { "role": "user", "content": "Клуб делит часы студии по одному. Веса секций: B=28, C=21, D=12, R=32, S=30. Следующий час получает секция с наибольшим отношением «вес / (1 + число уже выделенных часов)». При равенстве выбирают первый код по алфавиту. Какой секции достанется час номер 7, если сначала ни у ког...
{ "type": "exact", "value": "B", "tests": [] }
train
wiki-read-ru-4340f038aae100b30589
ru
ru
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-ru-e5bae92b1898609797cf2d
date_normalization
Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-5637128450779092280-0 (Apache-2.0). Wikipedia contributors, “Fallout 3” (https://ru.wikipedia.org/wiki/Fallout_3), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise.
[ { "role": "user", "content": "Fallout 3\n\nFallout 3 — компьютерная игра в жанре Action/RPG, третья каноническая игра в серии Fallout. Была разработана компанией Bethesda Game Studios и издана Bethesda Softworks и ZeniMax Media. Fallout 3 вышла для игровых приставок Xbox 360 и PlayStation 3, а также для пер...
{ "type": "exact", "value": "2008-10-28", "tests": [] }
train
algpy-27330916d4fe32be-check-assertions
code
en
TheAlgorithms/Python
MIT
algpy-27330916d4fe32be
check-assertions
TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/series/arithmetic.py#arithmetic_mean; 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(series):\n if not isinstance(series, list):\n raise ValueError('Input...
{ "type": "exact", "value": "A: 4.0", "tests": [] }
train
reason2-balanced_load-068
reasoning
ru
Original
CC0-1.0
reason2-balanced_load
workshop_balanced_load
Original procedural reasoning, release 2; CC0-1.0.
[ { "role": "user", "content": "Две тележки должны увезти все ящики без деления содержимого. Масса каждого ящика: S=18, U=28, X=10, A=34, T=40, L=6. Какой наименьшей разницы масс между тележками можно добиться?\nКратко обоснуй ответ и запиши сам ответ на последней строке." }, { "role": "assistant", ...
{ "type": "number", "value": "0", "tests": [] }
train
wiki-read-en-aa03e1f2e22d084edf46
en
en
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-en-82bf206e92c87ff93e2b7e
date_normalization
Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-3219370086064443509-0 (Apache-2.0). Wikipedia contributors, “Pat Carroll (actress)” (https://en.wikipedia.org/wiki/Pat_Carroll_(actress)), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise.
[ { "role": "user", "content": "Pat Carroll (actress)\n\nPatricia Ann Carroll (born May 5, 1927) is an American actress. She is known for voicing Ursula in The Little Mermaid as well as having a long acting career, including appearances in CBS's The Danny Thomas Show, ABC's Laverne & Shirley, NBC's ER, other ...
{ "type": "exact", "value": "1927-05-05", "tests": [] }
train
wiki-read-en-c7d35f063f5bb203b5da
en
en
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-en-06c8002189b6c3c32fa407
measurement
Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--1953395383987831923-1 (Apache-2.0). Wikipedia contributors, “Languages of Moldova” (https://en.wikipedia.org/wiki/Languages_of_Moldova), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise.
[ { "role": "user", "content": "Languages of Moldova\n\nThe state language of Moldova is Romanian, locally known as Moldovan, which is the native language of 80.2% of the population; it is also spoken as a primary language by other ethnic minorities. Gagauz, Russian and Ukrainian languages are granted officia...
{ "type": "exact", "value": "80.2%", "tests": [] }
train
wiki-read-en-7bddbf36ff82f4c571e4
en
en
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-en-ee139bd0fd941847bf43d4
measurement
Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--331699731548323583-31 (Apache-2.0). Wikipedia contributors, “Asia” (https://en.wikipedia.org/wiki/Asia), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise.
[ { "role": "user", "content": "Asia\n\nAsia is the largest continent on Earth. It covers 9% of the Earth's total surface area (or 30% of its land area), and has the largest coastline, at 62,800 kilometres (39,022mi). Asia is generally defined as comprising the eastern four-fifths of Eurasia. It is located to...
{ "type": "exact", "value": "62,800 kilometres", "tests": [] }
train
reason2-bottleneck-062
reasoning
en
Original
CC0-1.0
reason2-bottleneck
workshop_bottleneck
Original procedural reasoning, release 2; CC0-1.0.
[ { "role": "user", "content": "Bidirectional conveyors admit boxes up to their listed width in cm: R–M=5; G–E=4; C–L=11; L–G=9; L–M=16; H–M=9; H–C=16; H–E=11; R–H=13; E–M=16; L–E=18. A box must travel from R to M without rotation. What is its largest possible width?\nShow a short check. Give the final answer...
{ "type": "number", "value": "11", "tests": [] }
train
algpy-0c9aede5a1df7c7e-check-assertions
code
ru
TheAlgorithms/Python
MIT
algpy-0c9aede5a1df7c7e
check-assertions
TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, divide_and_conquer/power.py#actual_power; adapted exercises
[ { "role": "user", "content": "Один из тестов противоречит фактическому поведению этой функции. Определи его и вычисли верный результат. В последней строке запиши букву и результат через двоеточие, например A: 42.\n```python\ndef compute(a, b):\n if b == 0:\n return 1\n half = compute(a, b // 2)...
{ "type": "exact", "value": "B: 9", "tests": [] }
train
math-verified-tickets-020
math
en
Original
CC0-1.0
math-verified-tickets
verified_math_tickets
Original bilingual mathematics exercises, CC0-1.0
[ { "role": "user", "content": "A group paid 2052 dollars for 32 tickets, including a single booking fee of 7 dollars for the entire order. Full-price tickets cost 85 dollars and reduced tickets cost 40. How many full-price tickets were in the order?\nGive the exact number on the last line; use a reduced frac...
{ "type": "number", "value": "17", "tests": [] }
train
reason2-balanced_load-024
reasoning
ru
Original
CC0-1.0
reason2-balanced_load
workshop_balanced_load
Original procedural reasoning, release 2; CC0-1.0.
[ { "role": "user", "content": "Две тележки должны увезти все ящики без деления содержимого. Масса каждого ящика: N=75, C=65, B=105, M=80, V=90, T=30, J=50. Какой наименьшей разницы масс между тележками можно добиться?\nПокажи короткую проверку, а в конце на отдельной строке дай ответ." }, { "role": "...
{ "type": "number", "value": "5", "tests": [] }
train
algpy-a75e17efcb3718b0-change-impact
code
ru
TheAlgorithms/Python
MIT
algpy-a75e17efcb3718b0
change-impact
TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, dynamic_programming/longest_common_substring.py#longest_common_substring; adapted exercises
[ { "role": "user", "content": "В показанном коде строку `if text1[i - 1] == text2[j - 1]:` заменяют на `if text1[i - 1] != text2[j - 1]:`. Для какого из двух выражений изменится возвращаемое значение? Дай короткое объяснение и запиши букву в последней строке.\n```python\ndef compute(text1, text2):\n if no...
{ "type": "exact", "value": "B", "tests": [] }
train
wiki-read-en-3b7bd42de22496904939
en
en
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-en-9eb129c6f06a045cc9bf2f
parenthetical_detail
Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-3515438798362640642-0 (Apache-2.0). Wikipedia contributors, “Adriana Caselotti” (https://en.wikipedia.org/wiki/Adriana_Caselotti), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise.
[ { "role": "user", "content": "Adriana Caselotti\n\nAdriana Caselotti (May 6, 1916 – January 18, 1997) was an American actress, voice actress and singer. Caselotti was the voice of the title character of the first Walt Disney animated feature Snow White and the Seven Dwarfs, for which she was named as a Disn...
{ "type": "exact", "value": "May 6, 1916 – January 18, 1997", "tests": [] }
train
algpy-68235f39c1e65b45-trace
code
en
TheAlgorithms/Python
MIT
algpy-68235f39c1e65b45
trace
TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, bit_manipulation/next_power_of_two.py#next_power_of_two; adapted exercises
[ { "role": "user", "content": "```python\ndef next_power_of_two(n):\n if n <= 0:\n raise ValueError('n must be positive')\n if n & n - 1 == 0:\n return n\n v = n - 1\n v |= v >> 1\n v |= v >> 2\n v |= v >> 4\n v |= v >> 8\n v |= v >> 16\n shift = 32\n while 1 << sh...
{ "type": "exact", "value": "1", "tests": [] }
train
reason2-ballot_points-015
reasoning
ru
Original
CC0-1.0
reason2-ballot_points
workshop_ballot_points
Original procedural reasoning, release 2; CC0-1.0.
[ { "role": "user", "content": "Жюри оценивает макеты G, M, Z. Баллы за места, начиная с первого: 2, 1, 0. Бюллетени записаны как число одинаковых голосов × порядок от лучшего к худшему: 3 × G>Z>M; 8 × Z>M>G; 5 × M>G>Z; 4 × M>Z>G. У какого макета больше всего баллов?\nКратко обоснуй ответ и запиши сам ответ н...
{ "type": "exact", "value": "M", "tests": [] }
train
reason2-rotate_grid-028
reasoning
ru
Original
CC0-1.0
reason2-rotate_grid
workshop_rotate_grid
Original procedural reasoning, release 2; CC0-1.0.
[ { "role": "user", "content": "Исходные строки табло сверху вниз: F B Q A / R J C V / P G K D / N L U M. Выполни циклические сдвиги по порядку: столбец 4 на 1 вниз; строка 3 на 2 вправо; столбец 4 на 2 вниз; строка 3 на 1 вправо; столбец 1 на 2 вниз. Какой символ теперь в строке 2, столбце 4? Нумерация с еди...
{ "type": "exact", "value": "D", "tests": [] }
train
wiki-read-en-bc0dd60e1e087fcac741
en
en
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-en-a6c5467ed09960ae8562bd
measurement
Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--4627443012904320895-0 (Apache-2.0). Wikipedia contributors, “Critical Language Scholarship Program” (https://en.wikipedia.org/wiki/Critical_Language_Scholarship_Program), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New ...
[ { "role": "user", "content": "Critical Language Scholarship Program\n\nThe Critical Language Scholarship (CLS) Program is a United States Department of State cultural and educational exchange program which offers approximately 600 students from the United States the opportunity to participate in an intensiv...
{ "type": "exact", "value": "10%", "tests": [] }
train
verified-code-turn_left-trace
code
ru
Original
CC0-1.0
verified-code-rotate
verified_trace
Original algorithm and independent oracle, release 2; CC0-1.0.
[ { "role": "user", "content": "```python\ndef turn_left(grid):\n if not grid:\n return []\n h, w = len(grid), len(grid[0])\n return [[grid[y][w-1-x] for y in range(h)] for x in range(w)]\n```\nЧто вернёт вызов turn_left([[1, 2, 3]])? Запиши только repr результата Python." }, { "role":...
{ "type": "exact", "value": "[[3], [2], [1]]", "tests": [] }
train
algpy-cfeb99f43685a797-change-impact
code
en
TheAlgorithms/Python
MIT
algpy-cfeb99f43685a797
change-impact
TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/remove_digit.py#remove_digit; adapted exercises
[ { "role": "user", "content": "Suppose `return max((int(''.join(list(transposition))) for transposition in num_transpositions))` is replaced by `return min((int(''.join(list(transposition))) for transposition in num_transpositions))` in the program below. Which expression changes its returned value? Briefly ...
{ "type": "exact", "value": "A", "tests": [] }
train
reason2-fair_slots-007
reasoning
ru
Original
CC0-1.0
reason2-fair_slots
workshop_fair_slots
Original procedural reasoning, release 2; CC0-1.0.
[ { "role": "user", "content": "Клуб делит часы студии по одному. Веса секций: L=19, R=13, V=28. Следующий час получает секция с наибольшим отношением «вес / (1 + число уже выделенных часов)». При равенстве выбирают первый код по алфавиту. Какой секции достанется час номер 6, если сначала ни у кого нет часов?...
{ "type": "exact", "value": "V", "tests": [] }
train
math-verified-tank_posts-015
math
ru
Original
CC0-1.0
math-verified-tank_posts
verified_math_tank_posts
Original bilingual mathematics exercises, CC0-1.0
[ { "role": "user", "content": "Внутренние размеры дна прямоугольного бака — 29 × 22 см. В противоположных углах от дна вертикально стоят два сплошных прямоугольных столбика с основаниями 4 × 7 см и 2 × 2 см. Они выше конечного уровня воды и не перекрываются. Сколько литров воды нужно долить, чтобы уровень вы...
{ "type": "number", "value": "606/125", "tests": [] }
train
wiki-read-en-f9ffdee17bdd464de6d7
en
en
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-en-bad655b5e4f77769f65124
date_normalization
Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--4691704861931831886-1 (Apache-2.0). Wikipedia contributors, “The Phantom of the Opera (1986 musical)” (https://en.wikipedia.org/wiki/The_Phantom_of_the_Opera_(1986_musical)), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. ...
[ { "role": "user", "content": "The Phantom of the Opera (1986 musical)\n\nThe musical opened in London's West End in 1986, and on Broadway in 1988. It won the 1986 Olivier Award and the 1988 Tony Award for Best Musical, and Michael Crawford (in the title role) won the Olivier and Tony Awards for Best Actor i...
{ "type": "exact", "value": "2012-02-11", "tests": [] }
train
wiki-read-en-d98f8badab353c9fee32
en
en
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-en-90d06554eec2967ffc40ba
clause
Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-8839700495129840880-1 (Apache-2.0). Wikipedia contributors, “List of American Horror Story episodes” (https://en.wikipedia.org/wiki/List_of_American_Horror_Story_episodes), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New...
[ { "role": "user", "content": "List of American Horror Story episodes\n\nAs of November14,2018, 103 episodes of American Horror Storyhave aired, concluding theeighth season. American Horror Story has been renewed for a ninth and tenth season, which are set to premiere in 2019 and 2020 respectively.\n\nWhich ...
{ "type": "exact", "value": "which are set to premiere in 2019 and 2020 respectively", "tests": [] }
train
reason2-balanced_load-008
reasoning
ru
Original
CC0-1.0
reason2-balanced_load
workshop_balanced_load
Original procedural reasoning, release 2; CC0-1.0.
[ { "role": "user", "content": "Две тележки должны увезти все ящики без деления содержимого. Масса каждого ящика: B=15, W=7, Z=23, Y=10, P=25, V=18, T=3, M=20. Какой наименьшей разницы масс между тележками можно добиться?\nПриведи ход решения в нескольких фразах. На последней строке оставь только ответ." },...
{ "type": "number", "value": "1", "tests": [] }
train
algpy-6102bd3cfe6d112a-check-assertions
code
ru
TheAlgorithms/Python
MIT
algpy-6102bd3cfe6d112a
check-assertions
TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, strings/camel_case_to_snake_case.py#camel_to_snake_case; adapted exercises
[ { "role": "user", "content": "Один из тестов противоречит фактическому поведению этой функции. Определи его и вычисли верный результат. В последней строке запиши букву и результат через двоеточие, например A: 42.\n```python\ndef compute(input_str):\n if not isinstance(input_str, str):\n msg = f'Ex...
{ "type": "exact", "value": "B: 'some_random_string'", "tests": [] }
train
reason2-balanced_load-041
reasoning
ru
Original
CC0-1.0
reason2-balanced_load
workshop_balanced_load
Original procedural reasoning, release 2; CC0-1.0.
[ { "role": "user", "content": "Две тележки должны увезти все ящики без деления содержимого. Масса каждого ящика: Y=20, N=60, E=55, W=110, C=125. Какой наименьшей разницы масс между тележками можно добиться?\nКратко обоснуй ответ и запиши сам ответ на последней строке." }, { "role": "assistant", "...
{ "type": "number", "value": "0", "tests": [] }
train
wiki-read-en-e230e2c392e2c162a663
en
en
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-en-ad97d63caf2017c8d6e8ac
chronology
Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--2112229671729397964-0 (Apache-2.0). Wikipedia contributors, “Climate of Mecca” (https://en.wikipedia.org/wiki/Climate_of_Mecca), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise.
[ { "role": "user", "content": "Climate of Mecca\n\nMecca features a hot desert climate. Mecca retains its hot temperature in winter, which can range from 18°C (64°F) at night to 30°C (86°F) in the day. Summer temperatures are extremely hot, often being over 40°C (104°F) during the day, dropping to 30°C (86°F...
{ "type": "exact", "value": "1942, 1965", "tests": [] }
train
wiki-read-en-f27657c560ae6ea3cc49
en
en
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-en-600f62a9b8a1900f703391
definition
Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--7711014559592049679-0 (Apache-2.0). Wikipedia contributors, “Red Delicious” (https://en.wikipedia.org/wiki/Red_Delicious), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise.
[ { "role": "user", "content": "Red Delicious\n\nThe Red Delicious is a clone of apple cultigen, now comprising more than 50 cultivars, first recognized in Madison County, Iowa, in 1880. According to the US Apple Association website, it is one of the fifteen most popular apple cultivars in the United States.\...
{ "type": "exact", "value": "a clone of apple cultigen, now comprising more than 50 cultivars, first recognized in Madison County, Iowa, in 1880", "tests": [] }
train
gsm-train-4294
math
en
GSM8K
MIT
gsm8k-68c6ac1ff7d4aeae1e7d
word_problem_6_steps
OpenAI (2021), GSM8K, original train row 4294
[ { "role": "user", "content": "At a CD store, 40% of the CDs cost $10 each, and the rest cost $5 each. Prince bought half the CDs sold at $10 each, and all of the CDs sold at $5 each. If the total number of CDs was 200, how much money did Prince spend on buying the CDs?\nShow a short calculation. Put the fin...
{ "type": "number", "value": "1000", "tests": [] }
train
reason2-order_count-026
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 P, C, G, J, R, K must be brought in one at a time, each exactly once. X→Y requires X before Y. Given C→G, P→G, C→K, P→K, C→R, G→R, P→R, P→C, how many complete orders are possible?\nBriefly justify your result, then put the answer alone on the last line." }, { ...
{ "type": "number", "value": "18", "tests": [] }
train
algpy-044e8da2b2ce81dc-check-assertions
code
ru
TheAlgorithms/Python
MIT
algpy-044e8da2b2ce81dc
check-assertions
TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, strings/wildcard_pattern_matching.py#match_pattern; adapted exercises
[ { "role": "user", "content": "Один из тестов противоречит фактическому поведению этой функции. Определи его и вычисли верный результат. В последней строке запиши букву и результат через двоеточие, например A: 42.\n```python\ndef compute(input_string, pattern):\n len_string = len(input_string) + 1\n le...
{ "type": "exact", "value": "A: True", "tests": [] }
train
algpy-0eab9d17912ca59f-trace
code
en
TheAlgorithms/Python
MIT
algpy-0eab9d17912ca59f
trace
TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/perfect_square.py#perfect_square_binary_search; adapted exercises
[ { "role": "user", "content": "```python\ndef perfect_square_binary_search(n):\n left = 0\n right = n\n while left <= right:\n mid = (left + right) // 2\n if mid ** 2 == n:\n return True\n elif mid ** 2 > n:\n right = mid - 1\n else:\n lef...
{ "type": "exact", "value": "True", "tests": [] }
train
reason2-order_count-068
reasoning
ru
Original
CC0-1.0
reason2-order_count
workshop_order_count
Original procedural reasoning, release 2; CC0-1.0.
[ { "role": "user", "content": "Экспонаты P, G, X, D, L выносят по одному, каждый ровно раз. Правило X→Y требует вынести X раньше Y. Правила: G→D, P→D, X→D, G→L. Сколько полных порядков допускают эти условия?\nПриведи ход решения в нескольких фразах. На последней строке оставь только ответ." }, { "rol...
{ "type": "number", "value": "18", "tests": [] }
train
reason2-ballot_points-046
reasoning
ru
Original
CC0-1.0
reason2-ballot_points
workshop_ballot_points
Original procedural reasoning, release 2; CC0-1.0.
[ { "role": "user", "content": "Жюри оценивает макеты G, Y, D, Z. Баллы за места, начиная с первого: 3, 2, 1, 0. Бюллетени записаны как число одинаковых голосов × порядок от лучшего к худшему: 2 × Z>Y>D>G; 2 × G>Y>D>Z; 3 × Z>D>Y>G; 4 × Y>Z>D>G; 9 × Z>D>G>Y. У какого макета больше всего баллов?\nКратко обоснуй...
{ "type": "exact", "value": "Z", "tests": [] }
train
reason2-critical_path-067
reasoning
en
Original
CC0-1.0
reason2-critical_path
workshop_critical_path
Original procedural reasoning, release 2; CC0-1.0.
[ { "role": "user", "content": "A workshop has unlimited workstations. Step durations in minutes: C=9, M=9, K=9, S=3, B=4, G=9, V=8. X→Y means Y may start only after X finishes. The full list of dependencies is K→B, M→B, K→G, M→C, G→M, V→M, C→S, V→S, V→K. Starting at minute zero, when can the whole job first ...
{ "type": "number", "value": "47", "tests": [] }
train
reason2-event_selection-029
reasoning
ru
Original
CC0-1.0
reason2-event_selection
workshop_event_selection
Original procedural reasoning, release 2; CC0-1.0.
[ { "role": "user", "content": "Один фотограф хочет целиком снять как можно больше коротких показов. Начала и окончания: T 19–24; E 10–16; Y 15–18; J 0–3; P 7–11. В момент окончания одного показа можно сразу начать следующий. Каково максимальное число показов?\nКратко обоснуй ответ и запиши сам ответ на после...
{ "type": "number", "value": "4", "tests": [] }
train
reason2-rotate_grid-021
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 Z D P / A W E / B G F. Apply these cyclic shifts in order: row 3 right by 2; column 3 down by 1; row 2 right by 1; column 2 down by 2. Which symbol is now in row 2, column 2? Indices start at 1.\nExplain in a few sentences and us...
{ "type": "exact", "value": "F", "tests": [] }
train
wiki-read-ru-73f2d2ca291ac6ec412c
ru
ru
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-ru-d8f9a75666f8f655c5e1ab
date_normalization
Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--5256375461025204667-0 (Apache-2.0). Wikipedia contributors, “Меньшевики” (https://ru.wikipedia.org/wiki/%D0%9C%D0%B5%D0%BD%D1%8C%D1%88%D0%B5%D0%B2%D0%B8%D0%BA%D0%B8), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New read...
[ { "role": "user", "content": "Меньшевики\n\n«Меньшевики́» — умеренное крыло Российской социал-демократической рабочей партии, с 24 апреля 1917 — самостоятельная Российская социал-демократическая рабочая партия. Лидеры: Ю. О. Мартов, А. С. Мартынов, П. Б. Аксельрод, Г. В. Плеханов, Ф. И. Дан, И. Г. Церетели....
{ "type": "exact", "value": "1917-04-24", "tests": [] }
train
reason2-critical_path-035
reasoning
en
Original
CC0-1.0
reason2-critical_path
workshop_critical_path
Original procedural reasoning, release 2; CC0-1.0.
[ { "role": "user", "content": "A workshop has unlimited workstations. Step durations in minutes: F=2, N=8, R=8, W=5, U=7, V=9, L=7. X→Y means Y may start only after X finishes. The full list of dependencies is F→V, L→V, U→V, L→W, L→F, W→F, U→N, F→R, L→R, U→R, W→R. Starting at minute zero, when can the whole ...
{ "type": "number", "value": "23", "tests": [] }
train
reason2-fair_slots-060
reasoning
ru
Original
CC0-1.0
reason2-fair_slots
workshop_fair_slots
Original procedural reasoning, release 2; CC0-1.0.
[ { "role": "user", "content": "Клуб делит часы студии по одному. Веса секций: C=24, E=28, M=32. Следующий час получает секция с наибольшим отношением «вес / (1 + число уже выделенных часов)». При равенстве выбирают первый код по алфавиту. Какой секции достанется час номер 7, если сначала ни у кого нет часов?...
{ "type": "exact", "value": "M", "tests": [] }
train
reason2-fair_slots-064
reasoning
ru
Original
CC0-1.0
reason2-fair_slots
workshop_fair_slots
Original procedural reasoning, release 2; CC0-1.0.
[ { "role": "user", "content": "Клуб делит часы студии по одному. Веса секций: N=29, R=33, Y=31. Следующий час получает секция с наибольшим отношением «вес / (1 + число уже выделенных часов)». При равенстве выбирают первый код по алфавиту. Какой секции достанется час номер 7, если сначала ни у кого нет часов?...
{ "type": "exact", "value": "R", "tests": [] }
train
wiki-read-ru-8d9c7f628f98e0fa62bf
ru
ru
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-ru-c8f1ebc0341e7cb7bcc8bd
clause
Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-1983206475642626815-12 (Apache-2.0). Wikipedia contributors, “Стоунволлские бунты” (https://ru.wikipedia.org/wiki/%D0%A1%D1%82%D0%BE%D1%83%D0%BD%D0%B2%D0%BE%D0%BB%D0%BB%D1%81%D0%BA%D0%B8%D0%B5_%D0%B1%D1%83%D0%BD%D1%82%D1%8B), snapshot 2019-02-01 (CC-BY-SA-3.0). Exce...
[ { "role": "user", "content": "Стоунволлские бунты\n\nПервые открытые стычки ЛГБТ-людей с полицией были отмечены ещё в 1959 году. В 1966 году полиция прибыла в Кафе Комптона, чтобы арестовать мужчин за ношение одежды противоположного пола. Локальный конфликт очень быстро перерос в открытое противостояние с х...
{ "type": "exact", "value": "чтобы арестовать мужчин за ношение одежды противоположного пола", "tests": [] }
train
algpy-939f23ed630287fd-repair
code
en
TheAlgorithms/Python
MIT
algpy-939f23ed630287fd
repair
TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/special_numbers/deficient_numbers.py#is_deficient_number; adapted exercises
[ { "role": "user", "content": "Repair this Python function. For positive n, return True when the sum of its proper positive divisors is less than n.\nFor is_deficient_number(1) it should return True, but returns False. Keep the signature.\n```python\ndef is_deficient_number(number):\n if not isinstance(nu...
{ "type": "code", "value": "", "tests": [ "assert is_deficient_number(1) == True", "assert is_deficient_number(2) == True", "assert is_deficient_number(3) == True", "assert is_deficient_number(4) == True", "assert is_deficient_number(6) == False", "assert is_deficient_number(8) == True", ...
train
algpy-8287a0899454de6c-change-impact
code
ru
TheAlgorithms/Python
MIT
algpy-8287a0899454de6c
change-impact
TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, bit_manipulation/binary_shifts.py#arithmetic_right_shift; adapted exercises
[ { "role": "user", "content": "В показанном коде строку `if number >= 0:` заменяют на `if number > 0:`. Для какого из двух выражений изменится возвращаемое значение? Дай короткое объяснение и запиши букву в последней строке.\n```python\ndef compute(number, shift_amount):\n if number >= 0:\n binary_...
{ "type": "exact", "value": "B", "tests": [] }
train
reason2-balanced_load-026
reasoning
ru
Original
CC0-1.0
reason2-balanced_load
workshop_balanced_load
Original procedural reasoning, release 2; CC0-1.0.
[ { "role": "user", "content": "Две тележки должны увезти все ящики без деления содержимого. Масса каждого ящика: X=21, P=10, S=18, Z=9, C=8, W=19, K=11. Какой наименьшей разницы масс между тележками можно добиться?\nКратко обоснуй ответ и запиши сам ответ на последней строке." }, { "role": "assistant...
{ "type": "number", "value": "0", "tests": [] }
train
reason2-order_count-055
reasoning
ru
Original
CC0-1.0
reason2-order_count
workshop_order_count
Original procedural reasoning, release 2; CC0-1.0.
[ { "role": "user", "content": "Экспонаты U, R, J, S, H, Y выносят по одному, каждый ровно раз. Правило X→Y требует вынести X раньше Y. Правила: S→H, U→J, J→Y, U→S. Сколько полных порядков допускают эти условия?\nПриведи ход решения в нескольких фразах. На последней строке оставь только ответ." }, { "...
{ "type": "number", "value": "36", "tests": [] }
train
reason2-fair_slots-042
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: H=13, J=27, K=15, L=26. 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 5?\nExplain in a few sentences and use ...
{ "type": "exact", "value": "H", "tests": [] }
train
wiki-read-ru-58f020e58f4bd4037359
ru
ru
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-ru-04ed5107da222fb48f6487
clause
Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--1295586452266779925-2 (Apache-2.0). Wikipedia contributors, “Черкизовская (станция метро)” (https://ru.wikipedia.org/wiki/%D0%A7%D0%B5%D1%80%D0%BA%D0%B8%D0%B7%D0%BE%D0%B2%D1%81%D0%BA%D0%B0%D1%8F_(%D1%81%D1%82%D0%B0%D0%BD%D1%86%D0%B8%D1%8F_%D0%BC%D0%B5%D1%82%D1%80%D...
[ { "role": "user", "content": "Черкизовская (станция метро)\n\nНазвана по селу Черкизово, которое в 1917 году вошло в черту Москвы. Село известно с 1378 года и получило название по имени выходца из Золотой Орды царевича Серкиза (Черкиза), которому оно было пожаловано при крещении и поступлении на службу к ве...
{ "type": "exact", "value": "которое в 1917 году вошло в черту Москвы", "tests": [] }
train
wiki-read-ru-ac02ef5031635cfefb21
ru
ru
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-ru-5ab390ca48c809b3a28f88
measurement
Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-4023923450956994020-8 (Apache-2.0). Wikipedia contributors, “Губки” (https://ru.wikipedia.org/wiki/%D0%93%D1%83%D0%B1%D0%BA%D0%B8), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise.
[ { "role": "user", "content": "Губки\n\nОснование тела губок прочно прикрепляется к субстрату, благодаря чему они неподвижны. В связи с этим в их теле прослеживается апикобазальная полярность: от нижней (базальной) части тела, прикреплённой к субстрату, до верхней (апикальной). Характерная для остальных Meta...
{ "type": "exact", "value": "2,1 км", "tests": [] }
train
reason2-bottleneck-001
reasoning
ru
Original
CC0-1.0
reason2-bottleneck
workshop_bottleneck
Original procedural reasoning, release 2; CC0-1.0.
[ { "role": "user", "content": "Двусторонние конвейеры допускают коробки шириной не более указанной (см): U–W=10; Y–L=12; T–W=17; Y–T=9; W–L=9; K–Y=4; U–K=17. Нужно перевезти коробку из U в L, не поворачивая её. Какова наибольшая допустимая ширина?\nПриведи ход решения в нескольких фразах. На последней строке...
{ "type": "number", "value": "9", "tests": [] }
train
reason2-join_catalogs-035
reasoning
ru
Original
CC0-1.0
reason2-join_catalogs
workshop_join_catalogs
Original procedural reasoning, release 2; CC0-1.0.
[ { "role": "user", "content": "Каталог связывает код книги с полкой: B91=S5, B80=S8, B31=S6, B92=S6, B34=S5, B11=S8, B77=S4. Соответствие полок и залов: S5=J, S4=E, S8=J, S6=C. Число выданных экземпляров по коду книги: B34=6, B91=13, B11=4, B77=10, B80=7, B92=10, B31=7. В каком зале больше всего выдач?\nКрат...
{ "type": "exact", "value": "J", "tests": [] }
train
reason2-ballot_points-017
reasoning
en
Original
CC0-1.0
reason2-ballot_points
workshop_ballot_points
Original procedural reasoning, release 2; CC0-1.0.
[ { "role": "user", "content": "Jurors rank designs H, K, Y. Positions from best to worst earn 2, 1, 0 points. Ballot groups, written as count × ranking from best to worst: 6 × Y>K>H; 8 × H>K>Y; 8 × K>H>Y; 2 × H>Y>K. Which design earns the most points?\nBriefly justify your result, then put the answer alone o...
{ "type": "exact", "value": "K", "tests": [] }
train
wiki-read-en-e1f02c2e83a167ad966d
en
en
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-en-2310a03f99f5d9814baa3f
definition
Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--7372530028217303717-0 (Apache-2.0). Wikipedia contributors, “Pretty Little Liars (book series)” (https://en.wikipedia.org/wiki/Pretty_Little_Liars_(book_series)), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading ...
[ { "role": "user", "content": "Pretty Little Liars (book series)\n\nPretty Little Liars is a series of young adult novels by Sara Shepard. Beginning with 2006's initial novel of the same name, the series follows the lives of four girls– Spencer Hastings, Hanna Marin, Aria Montgomery and Emily Fields.\n\nHow ...
{ "type": "exact", "value": "a series of young adult novels by Sara Shepard", "tests": [] }
train
reason2-missing_cells-016
reasoning
en
Original
CC0-1.0
reason2-missing_cells
workshop_missing_cells
Original procedural reasoning, release 2; CC0-1.0.
[ { "role": "user", "content": "In a tally table the columns are B, H, T, in that order. A vertical bar precedes the row total. Rows: R2: ? / ? / 7 | 22; R3: ? / 14 / 11 | 29; R11: 15 / 8 / 12 | 35; R4: 2 / 11 / 8 | 21. Column totals: B=34, H=35, T=38. What is the missing entry in row R2, column B?\nExplain i...
{ "type": "number", "value": "13", "tests": [] }
train
wiki-read-en-8dc4f0d8f4662b8a5216
en
en
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-en-74242b6980dae09b84530b
parenthetical_detail
Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--1382945115522076521-1 (Apache-2.0). Wikipedia contributors, “Mobile Suit Gundam Wing” (https://en.wikipedia.org/wiki/Mobile_Suit_Gundam_Wing), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise.
[ { "role": "user", "content": "Mobile Suit Gundam Wing\n\nThe series aired in Japan on the terrestrial TV Asahi network. It ran for 49 episodes; beginning on April 7, 1995 and ending on March 29, 1996. It received multiple manga adaptations, as well as video games. Four original video animation (OVA) episode...
{ "type": "exact", "value": "OVA", "tests": [] }
train
reason2-frequency_median-037
reasoning
ru
Original
CC0-1.0
reason2-frequency_median
workshop_frequency_median
Original procedural reasoning, release 2; CC0-1.0.
[ { "role": "user", "content": "В журнале длительности занятий записаны парами «минуты × число занятий»: 43×10; 41×4; 24×10; 32×7; 14×3; 40×7. Какова медианная длительность одного занятия?\nПокажи короткую проверку, а в конце на отдельной строке дай ответ." }, { "role": "assistant", "content": "Об...
{ "type": "number", "value": "40", "tests": [] }
train
wiki-read-en-d92c5a25313135d3fb7b
en
en
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-en-ef2f39e15e2c18f8a8cf6f
parenthetical_detail
Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--5526354459687464135-20 (Apache-2.0). Wikipedia contributors, “Arabidopsis thaliana” (https://en.wikipedia.org/wiki/Arabidopsis_thaliana), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise.
[ { "role": "user", "content": "Arabidopsis thaliana\n\nA. thaliana has been extensively studied as a model for flower development. The developing flower has four basic organs: sepals, petals, stamens, and carpels (which go on to form pistils). These organs are arranged in a series of whorls: four sepals on t...
{ "type": "exact", "value": "which go on to form pistils", "tests": [] }
train
wiki-read-en-cd0ed25e734ca4007928
en
en
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-en-e9a59aa5b9f3a8fb27027e
date_normalization
Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--4203118762903811769-24 (Apache-2.0). Wikipedia contributors, “KHON-TV” (https://en.wikipedia.org/wiki/KHON-TV), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise.
[ { "role": "user", "content": "KHON-TV\n\nOn October 23, 2006, KHON-TV was announced as the Honolulu affiliate of The CW, carrying the network on its second digital subchannel. Beginning in March 2006 (two months after the network's launch was announced), The CW had struggled to find an affiliate in Honolulu...
{ "type": "exact", "value": "2006-10-23", "tests": [] }
train
wiki-read-ru-663c19ef8e7992c3404b
ru
ru
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-ru-b163e56109ae234a1deada
date_normalization
Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-7464856628420721594-0 (Apache-2.0). Wikipedia contributors, “Бондаренко, Вячеслав Васильевич” (https://ru.wikipedia.org/wiki/%D0%91%D0%BE%D0%BD%D0%B4%D0%B0%D1%80%D0%B5%D0%BD%D0%BA%D0%BE%2C_%D0%92%D1%8F%D1%87%D0%B5%D1%81%D0%BB%D0%B0%D0%B2_%D0%92%D0%B0%D1%81%D0%B8%D0%...
[ { "role": "user", "content": "Бондаренко, Вячеслав Васильевич\n\nВячеслав Васильевич Бондаренко (род. 9 мая 1974, Рига, Латвийская ССР) — белорусский писатель, телеведущий, историк, общественный деятель. Член президиума правления Союза писателей Беларуси. Член Союза писателей России.\n\nНайди полную календа...
{ "type": "exact", "value": "1974-05-09", "tests": [] }
train
math-verified-skipped_payment-016
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 24 dollars on day 1 and increases the scheduled payment by 7 dollars each day for 11 days. Exactly one payment was skipped; all other scheduled amounts were paid. The total paid was 555 dollars. On which day was the payment missed?\nGive the exact n...
{ "type": "number", "value": "11", "tests": [] }
train
wiki-read-en-ded1894e7436768942e5
en
en
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-en-da3a8d0151a50c6ae1f415
measurement
Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-2456630152835139201-0 (Apache-2.0). Wikipedia contributors, “Hells Canyon” (https://en.wikipedia.org/wiki/Hells_Canyon), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise.
[ { "role": "user", "content": "Hells Canyon\n\nHells Canyon is a 10-mile-wide (16km) canyon located along the border of eastern Oregon, eastern Washington and western Idaho in the United States. It is part of the Hells Canyon National Recreation Area and is North America's deepest river gorge at 7,993 feet (...
{ "type": "exact", "value": "16km", "tests": [] }
train
gsm-train-7176
math
en
GSM8K
MIT
gsm8k-750dcfe22094eaf83a04
word_problem_4_steps
OpenAI (2021), GSM8K, original train row 7176
[ { "role": "user", "content": "A frog pond has five frogs living in it. Some frogs laid eggs, and now there are three times as many tadpoles growing into more frogs as there are frogs. Two-thirds of the tadpoles will survive to maturity as frogs. The pond can only sustain eight frogs. How many frogs will hav...
{ "type": "number", "value": "7", "tests": [] }
train
reason2-event_selection-051
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 M 5–10; W 1–9; V 13–19; Y 4–8; P 1–8; F 1–4; J 9–15. Finishing one at the instant another starts is allowed. What is the maximum count?\nShow a short check. Give the final a...
{ "type": "number", "value": "3", "tests": [] }
train
reason2-rotate_grid-015
reasoning
ru
Original
CC0-1.0
reason2-rotate_grid
workshop_rotate_grid
Original procedural reasoning, release 2; CC0-1.0.
[ { "role": "user", "content": "Исходные строки табло сверху вниз: G P F D / L Y U C / J E K B / Q M X S. Выполни циклические сдвиги по порядку: столбец 3 на 2 вниз; строка 2 на 2 вправо; столбец 1 на 1 вниз; строка 3 на 3 вправо; столбец 1 на 2 вниз. Какой символ теперь в строке 3, столбце 4? Нумерация с еди...
{ "type": "exact", "value": "X", "tests": [] }
train
wiki-read-en-dd2d2711b983f621324b
en
en
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-en-fab6ec508c33192ab3c501
measurement
Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-9034743117193629048-12 (Apache-2.0). Wikipedia contributors, “'Salem's Lot” (https://en.wikipedia.org/wiki/%27Salem%27s_Lot), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise.
[ { "role": "user", "content": "'Salem's Lot\n\nIn 2005, Centipede Press released a deluxe limited edition of 'Salem's Lot with black and white photographs by Jerry Uelsmann and the two short stories \"Jerusalem's Lot\" and \"One for the Road\", as well as over 50 pages of deleted material. The book was limit...
{ "type": "exact", "value": "5.9kg", "tests": [] }
train
algpy-7ffa1c77377a9fdf-trace
code
en
TheAlgorithms/Python
MIT
algpy-7ffa1c77377a9fdf
trace
TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/pell_number.py#pell_number_iterative; adapted exercises
[ { "role": "user", "content": "```python\ndef pell_number_iterative(subscript):\n if not isinstance(subscript, int):\n raise ValueError('The input must be an integer.')\n if subscript < 0:\n raise ValueError('The input number must be non-negative.')\n if subscript in (0, 1):\n r...
{ "type": "exact", "value": "1", "tests": [] }
train
reason2-rotate_grid-033
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 U B F / W L R / Y X T. Apply these cyclic shifts in order: column 3 down by 1; row 1 right by 2; column 1 down by 1; row 3 right by 1; column 2 down by 2. Which symbol is now in row 2, column 1? Indices start at 1.\nBriefly justi...
{ "type": "exact", "value": "B", "tests": [] }
train
wiki-read-en-d663a12c4c7c574ec413
en
en
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-en-d7a8bde192ed6c17c10b25
date_normalization
Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--7590231764098074118-0 (Apache-2.0). Wikipedia contributors, “Lowest temperature recorded on Earth” (https://en.wikipedia.org/wiki/Lowest_temperature_recorded_on_Earth), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New re...
[ { "role": "user", "content": "Lowest temperature recorded on Earth\n\nThe lowest natural temperature ever directly recorded at ground level on Earth is −89.2°C (−128.6°F; 184.0K) at the Soviet Vostok Station in Antarctica on July 21, 1983 by ground measurements.\n\nFind the full calendar date whose month is...
{ "type": "exact", "value": "1983-07-21", "tests": [] }
train
reason2-order_count-008
reasoning
ru
Original
CC0-1.0
reason2-order_count
workshop_order_count
Original procedural reasoning, release 2; CC0-1.0.
[ { "role": "user", "content": "Экспонаты Y, M, N, F, G выносят по одному, каждый ровно раз. Правило X→Y требует вынести X раньше Y. Правила: M→G, M→N, Y→N, Y→M. Сколько полных порядков допускают эти условия?\nПриведи ход решения в нескольких фразах. На последней строке оставь только ответ." }, { "rol...
{ "type": "number", "value": "10", "tests": [] }
train
gsm-train-3554
math
en
GSM8K
MIT
gsm8k-ff050eb97d4ec6b2af2b
word_problem_5_steps
OpenAI (2021), GSM8K, original train row 3554
[ { "role": "user", "content": "A swimming pool is being emptied through a drain at the bottom of the pool and filled by a hose at the top. The drain can empty the pool in 4 hours and the hose can fill the pool in 6 hours. The pool holds 120 liters of water. If the pool starts filled with water, how much wate...
{ "type": "number", "value": "90", "tests": [] }
train
wiki-read-ru-1440f2f9e6ca21c7f89c
ru
ru
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-ru-95b2fe0ba3c582cb7bed14
chronology
Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-684017090143203272-26 (Apache-2.0). Wikipedia contributors, “Ишимбай” (https://ru.wikipedia.org/wiki/%D0%98%D1%88%D0%B8%D0%BC%D0%B1%D0%B0%D0%B9), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise.
[ { "role": "user", "content": "Ишимбай\n\nИшимбай находится в северо-лесостепной подзоне умеренного пояса. Климат умеренно континентальный, достаточно влажный, лето тёплое, зима умеренно холодная и продолжительная с устойчивым снежным покровом. Средняя температура января: −12,5 °C, средняя минимальная: −16,6...
{ "type": "exact", "value": "1943, 1952", "tests": [] }
train
reason2-balanced_load-025
reasoning
ru
Original
CC0-1.0
reason2-balanced_load
workshop_balanced_load
Original procedural reasoning, release 2; CC0-1.0.
[ { "role": "user", "content": "Две тележки должны увезти все ящики без деления содержимого. Масса каждого ящика: K=60, U=16, X=36, D=44, G=52, S=84. Какой наименьшей разницы масс между тележками можно добиться?\nПокажи короткую проверку, а в конце на отдельной строке дай ответ." }, { "role": "assista...
{ "type": "number", "value": "4", "tests": [] }
train
algpy-af92e6d28631c10e-trace
code
ru
TheAlgorithms/Python
MIT
algpy-af92e6d28631c10e
trace
TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, dynamic_programming/longest_increasing_subsequence_o_nlogn.py#longest_increasing_subsequence_length; adapted exercises
[ { "role": "user", "content": "```python\ndef ceil_index(v, left, right, key):\n while right - left > 1:\n middle = (left + right) // 2\n if v[middle] >= key:\n right = middle\n else:\n left = middle\n return right\n\ndef longest_increasing_subsequence_length(...
{ "type": "exact", "value": "6", "tests": [] }
train
gsm-train-5297
math
en
GSM8K
MIT
gsm8k-8f61d0ba3b0c3562715a
word_problem_4_steps
OpenAI (2021), GSM8K, original train row 5297
[ { "role": "user", "content": "Bob orders a dozen muffins a day for $0.75 each and sells them for $1.5 each. How much profit does he make a week?\nShow a short calculation. Put the final number alone on the last line." }, { "role": "assistant", "content": "He buys them for 12*.75=$9\nHe sells th...
{ "type": "number", "value": "63", "tests": [] }
train
wiki-read-ru-9c66d4185c3181bc8241
ru
ru
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-ru-5d74ecaf87fb7d16edca47
measurement
Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--7874292578021662206-0 (Apache-2.0). Wikipedia contributors, “Монблан” (https://ru.wikipedia.org/wiki/%D0%9C%D0%BE%D0%BD%D0%B1%D0%BB%D0%B0%D0%BD), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise.
[ { "role": "user", "content": "Монблан\n\nМонбла́н (French: Mont Blanc, Italian: Monte Bianco, букв. «белая гора») — кристаллический массив, высота которого достигает 4810 м (самая высокая точка Европы при условии проведения границы Европы и Азии по северной границе Кавказа). Расположен в Западных Альпах, вх...
{ "type": "exact", "value": "50 км", "tests": [] }
train
wiki-read-ru-57c6483091dc56c5358f
ru
ru
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-ru-0d2913c148e204d319119a
date_normalization
Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-4764583886257759520-0 (Apache-2.0). Wikipedia contributors, “Архив” (https://ru.wikipedia.org/wiki/%D0%90%D1%80%D1%85%D0%B8%D0%B2), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise.
[ { "role": "user", "content": "Архив\n\nДже́нсон Александр Лайонс Ба́ттон MBE (English: Jenson Alexander Lyons Button; род. 19 января 1980 года во Фроуме, Сомерсет) — британский гонщик Формулы-1, пилот команды Vodafone McLaren Mercedes. Обладатель Премии имени Лоренцо Бандини и Памятного трофея Хоторна.\n\nН...
{ "type": "exact", "value": "1980-01-19", "tests": [] }
train
wiki-read-ru-347af07db87a1e25709e
ru
ru
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-ru-44ce5cbb2f0de5f87c3a16
definition
Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-8863952936809614937-0 (Apache-2.0). Wikipedia contributors, “The Sims 4” (https://ru.wikipedia.org/wiki/The_Sims_4), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise.
[ { "role": "user", "content": "The Sims 4\n\nThe Sims 4 — однопользовательская компьютерная игра в жанре симулятора жизни, четвёртая по счету из серии игр The Sims, разработанная компанией Maxis и издаваемая Electronic Arts для Windows и MacOS. Выход The Sims 4 для операционной системы Windows официально был...
{ "type": "exact", "value": "однопользовательская компьютерная игра в жанре симулятора жизни, четвёртая по счету из серии игр The Sims, разработанная компанией Maxis и издаваемая Electronic Arts для Windows и MacOS", "tests": [] }
train
algpy-f5ec218adc1bab86-repair
code
en
TheAlgorithms/Python
MIT
algpy-f5ec218adc1bab86
repair
TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/binary_exponentiation.py#binary_exp_mod_recursive; adapted exercises
[ { "role": "user", "content": "Repair this Python function. Return (base ** exponent) modulo the third argument. The first two inputs are nonnegative integers and the modulus is positive.\nFor binary_exp_mod_recursive(2, 0, 7) it should return 1, but returns 2. Keep the signature.\n```python\ndef binary_exp_...
{ "type": "code", "value": "", "tests": [ "assert binary_exp_mod_recursive(2, 0, 7) == 1", "assert binary_exp_mod_recursive(0, 2, 7) == 0", "assert binary_exp_mod_recursive(2, 5, 7) == 4", "assert binary_exp_mod_recursive(3, 21, 11) == 3", "assert binary_exp_mod_recursive(2, 3, 1) == 0" ] }
train
reason2-event_selection-030
reasoning
ru
Original
CC0-1.0
reason2-event_selection
workshop_event_selection
Original procedural reasoning, release 2; CC0-1.0.
[ { "role": "user", "content": "Один фотограф хочет целиком снять как можно больше коротких показов. Начала и окончания: L 17–24; F 10–15; Y 9–16; B 2–9; T 0–7; S 17–21; Z 7–15. В момент окончания одного показа можно сразу начать следующий. Каково максимальное число показов?\nПокажи короткую проверку, а в кон...
{ "type": "number", "value": "3", "tests": [] }
train
algpy-bb09890748573f65-change-impact
code
ru
TheAlgorithms/Python
MIT
algpy-bb09890748573f65
change-impact
TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, sorts/wiggle_sort.py#wiggle_sort; adapted exercises
[ { "role": "user", "content": "В показанном коде строку `if i % 2 == 1 and nums[i - 1] > nums[i] or (i % 2 == 0 and nums[i - 1] < nums[i]):` заменяют на `if i % 2 != 1 and nums[i - 1] > nums[i] or (i % 2 == 0 and nums[i - 1] < nums[i]):`. Для какого из двух выражений изменится возвращаемое значение? Дай коро...
{ "type": "exact", "value": "A", "tests": [] }
train
wiki-read-en-b7c8b884ee290a5c2b0c
en
en
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-en-d855cf03a249300e97bde4
clause
Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-8743123581738647476-3 (Apache-2.0). Wikipedia contributors, “Oil shale economics” (https://en.wikipedia.org/wiki/Oil_shale_economics), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise.
[ { "role": "user", "content": "Oil shale economics\n\nThe production cost of a barrel of shale oil ranges from as high as US$95 per barrel to as low US$25 per barrel, although there is no recent confirmation of the latter figure. The industry is proceeding cautiously, due to the losses incurred during the la...
{ "type": "exact", "value": "although there is no recent confirmation of the latter figure", "tests": [] }
train
reason2-critical_path-016
reasoning
ru
Original
CC0-1.0
reason2-critical_path
workshop_critical_path
Original procedural reasoning, release 2; CC0-1.0.
[ { "role": "user", "content": "Число рабочих мест в мастерской не ограничено. Время выполнения каждого этапа в минутах: D=4, F=8, H=9, J=2, T=2, N=3. Стрелка X→Y означает, что Y начинает работу после завершения X. Все зависимости: D→H, F→H, N→F, D→J. Время отсчитывают с нуля. Когда раньше всего можно закончи...
{ "type": "number", "value": "20", "tests": [] }
train
reason2-motif_growth-023
reasoning
ru
Original
CC0-1.0
reason2-motif_growth
workshop_motif_growth
Original procedural reasoning, release 2; CC0-1.0.
[ { "role": "user", "content": "Начальный орнамент CX. За проход каждый исходный символ одновременно заменяют по правилам F→XC; C→F; X→F; новые символы в том же проходе не заменяются. Сколько символов C будет после 4 проходов?\nПриведи ход решения в нескольких фразах. На последней строке оставь только ответ."...
{ "type": "number", "value": "4", "tests": [] }
train
wiki-read-ru-3b2de02737d999ef1226
ru
ru
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-ru-a8cb0a15dd7350eeb1e0fd
clause
Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--1252018042873635396-2 (Apache-2.0). Wikipedia contributors, “Ёлка (певица)” (https://ru.wikipedia.org/wiki/%D0%81%D0%BB%D0%BA%D0%B0_(%D0%BF%D0%B5%D0%B2%D0%B8%D1%86%D0%B0)), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. Ne...
[ { "role": "user", "content": "Ёлка (певица)\n\nС 2010 по 2012 год выступала судьёй на украинском шоу «X-Фактор». В 2011 году получила большую популярность с песней «Прованс» и стала номинантом в трёх категориях на премии Муз-ТВ 2011 года. Четвёртая студийная работа певицы «Точки расставлены» получила успех ...
{ "type": "exact", "value": "которые посчитали его лучшим поп-альбомом 2011 года", "tests": [] }
train
gsm-train-1387
math
en
GSM8K
MIT
gsm8k-0d43a7f7f5aa0aefa4fc
word_problem_6_steps
OpenAI (2021), GSM8K, original train row 1387
[ { "role": "user", "content": "An auto shop buys tires to replace all the tires on every customer’s car. They buy the tires as soon as cars are brought into the shop. There are four cars in the shop already, and another six customers come into the shop throughout the week. Some of the customers decide they d...
{ "type": "number", "value": "4", "tests": [] }
train
verified-code-dearest_route-repair
code
ru
Original
CC0-1.0
verified-code-grid_walks
verified_repair
Original algorithm and independent oracle, release 2; CC0-1.0.
[ { "role": "user", "content": "Исправь одну строку. dearest_route([[0, -2], [4, 3], [None, 0]]) даёт None, ожидается 7. Непустая прямоугольная таблица содержит целые стоимости либо None (закрытая клетка). Из верхней левой клетки разрешены шаги только вправо и вниз до нижней правой, включая обе конечные клетк...
{ "type": "code", "value": "", "tests": [ "assert dearest_route([[None]]) == None", "assert dearest_route([[0]]) == 0", "assert dearest_route([[1, 2], [4, 0]]) == 5", "assert dearest_route([[1, None], [4, 2]]) == 7", "assert dearest_route([[0, -3, 6], [1, None, 2], [3, 0, -1]]) == 4", "ass...
train
wiki-read-en-ed5da432b717f78099de
en
en
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-en-71b5733afa52d25984af00
date_normalization
Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--1659239919149418349-1 (Apache-2.0). Wikipedia contributors, “Country Music Association Awards” (https://en.wikipedia.org/wiki/Country_Music_Association_Awards), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading ex...
[ { "role": "user", "content": "Country Music Association Awards\n\nThe CMA Awards were first presented in 1967, and televised for the first time the following year. The 52nd annual ceremony was held on November 14, 2018 at the Bridgestone Arena in Nashville, Tennessee and broadcast by ABC.\n\nFind the full c...
{ "type": "exact", "value": "2018-11-14", "tests": [] }
train
reason2-minimum_cover-002
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, 8, 9. Наборы перечислены с типами внутри: E=1/3/4/9; U=7; D=4; W=1/5; X=1/4/8/9. Дубли допустимы. Какое наименьшее число наборов покроет все типы?\nПриведи ход решения в нескольких фразах. На последней строке оставь только от...
{ "type": "number", "value": "4", "tests": [] }
train
reason2-ballot_points-021
reasoning
en
Original
CC0-1.0
reason2-ballot_points
workshop_ballot_points
Original procedural reasoning, release 2; CC0-1.0.
[ { "role": "user", "content": "Jurors rank designs M, E, V, L. Positions from best to worst earn 3, 2, 1, 0 points. Ballot groups, written as count × ranking from best to worst: 7 × L>M>V>E; 9 × M>E>L>V; 9 × L>V>E>M; 4 × V>E>M>L; 7 × E>L>M>V. Which design earns the most points?\nExplain in a few sentences an...
{ "type": "exact", "value": "L", "tests": [] }
train
reason2-event_selection-045
reasoning
ru
Original
CC0-1.0
reason2-event_selection
workshop_event_selection
Original procedural reasoning, release 2; CC0-1.0.
[ { "role": "user", "content": "Один фотограф хочет целиком снять как можно больше коротких показов. Начала и окончания: S 11–15; F 6–13; C 1–4; L 0–3; P 19–24; Y 6–9; R 11–18; H 18–24. В момент окончания одного показа можно сразу начать следующий. Каково максимальное число показов?\nПокажи короткую проверку,...
{ "type": "number", "value": "4", "tests": [] }
train
wiki-read-en-ca795472a4fb89420f06
en
en
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-en-053a165dd62f3419e0c6d4
parenthetical_detail
Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-2715654835079050792-4 (Apache-2.0). Wikipedia contributors, “Musical notation” (https://en.wikipedia.org/wiki/Musical_notation), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise.
[ { "role": "user", "content": "Musical notation\n\nThe earliest form of musical notation can be found in a cuneiform tablet that was created at Nippur, in Sumer (today's Iraq), in about 1400 BC. The tablet represents fragmentary instructions for performing music, that the music was composed in harmonies of t...
{ "type": "exact", "value": "today's Iraq", "tests": [] }
train
reason2-frequency_median-019
reasoning
ru
Original
CC0-1.0
reason2-frequency_median
workshop_frequency_median
Original procedural reasoning, release 2; CC0-1.0.
[ { "role": "user", "content": "В журнале длительности занятий записаны парами «минуты × число занятий»: 42×4; 54×4; 21×4; 15×7; 30×9; 18×6; 22×2; 23×3. Какова медианная длительность одного занятия?\nКратко обоснуй ответ и запиши сам ответ на последней строке." }, { "role": "assistant", "content":...
{ "type": "number", "value": "23", "tests": [] }
train
reason2-motif_growth-000
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 NCN. During each pass, replace every current symbol simultaneously using B→CC; N→BC; C→N. Newly produced symbols wait for the next pass. After 3 passes, how many C symbols are there?\nBriefly justify your result, then put the answer alone on the last line." ...
{ "type": "number", "value": "4", "tests": [] }
train
wiki-read-en-87e1ebb212d51af9ef30
en
en
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-en-8874cad5961bfcfc10e321
clause
Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--6467947246926513450-0 (Apache-2.0). Wikipedia contributors, “Zanzibar” (https://en.wikipedia.org/wiki/Zanzibar), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise.
[ { "role": "user", "content": "Zanzibar\n\nZanzibar (/ˈzænzɪbɑːr/; Swahili: Zanzibar; Arabic: زنجبار‎, romanized:Zanjibār) is a semi-autonomous region of Tanzania. It is composed of the Zanzibar Archipelago in the Indian Ocean, 25–50 kilometres (16–31mi) off the coast of the mainland, and consists of many sm...
{ "type": "exact", "value": "which is a World Heritage Site", "tests": [] }
train
wiki-read-en-cab4f57541fcf95c56e6
en
en
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-en-2504e43a2301b6cfcbf0bd
chronology
Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--1639068165117885587-1 (Apache-2.0). Wikipedia contributors, “Canadian Indian residential school system” (https://en.wikipedia.org/wiki/Canadian_Indian_residential_school_system), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normaliz...
[ { "role": "user", "content": "Canadian Indian residential school system\n\nThe system had its origins in laws enacted before Confederation, but was primarily active from the passage of the Indian Act in 1876. An amendment to the Indian Act in 1884 made attendance at day schools, industrial schools, or resid...
{ "type": "exact", "value": "1876, 1884, 1996", "tests": [] }
train
reason2-ballot_points-062
reasoning
ru
Original
CC0-1.0
reason2-ballot_points
workshop_ballot_points
Original procedural reasoning, release 2; CC0-1.0.
[ { "role": "user", "content": "Жюри оценивает макеты S, Y, X. Баллы за места, начиная с первого: 2, 1, 0. Бюллетени записаны как число одинаковых голосов × порядок от лучшего к худшему: 7 × Y>X>S; 8 × S>Y>X; 8 × S>X>Y; 7 × X>Y>S; 8 × X>S>Y. У какого макета больше всего баллов?\nКратко обоснуй ответ и запиши ...
{ "type": "exact", "value": "X", "tests": [] }
train
algpy-1d1b2ac1b01cce3d-check-assertions
code
en
TheAlgorithms/Python
MIT
algpy-1d1b2ac1b01cce3d
check-assertions
TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/sum_of_arithmetic_series.py#sum_of_ap_series; 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(a, d, n):\n if n <= 0:\n raise ValueError(\"Number of terms 'n' must ...
{ "type": "exact", "value": "B: 15", "tests": [] }
train
reason2-editing_history-008
reasoning
ru
Original
CC0-1.0
reason2-editing_history
workshop_editing_history
Original procedural reasoning, release 2; CC0-1.0.
[ { "role": "user", "content": "В редакторе поле сначала содержит R. Запись заменяет значение и стирает возможность повтора отменённых записей. «Отмена» возвращает предыдущее значение, «повтор» восстанавливает отменённую запись. Если действие недоступно, поле не меняется. Команды: записать L; отмена; отмена; ...
{ "type": "exact", "value": "K", "tests": [] }
train