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-46a8ace39f8d9a51c909
en
en
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-en-96407cf9d01b713a042edb
chronology
Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-5147748692738809437-1 (Apache-2.0). Wikipedia contributors, “Instant camera” (https://en.wikipedia.org/wiki/Instant_camera), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise.
[ { "role": "user", "content": "Instant camera\n\nThe invention of commercially viable instant cameras which were easy to use is generally credited to American scientist Edwin Land, who unveiled the first commercial instant camera, the model 95 Land Camera, in 1948, a year after unveiling instant film in New ...
{ "type": "exact", "value": "1923, 1948", "tests": [] }
train
wiki-read-en-0eda5747d70a7b3ba81f
en
en
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-en-884404b19b1465b356198b
chronology
Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--5726068932919927318-0 (Apache-2.0). Wikipedia contributors, “The Grapes of Wrath” (https://en.wikipedia.org/wiki/The_Grapes_of_Wrath), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise.
[ { "role": "user", "content": "The Grapes of Wrath\n\nThe Grapes of Wrath is an American realist novel written by John Steinbeck and published in 1939. The book won the National Book Award and Pulitzer Prize for fiction, and it was cited prominently when Steinbeck was awarded the Nobel Prize in 1962.\n\nWhic...
{ "type": "exact", "value": "1939, 1962", "tests": [] }
train
algpy-f01077b6e05540b2-change-impact
code
ru
TheAlgorithms/Python
MIT
algpy-f01077b6e05540b2
change-impact
TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/reverse_factorial_recursive.py#reverse_factorial_recursive; adapted exercises
[ { "role": "user", "content": "В показанном коде строку `return 1` заменяют на `return 2`. Для какого из двух выражений изменится возвращаемое значение? Дай короткое объяснение и запиши букву в последней строке.\n```python\ndef compute(value, current_divisor=1):\n if not isinstance(value, int):\n r...
{ "type": "exact", "value": "B", "tests": [] }
train
algpy-cd6e0a9e6edd4379-implement
code
en
TheAlgorithms/Python
MIT
algpy-cd6e0a9e6edd4379
implement
TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/number_of_digits.py#num_digits_faster; adapted exercises
[ { "role": "user", "content": "Implement this Python function. Return the number of decimal digits in a signed integer, ignoring the sign. Zero has one digit.\nSignature: def num_digits_faster(n):\nExamples:\n```python\nassert num_digits_faster(-101) == 3\nassert num_digits_faster(-17) == 2\n```" }, { ...
{ "type": "code", "value": "", "tests": [ "assert num_digits_faster(-2) == 1", "assert num_digits_faster(-1) == 1", "assert num_digits_faster(0) == 1", "assert num_digits_faster(1) == 1", "assert num_digits_faster(2) == 1", "assert num_digits_faster(17) == 2", "assert num_digits_faster...
train
reason2-line_breaks-059
reasoning
ru
Original
CC0-1.0
reason2-line_breaks
workshop_line_breaks
Original procedural reasoning, release 2; CC0-1.0.
[ { "role": "user", "content": "Длины слов заголовка в символах, от первого слова к последнему: 8, 4, 7, 3, 2, 4, 5, 7, 6. Предельная длина строки — 16. Между соседними словами ровно один пробел. Менять порядок и переносить часть слова нельзя. Каково наименьшее число строк?\nПриведи ход решения в нескольких ф...
{ "type": "number", "value": "4", "tests": [] }
train
wiki-read-ru-24f8156a7ba4ac6ad496
ru
ru
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-ru-4162d205123b28c64ad69e
chronology
Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-1608242848723220337-3 (Apache-2.0). Wikipedia contributors, “Электричество” (https://ru.wikipedia.org/wiki/%D0%AD%D0%BB%D0%B5%D0%BA%D1%82%D1%80%D0%B8%D1%87%D0%B5%D1%81%D1%82%D0%B2%D0%BE), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers ...
[ { "role": "user", "content": "Электричество\n\nДалее, в 1791 году, итальянец Гальвани публикует «Трактат о силах электричества при мышечном движении», в котором описывает наличие электрического тока в мышцах животных. Другой итальянец Вольта в 1800 году изобретает первый источник постоянного тока — гальвани...
{ "type": "exact", "value": "1791, 1800, 1802", "tests": [] }
train
reason2-frequency_median-015
reasoning
ru
Original
CC0-1.0
reason2-frequency_median
workshop_frequency_median
Original procedural reasoning, release 2; CC0-1.0.
[ { "role": "user", "content": "В журнале длительности занятий записаны парами «минуты × число занятий»: 26×7; 23×9; 49×9; 38×4; 41×2; 20×7; 32×5. Какова медианная длительность одного занятия?\nКратко обоснуй ответ и запиши сам ответ на последней строке." }, { "role": "assistant", "content": "Обще...
{ "type": "number", "value": "26", "tests": [] }
train
reason2-rotate_grid-038
reasoning
ru
Original
CC0-1.0
reason2-rotate_grid
workshop_rotate_grid
Original procedural reasoning, release 2; CC0-1.0.
[ { "role": "user", "content": "Исходные строки табло сверху вниз: B V R / P Q T / G J U / K L Y. Выполни циклические сдвиги по порядку: строка 4 на 2 вправо; столбец 1 на 1 вниз; строка 1 на 2 вправо; столбец 1 на 3 вниз; строка 3 на 2 вправо. Какой символ теперь в строке 3, столбце 3? Нумерация с единицы.\n...
{ "type": "exact", "value": "G", "tests": [] }
train
reason2-join_catalogs-052
reasoning
ru
Original
CC0-1.0
reason2-join_catalogs
workshop_join_catalogs
Original procedural reasoning, release 2; CC0-1.0.
[ { "role": "user", "content": "Каталог связывает код книги с полкой: B14=S1, B73=S1, B33=S4, B61=S2, B90=S1. Соответствие полок и залов: S2=Y, S4=C, S1=V. Число выданных экземпляров по коду книги: B61=16, B73=2, B90=9, B14=11, B33=12. В каком зале больше всего выдач?\nПриведи ход решения в нескольких фразах....
{ "type": "exact", "value": "V", "tests": [] }
train
reason2-editing_history-010
reasoning
ru
Original
CC0-1.0
reason2-editing_history
workshop_editing_history
Original procedural reasoning, release 2; CC0-1.0.
[ { "role": "user", "content": "В редакторе поле сначала содержит S. Запись заменяет значение и стирает возможность повтора отменённых записей. «Отмена» возвращает предыдущее значение, «повтор» восстанавливает отменённую запись. Если действие недоступно, поле не меняется. Команды: записать P; записать F; отме...
{ "type": "exact", "value": "B", "tests": [] }
train
wiki-read-ru-8c1c7f6dced3137f0975
ru
ru
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-ru-0f5aafb01e955759e6103d
chronology
Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--8086520018564122037-0 (Apache-2.0). Wikipedia contributors, “Три товарища” (https://ru.wikipedia.org/wiki/%D0%A2%D1%80%D0%B8_%D1%82%D0%BE%D0%B2%D0%B0%D1%80%D0%B8%D1%89%D0%B0), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized....
[ { "role": "user", "content": "Три товарища\n\n«Три товарища» (German: Drei Kameraden) — роман Эриха Марии Ремарка, работу над которым он начал в 1932 году. Роман был закончен и опубликован в датском издательстве Gyldendal под названием «Kammerater» в 1936 году. В 1958 году был переведён на русский язык.\n\n...
{ "type": "exact", "value": "1932, 1936, 1958", "tests": [] }
train
wiki-read-en-f5f666a801e3d446a4a4
en
en
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-en-d16f06fe255d801e0639b8
definition
Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--3757946173226797672-0 (Apache-2.0). Wikipedia contributors, “Copper” (https://en.wikipedia.org/wiki/Copper), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise.
[ { "role": "user", "content": "Copper\n\nCopper is a chemical element with symbol Cu (from Latin: cuprum) and atomic number 29. It is a soft, malleable, and ductile metal with very high thermal and electrical conductivity. A freshly exposed surface of pure copper has a pinkish-orange color. Copper is used as...
{ "type": "exact", "value": "a chemical element with symbol Cu (from Latin: cuprum) and atomic number 29", "tests": [] }
train
gsm-train-5970
math
en
GSM8K
MIT
gsm8k-c6482b250a231f828e91
word_problem_5_steps
OpenAI (2021), GSM8K, original train row 5970
[ { "role": "user", "content": "Candace decides to enter a race. The race is run in 4 segments, with racers eliminated at the end of each segment. 10 racers are eliminated after the first segment. A third of the remaining racers are eliminated after the next section. Half of the remaining racers are eliminate...
{ "type": "number", "value": "30", "tests": [] }
train
verified-code-run_spans-trace
code
en
Original
CC0-1.0
verified-code-runs
verified_trace
Original algorithm and independent oracle, release 2; CC0-1.0.
[ { "role": "user", "content": "```python\ndef run_spans(xs):\n out = []\n i = 0\n while i < len(xs):\n j = i + 1\n while j < len(xs) and xs[j] == xs[i]:\n j += 1\n out.append((i, j))\n i = j\n return out\n```\nWhat does run_spans([9, 9, 3, 1, 1]) return? Giv...
{ "type": "exact", "value": "[(0, 2), (2, 3), (3, 5)]", "tests": [] }
train
verified-code-peak_score-repair
code
ru
Original
CC0-1.0
verified-code-keyed_rows
verified_repair
Original algorithm and independent oracle, release 2; CC0-1.0.
[ { "role": "user", "content": "Исправь одну строку. peak_score([('x', 1), ('z', 8), ('x', 2), ('z', -1)]) даёт [('x', 1), ('z', -1)], ожидается [('x', 2), ('z', 8)]. rows — список пар (строковый ключ, целое значение) в порядке поступления. Для каждого ключа выбери максимальное значение. Верни список пар (клю...
{ "type": "code", "value": "", "tests": [ "assert peak_score([]) == []", "assert peak_score([('b', 2)]) == [('b', 2)]", "assert peak_score([('b', 4), ('b', 1)]) == [('b', 4)]", "assert peak_score([('x', 3), ('a', -3), ('x', 0), ('a', 8)]) == [('a', 8), ('x', 3)]", "assert peak_score([('b', -5)...
train
algpy-3eb00bbcfbfa8c61-check-assertions
code
en
TheAlgorithms/Python
MIT
algpy-3eb00bbcfbfa8c61
check-assertions
TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, data_structures/arrays/sparse_table.py#build_sparse_table; 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\nfrom math import log2\n\ndef compute(number_list):\n if not number_list:\n raise ...
{ "type": "exact", "value": "A: [[8, 1, 0, 3, 4, 9, 3], [1, 0, 0, 3, 4, 3, 0], [0, 0, 0, 3, 0, 0, 0]]", "tests": [] }
train
wiki-read-ru-0f163315a461434f1bd9
ru
ru
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-ru-acd92471d122f02ffb91b5
definition
Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--5366979799737829697-0 (Apache-2.0). Wikipedia contributors, “Нефтяная отрасль Казахстана” (https://ru.wikipedia.org/wiki/%D0%9D%D0%B5%D1%84%D1%82%D1%8F%D0%BD%D0%B0%D1%8F_%D0%BE%D1%82%D1%80%D0%B0%D1%81%D0%BB%D1%8C_%D0%9A%D0%B0%D0%B7%D0%B0%D1%85%D1%81%D1%82%D0%B0%D0%...
[ { "role": "user", "content": "Нефтяная отрасль Казахстана\n\nНефтяная отрасль Казахстана — одна из основных отраслей экономики Казахстана. Первая казахская нефть добыта в ноябре 1899 года на месторождении Карашунгул, в Атырауской области. Добыча нефти в Казахстане в 1992 году составила 25,8 млн тонн, а в 20...
{ "type": "exact", "value": "одна из основных отраслей экономики Казахстана", "tests": [] }
train
reason2-frequency_median-063
reasoning
ru
Original
CC0-1.0
reason2-frequency_median
workshop_frequency_median
Original procedural reasoning, release 2; CC0-1.0.
[ { "role": "user", "content": "В журнале длительности занятий записаны парами «минуты × число занятий»: 7×4; 35×9; 9×4; 42×8. Какова медианная длительность одного занятия?\nПриведи ход решения в нескольких фразах. На последней строке оставь только ответ." }, { "role": "assistant", "content": "Общ...
{ "type": "number", "value": "35", "tests": [] }
train
reason2-missing_cells-017
reasoning
ru
Original
CC0-1.0
reason2-missing_cells
workshop_missing_cells
Original procedural reasoning, release 2; CC0-1.0.
[ { "role": "user", "content": "В таблице учёта столбцы идут в порядке S, B, Y. После вертикальной черты указан итог строки. Строки: R11: ? / 4 / 2 | 8; R1: 9 / 5 / 15 | 29; R8: ? / 8 / ? | 26. Итоги столбцов: S=19, B=17, Y=27. Какое число скрыто в строке R8, столбце S?\nПокажи короткую проверку, а в конце на...
{ "type": "number", "value": "8", "tests": [] }
train
math-verified-spaced_seats-013
math
ru
Original
CC0-1.0
math-verified-spaced_seats
verified_math_spaced_seats
Original bilingual mathematics exercises, CC0-1.0
[ { "role": "user", "content": "В ряду места пронумерованы от 1 до 13. Место 8 закрыто. Сколькими способами можно выбрать набор из 3 свободных мест так, чтобы никакие два выбранных номера не были соседними? Учитывается только набор номеров.\nЗапиши точное число в последней строке; нецелый ответ дай несократим...
{ "type": "number", "value": "128", "tests": [] }
train
algpy-8ce1cc85b7f71f8e-trace
code
ru
TheAlgorithms/Python
MIT
algpy-8ce1cc85b7f71f8e
trace
TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, bit_manipulation/xor_swap_two_integers.py#xor_swap; adapted exercises
[ { "role": "user", "content": "```python\ndef xor_swap(a, b):\n a = a ^ b\n b = a ^ b\n a = a ^ b\n return (a, b)\n```\nЧто вернёт выражение xor_swap(123, 456)? Запиши repr результата Python." }, { "role": "assistant", "content": "(456, 123)" } ]
{ "type": "exact", "value": "(456, 123)", "tests": [] }
train
wiki-read-en-0f79eba1664ebe1b8707
en
en
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-en-a2351c917006bec1f8c247
measurement
Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--7433282259363524384-3 (Apache-2.0). Wikipedia contributors, “Brontosaurus” (https://en.wikipedia.org/wiki/Brontosaurus), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise.
[ { "role": "user", "content": "Brontosaurus\n\nBrontosaurus was a large, long-necked quadrupedal animal with a long, whip-like tail, and forelimbs that were slightly shorter than its hindlimbs. The largest species, B. excelsus, weighed up to 15 tonnes (15 long tons; 17 short tons) and measured up to 22m (72f...
{ "type": "exact", "value": "6,000 kg", "tests": [] }
train
reason2-bottleneck-018
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: Y–N=5; Y–E=5; D–N=8; Y–D=18; D–K=13; N–K=10; G–Y=15; E–D=7; G–K=4. A box must travel from G to K without rotation. What is its largest possible width?\nBriefly justify your result, then put the answer alone on ...
{ "type": "number", "value": "13", "tests": [] }
train
wiki-read-en-0359233e2d70cdfd24da
en
en
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-en-ab12f45895b6f1e9c63a8c
measurement
Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--2848577401214247661-0 (Apache-2.0). Wikipedia contributors, “1903 Tour de France” (https://en.wikipedia.org/wiki/1903_Tour_de_France), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise.
[ { "role": "user", "content": "1903 Tour de France\n\nThe 1903 Tour de France was the first cycling race set up and sponsored by the newspaper L'Auto, ancestor of the current daily, L'Équipe. It ran from 1 to 19 July in six stages over 2,428km (1,509mi), and was won by Maurice Garin.\n\nWhich value is expres...
{ "type": "exact", "value": "2,428km", "tests": [] }
train
reason2-room_peak-028
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: S [12,18); V [17,20); X [14,19); D [7,15); U [15,19); T [18,20); R [8,16); J [9,14). A room is free at the right endpoint, and all rooms are interchangeable. What is the minimum room count?\nExplain in a few senten...
{ "type": "number", "value": "4", "tests": [] }
train
wiki-read-en-0f9d27e2e320511d99bf
en
en
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-en-bb159cbf0f1c0e7d7a6161
date_normalization
Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--6227026428531932726-0 (Apache-2.0). Wikipedia contributors, “Jennifer Carpenter” (https://en.wikipedia.org/wiki/Jennifer_Carpenter), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise.
[ { "role": "user", "content": "Jennifer Carpenter\n\nJennifer Leann Carpenter (born December 7, 1979) is an American actress. She is known for playing Debra Morgan, the adoptive sister of the title character of the Showtime series Dexter, for which she earned a Saturn Award in 2009, and also for playing Rebe...
{ "type": "exact", "value": "1979-12-07", "tests": [] }
train
wiki-read-en-ea04e5e2bd4e39dac23b
en
en
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-en-8b54eeb989b668e61ad4e5
clause
Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--7573082343451158976-0 (Apache-2.0). Wikipedia contributors, “Louis Plack Hammett” (https://en.wikipedia.org/wiki/Louis_Plack_Hammett), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise.
[ { "role": "user", "content": "Louis Plack Hammett\n\nLouis Plack Hammett (April 7, 1894 – February 9, 1987) was an American physical chemist. He is known for the Hammett equation, which relates reaction rates to equilibrium constants for certain classes of organic reactions involving substituted aromatic co...
{ "type": "exact", "value": "which relates reaction rates to equilibrium constants for certain classes of organic reactions involving substituted aromatic compounds", "tests": [] }
train
algpy-d24633c3323815de-trace
code
ru
TheAlgorithms/Python
MIT
algpy-d24633c3323815de
trace
TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/numerical_analysis/bisection_2.py#equation; adapted exercises
[ { "role": "user", "content": "```python\ndef compute(x):\n return 10 - x * x\n```\nЧто вернёт выражение round(compute(0.1), 6)? Запиши repr результата Python." }, { "role": "assistant", "content": "9.99" } ]
{ "type": "exact", "value": "9.99", "tests": [] }
train
wiki-read-en-73b9d0bddeed9604ad6d
en
en
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-en-fcf5c0f15d4508e4bd18b0
parenthetical_detail
Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--2443248323897029798-16 (Apache-2.0). Wikipedia contributors, “Stanley Cup” (https://en.wikipedia.org/wiki/Stanley_Cup), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise.
[ { "role": "user", "content": "Stanley Cup\n\nDuring the challenge cup period, none of the leagues that played for the trophy had a formal playoff system to decide their respective champions; whichever team finished in first place after the regular season won the league title. However, in 1894, four teams ou...
{ "type": "exact", "value": "Montreal HC", "tests": [] }
train
reason2-editing_history-035
reasoning
en
Original
CC0-1.0
reason2-editing_history
workshop_editing_history
Original procedural reasoning, release 2; CC0-1.0.
[ { "role": "user", "content": "An editor field starts at Z. Writing replaces its value and discards any redo history. Undo moves to the previous value, redo restores an undone edit, and an unavailable action has no effect. Commands: write M; redo; undo; write L; undo; redo; redo; undo; write W; redo; write E...
{ "type": "exact", "value": "V", "tests": [] }
train
verified-code-run_spans-implement
code
en
Original
CC0-1.0
verified-code-runs
verified_implement
Original algorithm and independent oracle, release 2; CC0-1.0.
[ { "role": "user", "content": "Implement run_spans(xs) in Python. Split integer list xs into maximal runs of equal adjacent items. In order, collect (start, exclusive end), using zero-based indices for each run into a list. Return [] for an empty input.\nassert run_spans([1, 1]) == [(0, 2)]" }, { "ro...
{ "type": "code", "value": "", "tests": [ "assert run_spans([]) == []", "assert run_spans([4]) == [(0, 1)]", "assert run_spans([9, 9, 3, 1, 1]) == [(0, 2), (2, 3), (3, 5)]", "assert run_spans([0, 9, 0, 9]) == [(0, 1), (1, 2), (2, 3), (3, 4)]", "assert run_spans([7, 7, 7]) == [(0, 3)]", "as...
train
gsm-train-41
math
en
GSM8K
MIT
gsm8k-8cc16bf4da99ad7fd53d
word_problem_6_steps
OpenAI (2021), GSM8K, original train row 41
[ { "role": "user", "content": "A concert ticket costs $40. Mr. Benson bought 12 tickets and received a 5% discount for every ticket bought that exceeds 10. How much did Mr. Benson pay in all?\nShow a short calculation. Put the final number alone on the last line." }, { "role": "assistant", "conte...
{ "type": "number", "value": "476", "tests": [] }
train
math-verified-syrup-004
math
en
Original
CC0-1.0
math-verified-syrup
verified_math_syrup
Original bilingual mathematics exercises, CC0-1.0
[ { "role": "user", "content": "Two syrups contain 15% and 35% sugar by mass. After mixing them, 40 g of water evaporated, with all the sugar retained. The final mixture weighs 340 g, including 101 g of sugar. How many grams of the 35% syrup were used?\nGive the exact number on the last line; use a reduced fr...
{ "type": "number", "value": "220", "tests": [] }
train
wiki-read-ru-9cb434d70bd509513258
ru
ru
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-ru-95846f74b67ca297fbd2ca
date_normalization
Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-6907251354283132898-1 (Apache-2.0). Wikipedia contributors, “Понятов, Александр Матвеевич” (https://ru.wikipedia.org/wiki/%D0%9F%D0%BE%D0%BD%D1%8F%D1%82%D0%BE%D0%B2%2C_%D0%90%D0%BB%D0%B5%D0%BA%D1%81%D0%B0%D0%BD%D0%B4%D1%80_%D0%9C%D0%B0%D1%82%D0%B2%D0%B5%D0%B5%D0%B2%...
[ { "role": "user", "content": "Понятов, Александр Матвеевич\n\nАлександр Понятов родился 25 марта 1892 года в селе Русская Айша Казанского уезда Казанской губернии (ныне — деревня Русско-Татарская Айша Высокогорского района Татарстана) в зажиточной семье. Его отец — Матвей Понятов — происходил из крестьян, н...
{ "type": "exact", "value": "1892-03-25", "tests": [] }
train
wiki-read-en-391278f6e176fb4f3b0e
en
en
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-en-6210b91701fe7c9fc7a2e5
measurement
Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--8795147696295963181-1 (Apache-2.0). Wikipedia contributors, “Grand Canal (Venice)” (https://en.wikipedia.org/wiki/Grand_Canal_(Venice)), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise.
[ { "role": "user", "content": "Grand Canal (Venice)\n\nOne end of the canal leads into the lagoon near the Santa Lucia railway station and the other end leads into the basin at San Marco; in between, it makes a large reverse-S shape through the central districts (sestieri) of Venice. It is 3.8km (2.4mi) long...
{ "type": "exact", "value": "3.8km", "tests": [] }
train
wiki-read-ru-fef16d67da87feb6fe1d
ru
ru
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-ru-de97d2765249d779cf126c
date_normalization
Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--7495773723222046111-2 (Apache-2.0). Wikipedia contributors, “Российская Советская Федеративная Социалистическая Республика” (https://ru.wikipedia.org/wiki/%D0%A0%D0%BE%D1%81%D1%81%D0%B8%D0%B9%D1%81%D0%BA%D0%B0%D1%8F_%D0%A1%D0%BE%D0%B2%D0%B5%D1%82%D1%81%D0%BA%D0%B0%...
[ { "role": "user", "content": "Российская Советская Федеративная Социалистическая Республика\n\n25 декабря 1991 года официальное название государства было изменено на Российская Федерация (Россия). На следующий день, в связи с прекращением существования Союза ССР, стала его государством-продолжателем и право...
{ "type": "exact", "value": "1991-12-25", "tests": [] }
train
algpy-949630c61af321e3-change-impact
code
en
TheAlgorithms/Python
MIT
algpy-949630c61af321e3
change-impact
TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, boolean_algebra/quine_mc_cluskey.py#compare_string; adapted exercises
[ { "role": "user", "content": "Suppose `if count > 1:` is replaced by `if count >= 1:` in the program below. Which expression changes its returned value? Briefly explain and write its letter on the last line.\n```python\ndef compute(string1, string2):\n list1 = list(string1)\n list2 = list(string2)\n ...
{ "type": "exact", "value": "A", "tests": [] }
train
wiki-read-ru-7e613b2571171b711435
ru
ru
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-ru-2601bf376eb8736d11c706
clause
Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-3647322245088643686-0 (Apache-2.0). Wikipedia contributors, “Амха Селассие” (https://ru.wikipedia.org/wiki/%D0%90%D0%BC%D1%85%D0%B0_%D0%A1%D0%B5%D0%BB%D0%B0%D1%81%D1%81%D0%B8%D0%B5), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers norma...
[ { "role": "user", "content": "Амха Селассие\n\nАмха Селассие (27 июля 1914 — 17 февраля 1997) — последний номинальный монарх Эфиопии (1974—1975). Впервые он был провозглашен императором во время неудачной попытки переворота императорской гвардии против его отца Хайле Селассие в декабре 1960 года. Через неск...
{ "type": "exact", "value": "но он отказался признавать себя императором Эфиопии", "tests": [] }
train
wiki-read-en-385dfe8a43005aa49560
en
en
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-en-ebf340b317c044d970fcd0
measurement
Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-8555526947112246061-7 (Apache-2.0). Wikipedia contributors, “Danube” (https://en.wikipedia.org/wiki/Danube), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise.
[ { "role": "user", "content": "Danube\n\nClassified as an international waterway, it originates in the town of Donaueschingen, in the Black Forest of Germany, at the confluence of the rivers Brigach and Breg. The Danube then flows southeast for about 2,730km (1,700mi), passing through four capital cities (Vi...
{ "type": "exact", "value": "2,730km", "tests": [] }
train
algpy-7732108def84f191-check-assertions
code
ru
TheAlgorithms/Python
MIT
algpy-7732108def84f191
check-assertions
TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/geometric_mean.py#compute_geometric_mean; adapted exercises
[ { "role": "user", "content": "Один из тестов противоречит фактическому поведению этой функции. Определи его и вычисли верный результат. В последней строке запиши букву и результат через двоеточие, например A: 42.\n```python\ndef compute(*args):\n product = 1\n for number in args:\n if not isins...
{ "type": "exact", "value": "A: 4.0", "tests": [] }
train
wiki-read-en-aba9cce465f82fba98af
en
en
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-en-7d2857159e3091222d89dc
clause
Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--8551482785345233959-5 (Apache-2.0). Wikipedia contributors, “Velocity” (https://en.wikipedia.org/wiki/Velocity), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise.
[ { "role": "user", "content": "Velocity\n\nSpeed describes only how fast an object is moving, whereas velocity gives both how fast it is and in which direction the object is moving. If a car is said to travel at 60km/h, its speed has been specified. However, if the car is said to move at 60km/h to the north,...
{ "type": "exact", "value": "whereas velocity gives both how fast it is and in which direction the object is moving", "tests": [] }
train
reason2-editing_history-062
reasoning
ru
Original
CC0-1.0
reason2-editing_history
workshop_editing_history
Original procedural reasoning, release 2; CC0-1.0.
[ { "role": "user", "content": "В редакторе поле сначала содержит F. Запись заменяет значение и стирает возможность повтора отменённых записей. «Отмена» возвращает предыдущее значение, «повтор» восстанавливает отменённую запись. Если действие недоступно, поле не меняется. Команды: записать X; отмена; записать...
{ "type": "exact", "value": "T", "tests": [] }
train
wiki-read-en-f71469c15c0d56d07006
en
en
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-en-52890c8b47ec879d797dda
date_normalization
Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--4072005447587041008-0 (Apache-2.0). Wikipedia contributors, “Katherine Johnson” (https://en.wikipedia.org/wiki/Katherine_Johnson), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise.
[ { "role": "user", "content": "Katherine Johnson\n\nKatherine Coleman Goble Johnson (born August 26, 1918) is an African-American mathematician whose calculations of orbital mechanics as a NASA employee were critical to the success of the first and subsequent U.S. manned spaceflights. During her 35-year care...
{ "type": "exact", "value": "1918-08-26", "tests": [] }
train
reason2-minimum_cover-022
reasoning
ru
Original
CC0-1.0
reason2-minimum_cover
workshop_minimum_cover
Original procedural reasoning, release 2; CC0-1.0.
[ { "role": "user", "content": "Для выставки нужны образцы всех типов 1, 4, 6, 7, 8, 9. Наборы перечислены с типами внутри: A=7/8; S=1/6; K=4/6; E=7/8/9; P=1; H=1. Дубли допустимы. Какое наименьшее число наборов покроет все типы?\nПриведи ход решения в нескольких фразах. На последней строке оставь только отве...
{ "type": "number", "value": "3", "tests": [] }
train
math-verified-break_even-019
math
ru
Original
CC0-1.0
math-verified-break_even
verified_math_break_even
Original bilingual mathematics exercises, CC0-1.0
[ { "role": "user", "content": "Мастерская выбирает тариф на печать. Тариф A стоит 12 руб. в месяц плюс 5 руб. за каждую страницу. Абонентская плата по тарифу B — 62 руб. в месяц за пакет объёмом 8 стр. Каждая страница сверх пакета стоит 2 руб. При каком наименьшем целом числе страниц за месяц B обойдётся стр...
{ "type": "number", "value": "12", "tests": [] }
train
reason2-room_peak-056
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: J [6,13); H [1,3); C [12,15); D [8,10); L [5,9); F [6,12). A room is free at the right endpoint, and all rooms are interchangeable. What is the minimum room count?\nBriefly justify your result, then put the answer ...
{ "type": "number", "value": "4", "tests": [] }
train
algpy-7732108def84f191-trace
code
en
TheAlgorithms/Python
MIT
algpy-7732108def84f191
trace
TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/geometric_mean.py#compute_geometric_mean; adapted exercises
[ { "role": "user", "content": "```python\ndef compute(*args):\n product = 1\n for number in args:\n if not isinstance(number, int) and (not isinstance(number, float)):\n raise TypeError('Not a Number')\n product *= number\n if product < 0 and len(args) % 2 == 0:\n rai...
{ "type": "exact", "value": "25.0", "tests": [] }
train
wiki-read-en-8a0110f04e43d42de78f
en
en
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-en-778b74eee1e10b40cad9d6
parenthetical_detail
Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--8238008420466874019-11 (Apache-2.0). Wikipedia contributors, “Speed limits in the United States” (https://en.wikipedia.org/wiki/Speed_limits_in_the_United_States), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading...
[ { "role": "user", "content": "Speed limits in the United States\n\nUpon that repeal, there was effectively no speed limit on Montana's interstates for daytime driving (the nighttime limit was set at 65mph) from 1995 to 1999, when the state Supreme Court threw out the law as \"unconstitutionally vague.\" The...
{ "type": "exact", "value": "the nighttime limit was set at 65mph", "tests": [] }
train
reason2-fair_slots-003
reasoning
ru
Original
CC0-1.0
reason2-fair_slots
workshop_fair_slots
Original procedural reasoning, release 2; CC0-1.0.
[ { "role": "user", "content": "Клуб делит часы студии по одному. Веса секций: G=10, L=20, S=8, V=36. Следующий час получает секция с наибольшим отношением «вес / (1 + число уже выделенных часов)». При равенстве выбирают первый код по алфавиту. Какой секции достанется час номер 4, если сначала ни у кого нет ч...
{ "type": "exact", "value": "V", "tests": [] }
train
algpy-c48c83a2403cdc9a-implement
code
en
TheAlgorithms/Python
MIT
algpy-c48c83a2403cdc9a
implement
TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, dynamic_programming/trapped_water.py#trapped_rainwater; adapted exercises
[ { "role": "user", "content": "Implement this Python function. Given nonnegative integer heights of adjacent unit-width pillars, return the number of unit squares of rainwater trapped above them.\nSignature: def trapped_rainwater(heights):\nExamples:\n```python\nassert trapped_rainwater(()) == 0\nassert trap...
{ "type": "code", "value": "", "tests": [ "assert trapped_rainwater((4,)) == 0", "assert trapped_rainwater((1, 3, 2, 4, 1)) == 1", "assert trapped_rainwater((3, 3, 3)) == 0", "assert trapped_rainwater((3, 0, 1, 3)) == 5", "assert trapped_rainwater((5, 0, 2, 1, 5)) == 12", "assert trapped_r...
train
wiki-read-ru-15c41d3148fd47b5fc51
ru
ru
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-ru-ea3ccc89127466446d901a
measurement
Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-7618513722676572509-1 (Apache-2.0). Wikipedia contributors, “Мехико” (https://ru.wikipedia.org/wiki/%D0%9C%D0%B5%D1%85%D0%B8%D0%BA%D0%BE), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise.
[ { "role": "user", "content": "Мехико\n\nНаселение — 9 000 000 человек, крупнейший испаноязычный город мира. В пределах агломерации проживают 22 млн человек (оценка 2015 года, четвёртая по величине агломерация в мире). Расположен в межгорной котловине на Мексиканском нагорье, на высоте 2240 метров над уровне...
{ "type": "exact", "value": "2240 метров", "tests": [] }
train
wiki-read-en-3fbf22bac45070b5c934
en
en
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-en-232f4165b54cae45f3eb9f
definition
Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-7114025325585344919-1 (Apache-2.0). Wikipedia contributors, “List of countries where Spanish is an official language” (https://en.wikipedia.org/wiki/List_of_countries_where_Spanish_is_an_official_language), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and...
[ { "role": "user", "content": "List of countries where Spanish is an official language\n\nSpanish is the majority language in 20 sovereign states and several dependent territories, totaling around 442 million people. It is additionally the main official language in Equatorial Guinea.\n\nHow does the first se...
{ "type": "exact", "value": "the majority language in 20 sovereign states and several dependent territories, totaling around 442 million people", "tests": [] }
train
algpy-d24633c3323815de-change-impact
code
ru
TheAlgorithms/Python
MIT
algpy-d24633c3323815de
change-impact
TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/numerical_analysis/bisection_2.py#equation; adapted exercises
[ { "role": "user", "content": "В показанном коде строку `return 10 - x * x` заменяют на `return 10 + x * x`. Для какого из двух выражений изменится возвращаемое значение? Дай короткое объяснение и запиши букву в последней строке.\n```python\ndef compute(x):\n return 10 - x * x\n```\nA) `compute(5)`\nB) `c...
{ "type": "exact", "value": "A", "tests": [] }
train
wiki-read-ru-6c83da54f21b75723af4
ru
ru
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-ru-7282aa2c34da3bd0904d32
clause
Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--91026676385147536-2 (Apache-2.0). Wikipedia contributors, “Буру” (https://ru.wikipedia.org/wiki/%D0%91%D1%83%D1%80%D1%83), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise.
[ { "role": "user", "content": "Буру\n\nВ административном плане территория острова относится к провинции Малу́ку, подразделяясь при этом на два округа (кабупа́тена) — Буру и Южный Буру. Выделение последнего из округа Буру состоялось в 2008 году, однако по состоянию на начало 2011 года формирование его админи...
{ "type": "exact", "value": "однако по состоянию на начало 2011 года формирование его административных структур не завершено", "tests": [] }
train
reason2-critical_path-015
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: G=7, S=8, X=9, Z=5, F=9, L=4, J=4. X→Y means Y may start only after X finishes. The full list of dependencies is X→Z, Z→J, G→S, S→X, G→F, J→F. Starting at minute zero, when can the whole job first be finished?\nE...
{ "type": "number", "value": "42", "tests": [] }
train
reason2-rotate_grid-009
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 W D M Q / C U A N / Y T V P / K X Z J. Apply these cyclic shifts in order: row 3 right by 3; column 3 down by 2; row 4 right by 1; column 2 down by 1. Which symbol is now in row 1, column 2? Indices start at 1.\nBriefly justify y...
{ "type": "exact", "value": "K", "tests": [] }
train
reason2-missing_cells-022
reasoning
ru
Original
CC0-1.0
reason2-missing_cells
workshop_missing_cells
Original procedural reasoning, release 2; CC0-1.0.
[ { "role": "user", "content": "В таблице учёта столбцы идут в порядке R, M, F. После вертикальной черты указан итог строки. Строки: R7: ? / 13 / 6 | 22; R3: ? / 6 / ? | 18; R1: 14 / 3 / 3 | 20. Итоги столбцов: R=23, M=22, F=15. Какое число скрыто в строке R3, столбце R?\nПокажи короткую проверку, а в конце н...
{ "type": "number", "value": "6", "tests": [] }
train
reason2-order_count-027
reasoning
ru
Original
CC0-1.0
reason2-order_count
workshop_order_count
Original procedural reasoning, release 2; CC0-1.0.
[ { "role": "user", "content": "Экспонаты E, R, V, Z, S, P выносят по одному, каждый ровно раз. Правило X→Y требует вынести X раньше Y. Правила: E→Z, R→Z, R→P, V→P, Z→P, R→S. Сколько полных порядков допускают эти условия?\nПокажи короткую проверку, а в конце на отдельной строке дай ответ." }, { "role"...
{ "type": "number", "value": "33", "tests": [] }
train
wiki-read-ru-fe9d53813b0d44bfde55
ru
ru
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-ru-a147f9236fc231af24b9c6
parenthetical_detail
Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--478105356960431488-0 (Apache-2.0). Wikipedia contributors, “Шахматные фигуры” (https://ru.wikipedia.org/wiki/%D0%A8%D0%B0%D1%85%D0%BC%D0%B0%D1%82%D0%BD%D1%8B%D0%B5_%D1%84%D0%B8%D0%B3%D1%83%D1%80%D1%8B), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and re...
[ { "role": "user", "content": "Шахматные фигуры\n\nВ шахматах существует шесть разных (видов или наименований) фигур — король, ферзь, ладья, слон, конь и пешка. В шахматы играют два соперника: один играет белыми фигурами, другой чёрными. У каждого игрока 16 фигур — один король, один ферзь, две ладьи, два сло...
{ "type": "exact", "value": "видов или наименований", "tests": [] }
train
reason2-bottleneck-032
reasoning
ru
Original
CC0-1.0
reason2-bottleneck
workshop_bottleneck
Original procedural reasoning, release 2; CC0-1.0.
[ { "role": "user", "content": "Двусторонние конвейеры допускают коробки шириной не более указанной (см): A–K=9; H–R=13; J–B=4; H–K=12; J–H=11; A–J=8; K–R=12; B–H=15. Нужно перевезти коробку из A в R, не поворачивая её. Какова наибольшая допустимая ширина?\nКратко обоснуй ответ и запиши сам ответ на последней...
{ "type": "number", "value": "9", "tests": [] }
train
math-verified-quadratic_samples-016
math
ru
Original
CC0-1.0
math-verified-quadratic_samples
verified_math_quadratic_samples
Original bilingual mathematics exercises, CC0-1.0
[ { "role": "user", "content": "Известно, что f — квадратный многочлен. Даны значения f(-4) = -13, f(0) = -5, f(4) = 35. Чему равно f(8)?\nЗапиши точное число в последней строке; нецелый ответ дай несократимой дробью." }, { "role": "assistant", "content": "Аргументы идут с шагом 4. Две соседние ра...
{ "type": "number", "value": "107", "tests": [] }
train
reason2-bottleneck-034
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: U–X=4; A–X=7; X–S=4; N–E=3; U–A=10; X–E=3; X–N=17; S–N=18; S–E=12; U–S=15. A box must travel from U to E without rotation. What is its largest possible width?\nBriefly justify your result, then put the answer a...
{ "type": "number", "value": "12", "tests": [] }
train
math-verified-three_clubs-001
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 25, 34 and 28 members respectively. There are 12 in A and B, 15 in B and C, and 8 in A and C. Each pairwise count includes the 4 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": "29", "tests": [] }
train
wiki-read-en-4997a3dd11138f4e3072
en
en
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-en-b348ba418568ffb0de156a
definition
Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-1534424505860851300-13 (Apache-2.0). Wikipedia contributors, “Night markets in Taiwan” (https://en.wikipedia.org/wiki/Night_markets_in_Taiwan), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise.
[ { "role": "user", "content": "Night markets in Taiwan\n\nShilin Night Market is one of the most famous and largest night markets in Taiwan, located in Taipei. The night market first opened in 1899, and it is now famous for its various eateries selling of authentic Taiwanese snacks. The night market wakes up...
{ "type": "exact", "value": "one of the most famous and largest night markets in Taiwan, located in Taipei", "tests": [] }
train
algpy-f26eaa79c1062603-repair
code
en
TheAlgorithms/Python
MIT
algpy-f26eaa79c1062603
repair
TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/special_numbers/abundant_numbers.py#is_abundant_number; adapted exercises
[ { "role": "user", "content": "Repair this Python function. For positive n, return True when the sum of its proper positive divisors is greater than n.\nFor is_abundant_number(1) it should return False, but returns True. Keep the signature.\n```python\ndef is_abundant_number(number):\n if not isinstance(n...
{ "type": "code", "value": "", "tests": [ "assert is_abundant_number(1) == False", "assert is_abundant_number(2) == False", "assert is_abundant_number(3) == False", "assert is_abundant_number(4) == False", "assert is_abundant_number(6) == False", "assert is_abundant_number(8) == False", ...
train
algpy-d33589693d91d878-implement
code
en
TheAlgorithms/Python
MIT
algpy-d33589693d91d878
implement
TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, bit_manipulation/count_1s_brian_kernighan_method.py#get_1s_count; adapted exercises
[ { "role": "user", "content": "Implement this Python function. Count the ones in the ordinary binary representation of a nonnegative 16-bit integer.\nSignature: def get_1s_count(number):\nExamples:\n```python\nassert get_1s_count(0) == 0\nassert get_1s_count(1) == 1\n```" }, { "role": "assistant", ...
{ "type": "code", "value": "", "tests": [ "assert get_1s_count(2) == 1", "assert get_1s_count(3) == 2", "assert get_1s_count(4) == 1", "assert get_1s_count(7) == 3", "assert get_1s_count(8) == 1", "assert get_1s_count(15) == 4", "assert get_1s_count(16) == 1", "assert get_1s_count(...
train
wiki-read-ru-3d5cec878d378d4876ad
ru
ru
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-ru-994bb25546d54357cb28bb
chronology
Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-471038892649833364-0 (Apache-2.0). Wikipedia contributors, “Филипп II (король Испании)” (https://ru.wikipedia.org/wiki/%D0%A4%D0%B8%D0%BB%D0%B8%D0%BF%D0%BF_II_(%D0%BA%D0%BE%D1%80%D0%BE%D0%BB%D1%8C_%D0%98%D1%81%D0%BF%D0%B0%D0%BD%D0%B8%D0%B8)), snapshot 2019-02-01 (CC...
[ { "role": "user", "content": "Филипп II (король Испании)\n\nФилипп II (Spanish: Felipe II, — ) король Испании из династии Габсбургов. Сын и наследник императора Священной Римской империи Карла V (он же король Кастилии и Арагона Карл (Карлос) I), Филипп с 1554 года был королём Неаполя и Сицилии, а с 1556 год...
{ "type": "exact", "value": "1554, 1556, 1580", "tests": [] }
train
wiki-read-ru-34db3f5c3b28f876e869
ru
ru
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-ru-9e1871a97c60818f49489e
date_normalization
Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--1297053353543072302-11 (Apache-2.0). Wikipedia contributors, “Шамгар, Меир” (https://ru.wikipedia.org/wiki/%D0%A8%D0%B0%D0%BC%D0%B3%D0%B0%D1%80%2C_%D0%9C%D0%B5%D0%B8%D1%80), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. N...
[ { "role": "user", "content": "Шамгар, Меир\n\n19 октября 1944 года, в числе более 200 заключённых из организаций «Эцель» и «Лехи», Шамгар был сослан в лагерь заключённых «Сембел» около Асмэры, Эритрея. Шамгар оставался в заключении до июля 1948 года, не обладая информацией о дате освобождения.\n\nНайди полн...
{ "type": "exact", "value": "1944-10-19", "tests": [] }
train
reason2-event_selection-015
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 X 19–24; R 12–16; G 17–25; Z 10–12; A 7–14; P 12–19. Finishing one at the instant another starts is allowed. What is the maximum count?\nExplain in a few sentences and use t...
{ "type": "number", "value": "3", "tests": [] }
train
math-verified-tank_posts-007
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 22 by 28 cm and vertical sides. Two solid rectangular posts rise from opposite corners of the floor. Their footprints measure 7 by 7 and 5 by 6 cm. They do not overlap and both extend above the final water level. How many liters mus...
{ "type": "number", "value": "537/125", "tests": [] }
train
algpy-44c629a1326fb892-check-assertions
code
en
TheAlgorithms/Python
MIT
algpy-44c629a1326fb892
check-assertions
TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, graphs/travelling_salesman_problem.py#euclidean_distance; 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\nimport math\n\ndef compute(point1, point2):\n try:\n return math.sqrt((point2[0] ...
{ "type": "exact", "value": "B: 5.0", "tests": [] }
train
wiki-read-ru-7bad6f18d286c0cdb829
ru
ru
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-ru-4b0520785aefb2a0e036ca
clause
Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--4049518199676914661-44 (Apache-2.0). Wikipedia contributors, “Сингапур” (https://ru.wikipedia.org/wiki/%D0%A1%D0%B8%D0%BD%D0%B3%D0%B0%D0%BF%D1%83%D1%80), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise.
[ { "role": "user", "content": "Сингапур\n\nГород находится почти на экваторе, поэтому температурные колебания климата минимальны. Средняя температура января на 2 °C ниже средней температуры июня (соответственно самого холодного и самого жаркого месяцев). Климат экваториальный. Осадков выпадает всегда много, ...
{ "type": "exact", "value": "поэтому температурные колебания климата минимальны", "tests": [] }
train
wiki-read-en-6af86cae6192ed5ef496
en
en
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-en-ce642242f0026d7b1fd50f
measurement
Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--4868927497373730211-0 (Apache-2.0). Wikipedia contributors, “Gombe Stream National Park” (https://en.wikipedia.org/wiki/Gombe_Stream_National_Park), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise.
[ { "role": "user", "content": "Gombe Stream National Park\n\nGombe National Park (often, but incorrectly, called \"Gombe Stream National Park\"), is located in western Kigoma Region, Tanzania, 10 miles (20km) north of Kigoma, the capital of Kigoma Region. Established in 1968, Gombe is one of the smallest nat...
{ "type": "exact", "value": "20km", "tests": [] }
train
wiki-read-ru-33be19062280dbd98651
ru
ru
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-ru-94fcf000c856bef6e064c2
measurement
Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--55162360091239489-0 (Apache-2.0). Wikipedia contributors, “Мекка” (https://ru.wikipedia.org/wiki/%D0%9C%D0%B5%D0%BA%D0%BA%D0%B0), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise.
[ { "role": "user", "content": "Мекка\n\nМе́кка (Arabic: ُمَكَّة‎ Макка, также مكة المكرمة — Макка аль-Мукаррама — Благородная Мекка) — город в западной Саудовской Аравии, расположенный на расстоянии около 80 км от Красного моря. Является центром паломничества для мусульман (см. Хадж). Немусульманам в Мекку в...
{ "type": "exact", "value": "80 км", "tests": [] }
train
reason2-fair_slots-068
reasoning
ru
Original
CC0-1.0
reason2-fair_slots
workshop_fair_slots
Original procedural reasoning, release 2; CC0-1.0.
[ { "role": "user", "content": "Клуб делит часы студии по одному. Веса секций: A=9, V=15, Y=13, Z=31. Следующий час получает секция с наибольшим отношением «вес / (1 + число уже выделенных часов)». При равенстве выбирают первый код по алфавиту. Какой секции достанется час номер 6, если сначала ни у кого нет ч...
{ "type": "exact", "value": "A", "tests": [] }
train
reason2-pareto-018
reasoning
ru
Original
CC0-1.0
reason2-pareto
workshop_pareto
Original procedural reasoning, release 2; CC0-1.0.
[ { "role": "user", "content": "Для печати плаката доступны заказы (дни, цена): P (6, 65); V (18, 54); Z (19, 63); H (26, 27); J (22, 72); C (9, 47). Отбрось любой вариант, для которого другой вариант одновременно дешевле и быстрее. Запиши коды оставшихся в алфавитном порядке через пробел.\nПокажи короткую пр...
{ "type": "exact", "value": "C H P", "tests": [] }
train
verified-code-median_rank-implement
code
ru
Original
CC0-1.0
verified-code-weighted_quantile
verified_implement
Original algorithm and independent oracle, release 2; CC0-1.0.
[ { "role": "user", "content": "Реализуй на Python median_rank(pairs). В списке пар (целое значение, неотрицательная частота) значения могут повторяться. Разверни распределение мысленно в упорядоченный ряд длины N. Верни значение на позиции ceil(2·N/4), нумерация с 1. При N=0 верни None. Материализовать развё...
{ "type": "code", "value": "", "tests": [ "assert median_rank([]) == None", "assert median_rank([(1, 0), (9, 0)]) == None", "assert median_rank([(5, 1), (2, 2), (-1, 1)]) == 2", "assert median_rank([(2, 0), (7, 3), (2, 4), (0, 1)]) == 2", "assert median_rank([(3, 2), (1, 2), (7, 1)]) == 3", ...
train
wiki-read-ru-42655c398cbc41d5bf08
ru
ru
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-ru-e14f970afc4283bdc8117e
measurement
Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-995623399792891952-2 (Apache-2.0). Wikipedia contributors, “Царицыно (дворцово-парковый ансамбль)” (https://ru.wikipedia.org/wiki/%D0%A6%D0%B0%D1%80%D0%B8%D1%86%D1%8B%D0%BD%D0%BE_(%D0%B4%D0%B2%D0%BE%D1%80%D1%86%D0%BE%D0%B2%D0%BE-%D0%BF%D0%B0%D1%80%D0%BA%D0%BE%D0%B2%...
[ { "role": "user", "content": "Царицыно (дворцово-парковый ансамбль)\n\nЦарицынский дворцово-парковый ансамбль, занимающий площадь более 100 гектаров, расположился на холмистой пересечённой оврагами местности, на месте бывшей усадьбы князей Кантемиров и унаследовал некоторые её черты. Территория ансамбля и п...
{ "type": "exact", "value": "100 гектаров", "tests": [] }
train
reason2-assembly_units-007
reasoning
ru
Original
CC0-1.0
reason2-assembly_units
workshop_assembly_units
Original procedural reasoning, release 2; CC0-1.0.
[ { "role": "user", "content": "Для сборки используются спецификации (правая часть — состав одной единицы): K = 2×X + 4×V; X = 4×N + 3×H; V = 3×N + 5×H. Заказ включает изделия K в количестве 2 и отдельно узлы X в количестве 3. Сколько отдельных деталей N потребуется?\nКратко обоснуй ответ и запиши сам ответ н...
{ "type": "number", "value": "52", "tests": [] }
train
reason2-connected_groups-001
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 T, Y, P, G, C, R, Z, K, D, W initially has its own archive. Linking two codes merges their entire archives, including indirect links. The full list of existing links is K–P, C–Z, G–Y, Z–Y, R–C, Z–R, W–P, Y–R. One new link C–T is added. How many codes belong to the ...
{ "type": "number", "value": "6", "tests": [] }
train
wiki-read-en-6f8333391360b59796b2
en
en
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-en-83e43e43761e10d4fdc050
clause
Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-4246190431869460523-4 (Apache-2.0). Wikipedia contributors, “Monticello” (https://en.wikipedia.org/wiki/Monticello), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise.
[ { "role": "user", "content": "Monticello\n\nWork began on what historians would subsequently refer to as \"the first Monticello\" in 1768, on a plantation of 5,000 acres (2,000 hectares). Jefferson moved into the South Pavilion (an outbuilding) in 1770, where his new wife Martha Wayles Skelton joined him in...
{ "type": "exact", "value": "but how much was completed is of some dispute", "tests": [] }
train
algpy-64173c11b62e0194-implement
code
en
TheAlgorithms/Python
MIT
algpy-64173c11b62e0194
implement
TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, boolean_algebra/or_gate.py#or_gate; adapted exercises
[ { "role": "user", "content": "Implement this Python function. For integer bits a,b return integer 1 exactly when at least one input is 1, else 0.\nSignature: def or_gate(input_1, input_2):\nExamples:\n```python\nassert or_gate(0, 0) == 0\nassert or_gate(0, 1) == 1\n```" }, { "role": "assistant", ...
{ "type": "code", "value": "", "tests": [ "assert or_gate(1, 0) == 1", "assert or_gate(1, 1) == 1" ] }
train
reason2-motif_growth-013
reasoning
ru
Original
CC0-1.0
reason2-motif_growth
workshop_motif_growth
Original procedural reasoning, release 2; CC0-1.0.
[ { "role": "user", "content": "Начальный орнамент BBB. За проход каждый исходный символ одновременно заменяют по правилам B→XXB; X→XB; новые символы в том же проходе не заменяются. Сколько символов X будет после 4 проходов?\nПриведи ход решения в нескольких фразах. На последней строке оставь только ответ." ...
{ "type": "number", "value": "72", "tests": [] }
train
wiki-read-en-ff4ec7123fd0097f3dce
en
en
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-en-575e52900c61d10538ed94
date_normalization
Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--5312793700778435315-0 (Apache-2.0). Wikipedia contributors, “List of best-selling Nintendo 64 video games” (https://en.wikipedia.org/wiki/List_of_best-selling_Nintendo_64_video_games), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers no...
[ { "role": "user", "content": "List of best-selling Nintendo 64 video games\n\nThe list of best-selling Nintendo 64 games consists of 45 titles which have yielded 1 million or more unit sales each. The best-selling video game on the Nintendo 64 is Super Mario 64. First released in Japan on June 23, 1996, it ...
{ "type": "exact", "value": "1996-06-23", "tests": [] }
train
algpy-37d81feaac2d78e2-trace
code
ru
TheAlgorithms/Python
MIT
algpy-37d81feaac2d78e2
trace
TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/sum_of_digits.py#sum_of_digits; adapted exercises
[ { "role": "user", "content": "```python\ndef sum_of_digits(n):\n n = abs(n)\n res = 0\n while n > 0:\n res += n % 10\n n //= 10\n return res\n```\nЧто вернёт выражение sum_of_digits(-123)? Запиши repr результата Python." }, { "role": "assistant", "content": "6" } ]
{ "type": "exact", "value": "6", "tests": [] }
train
algpy-8dfd2e4b97bf8061-trace
code
en
TheAlgorithms/Python
MIT
algpy-8dfd2e4b97bf8061
trace
TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/euclidean_distance.py#euclidean_distance_no_np; adapted exercises
[ { "role": "user", "content": "```python\ndef compute(vector_1, vector_2):\n return sum(((v1 - v2) ** 2 for v1, v2 in zip(vector_1, vector_2))) ** (1 / 2)\n```\nWhat does round(compute([1, 2, 3, 4], [5, 6, 7, 8]), 6) return? Give the Python repr of the value." }, { "role": "assistant", "conten...
{ "type": "exact", "value": "8.0", "tests": [] }
train
reason2-fair_slots-055
reasoning
ru
Original
CC0-1.0
reason2-fair_slots
workshop_fair_slots
Original procedural reasoning, release 2; CC0-1.0.
[ { "role": "user", "content": "Клуб делит часы студии по одному. Веса секций: D=16, H=25, Y=23, Z=22. Следующий час получает секция с наибольшим отношением «вес / (1 + число уже выделенных часов)». При равенстве выбирают первый код по алфавиту. Какой секции достанется час номер 5, если сначала ни у кого нет ...
{ "type": "exact", "value": "H", "tests": [] }
train
wiki-read-ru-2f725fef04e692500f4e
ru
ru
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-ru-007f047f10e7f4ce9cd43b
definition
Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--1441932202617727068-0 (Apache-2.0). Wikipedia contributors, “Воздушная подушка” (https://ru.wikipedia.org/wiki/%D0%92%D0%BE%D0%B7%D0%B4%D1%83%D1%88%D0%BD%D0%B0%D1%8F_%D0%BF%D0%BE%D0%B4%D1%83%D1%88%D0%BA%D0%B0), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespac...
[ { "role": "user", "content": "Воздушная подушка\n\nВоздушная подушка — аналог камеры от автомобиля с подаваемым в середину сжатым воздухом. Камера располагается под грузом, где создаётся высокое давление, и после наполнения воздухом пространства между подушкой и землёй груз начинает скользить на тонкой возд...
{ "type": "exact", "value": "аналог камеры от автомобиля с подаваемым в середину сжатым воздухом", "tests": [] }
train
math-verified-grid_triangle-021
math
en
Original
CC0-1.0
math-verified-grid_triangle
verified_math_grid_triangle
Original bilingual mathematics exercises, CC0-1.0
[ { "role": "user", "content": "A unit square grid contains a triangle with vertices (-1, -2), (7, -2) and (2, 4). How many lattice points are strictly inside it? Exclude all points on the edges.\nGive the exact number on the last line; use a reduced fraction for a noninteger answer." }, { "role": "as...
{ "type": "number", "value": "19", "tests": [] }
train
math-verified-three_clubs-008
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 — 22, B — 35, C — 38. На A и B записаны 12, на B и C — 21, на A и C — 9. Число участников всех трёх групп — 5; они включены в каждое парное пересечение. Сколько человек записалось ровно на одно занятие?\nЗапиши точное число в последней строке; ...
{ "type": "number", "value": "26", "tests": [] }
train
reason2-room_peak-030
reasoning
ru
Original
CC0-1.0
reason2-room_peak
workshop_room_peak
Original procedural reasoning, release 2; CC0-1.0.
[ { "role": "user", "content": "Репетиции занимают отдельные комнаты в такие минуты: D [16,22); U [19,23); C [3,7); K [16,24); M [5,12); Z [4,6); S [7,9); J [8,14). Конец интервала уже свободен; одна комната подходит любой группе. Сколько комнат как минимум требуется одновременно?\nКратко обоснуй ответ и запи...
{ "type": "number", "value": "3", "tests": [] }
train
wiki-read-ru-d15795d58451e91a09a2
ru
ru
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-ru-542a755ce348568cdd55ca
measurement
Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-556775990620649222-3 (Apache-2.0). Wikipedia contributors, “Кора больших полушарий” (https://ru.wikipedia.org/wiki/%D0%9A%D0%BE%D1%80%D0%B0_%D0%B1%D0%BE%D0%BB%D1%8C%D1%88%D0%B8%D1%85_%D0%BF%D0%BE%D0%BB%D1%83%D1%88%D0%B0%D1%80%D0%B8%D0%B9), snapshot 2019-02-01 (CC-BY...
[ { "role": "user", "content": "Кора больших полушарий\n\nУ человека кора составляет в среднем 44 % от объёма всего полушария в целом. Площадь поверхности коры одного полушария у взрослого человека 2400 см² (в основном от 2000 до 2800 см²). На поверхностные части приходится 1/3, на залегающие в глубине между ...
{ "type": "exact", "value": "44 %", "tests": [] }
train
wiki-read-en-72c20357aabd7da6bcbb
en
en
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-en-09ac52e65e2499d7bfc744
parenthetical_detail
Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-8749998518293322371-2 (Apache-2.0). Wikipedia contributors, “United States Bill of Rights” (https://en.wikipedia.org/wiki/United_States_Bill_of_Rights), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise.
[ { "role": "user", "content": "United States Bill of Rights\n\nOn June 8, 1789, Representative James Madison introduced nine amendments to the Constitution in the House of Representatives. Madison proposed inserting specific rights limiting the power of Congress in Article One, Section 9. Seven of these limi...
{ "type": "exact", "value": "codicils", "tests": [] }
train
math-verified-departures-007
math
ru
Original
CC0-1.0
math-verified-departures
verified_math_departures
Original bilingual mathematics exercises, CC0-1.0
[ { "role": "user", "content": "Время отсчитывают в целых минутах от открытия станции. Первый трамвай линии A уходит в минуту 5, далее интервал составляет 18 мин. Первый трамвай линии B уходит в минуту 11, интервал составляет 12 мин. На какой минуте, начиная с минуты 54 включительно, обе линии впервые отправя...
{ "type": "number", "value": "59", "tests": [] }
train
reason2-critical_path-048
reasoning
ru
Original
CC0-1.0
reason2-critical_path
workshop_critical_path
Original procedural reasoning, release 2; CC0-1.0.
[ { "role": "user", "content": "Число рабочих мест в мастерской не ограничено. Время выполнения каждого этапа в минутах: J=7, X=5, C=6, U=5, K=6, G=2, M=6. Стрелка X→Y означает, что Y начинает работу после завершения X. Все зависимости: C→K, G→K, J→K, M→K, X→K, C→U, J→M, X→M, C→X, G→X, J→X. Время отсчитывают ...
{ "type": "number", "value": "24", "tests": [] }
train
wiki-read-en-1a7fa3396c52a62e0e58
en
en
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-en-0194cdbb1788a862871e8c
measurement
Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--4375943419642417876-0 (Apache-2.0). Wikipedia contributors, “Colossal squid” (https://en.wikipedia.org/wiki/Colossal_squid), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise.
[ { "role": "user", "content": "Colossal squid\n\nThe colossal squid (Mesonychoteuthis hamiltoni, from Greek mesos (middle), onycho (claw, nail), and teuthis (squid)), sometimes called the Antarctic squid or giant cranch squid, is believed to be the largest squid species in terms of mass. It is the only known...
{ "type": "exact", "value": "750 kilograms", "tests": [] }
train
algpy-3fede07968b0715e-repair
code
en
TheAlgorithms/Python
MIT
algpy-3fede07968b0715e
repair
TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, boolean_algebra/xnor_gate.py#xnor_gate; adapted exercises
[ { "role": "user", "content": "Repair this Python function. For integer bits a,b return integer 1 exactly when the inputs agree, else 0.\nFor xnor_gate(0, 0) it should return 1, but returns 0. Keep the signature.\n```python\ndef xnor_gate(input_1, input_2):\n return 1 if input_1 != input_2 else 0\n```" ...
{ "type": "code", "value": "", "tests": [ "assert xnor_gate(0, 0) == 1", "assert xnor_gate(0, 1) == 0", "assert xnor_gate(1, 0) == 0", "assert xnor_gate(1, 1) == 1" ] }
train
reason2-connected_groups-026
reasoning
ru
Original
CC0-1.0
reason2-connected_groups
workshop_connected_groups
Original procedural reasoning, release 2; CC0-1.0.
[ { "role": "user", "content": "Сначала у каждого кода из списка P, C, E, W, Z, J, R, U, S, T свой архив. Связь между двумя кодами объединяет их архивы целиком; это распространяется по цепочке. Все действующие связи: J–W, R–J, Z–S, W–R, S–W, T–J, R–Z, E–J, J–S. Добавляют связь J–U. Сколько кодов будет в образ...
{ "type": "number", "value": "8", "tests": [] }
train
algpy-203f0050a00715d7-trace
code
en
TheAlgorithms/Python
MIT
algpy-203f0050a00715d7
trace
TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, searches/median_of_medians.py#median_of_medians; adapted exercises
[ { "role": "user", "content": "```python\ndef median_of_five(arr):\n arr = sorted(arr)\n return arr[len(arr) // 2]\n\ndef compute(arr):\n if len(arr) <= 5:\n return median_of_five(arr)\n medians = []\n i = 0\n while i < len(arr):\n if i + 4 <= len(arr):\n medians.ap...
{ "type": "exact", "value": "12", "tests": [] }
train
wiki-read-ru-e7c93f5f297203ae3e25
ru
ru
TyDiQA-GoldP
Apache-2.0 AND CC-BY-SA-3.0
tydi-wiki-ru-9340a8439e58727c134847
parenthetical_detail
Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-1838089875905136853-39 (Apache-2.0). Wikipedia contributors, “Ретвизан (броненосец)” (https://ru.wikipedia.org/wiki/%D0%A0%D0%B5%D1%82%D0%B2%D0%B8%D0%B7%D0%B0%D0%BD_(%D0%B1%D1%80%D0%BE%D0%BD%D0%B5%D0%BD%D0%BE%D1%81%D0%B5%D1%86)), snapshot 2019-02-01 (CC-BY-SA-3.0). ...
[ { "role": "user", "content": "Ретвизан (броненосец)\n\nПостроен в Филадельфии компанией «Вильям Крамп и сыновья». Точная дата фактического начала строительства неизвестна. Официально заложен 17 июля 1899 года (здесь и далее даты по старому стилю), к этому времени вес корпуса корабля на стапеле приближался к...
{ "type": "exact", "value": "здесь и далее даты по старому стилю", "tests": [] }
train