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-af07698382ea4a6d76d6 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-d037e316bcc269c4768e68 | clause | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-1675037382372434374-20 (Apache-2.0). Wikipedia contributors, “Cranberry” (https://en.wikipedia.org/wiki/Cranberry), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Cranberry\n\nCranberries are harvested in the fall when the fruit takes on its distinctive deep red color. Berries that receive sun turn a deep red when fully ripe, while those that do not fully mature are a pale pink or white color. This is usually in September through the fir... | {
"type": "exact",
"value": "while those that do not fully mature are a pale pink or white color",
"tests": []
} | train |
wiki-read-en-3a95f033a75c60ab9d01 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-cf137eab11d3f0820aae95 | chronology | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--3475555223277402488-0 (Apache-2.0). Wikipedia contributors, “History of WWE” (https://en.wikipedia.org/wiki/History_of_WWE), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "History of WWE\n\nThe history of WWE dates back to the early 1950s when it was founded by Jess McMahon and Toots Mondt in 1952 as Capitol Wrestling Corporation (CWC). It underwent several name changes throughout the years, from World Wide Wrestling Federation (WWWF) to World Wr... | {
"type": "exact",
"value": "1952, 2002",
"tests": []
} | train |
reason2-editing_history-039 | 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 Y. 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 T; undo; undo; write X; undo; redo; undo; undo; write N; undo; write J... | {
"type": "exact",
"value": "U",
"tests": []
} | train |
wiki-read-ru-b145022488e57e724346 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-14287fe5fe819eb7d95620 | measurement | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--8229883989895018087-0 (Apache-2.0). Wikipedia contributors, “Аполлон-15” (https://ru.wikipedia.org/wiki/%D0%90%D0%BF%D0%BE%D0%BB%D0%BB%D0%BE%D0%BD-15), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Аполлон-15\n\n«Аполло́н-15» (English: Apollo 15) — девятый пилотируемый космический корабль в рамках программы «Аполлон», четвёртая высадка людей на Луну. Командир экипажа Дэвид Скотт и пилот лунного модуля Джеймс Ирвин провели на Луне почти трое суток (чуть менее 67 часов). Об... | {
"type": "exact",
"value": "27,9 км",
"tests": []
} | train |
reason2-rotate_grid-026 | reasoning | ru | Original | CC0-1.0 | reason2-rotate_grid | workshop_rotate_grid | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Исходные строки табло сверху вниз: U S M Q / E V A G / J H N Z / B L R Y. Выполни циклические сдвиги по порядку: столбец 4 на 3 вниз; строка 1 на 1 вправо; столбец 2 на 1 вниз. Какой символ теперь в строке 1, столбце 1? Нумерация с единицы.\nПриведи ход решения в нескольких фра... | {
"type": "exact",
"value": "G",
"tests": []
} | train |
algpy-e6ae1a49180a523d-implement | code | en | TheAlgorithms/Python | MIT | algpy-e6ae1a49180a523d | implement | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, dynamic_programming/sum_of_subset.py#is_sum_subset; adapted exercises | [
{
"role": "user",
"content": "Implement this Python function. For a list of nonnegative integers and a nonnegative target, return True if a subset of positions sums to the target. The empty subset is allowed.\nSignature: def is_sum_subset(arr, required_sum):\nExamples:\n```python\nassert is_sum_subset([], 0... | {
"type": "code",
"value": "",
"tests": [
"assert is_sum_subset([], 2) == False",
"assert is_sum_subset([], 4) == False",
"assert is_sum_subset([], 5) == False",
"assert is_sum_subset([], 7) == False",
"assert is_sum_subset([], 9) == False",
"assert is_sum_subset([], 13) == False",
"as... | train |
algpy-5fcea831928d2a6c-implement | code | en | TheAlgorithms/Python | MIT | algpy-5fcea831928d2a6c | implement | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, searches/binary_search.py#bisect_right; adapted exercises | [
{
"role": "user",
"content": "Implement this Python function. Given a sorted integer list and a target, return the insertion index after any equal values. It may equal the list length. Calls use the entire list with the default lo and hi bounds.\nSignature: def bisect_right(sorted_collection, item, lo=0, hi... | {
"type": "code",
"value": "",
"tests": [
"assert bisect_right([1, 1, 2, 5], 1) == 2",
"assert bisect_right([1, 1, 2, 5], 3) == 3",
"assert bisect_right([0, 2, 4, 4], 7) == 4",
"assert bisect_right([1, 4, 4], 0) == 0"
]
} | train |
algpy-37993de22d004de2-check-assertions | code | en | TheAlgorithms/Python | MIT | algpy-37993de22d004de2 | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/abs.py#abs_max_sort; 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(x):\n if len(x) == 0:\n raise ValueError('compute() arg is an empty s... | {
"type": "exact",
"value": "A: 11",
"tests": []
} | train |
reason2-room_peak-033 | reasoning | ru | Original | CC0-1.0 | reason2-room_peak | workshop_room_peak | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Репетиции занимают отдельные комнаты в такие минуты: B [8,10); W [5,12); E [0,2); R [10,13); J [16,20); N [1,6); L [3,11). Конец интервала уже свободен; одна комната подходит любой группе. Сколько комнат как минимум требуется одновременно?\nПокажи короткую проверку, а в конце н... | {
"type": "number",
"value": "3",
"tests": []
} | train |
reason2-frequency_median-003 | reasoning | ru | Original | CC0-1.0 | reason2-frequency_median | workshop_frequency_median | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "В журнале длительности занятий записаны парами «минуты × число занятий»: 24×5; 43×10; 25×4; 4×6; 30×10; 36×11; 39×5. Какова медианная длительность одного занятия?\nПокажи короткую проверку, а в конце на отдельной строке дай ответ."
},
{
"role": "assistant",
"content... | {
"type": "number",
"value": "36",
"tests": []
} | train |
wiki-read-ru-c2fa3c48d1b9a8582fa6 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-0b2e01cfbc1f313d09fb9f | clause | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--8067163178204668692-5 (Apache-2.0). Wikipedia contributors, “Sid Meier’s Covert Action” (https://ru.wikipedia.org/wiki/Sid_Meier%E2%80%99s_Covert_Action), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise... | [
{
"role": "user",
"content": "Sid Meier’s Covert Action\n\nСобытия в Covert Action начинаются 1 января 1990 года, когда игрок получает задание на проведение своего первого расследования. Действие происходит в одном из регионов: в Европе, в Америке или на Ближнем Востоке. Игровой мир базируется на реальных г... | {
"type": "exact",
"value": "когда игрок получает задание на проведение своего первого расследования",
"tests": []
} | train |
math-verified-syrup-003 | math | ru | Original | CC0-1.0 | math-verified-syrup | verified_math_syrup | Original bilingual mathematics exercises, CC0-1.0 | [
{
"role": "user",
"content": "Смешали два сахарных сиропа с массовыми долями сахара 30% и 45%. При нагревании испарилось 20 г воды; сахар полностью остался в смеси. После нагревания масса смеси составила 240 г, в том числе 102 г сахара. Сколько граммов 45%-го сиропа взяли?\nЗапиши точное число в последней с... | {
"type": "number",
"value": "160",
"tests": []
} | train |
math-verified-skipped_payment-019 | 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 16 dollars on day 1 and increases the scheduled payment by 3 dollars each day for 20 days. Exactly one payment was skipped; all other scheduled amounts were paid. The total paid was 868 dollars. On which day was the payment missed?\nGive the exact n... | {
"type": "number",
"value": "3",
"tests": []
} | train |
reason2-fair_slots-022 | 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=36, P=22, V=21, X=18, Z=25. Each next hour goes to the largest weight / (1 + hours already awarded), ties to the alphabetically first code. Starting from zero, which section gets hour 7?\nBriefly justify your result, ... | {
"type": "exact",
"value": "Z",
"tests": []
} | train |
wiki-read-ru-71982df225ac94fed851 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-32a472b8552e02f5730011 | clause | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-2680113034577709509-21 (Apache-2.0). Wikipedia contributors, “Ожидаемая продолжительность жизни” (https://ru.wikipedia.org/wiki/%D0%9E%D0%B6%D0%B8%D0%B4%D0%B0%D0%B5%D0%BC%D0%B0%D1%8F_%D0%BF%D1%80%D0%BE%D0%B4%D0%BE%D0%BB%D0%B6%D0%B8%D1%82%D0%B5%D0%BB%D1%8C%D0%BD%D0%B... | [
{
"role": "user",
"content": "Ожидаемая продолжительность жизни\n\n10 марта 2016 года глава Минздрава Вероника Скворцова сообщила, что продолжительность жизни россиян увеличилась до 71,2 года. В 2016 г. Ингушетия стала единственным субъектом РФ, который по продолжительности жизни преодолел порог в 80 лет.\n... | {
"type": "exact",
"value": "который по продолжительности жизни преодолел порог в 80 лет",
"tests": []
} | train |
math-verified-tickets-026 | 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 1789 dollars for 70 tickets, including a single booking fee of 9 dollars for the entire order. Full-price tickets cost 35 dollars and reduced tickets cost 25. How many full-price tickets were in the order?\nGive the exact number on the last line; use a reduced frac... | {
"type": "number",
"value": "3",
"tests": []
} | train |
wiki-read-ru-184ec06d79cfbf146e96 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-cf6f3277be3845aaedeb35 | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-3635871114838063469-9 (Apache-2.0). Wikipedia contributors, “Великое княжество Литовское” (https://ru.wikipedia.org/wiki/%D0%92%D0%B5%D0%BB%D0%B8%D0%BA%D0%BE%D0%B5_%D0%BA%D0%BD%D1%8F%D0%B6%D0%B5%D1%81%D1%82%D0%B2%D0%BE_%D0%9B%D0%B8%D1%82%D0%BE%D0%B2%D1%81%D0%BA%D0%B... | [
{
"role": "user",
"content": "Великое княжество Литовское\n\nКонсолидация Великого княжества Литовского проходила на фоне сопротивления крестоносцам Ордена меченосцев в Ливонии и Тевтонского ордена в Пруссии. Бурные события конца 1230-х — начала 1240-х годов (монгольское нашествие, экспансия крестоносцев) н... | {
"type": "exact",
"value": "монгольское нашествие, экспансия крестоносцев",
"tests": []
} | train |
wiki-read-ru-f93dfb2900f89bf4b28d | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-1e4cc5c97182022a7ea038 | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-1758259924289215443-3 (Apache-2.0). Wikipedia contributors, “Ралли «Дакар»” (https://ru.wikipedia.org/wiki/%D0%A0%D0%B0%D0%BB%D0%BB%D0%B8_%C2%AB%D0%94%D0%B0%D0%BA%D0%B0%D1%80%C2%BB), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers norma... | [
{
"role": "user",
"content": "Ралли «Дакар»\n\nСтарт первому ралли Дакар был дан 26 декабря 1978 года на площади Трокадеро в Париже. В ралли приняло участие 80 экипажей на автомобилях, 90 мотоциклистов и 12 экипажей на грузовиках. На протяжении трёх недель участники преодолели 10 000 километров (включая 316... | {
"type": "exact",
"value": "1978-12-26",
"tests": []
} | train |
wiki-read-en-1a3ce67078bb12168239 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-e9df7e59680f4b284ac512 | definition | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-1669767032731194260-1 (Apache-2.0). Wikipedia contributors, “History of Syracuse, New York” (https://en.wikipedia.org/wiki/History_of_Syracuse%2C_New_York), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercis... | [
{
"role": "user",
"content": "History of Syracuse, New York\n\nSyracuse is a city in Central New York sited on the former lands of the Onondaga Nation. Officially incorporated as a village in 1825, it has been at a major crossroads over the last two centuries, first of the Erie Canal and its branch canals, ... | {
"type": "exact",
"value": "a city in Central New York sited on the former lands of the Onondaga Nation",
"tests": []
} | train |
algpy-a1c5129c84574895-change-impact | code | ru | TheAlgorithms/Python | MIT | algpy-a1c5129c84574895 | change-impact | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, knapsack/recursive_approach_knapsack.py#knapsack; adapted exercises | [
{
"role": "user",
"content": "В показанном коде строку `if weights[index] <= max_weight:` заменяют на `if weights[index] < max_weight:`. Для какого из двух выражений изменится возвращаемое значение? Дай короткое объяснение и запиши букву в последней строке.\n```python\ndef compute(weights, values, number_of... | {
"type": "exact",
"value": "B",
"tests": []
} | train |
wiki-read-ru-0f099f7752da220aedc8 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-a174ed3be54cb2ab5a3dfd | definition | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-2086176541317999332-3 (Apache-2.0). Wikipedia contributors, “Тайга” (https://ru.wikipedia.org/wiki/%D0%A2%D0%B0%D0%B9%D0%B3%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Тайга — крупнейший сухопутный биом в мире, её площадь составляет 15 млн км². Тайга — самая большая по площади ландшафтная зона России. Её ширина в Европейской части достигает 800 км, а в Западной и Восточной Сибири — 2150 км. Таёжные зоны России стали формироваться ещё... | {
"type": "exact",
"value": "крупнейший сухопутный биом в мире, её площадь составляет 15 млн км²",
"tests": []
} | train |
reason2-missing_cells-020 | 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 H, G, F, in that order. A vertical bar precedes the row total. Rows: R4: 13 / 4 / ? | 27; R5: 8 / 2 / 3 | 13; R11: ? / 10 / ? | 29; R3: 4 / 10 / 2 | 16. Column totals: H=31, G=26, F=28. What is the missing entry in row R11, column F?\nExplain in... | {
"type": "number",
"value": "13",
"tests": []
} | train |
wiki-read-en-b8c4d84a0d3c7b733718 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-c3532673e8a2b729a10145 | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--3788923413083902237-1 (Apache-2.0). Wikipedia contributors, “Monk (TV series)” (https://en.wikipedia.org/wiki/Monk_(TV_series)), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Monk (TV series)\n\nThe series debuted on July 12, 2002, on USA Network. It continued for eight seasons, with the final season concluding on December 4, 2009. The series held the record for the most-watched scripted drama episode in cable television history from 2009 through 20... | {
"type": "exact",
"value": "broken by The Walking Dead",
"tests": []
} | train |
wiki-read-ru-cd435e0be2762b0a4e7f | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-ffc89f3fd371f62f75ceb6 | chronology | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-3939207451989323693-1 (Apache-2.0). Wikipedia contributors, “Ангелы и демоны” (https://ru.wikipedia.org/wiki/%D0%90%D0%BD%D0%B3%D0%B5%D0%BB%D1%8B_%D0%B8_%D0%B4%D0%B5%D0%BC%D0%BE%D0%BD%D1%8B), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference mark... | [
{
"role": "user",
"content": "Ангелы и демоны\n\n«Ангелы и демоны» (English: Angels and Demons) — роман американского писателя Дэна Брауна, написанный в 2000 году. Книга представляет собой приключенческий роман с элементами как триллера, так и интеллектуального детектива. События в основном разворачиваются ... | {
"type": "exact",
"value": "2000, 2009",
"tests": []
} | train |
math-verified-grid_triangle-014 | math | ru | Original | CC0-1.0 | math-verified-grid_triangle | verified_math_grid_triangle | Original bilingual mathematics exercises, CC0-1.0 | [
{
"role": "user",
"content": "На квадратной решётке с шагом 1 отмечены вершины треугольника (2, -2), (9, -2) и (4, 6). Сколько узлов с целыми координатами лежит строго внутри него? Точки на сторонах не включай.\nЗапиши точное число в последней строке; нецелый ответ дай несократимой дробью."
},
{
"ro... | {
"type": "number",
"value": "24",
"tests": []
} | train |
reason2-frequency_median-024 | reasoning | en | Original | CC0-1.0 | reason2-frequency_median | workshop_frequency_median | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "A log summarises sessions as minutes × number of sessions: 31×10; 34×9; 10×8; 37×3; 25×8; 32×5. What is the median duration of an individual session?\nShow a short check. Give the final answer on a separate line."
},
{
"role": "assistant",
"content": "There are 43 s... | {
"type": "number",
"value": "31",
"tests": []
} | train |
gsm-train-5636 | math | en | GSM8K | MIT | gsm8k-c675879b5f31f1ce87ad | word_problem_3_steps | OpenAI (2021), GSM8K, original train row 5636 | [
{
"role": "user",
"content": "Mr. Ray has 100 customers waiting at his fish market. He has 10 tuna, each of which weighs 200 pounds. Each customer wants 25 pounds of tuna. Mr. Ray's store is first come, first served. How many customers will go home without any fish?\nShow a short calculation. Put the final ... | {
"type": "number",
"value": "20",
"tests": []
} | train |
wiki-read-ru-016f54241af18940d6a1 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-ab68c3f2aa76259fecbb16 | definition | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--7344101637471784796-18 (Apache-2.0). Wikipedia contributors, “Кашалот” (https://ru.wikipedia.org/wiki/%D0%9A%D0%B0%D1%88%D0%B0%D0%BB%D0%BE%D1%82), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Кашалот\n\nКашалот — гигант среди зубатых китов, все другие зубатые киты намного уступают ему по размерам. Кашалоты растут всю жизнь, поэтому чем старше кит, тем он, как правило, крупнее; при этом самцы крупнее самок почти вдвое. Длина самцов 18—20 м, более крупные особи весьма... | {
"type": "exact",
"value": "гигант среди зубатых китов, все другие зубатые киты намного уступают ему по размерам",
"tests": []
} | train |
wiki-read-en-683b3fca18fe4aec8546 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-240183f841eeb5deba3ec9 | chronology | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-2429686994722216646-0 (Apache-2.0). Wikipedia contributors, “South End, Boston” (https://en.wikipedia.org/wiki/South_End%2C_Boston), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "South End, Boston\n\nThe South End is a neighborhood of Boston, Massachusetts. It is bordered by Back Bay, Chinatown, and Roxbury. It is distinguished from other neighborhoods by its Victorian style houses and the many parks in and around the area. The South End is the largest ... | {
"type": "exact",
"value": "1849, 1973",
"tests": []
} | train |
verified-code-cluster_roots-repair | code | en | Original | CC0-1.0 | verified-code-components | verified_repair | Original algorithm and independent oracle, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Correct one line. cluster_roots(4, [(3, 0), (2, 1), (1, 3)]) returns [0, 1, 2]; expected [0]. An undirected graph has vertices 0..n-1, n ≥ 0. Edge pairs can include duplicates and self-loops. Find its connected components and return the smallest vertex of each component, as a s... | {
"type": "code",
"value": "",
"tests": [
"assert cluster_roots(0, []) == []",
"assert cluster_roots(1, []) == [0]",
"assert cluster_roots(3, [(1, 0)]) == [0, 2]",
"assert cluster_roots(5, [(1, 0), (3, 2), (4, 3)]) == [0, 2]",
"assert cluster_roots(6, [(0, 1), (3, 1), (3, 4), (2, 2)]) == [0, 2... | train |
reason2-event_selection-024 | reasoning | ru | Original | CC0-1.0 | reason2-event_selection | workshop_event_selection | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Один фотограф хочет целиком снять как можно больше коротких показов. Начала и окончания: F 15–22; X 14–17; T 15–19; H 5–8; W 18–26; A 3–5; U 13–21. В момент окончания одного показа можно сразу начать следующий. Каково максимальное число показов?\nПокажи короткую проверку, а в к... | {
"type": "number",
"value": "4",
"tests": []
} | train |
math-verified-departures-012 | math | ru | Original | CC0-1.0 | math-verified-departures | verified_math_departures | Original bilingual mathematics exercises, CC0-1.0 | [
{
"role": "user",
"content": "Время отсчитывают в целых минутах от открытия станции. Первый трамвай линии A уходит в минуту 17, далее интервал составляет 35 мин. Первый трамвай линии B уходит в минуту 12, интервал составляет 15 мин. На какой минуте, начиная с минуты 50 включительно, обе линии впервые отправ... | {
"type": "number",
"value": "87",
"tests": []
} | train |
reason2-line_breaks-065 | reasoning | ru | Original | CC0-1.0 | reason2-line_breaks | workshop_line_breaks | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Длины слов заголовка в символах, от первого слова к последнему: 2, 4, 9, 2, 5, 2, 7, 8. Предельная длина строки — 11. Между соседними словами ровно один пробел. Менять порядок и переносить часть слова нельзя. Каково наименьшее число строк?\nКратко обоснуй ответ и запиши сам отв... | {
"type": "number",
"value": "5",
"tests": []
} | train |
reason2-bottleneck-033 | reasoning | ru | Original | CC0-1.0 | reason2-bottleneck | workshop_bottleneck | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Двусторонние конвейеры допускают коробки шириной не более указанной (см): C–F=3; V–Y=9; C–T=7; F–T=17; F–V=6; T–V=12. Нужно перевезти коробку из C в Y, не поворачивая её. Какова наибольшая допустимая ширина?\nКратко обоснуй ответ и запиши сам ответ на последней строке."
},
... | {
"type": "number",
"value": "7",
"tests": []
} | train |
wiki-read-ru-9ccd00c059fc0501b6f3 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-c43877938bb291c5f1b735 | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--1726260315829057186-0 (Apache-2.0). Wikipedia contributors, “Предкавказье” (https://ru.wikipedia.org/wiki/%D0%9F%D1%80%D0%B5%D0%B4%D0%BA%D0%B0%D0%B2%D0%BA%D0%B0%D0%B7%D1%8C%D0%B5), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normal... | [
{
"role": "user",
"content": "Предкавказье\n\nПредкавка́зье — преимущественно равнинная территория к северу от предгорий Большого Кавказа, ограниченная с севера Кумо-Манычской впадиной, Сальско-Манычской грядой с возвышенностью Ергени, с запада Азовским морем и Керченским проливом, с востока Каспийским море... | {
"type": "exact",
"value": "расстояние от северного до южного края",
"tests": []
} | train |
wiki-read-en-1a8636628b50fa549140 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-ab98718dde8ff2298ac263 | clause | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--366439164672828368-3 (Apache-2.0). Wikipedia contributors, “Rockwood Hall” (https://en.wikipedia.org/wiki/Rockwood_Hall), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Rockwood Hall\n\nImporter and merchant Edwin Bartlett obtained the property around 1848, demolished the farmhouse, and built Rockwood, an English Gothic castle of locally-quarried stone. Bartlett hired Gervase Wheeler to design the house, which was built in 1849.\n\nWhich part ... | {
"type": "exact",
"value": "which was built in 1849",
"tests": []
} | train |
wiki-read-en-7ee0217ab297373af37b | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-6e0f5e50cfafafa57ad2d2 | chronology | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--6713359298733038058-3 (Apache-2.0). Wikipedia contributors, “Quark” (https://en.wikipedia.org/wiki/Quark), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Quark\n\nThe quark model was independently proposed by physicists Murray Gell-Mann and George Zweig in 1964. Quarks were introduced as parts of an ordering scheme for hadrons, and there was little evidence for their physical existence until deep inelastic scattering experiments... | {
"type": "exact",
"value": "1964, 1968, 1995",
"tests": []
} | train |
algpy-21d84f5c1cca5f19-trace | code | en | TheAlgorithms/Python | MIT | algpy-21d84f5c1cca5f19 | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, bit_manipulation/single_bit_manipulation_operations.py#set_bit; adapted exercises | [
{
"role": "user",
"content": "```python\ndef set_bit(number, position):\n return number | 1 << position\n```\nWhat does set_bit(13, 1) return? Give the Python repr of the value."
},
{
"role": "assistant",
"content": "15"
}
] | {
"type": "exact",
"value": "15",
"tests": []
} | train |
wiki-read-ru-f13219d3bef97a114a2d | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-1808c2580520a76d922332 | clause | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-9183404404671372151-0 (Apache-2.0). Wikipedia contributors, “Athlon XP” (https://ru.wikipedia.org/wiki/Athlon_XP), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Athlon XP\n\nAMD Athlon XP («Атло́н икс-пи» в русской разговорной речи) — x86-совместимый процессор архитектуры K7, ставший результатом развития семейства процессоров AMD Athlon. Важным отличием Athlon XP от своих предшественников стала поддержка набора инструкций SSE, которая ... | {
"type": "exact",
"value": "которая в комбинации с технологией 3DNow! получила название 3DNow",
"tests": []
} | train |
wiki-read-ru-dc9ab6a6b41cac9949e7 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-be110c9a122d1a766b508a | chronology | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-1862303287931289464-5 (Apache-2.0). Wikipedia contributors, “Крайстчерч (городской центр)” (https://ru.wikipedia.org/wiki/%D0%9A%D1%80%D0%B0%D0%B9%D1%81%D1%82%D1%87%D0%B5%D1%80%D1%87_(%D0%B3%D0%BE%D1%80%D0%BE%D0%B4%D1%81%D0%BA%D0%BE%D0%B9_%D1%86%D0%B5%D0%BD%D1%82%D1... | [
{
"role": "user",
"content": "Крайстчерч (городской центр)\n\nПоселение европейцев в Крайстчерче было основано , основанной в Лондоне в 1848 году. В том же году Кентерберийская ассоциация отправила капитана в сопровождении геодезистов, чтобы выбрать и подготовить место для поселения. Томас поначалу заложил ... | {
"type": "exact",
"value": "1840, 1848",
"tests": []
} | train |
wiki-read-en-1431f0c1d9fefc3ecd33 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-65e0c6c190be161aa9b7c8 | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-8793823143317429393-0 (Apache-2.0). Wikipedia contributors, “2014 San Diego Chargers season” (https://en.wikipedia.org/wiki/2014_San_Diego_Chargers_season), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercis... | [
{
"role": "user",
"content": "2014 San Diego Chargers season\n\nThe 2014 San Diego Chargers season was the franchise's 45th season in the National Football League (NFL), the 55th overall, and the second under head coach Mike McCoy. After former Chargers' offensive coordinator, Ken Whisenhunt, was hired by t... | {
"type": "exact",
"value": "NFL",
"tests": []
} | train |
reason2-event_selection-057 | reasoning | ru | Original | CC0-1.0 | reason2-event_selection | workshop_event_selection | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Один фотограф хочет целиком снять как можно больше коротких показов. Начала и окончания: W 13–15; V 8–12; Z 13–16; P 11–14; U 2–6; K 3–10. В момент окончания одного показа можно сразу начать следующий. Каково максимальное число показов?\nКратко обоснуй ответ и запиши сам ответ ... | {
"type": "number",
"value": "3",
"tests": []
} | train |
algpy-5ddb8a68bf9d8e5c-trace | code | ru | TheAlgorithms/Python | MIT | algpy-5ddb8a68bf9d8e5c | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, divide_and_conquer/inversions.py#count_inversions_recursive; adapted exercises | [
{
"role": "user",
"content": "```python\ndef _count_cross_inversions(p, q):\n r = []\n i = j = num_inversion = 0\n while i < len(p) and j < len(q):\n if p[i] > q[j]:\n num_inversion += len(p) - i\n r.append(q[j])\n j += 1\n else:\n r.append(... | {
"type": "exact",
"value": "([1, 1, 2, 4, 4], 4)",
"tests": []
} | train |
algpy-804b4257f8f677ef-repair | code | en | TheAlgorithms/Python | MIT | algpy-804b4257f8f677ef | repair | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, bit_manipulation/largest_pow_of_two_le_num.py#largest_pow_of_two_le_num; adapted exercises | [
{
"role": "user",
"content": "Repair this Python function. For a positive integer n, return the greatest power of two no larger than n.\nFor largest_pow_of_two_le_num(2) it should return 2, but returns 1. Keep the signature.\n```python\ndef largest_pow_of_two_le_num(number):\n if isinstance(number, float... | {
"type": "code",
"value": "",
"tests": [
"assert largest_pow_of_two_le_num(1) == 1",
"assert largest_pow_of_two_le_num(2) == 2",
"assert largest_pow_of_two_le_num(3) == 2",
"assert largest_pow_of_two_le_num(4) == 4",
"assert largest_pow_of_two_le_num(7) == 4",
"assert largest_pow_of_two_l... | train |
gsm-train-4668 | math | en | GSM8K | MIT | gsm8k-a7199ead670282f1da91 | word_problem_5_steps | OpenAI (2021), GSM8K, original train row 4668 | [
{
"role": "user",
"content": "A 1165 cm long rope is cut into 154 pieces. 150 of the pieces are equally sized and the remaining pieces are 100mm each. Find the length of each of the equal pieces in millimeters.\nShow a short calculation. Put the final number alone on the last line."
},
{
"role": "as... | {
"type": "number",
"value": "75",
"tests": []
} | train |
wiki-read-en-88e435c90c05d8c6c79f | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-51d38d43bc802083134ca0 | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-4632782177305713820-0 (Apache-2.0). Wikipedia contributors, “Sacagawea dollar” (https://en.wikipedia.org/wiki/Sacagawea_dollar), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Sacagawea dollar\n\nThe Sacagawea dollar (also known as the \"golden dollar\") is a United States dollar coin that has been minted every year since 2000, although not released for general circulation from 2002 to 2008 and again from 2012 onward due to its general unpopularity w... | {
"type": "exact",
"value": "also known as the \"golden dollar\"",
"tests": []
} | train |
wiki-read-en-058282abfd67602080ee | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-4f6ac74cd9d45ab05377e5 | measurement | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-4137174560665849845-0 (Apache-2.0). Wikipedia contributors, “Fall Line Freeway” (https://en.wikipedia.org/wiki/Fall_Line_Freeway), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Fall Line Freeway\n\nThe Fall Line Freeway (FLF; also signed as State Route540 (SR540)) is a 215-mile-long (346km) highway designed to span the width of the U.S. state of Georgia from the Alabama state line, in Columbus to Augusta, traveling through several cities including Mac... | {
"type": "exact",
"value": "346km",
"tests": []
} | train |
reason2-ballot_points-001 | 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 T, J, A, H. Positions from best to worst earn 3, 2, 1, 0 points. Ballot groups, written as count × ranking from best to worst: 7 × H>A>T>J; 9 × J>H>A>T; 4 × H>T>A>J. Which design earns the most points?\nShow a short check. Give the final answer on a separate... | {
"type": "exact",
"value": "H",
"tests": []
} | train |
wiki-read-en-237f2dc85863b9314219 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-b79e2c41023a515cd61319 | definition | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--5645459364520524608-1 (Apache-2.0). Wikipedia contributors, “Fastest animals” (https://en.wikipedia.org/wiki/Fastest_animals), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Fastest animals\n\nThe fastest land animal is the cheetah, which has a recorded speed of 109.4–120.7km/h (68.0–75.0mph). The peregrine falcon is the fastest bird and the fastest member of the animal kingdom with a diving speed of 389km/h (242mph). The fastest animal in the sea ... | {
"type": "exact",
"value": "the cheetah, which has a recorded speed of 109.4–120.7km/h (68.0–75.0mph)",
"tests": []
} | train |
wiki-read-ru-c4e7677a184ca21a919c | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-db486751f1c0c62a66a12e | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--3159755892493284988-6 (Apache-2.0). Wikipedia contributors, “Медведев, Дмитрий Анатольевич” (https://ru.wikipedia.org/wiki/%D0%9C%D0%B5%D0%B4%D0%B2%D0%B5%D0%B4%D0%B5%D0%B2%2C_%D0%94%D0%BC%D0%B8%D1%82%D1%80%D0%B8%D0%B9_%D0%90%D0%BD%D0%B0%D1%82%D0%BE%D0%BB%D1%8C%D0%B... | [
{
"role": "user",
"content": "Медведев, Дмитрий Анатольевич\n\nДмитрий Медведев поддерживает связь со своей бывшей школой № 305. Учительница Вера Смирнова вспоминала: «Он очень старался, всё время посвящал учёбе. Его редко можно было застать на улице с ребятами. Он походил на маленького старичка». Когда Дми... | {
"type": "exact",
"value": "сейчас является ректором СПбГУ",
"tests": []
} | train |
reason2-connected_groups-038 | reasoning | ru | Original | CC0-1.0 | reason2-connected_groups | workshop_connected_groups | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Сначала у каждого кода из списка N, W, P, Y, J, D, E, C, B, V свой архив. Связь между двумя кодами объединяет их архивы целиком; это распространяется по цепочке. Все действующие связи: E–J, P–C, P–V, Y–W, V–E, B–P, D–Y, C–E, J–B. Добавляют связь N–Y. Сколько кодов будет в образ... | {
"type": "number",
"value": "4",
"tests": []
} | train |
wiki-read-ru-6c855baed27dcb39e186 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-c542e4b1433bbfa3be0e7d | chronology | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-1908025334998328863-14 (Apache-2.0). Wikipedia contributors, “Интернет-маркетинг” (https://ru.wikipedia.org/wiki/%D0%98%D0%BD%D1%82%D0%B5%D1%80%D0%BD%D0%B5%D1%82-%D0%BC%D0%B0%D1%80%D0%BA%D0%B5%D1%82%D0%B8%D0%BD%D0%B3), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; wh... | [
{
"role": "user",
"content": "Интернет-маркетинг\n\nДо 1990 года использование Интернета для бизнеса было запрещено регламентом Национального научного фонда США, но позже доступ к нему получили крупные компании. После передачи в 1992 году контроля над интернетом в частные руки круг потребителей и поставщико... | {
"type": "exact",
"value": "1990, 1992",
"tests": []
} | train |
wiki-read-en-ccbc62693ef9bad511fa | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-33715c159bcb428da232b5 | clause | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-1879559288830220085-33 (Apache-2.0). Wikipedia contributors, “Destiny 2” (https://en.wikipedia.org/wiki/Destiny_2), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Destiny 2\n\nDestiny 2 received \"generally favorable\" reviews, according to review aggregator Metacritic. Some reviewers labeled the game as Destiny 1.5 due to its many similarities to the original Destiny, but praise was given to improvements made over its predecessor. Desti... | {
"type": "exact",
"value": "but praise was given to improvements made over its predecessor",
"tests": []
} | train |
reason2-balanced_load-033 | reasoning | ru | Original | CC0-1.0 | reason2-balanced_load | workshop_balanced_load | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Две тележки должны увезти все ящики без деления содержимого. Масса каждого ящика: A=84, K=16, R=100, F=64, T=20, S=60, G=24. Какой наименьшей разницы масс между тележками можно добиться?\nПриведи ход решения в нескольких фразах. На последней строке оставь только ответ."
},
... | {
"type": "number",
"value": "0",
"tests": []
} | train |
reason2-pareto-051 | reasoning | en | Original | CC0-1.0 | reason2-pareto | workshop_pareto | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Poster printing options are listed as (days, price): H (18, 34); M (3, 28); N (28, 33); W (14, 43); P (29, 44); Y (10, 64); S (25, 20). Discard any option if another is both faster and cheaper. Give the surviving codes alphabetically, separated by spaces.\nBriefly justify your ... | {
"type": "exact",
"value": "M S",
"tests": []
} | train |
wiki-read-en-0414cbcd38b6d129446b | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-953b9423d30f03a0aa79d2 | chronology | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-9164884706048074263-2 (Apache-2.0). Wikipedia contributors, “Sporthotel Pontresina” (https://en.wikipedia.org/wiki/Sporthotel_Pontresina), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Sporthotel Pontresina\n\nThe history of the hotel goes back to the boom in Swiss tourism during the second half of the nineteenth century. The founder of the hotel, Florian Stoppany, who came from a family of bakers and confectioners, acquired the \"Maison Stiffler\", a village... | {
"type": "exact",
"value": "1881, 1895, 1906",
"tests": []
} | train |
wiki-read-ru-7679c2dcf72d7674ea71 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-24dd5ee358f2a7a4b9b36b | measurement | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-2012706732050750167-0 (Apache-2.0). Wikipedia contributors, “Даллас (телесериал)” (https://ru.wikipedia.org/wiki/%D0%94%D0%B0%D0%BB%D0%BB%D0%B0%D1%81_(%D1%82%D0%B5%D0%BB%D0%B5%D1%81%D0%B5%D1%80%D0%B8%D0%B0%D0%BB)), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whites... | [
{
"role": "user",
"content": "Даллас (телесериал)\n\n«Даллас» (English: Dallas) — американская телевизионная «мыльная опера», транслировавшаяся каналом CBS в прайм-тайм со 2 апреля 1978 по 3 мая 1991 года. Сериал повествует о состоятельной техасской семье Юингов, представители которой занимаются бизнесом в ... | {
"type": "exact",
"value": "76 %",
"tests": []
} | train |
wiki-read-ru-d2b28e5547729dc5f41d | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-4bf38b259e853dc7aff0aa | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-9027905985084098681-0 (Apache-2.0). Wikipedia contributors, “Осьминин, Владимир Владимирович” (https://ru.wikipedia.org/wiki/%D0%9E%D1%81%D1%8C%D0%BC%D0%B8%D0%BD%D0%B8%D0%BD%2C_%D0%92%D0%BB%D0%B0%D0%B4%D0%B8%D0%BC%D0%B8%D1%80_%D0%92%D0%BB%D0%B0%D0%B4%D0%B8%D0%BC%D0%... | [
{
"role": "user",
"content": "Осьминин, Владимир Владимирович\n\nОсьминин Владимир Владимирович (10 октября 1941 — 29 июля 2013) — советский, российский кинорежиссёр-документалист. Создатель более 600 документальных и научно-популярных фильмов, ставший классиком ещё при жизни. Внёс большой вклад в развитие ... | {
"type": "exact",
"value": "10 октября 1941 — 29 июля 2013",
"tests": []
} | train |
reason2-fair_slots-031 | reasoning | ru | Original | CC0-1.0 | reason2-fair_slots | workshop_fair_slots | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Клуб делит часы студии по одному. Веса секций: D=17, F=12, P=25, Y=7. Следующий час получает секция с наибольшим отношением «вес / (1 + число уже выделенных часов)». При равенстве выбирают первый код по алфавиту. Какой секции достанется час номер 7, если сначала ни у кого нет ч... | {
"type": "exact",
"value": "Y",
"tests": []
} | train |
reason2-event_selection-055 | 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 S 13–17; Z 19–27; F 1–9; Y 1–9; X 17–22; T 10–15; H 10–13. Finishing one at the instant another starts is allowed. What is the maximum count?\nExplain in a few sentences and... | {
"type": "number",
"value": "4",
"tests": []
} | train |
reason2-assembly_units-036 | reasoning | ru | Original | CC0-1.0 | reason2-assembly_units | workshop_assembly_units | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Для сборки используются спецификации (правая часть — состав одной единицы): Y = 2×Z + 2×J; Z = 2×U + 3×N; J = 6×U + 5×N. Заказ включает изделия Y в количестве 8 и отдельно узлы Z в количестве 6. Сколько отдельных деталей U потребуется?\nПриведи ход решения в нескольких фразах. ... | {
"type": "number",
"value": "140",
"tests": []
} | train |
wiki-read-ru-d2fd379c35869efda59c | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-79bfb8e30f70eff9a2c7aa | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--6013726811742414837-10 (Apache-2.0). Wikipedia contributors, “Энергия” (https://ru.wikipedia.org/wiki/%D0%AD%D0%BD%D0%B5%D1%80%D0%B3%D0%B8%D1%8F), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Энергия\n\nВ 1807 году Томас Юнг первым использовал термин «энергия» в современном смысле этого слова взамен понятия «живая сила». Гаспар-Гюстав Кориолис раскрыл связь между работой и кинетической энергией в 1829 году. Уильям Томсон (будущий лорд Кельвин) впервые использовал те... | {
"type": "exact",
"value": "будущий лорд Кельвин",
"tests": []
} | train |
reason2-join_catalogs-023 | reasoning | ru | Original | CC0-1.0 | reason2-join_catalogs | workshop_join_catalogs | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Каталог связывает код книги с полкой: B69=S7, B56=S8, B67=S9, B90=S9, B39=S9, B78=S8, B14=S1. Соответствие полок и залов: S8=Y, S9=J, S1=E, S7=J. Число выданных экземпляров по коду книги: B67=5, B90=5, B78=7, B69=15, B39=3, B14=10, B56=10. В каком зале больше всего выдач?\nПрив... | {
"type": "exact",
"value": "J",
"tests": []
} | train |
verified-code-lower_quartile_rank-repair | code | ru | Original | CC0-1.0 | verified-code-weighted_quantile | verified_repair | Original algorithm and independent oracle, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Исправь одну строку. lower_quartile_rank([(2, 1)]) даёт None, ожидается 2. В списке пар (целое значение, неотрицательная частота) значения могут повторяться. Разверни распределение мысленно в упорядоченный ряд длины N. Верни значение на позиции ceil(1·N/4), нумерация с 1. При N... | {
"type": "code",
"value": "",
"tests": [
"assert lower_quartile_rank([]) == None",
"assert lower_quartile_rank([(1, 0), (9, 0)]) == None",
"assert lower_quartile_rank([(5, 1), (2, 2), (-1, 1)]) == -1",
"assert lower_quartile_rank([(2, 0), (7, 3), (2, 4), (0, 1)]) == 2",
"assert lower_quartile... | train |
wiki-read-ru-c828b570ee5fae086f63 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-cfacc8a2b9032ac48267cf | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--2751627412840357743-0 (Apache-2.0). Wikipedia contributors, “Клёсов, Анатолий Алексеевич” (https://ru.wikipedia.org/wiki/%D0%9A%D0%BB%D1%91%D1%81%D0%BE%D0%B2%2C_%D0%90%D0%BD%D0%B0%D1%82%D0%BE%D0%BB%D0%B8%D0%B9_%D0%90%D0%BB%D0%B5%D0%BA%D1%81%D0%B5%D0%B5%D0%B2%D0%B8%... | [
{
"role": "user",
"content": "Клёсов, Анатолий Алексеевич\n\nАнато́лий Алексе́евич Клёсов (English: Anatole A. Klyosov; род. 20 ноября 1946, Черняховск, Калининградская область, СССР) — советский и американский биохимик, специалист в области полимерных композиционных материалов, биомедицины, ферментативного... | {
"type": "exact",
"value": "1946-11-20",
"tests": []
} | train |
algpy-9ad31d353cf20979-implement | code | en | TheAlgorithms/Python | MIT | algpy-9ad31d353cf20979 | implement | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, bit_manipulation/single_bit_manipulation_operations.py#is_bit_set; adapted exercises | [
{
"role": "user",
"content": "Implement this Python function. For a nonnegative integer and a zero-based position counted from the right, return True if that bit equals 1.\nSignature: def is_bit_set(number, position):\nExamples:\n```python\nassert is_bit_set(0, 0) == False\nassert is_bit_set(1, 0) == True\n... | {
"type": "code",
"value": "",
"tests": [
"assert is_bit_set(0, 1) == False",
"assert is_bit_set(0, 2) == False",
"assert is_bit_set(0, 7) == False",
"assert is_bit_set(1, 1) == False",
"assert is_bit_set(1, 2) == False",
"assert is_bit_set(1, 7) == False",
"assert is_bit_set(10, 0) ==... | train |
wiki-read-en-9a3d865aca25f18cb626 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-d866683f95620bdcef9bc7 | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-8883678505394827621-0 (Apache-2.0). Wikipedia contributors, “Mike O'Malley” (https://en.wikipedia.org/wiki/Mike_O%27Malley), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Mike O'Malley\n\nMichael Edward O'Malley (born October 31, 1966) is an American actor and writer who has appeared in many films and television series. Born in Boston and raised in New Hampshire, O'Malley hosted the early 1990s children's game show Nickelodeon Guts before moving... | {
"type": "exact",
"value": "1966-10-31",
"tests": []
} | train |
verified-code-lower_quartile_rank-trace | code | en | Original | CC0-1.0 | verified-code-weighted_quantile | verified_trace | Original algorithm and independent oracle, release 2; CC0-1.0. | [
{
"role": "user",
"content": "```python\ndef lower_quartile_rank(pairs):\n counts = {}\n for value, amount in pairs:\n counts[value] = counts.get(value, 0) + amount\n rank = (1 * sum(counts.values()) + 3) // 4\n if rank == 0:\n return None\n total = 0\n for value, amount in s... | {
"type": "exact",
"value": "1",
"tests": []
} | train |
wiki-read-ru-7a2ffa63fb815f98f3e7 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-be3315af3e728292eb71ff | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-5957853053315933039-23 (Apache-2.0). Wikipedia contributors, “Женское образование” (https://ru.wikipedia.org/wiki/%D0%96%D0%B5%D0%BD%D1%81%D0%BA%D0%BE%D0%B5_%D0%BE%D0%B1%D1%80%D0%B0%D0%B7%D0%BE%D0%B2%D0%B0%D0%BD%D0%B8%D0%B5), snapshot 2019-02-01 (CC-BY-SA-3.0). Exce... | [
{
"role": "user",
"content": "Женское образование\n\nВ 1856 году Александр II повелел приступить к созданию в губернских городах женских школ, приближенных по курсу преподавания к гимназиям. В провинции начали создаваться училища 1-го разряда (с шестилетним курсом) и 2-го разряда (с трёхлетним курсом). В ап... | {
"type": "exact",
"value": "1858-03-19",
"tests": []
} | train |
algpy-db906cb7271c1374-check-assertions | code | en | TheAlgorithms/Python | MIT | algpy-db906cb7271c1374 | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/primelib.py#get_prime; 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 sqrt\n\ndef is_prime(number):\n assert isinstance(number, int) and numb... | {
"type": "exact",
"value": "A: 2",
"tests": []
} | train |
algpy-e54734cd6e6f060d-implement | code | en | TheAlgorithms/Python | MIT | algpy-e54734cd6e6f060d | implement | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/power_using_recursion.py#power; adapted exercises | [
{
"role": "user",
"content": "Implement this Python function. Return the first integer raised to the second integer power. Both inputs are nonnegative and are not both zero.\nSignature: def power(base, exponent):\nExamples:\n```python\nassert power(0, 2) == 0\nassert power(1, 8) == 1\n```"
},
{
"rol... | {
"type": "code",
"value": "",
"tests": [
"assert power(2, 0) == 1",
"assert power(2, 5) == 32",
"assert power(5, 3) == 125",
"assert power(7, 4) == 2401"
]
} | train |
wiki-read-ru-7b22dfa65f8158b0f6fe | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-50b2ee66d8f17d21ec8b5a | chronology | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-507850477711885719-13 (Apache-2.0). Wikipedia contributors, “Синий кит” (https://ru.wikipedia.org/wiki/%D0%A1%D0%B8%D0%BD%D0%B8%D0%B9_%D0%BA%D0%B8%D1%82), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Синий кит\n\nСиний кит является крупнейшим из всех китообразных (и одновременно — крупнейшим животным на Земле). Огромный размер синего кита, по отзывам его видевших, производит сильное впечатление. Как заметил один из специалистов, многократно наблюдавший блювалов: Самым больш... | {
"type": "exact",
"value": "1922, 1926, 1947, 1964",
"tests": []
} | train |
math-verified-binomial_divisibility-007 | math | ru | Original | CC0-1.0 | math-verified-binomial_divisibility | verified_math_binomial_divisibility | Original bilingual mathematics exercises, CC0-1.0 | [
{
"role": "user",
"content": "Из 75 разных элементов выбирают 14 без учёта порядка. Найди наибольшее целое e ≥ 0, при котором число способов C(75,14) делится на 12 в степени e.\nЗапиши точное число в последней строке; нецелый ответ дай несократимой дробью."
},
{
"role": "assistant",
"content": "... | {
"type": "number",
"value": "2",
"tests": []
} | train |
algpy-294e65c225e1bf35-check-assertions | code | ru | TheAlgorithms/Python | MIT | algpy-294e65c225e1bf35 | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/average_mean.py#mean; adapted exercises | [
{
"role": "user",
"content": "Один из тестов противоречит фактическому поведению этой функции. Определи его и вычисли верный результат. В последней строке запиши букву и результат через двоеточие, например A: 42.\n```python\ndef compute(nums):\n if not nums:\n raise ValueError('List is empty')\n ... | {
"type": "exact",
"value": "A: 12.0",
"tests": []
} | train |
wiki-read-ru-4e08360995cde3cbe051 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-73a41f4ab66fbbfaf6d37c | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-8218548093772658495-2 (Apache-2.0). Wikipedia contributors, “Евангелие” (https://ru.wikipedia.org/wiki/%D0%95%D0%B2%D0%B0%D0%BD%D0%B3%D0%B5%D0%BB%D0%B8%D0%B5), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exer... | [
{
"role": "user",
"content": "Евангелие\n\nЕвангелия входят в состав книг Нового Завета. Наиболее ранним источником, упоминающим четыре канонических Евангелия, является сочинение Иринея Лионского «Обличение и опровержение лжеименного знания (Против ересей)». В этом сочинении по именам авторов называются чет... | {
"type": "exact",
"value": "Против ересей",
"tests": []
} | train |
algpy-b0252522d2701cad-check-assertions | code | en | TheAlgorithms/Python | MIT | algpy-b0252522d2701cad | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/modular_division.py#greatest_common_divisor; 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, b):\n if a < b:\n a, b = (b, a)\n while a % b != 0:\n a,... | {
"type": "exact",
"value": "A: 1",
"tests": []
} | train |
reason2-order_count-004 | reasoning | ru | Original | CC0-1.0 | reason2-order_count | workshop_order_count | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Экспонаты H, V, X, L, D выносят по одному, каждый ровно раз. Правило X→Y требует вынести X раньше Y. Правила: H→L, X→L, H→X, L→D, V→D. Сколько полных порядков допускают эти условия?\nКратко обоснуй ответ и запиши сам ответ на последней строке."
},
{
"role": "assistant",... | {
"type": "number",
"value": "4",
"tests": []
} | train |
math-verified-quadratic_samples-014 | math | en | Original | CC0-1.0 | math-verified-quadratic_samples | verified_math_quadratic_samples | Original bilingual mathematics exercises, CC0-1.0 | [
{
"role": "user",
"content": "The function f is a quadratic polynomial. Its values are f(3) = 32, f(6) = 92, f(9) = 188. Find f(18).\nGive the exact number on the last line; use a reduced fraction for a noninteger answer."
},
{
"role": "assistant",
"content": "The arguments are 3 units apart. Th... | {
"type": "number",
"value": "692",
"tests": []
} | train |
gsm-train-277 | math | en | GSM8K | MIT | gsm8k-36d62c23704f91fa8e56 | word_problem_7_steps | OpenAI (2021), GSM8K, original train row 277 | [
{
"role": "user",
"content": "Sabrina went to the library and found a historical series novel called The Rangers Apprentice. There are 14 books in the series, and each book has 200 pages. She read four books in a month and half the number of books remaining in the second month. What's the total number of pa... | {
"type": "number",
"value": "1000",
"tests": []
} | train |
algpy-b25c92a80e239c65-implement | code | en | TheAlgorithms/Python | MIT | algpy-b25c92a80e239c65 | implement | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, bit_manipulation/is_even.py#is_even; adapted exercises | [
{
"role": "user",
"content": "Implement this Python function. For a signed integer, return True exactly when it is even.\nSignature: def is_even(number):\nExamples:\n```python\nassert is_even(-101) == False\nassert is_even(-2) == True\n```"
},
{
"role": "assistant",
"content": "```python\ndef is... | {
"type": "code",
"value": "",
"tests": [
"assert is_even(-17) == False",
"assert is_even(-1) == False",
"assert is_even(0) == True",
"assert is_even(1) == False",
"assert is_even(2) == True",
"assert is_even(17) == False",
"assert is_even(101) == False",
"assert is_even(2048) == T... | train |
algpy-230437c54ed09bd6-check-assertions | code | en | TheAlgorithms/Python | MIT | algpy-230437c54ed09bd6 | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/keith_number.py#find_keith_numbers; 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 collections import deque\n\ndef is_keith_number(number):\n if not isinstance(number... | {
"type": "exact",
"value": "B: [14, 19, 28, 47, 61, 75]",
"tests": []
} | train |
algpy-2863b2ea3863a7eb-trace | code | en | TheAlgorithms/Python | MIT | algpy-2863b2ea3863a7eb | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/josephus_problem.py#josephus_iterative; adapted exercises | [
{
"role": "user",
"content": "```python\ndef compute(num_people, step_size):\n circle = list(range(1, num_people + 1))\n current = 0\n while len(circle) > 1:\n current = (current + step_size - 1) % len(circle)\n circle.pop(current)\n return circle[0]\n```\nWhat does compute(7, 3) r... | {
"type": "exact",
"value": "4",
"tests": []
} | train |
reason2-frequency_median-057 | reasoning | ru | Original | CC0-1.0 | reason2-frequency_median | workshop_frequency_median | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "В журнале длительности занятий записаны парами «минуты × число занятий»: 12×11; 31×4; 26×9; 8×8; 14×8; 38×3. Какова медианная длительность одного занятия?\nПокажи короткую проверку, а в конце на отдельной строке дай ответ."
},
{
"role": "assistant",
"content": "Обще... | {
"type": "number",
"value": "14",
"tests": []
} | train |
math-verified-syrup-024 | math | ru | Original | CC0-1.0 | math-verified-syrup | verified_math_syrup | Original bilingual mathematics exercises, CC0-1.0 | [
{
"role": "user",
"content": "Смешали два сахарных сиропа с массовыми долями сахара 30% и 35%. При нагревании испарилось 20 г воды; сахар полностью остался в смеси. После нагревания масса смеси составила 340 г, в том числе 119 г сахара. Сколько граммов 35%-го сиропа взяли?\nЗапиши точное число в последней с... | {
"type": "number",
"value": "220",
"tests": []
} | train |
reason2-rotate_grid-065 | 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 M B X / P V N / D G T. Apply these cyclic shifts in order: row 1 right by 1; column 2 down by 1; row 3 right by 2; column 3 down by 2; row 2 right by 1. Which symbol is now in row 2, column 1? Indices start at 1.\nShow a short ch... | {
"type": "exact",
"value": "D",
"tests": []
} | train |
reason2-join_catalogs-017 | reasoning | en | Original | CC0-1.0 | reason2-join_catalogs | workshop_join_catalogs | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "A catalog maps book codes to shelves: B61=S9, B50=S2, B59=S9, B45=S1, B89=S8, B49=S1, B22=S9, B68=S1. Shelves map to rooms: S8=W, S2=G, S1=G, S9=S. Loans by book code: B45=6, B59=8, B89=2, B22=17, B61=17, B68=9, B50=8, B49=5. Which room accounts for the most loans?\nBriefly jus... | {
"type": "exact",
"value": "S",
"tests": []
} | train |
reason2-critical_path-020 | reasoning | ru | Original | CC0-1.0 | reason2-critical_path | workshop_critical_path | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Число рабочих мест в мастерской не ограничено. Время выполнения каждого этапа в минутах: S=5, R=6, G=2, N=6, J=4, X=7, E=7. Стрелка X→Y означает, что Y начинает работу после завершения X. Все зависимости: J→S, N→S, R→S, G→E, N→E, X→E, G→X, J→X, R→X, R→N. Время отсчитывают с нул... | {
"type": "number",
"value": "20",
"tests": []
} | train |
verified-code-cluster_sizes-repair | code | ru | Original | CC0-1.0 | verified-code-components | verified_repair | Original algorithm and independent oracle, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Исправь одну строку. cluster_sizes(4, [(1, 0), (1, 0), (2, 1)]) даёт [1, 1, 1, 1], ожидается [1, 3]. Неориентированный граф имеет вершины 0..n-1, n ≥ 0. В edges заданы пары вершин, возможны петли и дубликаты. Найди компоненты связности и верни их размеры по возрастанию списком.... | {
"type": "code",
"value": "",
"tests": [
"assert cluster_sizes(0, []) == []",
"assert cluster_sizes(1, []) == [1]",
"assert cluster_sizes(3, [(1, 0)]) == [1, 2]",
"assert cluster_sizes(5, [(1, 0), (3, 2), (4, 3)]) == [2, 3]",
"assert cluster_sizes(6, [(0, 1), (3, 1), (3, 4), (2, 2)]) == [1, 1... | train |
wiki-read-en-eb9d1187f440b18b2069 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-92070547f4a4e61e815e06 | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-5498410230388714952-0 (Apache-2.0). Wikipedia contributors, “Economy of Australia” (https://en.wikipedia.org/wiki/Economy_of_Australia), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Economy of Australia\n\nThe economy of Australia is a large mixed-market economy, with a GDP of A$1.69trillion as of 2017. In 2018 Australia overtook Switzerland, and became the country with the largest median wealth per adult. Australia's total wealth was AUD$8.9trillion as of... | {
"type": "exact",
"value": "two consecutive quarters of negative growth",
"tests": []
} | train |
wiki-read-ru-3f987d242adaa0a09558 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-400cc33f70194b3d2726fc | definition | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--6910502003707130974-0 (Apache-2.0). Wikipedia contributors, “Обитаемый остров (фильм, 2008)” (https://ru.wikipedia.org/wiki/%D0%9E%D0%B1%D0%B8%D1%82%D0%B0%D0%B5%D0%BC%D1%8B%D0%B9_%D0%BE%D1%81%D1%82%D1%80%D0%BE%D0%B2_(%D1%84%D0%B8%D0%BB%D1%8C%D0%BC%2C_2008)), snapsh... | [
{
"role": "user",
"content": "Обитаемый остров (фильм, 2008)\n\n«Обита́емый о́стров» — российский фантастический фильм режиссёра Фёдора Бондарчука, экранизация одноимённого романа братьев Стругацких. Был выпущен в 2009 году в двух частях. Сюжет, выдержанный в духе научно-фантастической антиутопии, рассказыв... | {
"type": "exact",
"value": "российский фантастический фильм режиссёра Фёдора Бондарчука, экранизация одноимённого романа братьев Стругацких",
"tests": []
} | train |
reason2-motif_growth-058 | reasoning | ru | Original | CC0-1.0 | reason2-motif_growth | workshop_motif_growth | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Начальный орнамент NN. За проход каждый исходный символ одновременно заменяют по правилам J→JNN; N→JJ; новые символы в том же проходе не заменяются. Сколько символов J будет после 3 проходов?\nПокажи короткую проверку, а в конце на отдельной строке дай ответ."
},
{
"rol... | {
"type": "number",
"value": "20",
"tests": []
} | train |
wiki-read-en-a964c7eaa6fd0d036b67 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-aa59343f9ebb354fb5cdff | clause | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-4207787722420087633-17 (Apache-2.0). Wikipedia contributors, “Volkswagen” (https://en.wikipedia.org/wiki/Volkswagen), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Volkswagen\n\nVolkswagens were first exhibited and sold in the United States in 1949, but sold only two units in America that first year. On entry to the U.S. market, the VW was briefly sold as a Victory Wagon. Volkswagen of America was formed in April 1955 to standardise sales... | {
"type": "exact",
"value": "but sold only two units in America that first year",
"tests": []
} | train |
math-verified-grid_triangle-006 | 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 (-2, -1), (7, -1) and (3, 7). 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": "30",
"tests": []
} | train |
wiki-read-en-05826d38596358b49273 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-50cdbcc2068116dbe7de3e | clause | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--4585948337400114889-0 (Apache-2.0). Wikipedia contributors, “History of Mexico” (https://en.wikipedia.org/wiki/History_of_Mexico), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "History of Mexico\n\nThe history of Mexico, a country in the southern portion of North America, covers a period of more than three millennia. First populated more than 13,000 years ago, the territory had complex indigenous civilizations before being conquered and colonized by t... | {
"type": "exact",
"value": "so that Mexico's written history stretches back hundreds of years before the arrival of the Spaniards in 1519",
"tests": []
} | train |
math-verified-quadratic_samples-022 | 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(3) = 21, f(5) = 19, f(7) = 9. Чему равно f(13)?\nЗапиши точное число в последней строке; нецелый ответ дай несократимой дробью."
},
{
"role": "assistant",
"content": "Аргументы идут с шагом 2. Две соседние разн... | {
"type": "number",
"value": "-69",
"tests": []
} | train |
wiki-read-en-b3bd2c2f1bee4ab83099 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-212849b8045c861a754207 | definition | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--6141624577885445904-0 (Apache-2.0). Wikipedia contributors, “Kali Gandaki Gorge” (https://en.wikipedia.org/wiki/Kali_Gandaki_Gorge), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Kali Gandaki Gorge\n\nThe Kali Gandaki Gorge or Andha Galchi is the gorge of the Kali Gandaki (or Gandaki River) in the Himalayas in Nepal. The Kali Gandaki gorge is the deepest gorge in the world, being 24,071ft or 7,337m lower than Annapurna I which bounds it at one point.\n\... | {
"type": "exact",
"value": "the gorge of the Kali Gandaki (or Gandaki River) in the Himalayas in Nepal",
"tests": []
} | train |
algpy-dc511a7cb080cb6a-check-assertions | code | en | TheAlgorithms/Python | MIT | algpy-dc511a7cb080cb6a | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/average_absolute_deviation.py#average_absolute_deviation; 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(nums):\n if not nums:\n raise ValueError('List is empty')\n averag... | {
"type": "exact",
"value": "A: 0.0",
"tests": []
} | train |
wiki-read-en-ae1591bd78c4dc0eb0e4 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-8a1718ee736f769f714864 | chronology | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-4185624637409942870-0 (Apache-2.0). Wikipedia contributors, “Pixar” (https://en.wikipedia.org/wiki/Pixar), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Pixar\n\nPixar Animation Studios, commonly referred to as Pixar (/ˈpɪksɑːr/), is an American computer animation film studio based in Emeryville, California, that is a subsidiary of Walt Disney Studios, owned by the Walt Disney Company. Pixar began in 1979 as the Graphics Group,... | {
"type": "exact",
"value": "1979, 1986, 2006",
"tests": []
} | train |
algpy-01e50b8a85e21728-check-assertions | code | en | TheAlgorithms/Python | MIT | algpy-01e50b8a85e21728 | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, dynamic_programming/minimum_steps_to_one.py#min_steps_to_one; 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(number):\n if number <= 0:\n msg = f'n must be greater than 0. Got n ... | {
"type": "exact",
"value": "B: 3",
"tests": []
} | train |
reason2-line_breaks-030 | reasoning | en | Original | CC0-1.0 | reason2-line_breaks | workshop_line_breaks | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "A heading contains words of lengths 8, 8, 7, 6, 3, 6, 5, in the given order. Each line holds 15 characters, with one space between adjacent words. Words cannot be split or reordered. What is the fewest lines needed?\nExplain in a few sentences and use the final line for the ans... | {
"type": "number",
"value": "5",
"tests": []
} | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.