id stringlengths 11 45 | domain stringclasses 5
values | language stringclasses 2
values | source stringclasses 6
values | license stringclasses 5
values | group_id stringlengths 8 35 | task stringclasses 77
values | attribution stringlengths 0 758 | messages listlengths 2 2 | grading dict | split stringclasses 1
value |
|---|---|---|---|---|---|---|---|---|---|---|
algpy-8333fb5175b72637-trace | code | en | TheAlgorithms/Python | MIT | algpy-8333fb5175b72637 | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, conversions/binary_to_decimal.py#bin_to_decimal; adapted exercises | [
{
"role": "user",
"content": "```python\ndef compute(bin_string):\n bin_string = str(bin_string).strip()\n if not bin_string:\n raise ValueError('Empty string was passed to the function')\n is_negative = bin_string[0] == '-'\n if is_negative:\n bin_string = bin_string[1:]\n if n... | {
"type": "exact",
"value": "0",
"tests": []
} | train |
reason2-connected_groups-063 | reasoning | ru | Original | CC0-1.0 | reason2-connected_groups | workshop_connected_groups | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Сначала у каждого кода из списка G, A, M, F, E, P, N, T, Z, B свой архив. Связь между двумя кодами объединяет их архивы целиком; это распространяется по цепочке. Все действующие связи: E–P, P–F, F–T, M–A, Z–P, A–N, N–M, F–Z, E–G, T–G, G–P, Z–G, G–F. Добавляют связь G–N. Сколько... | {
"type": "number",
"value": "9",
"tests": []
} | train |
wiki-read-en-d14302658fbc4ba0de15 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-3aa770beaf9a757b346982 | clause | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-3099181763220861848-0 (Apache-2.0). Wikipedia contributors, “Dialectic” (https://en.wikipedia.org/wiki/Dialectic), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Dialectic\n\nDialectic or dialectics (Greek: διαλεκτική, dialektikḗ; related to dialogue), also known as the dialectical method, is at base a discourse between two or more people holding different points of view about a subject but wishing to establish the truth through reasone... | {
"type": "exact",
"value": "but the concept excludes subjective elements such as emotional appeal and the modern pejorative sense of rhetoric",
"tests": []
} | train |
wiki-read-ru-1930057941d24d456694 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-5591b95c9f49d7e18dd2e6 | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--5300517053631547929-5 (Apache-2.0). Wikipedia contributors, “Вренна, Крис” (https://ru.wikipedia.org/wiki/%D0%92%D1%80%D0%B5%D0%BD%D0%BD%D0%B0%2C_%D0%9A%D1%80%D0%B8%D1%81), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. Ne... | [
{
"role": "user",
"content": "Вренна, Крис\n\nВренна также работал над множеством саундтреков для игр — «Doom 3» (как продюсер вместе с Клинтом Уолшем), «Quake 4», «American McGee's Alice», «Enter the Matrix», «Sonic the Hedgehog», «Area 51» и «Need for Speed Most Wanted». В 2004-м Крис начал работу над сау... | {
"type": "exact",
"value": "как продюсер вместе с Клинтом Уолшем",
"tests": []
} | train |
wiki-read-en-5e59058cc2e1b2d551b3 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-6563413b4687e821bc75a0 | definition | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-1159104482905021080-0 (Apache-2.0). Wikipedia contributors, “Nasi lemak” (https://en.wikipedia.org/wiki/Nasi_lemak), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Nasi lemak\n\nNasi lemak is a Malay fragrant rice dish cooked in coconut milk and pandan leaf. It is commonly found in Malaysia, where it is considered the national dish; it is also the native dish in neighbouring areas with significant Malay populations such as Singapore; Brun... | {
"type": "exact",
"value": "a Malay fragrant rice dish cooked in coconut milk and pandan leaf",
"tests": []
} | train |
wiki-read-en-b79d65029e77a47f6e5b | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-c831bf56c12ebc7053e1bb | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--8846131260241214046-0 (Apache-2.0). Wikipedia contributors, “Member states of the Arab League” (https://en.wikipedia.org/wiki/Member_states_of_the_Arab_League), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading ex... | [
{
"role": "user",
"content": "Member states of the Arab League\n\nThe Arab League has 22 member states. It was founded in Cairo in March 1945 with six members: the Kingdom of Egypt, Kingdom of Iraq, Lebanon, Saudi Arabia, Syrian Republic, and Transjordan (Jordan from 1949). North Yemen (later becoming Yemen... | {
"type": "exact",
"value": "1945-05-05",
"tests": []
} | train |
algpy-66ab4df595d52451-trace | code | en | TheAlgorithms/Python | MIT | algpy-66ab4df595d52451 | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/volume.py#vol_spherical_cap; adapted exercises | [
{
"role": "user",
"content": "```python\nfrom math import pi\n\ndef compute(height, radius):\n if height < 0 or radius < 0:\n raise ValueError('compute() only accepts non-negative values')\n return 1 / 3 * pi * pow(height, 2) * (3 * radius - height)\n```\nWhat does round(compute(1, 2), 6) retur... | {
"type": "exact",
"value": "5.235988",
"tests": []
} | train |
wiki-read-en-8c0a92b1b529f5907db7 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-c7e09273995b283f45730f | chronology | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--3953599935893055983-0 (Apache-2.0). Wikipedia contributors, “Kent County Cricket Club” (https://en.wikipedia.org/wiki/Kent_County_Cricket_Club), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Kent County Cricket Club\n\nKent County Cricket Club is one of the eighteen first-class county clubs within the domestic cricket structure of England and Wales. It represents the historic county of Kent. The club was first founded in 1842 but teams representing the county have ... | {
"type": "exact",
"value": "1842, 1890",
"tests": []
} | train |
wiki-read-ru-fb23deeeadd4f6929129 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-533c24fa91e7c78c4d23c1 | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-1918825121422752317-1 (Apache-2.0). Wikipedia contributors, “Бюст Нефертити” (https://ru.wikipedia.org/wiki/%D0%91%D1%8E%D1%81%D1%82_%D0%9D%D0%B5%D1%84%D0%B5%D1%80%D1%82%D0%B8%D1%82%D0%B8), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference marker... | [
{
"role": "user",
"content": "Бюст Нефертити\n\nБюст Нефертити был обнаружен 6 декабря 1912 года в Тель-эль-Амарне на раскопках древнего города Ахетатона, проводившихся под эгидой Германского восточного общества археологической экспедицией под руководством немецкого египтолога Людвига Борхардта. Бюст находи... | {
"type": "exact",
"value": "1912-12-06",
"tests": []
} | train |
reason2-assembly_units-014 | reasoning | ru | Original | CC0-1.0 | reason2-assembly_units | workshop_assembly_units | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Для сборки используются спецификации (правая часть — состав одной единицы): G = 2×S + 3×D; S = 4×T + 3×R; D = 3×T + 1×R. Заказ включает изделия G в количестве 8 и отдельно узлы S в количестве 5. Сколько отдельных деталей T потребуется?\nПриведи ход решения в нескольких фразах. ... | {
"type": "number",
"value": "156",
"tests": []
} | train |
wiki-read-ru-7dcb93e60be928cf2844 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-ff20a12936f23c7677a0d7 | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-6499670859471140601-0 (Apache-2.0). Wikipedia contributors, “Димитровград (Россия)” (https://ru.wikipedia.org/wiki/%D0%94%D0%B8%D0%BC%D0%B8%D1%82%D1%80%D0%BE%D0%B2%D0%B3%D1%80%D0%B0%D0%B4_(%D0%A0%D0%BE%D1%81%D1%81%D0%B8%D1%8F)), snapshot 2019-02-01 (CC-BY-SA-3.0). E... | [
{
"role": "user",
"content": "Димитровград (Россия)\n\nДимитровгра́д (до 1972 года — Мелеке́сс) — город в Ульяновской области России. Административный центр Мелекесского района, в который не входит, являясь городом областного значения, образует одноимённое муниципальное образование город Димитровград со ста... | {
"type": "exact",
"value": "до 1972 года — Мелеке́сс",
"tests": []
} | train |
math-verified-syrup-020 | math | ru | Original | CC0-1.0 | math-verified-syrup | verified_math_syrup | Original bilingual mathematics exercises, CC0-1.0 | [
{
"role": "user",
"content": "Смешали два сахарных сиропа с массовыми долями сахара 15% и 40%. При нагревании испарилось 40 г воды; сахар полностью остался в смеси. После нагревания масса смеси составила 140 г, в том числе 52 г сахара. Сколько граммов 40%-го сиропа взяли?\nЗапиши точное число в последней ст... | {
"type": "number",
"value": "100",
"tests": []
} | train |
algpy-35f2c99a001265ef-implement | code | en | TheAlgorithms/Python | MIT | algpy-35f2c99a001265ef | implement | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, bit_manipulation/parity.py#parity; adapted exercises | [
{
"role": "user",
"content": "Implement this Python function. For a nonnegative integer, return the integer 1 if its binary representation contains an odd number of ones, otherwise 0.\nSignature: def parity(number):\nExamples:\n```python\nassert parity(0) == 0\nassert parity(1) == 1\n```"
},
{
"role... | {
"type": "code",
"value": "",
"tests": [
"assert parity(2) == 1",
"assert parity(3) == 0",
"assert parity(4) == 1",
"assert parity(7) == 1",
"assert parity(8) == 1",
"assert parity(15) == 0",
"assert parity(16) == 1",
"assert parity(31) == 1",
"assert parity(32) == 1",
"as... | train |
wiki-read-en-59bd60e24adeafd83e2e | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-5d2548721e99341f522bb1 | clause | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-7134610872174862108-1 (Apache-2.0). Wikipedia contributors, “History of Protestantism” (https://en.wikipedia.org/wiki/History_of_Protestantism), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "History of Protestantism\n\nProtestantism originated from work of several theologians starting in the 12th century, although there could have been earlier cases of which there is no surviving evidence.\n\nWhich part of the sentence begins with “although” immediately after a com... | {
"type": "exact",
"value": "although there could have been earlier cases of which there is no surviving evidence",
"tests": []
} | train |
wiki-read-en-483ef99e0eff0fd320a6 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-7b1fefbb8da2f0abe01aaa | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-5965806013224565025-0 (Apache-2.0). Wikipedia contributors, “Lou Lombardo” (https://en.wikipedia.org/wiki/Lou_Lombardo), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Lou Lombardo\n\nLouis Lombardo (November 18, 1928 – June 11, 2001) was a Major League Baseball pitcher who played in two games for the New York Giants in 1948.\n\nWhat parenthetical detail immediately follows “Louis Lombardo”? Quote the entire detail without the parentheses."
... | {
"type": "exact",
"value": "November 18, 1928 – June 11, 2001",
"tests": []
} | train |
wiki-read-ru-3bcbc6ff0be0abeebbde | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-d7c70f0b2aa103ba0e0cb5 | definition | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--4679188974581938210-4 (Apache-2.0). Wikipedia contributors, “The Sims (серия игр)” (https://ru.wikipedia.org/wiki/The_Sims_(%D1%81%D0%B5%D1%80%D0%B8%D1%8F_%D0%B8%D0%B3%D1%80)), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized... | [
{
"role": "user",
"content": "The Sims (серия игр)\n\nThe Sims — первая игра серии, разработанная компанией Maxis, и выпущенная компанией EA. Для операционной системы Microsoft Windows была выпущена в феврале 2000 года. Первый «симулятор жизни» среди игр. Разработчик The Sims — Уилл Райт. Для игры было выпу... | {
"type": "exact",
"value": "первая игра серии, разработанная компанией Maxis, и выпущенная компанией EA",
"tests": []
} | train |
math-verified-rounded_scales-023 | math | en | Original | CC0-1.0 | math-verified-rounded_scales | verified_math_rounded_scales | Original bilingual mathematics exercises, CC0-1.0 | [
{
"role": "user",
"content": "A part's length is a whole number of millimeters. One instrument rounds to the nearest multiple of 16 mm, another to the nearest multiple of 18 mm. An exact tie rounds upward for both. They read 96 and 108 mm respectively. How many integer lengths agree with both readings?\nGiv... | {
"type": "number",
"value": "5",
"tests": []
} | train |
wiki-read-en-3f03db4910773c802ba0 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-567e2f9505cfed63956e65 | definition | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-4542770282342009960-0 (Apache-2.0). Wikipedia contributors, “Canterbury-Bankstown Bulldogs” (https://en.wikipedia.org/wiki/Canterbury-Bankstown_Bulldogs), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Canterbury-Bankstown Bulldogs\n\nThe Canterbury-Bankstown Bulldogs are an Australian professional rugby league football club based in Belmore, a suburb in the Canterbury-Bankstown region of Sydney. They compete in the National Rugby League (NRL) premiership, as well as the New ... | {
"type": "exact",
"value": "an Australian professional rugby league football club based in Belmore, a suburb in the Canterbury-Bankstown region of Sydney",
"tests": []
} | train |
math-verified-grid_triangle-009 | 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), (4, 1) and (2, 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": "assi... | {
"type": "number",
"value": "14",
"tests": []
} | train |
algpy-165759ba1c1a34d1-check-assertions | code | en | TheAlgorithms/Python | MIT | algpy-165759ba1c1a34d1 | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/area.py#lateral_surface_cone; 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 pi\n\ndef compute(radius, height):\n if radius < 0 or height < 0:\n ... | {
"type": "exact",
"value": "B: 702.481473",
"tests": []
} | train |
algpy-055230b3527d4a9f-check-assertions | code | ru | TheAlgorithms/Python | MIT | algpy-055230b3527d4a9f | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, searches/binary_search.py#binary_search; adapted exercises | [
{
"role": "user",
"content": "Один из тестов противоречит фактическому поведению этой функции. Определи его и вычисли верный результат. В последней строке запиши букву и результат через двоеточие, например A: 42.\n```python\nfrom itertools import pairwise\n\ndef compute(sorted_collection, item):\n if any... | {
"type": "exact",
"value": "B: 0",
"tests": []
} | train |
reason2-bottleneck-015 | reasoning | ru | Original | CC0-1.0 | reason2-bottleneck | workshop_bottleneck | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Двусторонние конвейеры допускают коробки шириной не более указанной (см): J–T=14; D–Z=16; J–W=8; E–J=14; J–L=17; E–W=9; W–T=10; L–W=3; Z–E=15. Нужно перевезти коробку из D в T, не поворачивая её. Какова наибольшая допустимая ширина?\nКратко обоснуй ответ и запиши сам ответ на п... | {
"type": "number",
"value": "14",
"tests": []
} | train |
algpy-b2a731bbc2e2ad10-repair | code | en | TheAlgorithms/Python | MIT | algpy-b2a731bbc2e2ad10 | repair | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, dynamic_programming/climbing_stairs.py#climb_stairs; adapted exercises | [
{
"role": "user",
"content": "Repair this Python function. For a staircase of n steps (1 ≤ n ≤ 12), count ordered ways to reach the top taking one or two steps at a time.\nFor climb_stairs(2) it should return 2, but returns 1. Keep the signature.\n```python\ndef climb_stairs(number_of_steps):\n assert is... | {
"type": "code",
"value": "",
"tests": [
"assert climb_stairs(1) == 1",
"assert climb_stairs(2) == 2",
"assert climb_stairs(3) == 3",
"assert climb_stairs(4) == 5",
"assert climb_stairs(5) == 8",
"assert climb_stairs(6) == 13",
"assert climb_stairs(7) == 21",
"assert climb_stairs(... | train |
reason2-order_count-030 | reasoning | en | Original | CC0-1.0 | reason2-order_count | workshop_order_count | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Display items J, X, A, U, Z, M must be brought in one at a time, each exactly once. X→Y requires X before Y. Given J→Z, U→Z, A→M, Z→M, A→U, X→U, how many complete orders are possible?\nBriefly justify your result, then put the answer alone on the last line."
},
{
"role"... | {
"type": "number",
"value": "8",
"tests": []
} | train |
math-verified-rounded_scales-015 | math | ru | Original | CC0-1.0 | math-verified-rounded_scales | verified_math_rounded_scales | Original bilingual mathematics exercises, CC0-1.0 | [
{
"role": "user",
"content": "Длина детали — целое число миллиметров. Один прибор округляет длину до ближайшего числа, кратного 4 мм, другой — до ближайшего числа, кратного 12 мм. Ровно посередине оба выбирают большее значение. Приборы показали соответственно 160 и 156 мм. Сколько целых значений длины согла... | {
"type": "number",
"value": "4",
"tests": []
} | train |
reason2-frequency_median-002 | reasoning | ru | Original | CC0-1.0 | reason2-frequency_median | workshop_frequency_median | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "В журнале длительности занятий записаны парами «минуты × число занятий»: 15×5; 35×10; 13×5; 31×5; 36×7; 28×4; 51×3; 27×8. Какова медианная длительность одного занятия?\nПокажи короткую проверку, а в конце на отдельной строке дай ответ."
},
{
"role": "assistant",
"co... | {
"type": "number",
"value": "31",
"tests": []
} | train |
wiki-read-ru-48f7ff689cbbbf0d1854 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-18c0f881799673567f594a | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-3131863261129723708-1 (Apache-2.0). Wikipedia contributors, “Русофобия” (https://ru.wikipedia.org/wiki/%D0%A0%D1%83%D1%81%D0%BE%D1%84%D0%BE%D0%B1%D0%B8%D1%8F), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exer... | [
{
"role": "user",
"content": "Русофобия\n\nТермин «Russophobie» употреблялся с 30-х годов XIX века в немецких изданиях, в «Nurnberger Zeitung» (1837 год), «Frankfurter Ober-Amts-Zeitung» (1837 год). По-видимому, впервые термин «русофобия» среди русских писателей был применён русским поэтом Фёдором Тютчевым ... | {
"type": "exact",
"value": "1867-09-20",
"tests": []
} | train |
wiki-read-en-318bb33a6b4d1678a036 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-8b028dc9ecd2f4bc3865d0 | measurement | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--4833259062257947578-0 (Apache-2.0). Wikipedia contributors, “Desert climate” (https://en.wikipedia.org/wiki/Desert_climate), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Desert climate\n\nThe desert climate (in the Köppen climate classification BWh and BWk), is a climate in which there is an excess of evaporation over precipitation. The typically bald, rocky, or sandy surfaces in desert climates hold little moisture and evaporate the little rai... | {
"type": "exact",
"value": "14.2%",
"tests": []
} | train |
algpy-939f23ed630287fd-implement | code | en | TheAlgorithms/Python | MIT | algpy-939f23ed630287fd | implement | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/special_numbers/deficient_numbers.py#is_deficient_number; adapted exercises | [
{
"role": "user",
"content": "Implement this Python function. For positive n, return True when the sum of its proper positive divisors is less than n.\nSignature: def is_deficient_number(number):\nExamples:\n```python\nassert is_deficient_number(1) == True\nassert is_deficient_number(6) == False\n```"
},
... | {
"type": "code",
"value": "",
"tests": [
"assert is_deficient_number(2) == True",
"assert is_deficient_number(3) == True",
"assert is_deficient_number(4) == True",
"assert is_deficient_number(8) == True",
"assert is_deficient_number(12) == False",
"assert is_deficient_number(16) == True",... | train |
reason2-minimum_cover-035 | reasoning | ru | Original | CC0-1.0 | reason2-minimum_cover | workshop_minimum_cover | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Для выставки нужны образцы всех типов 2, 3, 4, 5, 6, 7, 8. Наборы перечислены с типами внутри: H=2/5/6/8; T=4/7/8; L=3; E=3; X=3/8. Дубли допустимы. Какое наименьшее число наборов покроет все типы?\nКратко обоснуй ответ и запиши сам ответ на последней строке."
},
{
"rol... | {
"type": "number",
"value": "3",
"tests": []
} | train |
math-verified-skipped_payment-027 | math | ru | Original | CC0-1.0 | math-verified-skipped_payment | verified_math_skipped_payment | Original bilingual mathematics exercises, CC0-1.0 | [
{
"role": "user",
"content": "В первый день планировали отложить 8 руб., а в каждый следующий — на 9 руб. больше, чем было запланировано накануне. План рассчитан на 12 дней. Ровно в один день взнос пропустили; все остальные суммы внесли по расписанию. Всего отложили 619 руб. В какой по счёту день пропустили... | {
"type": "number",
"value": "8",
"tests": []
} | train |
wiki-read-ru-3ab39279124c2df222b0 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-9921d8bc9fb8b27c589f67 | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-8357049886112456401-1 (Apache-2.0). Wikipedia contributors, “Амундсен, Руаль” (https://ru.wikipedia.org/wiki/%D0%90%D0%BC%D1%83%D0%BD%D0%B4%D1%81%D0%B5%D0%BD%2C_%D0%A0%D1%83%D0%B0%D0%BB%D1%8C), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference ma... | [
{
"role": "user",
"content": "Амундсен, Руаль\n\nПервый человек, достигший Южного полюса (14 декабря 1911 года). Первый человек (совместно с Оскаром Вистингом), побывавший на обоих географических полюсах планеты. Кроме того, воздушная трансарктическая экспедиция 1926 года под руководством Р. Амундсена являе... | {
"type": "exact",
"value": "1911-12-14",
"tests": []
} | train |
algpy-4ba47ad4f1e54d19-trace | code | en | TheAlgorithms/Python | MIT | algpy-4ba47ad4f1e54d19 | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/special_numbers/pronic_number.py#is_pronic; adapted exercises | [
{
"role": "user",
"content": "```python\ndef is_pronic(number):\n if not isinstance(number, int):\n msg = f'Input value of [number={number}] must be an integer'\n raise TypeError(msg)\n if number < 0 or number % 2 == 1:\n return False\n number_sqrt = int(number ** 0.5)\n ret... | {
"type": "exact",
"value": "True",
"tests": []
} | train |
reason2-ballot_points-034 | reasoning | ru | Original | CC0-1.0 | reason2-ballot_points | workshop_ballot_points | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Жюри оценивает макеты X, N, T. Баллы за места, начиная с первого: 2, 1, 0. Бюллетени записаны как число одинаковых голосов × порядок от лучшего к худшему: 2 × X>T>N; 9 × N>X>T; 8 × N>T>X; 7 × X>N>T. У какого макета больше всего баллов?\nКратко обоснуй ответ и запиши сам ответ н... | {
"type": "exact",
"value": "N",
"tests": []
} | train |
wiki-read-en-eeb50e8a854c3a27c865 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-30cd503dfa4f7d0626b07d | measurement | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-3010636287841752967-0 (Apache-2.0). Wikipedia contributors, “Dusky shark” (https://en.wikipedia.org/wiki/Dusky_shark), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Dusky shark\n\nThe dusky shark (Carcharhinus obscurus) is a species of requiem shark, in the family Carcharhinidae, occurring in tropical and warm-temperate continental seas worldwide. A generalist apex predator, the dusky shark can be found from the coast to the outer continen... | {
"type": "exact",
"value": "347kg",
"tests": []
} | train |
math-verified-syrup-019 | 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 25% sugar by mass. After mixing them, 30 g of water evaporated, with all the sugar retained. The final mixture weighs 330 g, including 72 g of sugar. How many grams of the 25% syrup were used?\nGive the exact number on the last line; use a reduced fra... | {
"type": "number",
"value": "180",
"tests": []
} | train |
wiki-read-ru-03c09638e77fdec165af | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-f86d445aceee0a4ad5f7d4 | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-7157852254053214071-20 (Apache-2.0). Wikipedia contributors, “Кишинёв” (https://ru.wikipedia.org/wiki/%D0%9A%D0%B8%D1%88%D0%B8%D0%BD%D1%91%D0%B2), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Кишинёв\n\nВпервые в исторических документах Кишинёв упоминается 17 июля 1436 года в грамоте воевод Молдавии Ильи и Стефана Оанчя логофету, главе господарской канцелярии, в которой уточняются границы земли у реки Реут, жалованной ему за верную службу. По советской историографии... | {
"type": "exact",
"value": "1436-07-17",
"tests": []
} | train |
wiki-read-ru-e7e5920b42535473609d | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-f044e279a6e3fc1ca15867 | clause | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-5458518435726849868-0 (Apache-2.0). Wikipedia contributors, “Острова Кука” (https://ru.wikipedia.org/wiki/%D0%9E%D1%81%D1%82%D1%80%D0%BE%D0%B2%D0%B0_%D0%9A%D1%83%D0%BA%D0%B0), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. ... | [
{
"role": "user",
"content": "Острова Кука\n\nОстрова́ Ку́ка (English: Cook Islands, Māori: Kūki 'Āirani) — архипелаг и одноимённое самоуправляемое государственное образование в свободной ассоциации с Новой Зеландией в южной части Тихого океана в Полинезии. Граничит с водами Кирибати на севере, Французской ... | {
"type": "exact",
"value": "однако 48 государств и Европейский Союз поддерживают с ними дипломатические отношения",
"tests": []
} | train |
wiki-read-en-26c3661ced4c1a1bbb16 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-f17f05cf2c4c6979a552b4 | measurement | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-1456059518613569242-1 (Apache-2.0). Wikipedia contributors, “Basketball court” (https://en.wikipedia.org/wiki/Basketball_court), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Basketball court\n\nBasketball courts come in different sizes. In the National Basketball Association (NBA), the court is 94 by 50 feet (28.7 by 15.2m). Under International Basketball Federation (FIBA) rules, the court is slightly smaller, measuring exactly 28 by 15 meters (91.... | {
"type": "exact",
"value": "15 meters",
"tests": []
} | train |
algpy-fc9909df38d775e9-check-assertions | code | ru | TheAlgorithms/Python | MIT | algpy-fc9909df38d775e9 | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/dodecahedron.py#dodecahedron_volume; adapted exercises | [
{
"role": "user",
"content": "Один из тестов противоречит фактическому поведению этой функции. Определи его и вычисли верный результат. В последней строке запиши букву и результат через двоеточие, например A: 42.\n```python\ndef compute(edge):\n if edge <= 0 or not isinstance(edge, int):\n raise V... | {
"type": "exact",
"value": "B: 957.88987",
"tests": []
} | train |
reason2-event_selection-028 | reasoning | ru | Original | CC0-1.0 | reason2-event_selection | workshop_event_selection | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Один фотограф хочет целиком снять как можно больше коротких показов. Начала и окончания: U 2–4; W 11–14; D 12–20; A 9–12; S 10–17; T 2–9. В момент окончания одного показа можно сразу начать следующий. Каково максимальное число показов?\nКратко обоснуй ответ и запиши сам ответ н... | {
"type": "number",
"value": "3",
"tests": []
} | train |
wiki-read-ru-c62908cd8dd11e131624 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-15574d583570bd703a82e5 | measurement | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--4932079627161113474-1 (Apache-2.0). Wikipedia contributors, “София” (https://ru.wikipedia.org/wiki/%D0%A1%D0%BE%D1%84%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Население — 1,43 млн человек (2015 год). Свыше 95 % всех жителей составляют этнические болгары. Расположена на западе Болгарии, на южной окраине Софийской котловины, у подножия горного массива Витоша. Климат умеренно-континентальный.\n\nКакое значение записано цифрами ... | {
"type": "exact",
"value": "95 %",
"tests": []
} | train |
reason2-ballot_points-056 | reasoning | ru | Original | CC0-1.0 | reason2-ballot_points | workshop_ballot_points | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Жюри оценивает макеты V, N, K, C. Баллы за места, начиная с первого: 3, 2, 1, 0. Бюллетени записаны как число одинаковых голосов × порядок от лучшего к худшему: 9 × K>N>V>C; 9 × K>V>N>C; 9 × N>C>V>K; 5 × C>K>N>V; 2 × C>K>V>N. У какого макета больше всего баллов?\nПокажи коротку... | {
"type": "exact",
"value": "K",
"tests": []
} | train |
reason2-fair_slots-040 | reasoning | ru | Original | CC0-1.0 | reason2-fair_slots | workshop_fair_slots | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Клуб делит часы студии по одному. Веса секций: F=36, G=22, Y=17, Z=18. Следующий час получает секция с наибольшим отношением «вес / (1 + число уже выделенных часов)». При равенстве выбирают первый код по алфавиту. Какой секции достанется час номер 8, если сначала ни у кого нет ... | {
"type": "exact",
"value": "F",
"tests": []
} | train |
gsm-train-2661 | math | en | GSM8K | MIT | gsm8k-e3fb8c2155a2b51d01e9 | word_problem_6_steps | OpenAI (2021), GSM8K, original train row 2661 | [
{
"role": "user",
"content": "Mr. Salazar had seven dozen oranges. He reserved 1/4 of it for his friend and was able to sell 3/7 of the remaining yesterday. Today, he saw four rotten oranges. How many oranges are left to be sold today?\nShow a short calculation. Put the final number alone on the last line."... | {
"type": "number",
"value": "32",
"tests": []
} | train |
reason2-rotate_grid-059 | reasoning | ru | Original | CC0-1.0 | reason2-rotate_grid | workshop_rotate_grid | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Исходные строки табло сверху вниз: V X F W / M G N E / K B Q R. Выполни циклические сдвиги по порядку: столбец 2 на 1 вниз; строка 2 на 2 вправо; столбец 2 на 2 вниз; строка 3 на 2 вправо. Какой символ теперь в строке 3, столбце 4? Нумерация с единицы.\nПокажи короткую проверку... | {
"type": "exact",
"value": "B",
"tests": []
} | train |
verified-code-window_highs-repair | code | en | Original | CC0-1.0 | verified-code-windows | verified_repair | Original algorithm and independent oracle, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Correct one line. window_highs([8, 1, 9, 0], 2) returns [8, 9]; expected [8, 9, 9]. For each consecutive window of k integers in xs, collect its maximum into a list, left to right. k is positive. Return [] if there is no full window.\n```python\ndef window_highs(xs, k):\n ou... | {
"type": "code",
"value": "",
"tests": [
"assert window_highs([], 1) == []",
"assert window_highs([3], 1) == [3]",
"assert window_highs([1, 0], 3) == []",
"assert window_highs([4, -2, 7, 7, 0], 3) == [7, 7, 7]",
"assert window_highs([2, 4, 1], 3) == [4]",
"assert window_highs([-4, -9, 5],... | train |
reason2-room_peak-012 | 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: F [19,27); J [10,13); W [6,10); Y [1,6); B [5,11); E [16,24); N [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 pu... | {
"type": "number",
"value": "3",
"tests": []
} | train |
algpy-b9086e220cd94ef8-implement | code | en | TheAlgorithms/Python | MIT | algpy-b9086e220cd94ef8 | implement | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, matrix/nth_fibonacci_using_matrix_exponentiation.py#nth_fibonacci_matrix; adapted exercises | [
{
"role": "user",
"content": "Implement this Python function. Return F(n) for 0 ≤ n ≤ 12, where F(0)=0, F(1)=1 and F(n)=F(n−1)+F(n−2).\nSignature: def nth_fibonacci_matrix(n):\nExamples:\n```python\nassert nth_fibonacci_matrix(0) == 0\nassert nth_fibonacci_matrix(1) == 1\n```"
},
{
"role": "assistan... | {
"type": "code",
"value": "",
"tests": [
"assert nth_fibonacci_matrix(2) == 1",
"assert nth_fibonacci_matrix(3) == 2",
"assert nth_fibonacci_matrix(4) == 3",
"assert nth_fibonacci_matrix(5) == 5",
"assert nth_fibonacci_matrix(6) == 8",
"assert nth_fibonacci_matrix(7) == 13",
"assert n... | train |
wiki-read-en-8c9832211e3ded3c6ef4 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-e9817ebb1950de845bf8c6 | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-352558913771539138-0 (Apache-2.0). Wikipedia contributors, “Robert Fuller (actor)” (https://en.wikipedia.org/wiki/Robert_Fuller_(actor)), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Robert Fuller (actor)\n\nRobert Fuller (born Leonard Leroy \"Buddy\" Lee, July 29, 1933), is an American horse rancher and retired actor. He began his career on television, guest-starring primarily on Western programs, while appearing in two movies: The Brain from Planet Arous ... | {
"type": "exact",
"value": "1933-07-29",
"tests": []
} | train |
algpy-44c629a1326fb892-change-impact | code | ru | TheAlgorithms/Python | MIT | algpy-44c629a1326fb892 | change-impact | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, graphs/travelling_salesman_problem.py#euclidean_distance; adapted exercises | [
{
"role": "user",
"content": "В показанном коде строку `return math.sqrt((point2[0] - point1[0]) ** 2 + (point2[1] - point1[1]) ** 2)` заменяют на `return math.sqrt((point2[-1] - point1[0]) ** 2 + (point2[1] - point1[1]) ** 2)`. Для какого из двух выражений изменится возвращаемое значение? Дай короткое объя... | {
"type": "exact",
"value": "B",
"tests": []
} | train |
wiki-read-en-072162a2e83af924a0c8 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-41ce813ef4206faa258ec1 | clause | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--7211426261615454679-0 (Apache-2.0). Wikipedia contributors, “List of countries by minimum driving age” (https://en.wikipedia.org/wiki/List_of_countries_by_minimum_driving_age), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized... | [
{
"role": "user",
"content": "List of countries by minimum driving age\n\nThe minimum driving age is the minimum age at which a person may obtain a driver's licence to lawfully drive a motor vehicle on public roads. That age is determined by and for each jurisdiction and is most commonly set at 18 years of ... | {
"type": "exact",
"value": "but learner drivers may be permitted on the road at an earlier age under supervision",
"tests": []
} | train |
wiki-read-en-fbe2c3cb45af8abd6459 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-24acd3b25f866c808ff809 | clause | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--8410342531718010146-2 (Apache-2.0). Wikipedia contributors, “Gendarmerie Intelligence Organization” (https://en.wikipedia.org/wiki/Gendarmerie_Intelligence_Organization), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New ... | [
{
"role": "user",
"content": "Gendarmerie Intelligence Organization\n\nThe unit was officially founded in 2005, but its unofficial history goes back to the 1980s. Its roots lie further back with the Counter-Guerrilla: JİTEM used Counter-Guerrilla methods and possibly equipment, and key figures had been invo... | {
"type": "exact",
"value": "but its unofficial history goes back to the 1980s",
"tests": []
} | train |
algpy-bebd07da33da0f71-repair | code | en | TheAlgorithms/Python | MIT | algpy-bebd07da33da0f71 | repair | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/special_numbers/trimorphic_number.py#is_trimorphic; adapted exercises | [
{
"role": "user",
"content": "Repair this Python function. For nonnegative n, return True when the decimal representation of n cubed ends with every digit of n.\nFor is_trimorphic(2) it should return False, but returns True. Keep the signature.\n```python\ndef is_trimorphic(number):\n if number < 0:\n ... | {
"type": "code",
"value": "",
"tests": [
"assert is_trimorphic(0) == True",
"assert is_trimorphic(1) == True",
"assert is_trimorphic(2) == False",
"assert is_trimorphic(3) == False",
"assert is_trimorphic(4) == True",
"assert is_trimorphic(7) == False",
"assert is_trimorphic(8) == Fal... | train |
algpy-c836573751fce48c-check-assertions | code | ru | TheAlgorithms/Python | MIT | algpy-c836573751fce48c | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, dynamic_programming/tribonacci.py#tribonacci; adapted exercises | [
{
"role": "user",
"content": "Один из тестов противоречит фактическому поведению этой функции. Определи его и вычисли верный результат. В последней строке запиши букву и результат через двоеточие, например A: 42.\n```python\ndef compute(num):\n dp = [0] * num\n dp[2] = 1\n for i in range(3, num):\n... | {
"type": "exact",
"value": "A: [0, 0, 1, 1, 2]",
"tests": []
} | train |
reason2-join_catalogs-021 | 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: B26=S4, B47=S7, B43=S7, B79=S1, B61=S4, B76=S1, B89=S7. Shelves map to rooms: S4=U, S7=Y, S1=P. Loans by book code: B89=11, B79=5, B26=15, B43=5, B61=13, B47=17, B76=11. Which room accounts for the most loans?\nExplain in a few sentences an... | {
"type": "exact",
"value": "Y",
"tests": []
} | train |
reason2-motif_growth-044 | reasoning | en | Original | CC0-1.0 | reason2-motif_growth | workshop_motif_growth | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "A pattern starts as BBL. During each pass, replace every current symbol simultaneously using F→F; B→B; L→FL. Newly produced symbols wait for the next pass. After 5 passes, how many F symbols are there?\nShow a short check. Give the final answer on a separate line."
},
{
... | {
"type": "number",
"value": "5",
"tests": []
} | train |
algpy-77cce2a19d2678f3-check-assertions | code | en | TheAlgorithms/Python | MIT | algpy-77cce2a19d2678f3 | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, linear_algebra/src/rank_of_matrix.py#rank_of_matrix; 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(matrix):\n rows = len(matrix)\n columns = len(matrix[0])\n rank = min(... | {
"type": "exact",
"value": "B: 4",
"tests": []
} | train |
wiki-read-ru-74e3279d27b7f6fb9290 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-5ad3f1dfb036c39e64bae7 | measurement | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--9142333183040370238-1 (Apache-2.0). Wikipedia contributors, “Арбат” (https://ru.wikipedia.org/wiki/%D0%90%D1%80%D0%B1%D0%B0%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Улица Арбат проходит от площади Арбатские ворота до Смоленской площади, лежит между улицей Пречистенкой и улицей Новый Арбат. Нумерация домов ведётся от площади Арбатские ворота. Протяжённость Арбата составляет 1,2 километра.\n\nКакое значение записано цифрами в киломе... | {
"type": "exact",
"value": "1,2 километра",
"tests": []
} | train |
wiki-read-ru-f4cbdb2bd148f50cdf83 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-f9b0e3a8f25f22d17bed5c | clause | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-5493249699072799802-4 (Apache-2.0). Wikipedia contributors, “Зюганов, Геннадий Андреевич” (https://ru.wikipedia.org/wiki/%D0%97%D1%8E%D0%B3%D0%B0%D0%BD%D0%BE%D0%B2%2C_%D0%93%D0%B5%D0%BD%D0%BD%D0%B0%D0%B4%D0%B8%D0%B9_%D0%90%D0%BD%D0%B4%D1%80%D0%B5%D0%B5%D0%B2%D0%B8%D... | [
{
"role": "user",
"content": "Зюганов, Геннадий Андреевич\n\nОкончив с серебряной медалью Мымринскую среднюю школу Хотынецкого района Орловской области в 1961 году, год проработал в ней учителем. В 1962 году поступил на физико-математический факультет Орловского педагогического института, который закончил с... | {
"type": "exact",
"value": "который закончил с отличием в 1969 году",
"tests": []
} | train |
reason2-motif_growth-043 | reasoning | ru | Original | CC0-1.0 | reason2-motif_growth | workshop_motif_growth | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Начальный орнамент DTTB. За проход каждый исходный символ одновременно заменяют по правилам D→DDB; B→TDD; T→B; новые символы в том же проходе не заменяются. Сколько символов T будет после 3 проходов?\nПокажи короткую проверку, а в конце на отдельной строке дай ответ."
},
{
... | {
"type": "number",
"value": "5",
"tests": []
} | train |
reason2-editing_history-012 | reasoning | ru | Original | CC0-1.0 | reason2-editing_history | workshop_editing_history | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "В редакторе поле сначала содержит A. Запись заменяет значение и стирает возможность повтора отменённых записей. «Отмена» возвращает предыдущее значение, «повтор» восстанавливает отменённую запись. Если действие недоступно, поле не меняется. Команды: записать D; записать Z; повт... | {
"type": "exact",
"value": "L",
"tests": []
} | train |
math-verified-tank_posts-011 | math | ru | Original | CC0-1.0 | math-verified-tank_posts | verified_math_tank_posts | Original bilingual mathematics exercises, CC0-1.0 | [
{
"role": "user",
"content": "Внутренние размеры дна прямоугольного бака — 17 × 20 см. В противоположных углах от дна вертикально стоят два сплошных прямоугольных столбика с основаниями 6 × 5 см и 3 × 4 см. Они выше конечного уровня воды и не перекрываются. Сколько литров воды нужно долить, чтобы уровень вы... | {
"type": "number",
"value": "149/125",
"tests": []
} | train |
verified-code-multiply_booked_units-repair | code | ru | Original | CC0-1.0 | verified-code-coverage | verified_repair | Original algorithm and independent oracle, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Исправь одну строку. multiply_booked_units([(-2, 1), (-1, 4), (2, 4)]) даёт 5, ожидается 4. Дан список полуоткрытых интервалов [a,b) с целыми концами, a ≤ b. Верни суммарную длину участков, покрытых хотя бы дважды. Пустые интервалы ничего не покрывают, для пустого списка ответ ... | {
"type": "code",
"value": "",
"tests": [
"assert multiply_booked_units([]) == 0",
"assert multiply_booked_units([(1, 1)]) == 0",
"assert multiply_booked_units([(-3, -1), (2, 5), (7, 8)]) == 0",
"assert multiply_booked_units([(0, 3)]) == 0",
"assert multiply_booked_units([(0, 2), (2, 4)]) == 0... | train |
wiki-read-en-4d1358e24de3ae04de32 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-25c8e0c97c6bd9e2b99887 | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--1265698312601875531-2 (Apache-2.0). Wikipedia contributors, “List of Game of Thrones episodes” (https://en.wikipedia.org/wiki/List_of_Game_of_Thrones_episodes), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading ex... | [
{
"role": "user",
"content": "List of Game of Thrones episodes\n\nAs of August27,2017, 73 episodes of Game of Throneshave aired, concluding theseventh season. The series will conclude with its eighth season, which will consist of six episodes and premiere on April 14, 2019. The show's episodes have won nume... | {
"type": "exact",
"value": "2019-04-14",
"tests": []
} | train |
wiki-read-ru-278f09d43668089bf2f3 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-049fed24cc05635b7eebc5 | definition | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--6913475700118300708-0 (Apache-2.0). Wikipedia contributors, “Литература Шотландии” (https://ru.wikipedia.org/wiki/%D0%9B%D0%B8%D1%82%D0%B5%D1%80%D0%B0%D1%82%D1%83%D1%80%D0%B0_%D0%A8%D0%BE%D1%82%D0%BB%D0%B0%D0%BD%D0%B4%D0%B8%D0%B8), snapshot 2019-02-01 (CC-BY-SA-3.0... | [
{
"role": "user",
"content": "Литература Шотландии\n\nЛитература Шотландии — литературные произведения, написанные в Шотландии и/или шотландскими авторами. Основными языками шотландской литературы являются гэльский, латынь и староанглийский (Средние века); английский и скотс (эпоха Возрождения — наше время)... | {
"type": "exact",
"value": "литературные произведения, написанные в Шотландии и/или шотландскими авторами",
"tests": []
} | train |
wiki-read-ru-b5b8c6f40154c97da798 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-50412eff0d79a3e159a9c4 | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-6210361315331539872-31 (Apache-2.0). Wikipedia contributors, “Медея” (https://ru.wikipedia.org/wiki/%D0%9C%D0%B5%D0%B4%D0%B5%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История о Медее, Ясоне и аргонавтах лучше всего известна по поздней литературной обработке Аполлония Родосского (III в. до н. э.), называемой «Argonautica». Но судя по идеям, наполняющим этот эпос и его достаточно архаическому словарю, он основывается на очень старых, ... | {
"type": "exact",
"value": "III в. до н. э.",
"tests": []
} | train |
reason2-line_breaks-064 | reasoning | ru | Original | CC0-1.0 | reason2-line_breaks | workshop_line_breaks | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Длины слов заголовка в символах, от первого слова к последнему: 5, 4, 9, 7, 6, 5, 2, 4, 3, 6, 7. Предельная длина строки — 18. Между соседними словами ровно один пробел. Менять порядок и переносить часть слова нельзя. Каково наименьшее число строк?\nПриведи ход решения в нескол... | {
"type": "number",
"value": "5",
"tests": []
} | train |
wiki-read-ru-e93a7380047e5fdbe580 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-b83e2c40451c79bc4a9bd6 | clause | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-3751612357721614863-0 (Apache-2.0). Wikipedia contributors, “WebMoney” (https://ru.wikipedia.org/wiki/WebMoney), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "WebMoney\n\nWebMoney, или WebMoney Transfer (произносится «Вэбма́ни»), — электронная система расчётов, основанная в 1998 году и принадлежащая WM Transfer Ltd. Юридически в системе происходит передача (трансфер) имущественных прав, учёт которых осуществляется при помощи специаль... | {
"type": "exact",
"value": "поскольку c юридической точки зрения титульные знаки не являются электронными деньгами",
"tests": []
} | train |
wiki-read-ru-5f34220b6b09f7e206c1 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-fc6a2676ec35a26458751a | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-7302393977726717815-1 (Apache-2.0). Wikipedia contributors, “Mass Effect 2” (https://ru.wikipedia.org/wiki/Mass_Effect_2), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Mass Effect 2\n\nЭто вторая часть серии Mass Effect, являющаяся непосредственным продолжением первой игры. Её действие происходит в галактике Млечный Путь в XXII веке, когда человечество, осваивая космос, сталкивается с враждебной инопланетной расой — Жнецами. Главным героем яв... | {
"type": "exact",
"value": "как людей, так и инопланетян",
"tests": []
} | train |
algpy-f119ed80d7bba915-trace | code | en | TheAlgorithms/Python | MIT | algpy-f119ed80d7bba915 | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/chebyshev_distance.py#chebyshev_distance; adapted exercises | [
{
"role": "user",
"content": "```python\ndef compute(point_a, point_b):\n if len(point_a) != len(point_b):\n raise ValueError('Both points must have the same dimension.')\n return max((abs(a - b) for a, b in zip(point_a, point_b)))\n```\nWhat does round(compute([1.0, 1.0, 9.0], [2.0, 2.0, -5.2]... | {
"type": "exact",
"value": "14.2",
"tests": []
} | train |
algpy-a6d935897ef9ec37-trace | code | en | TheAlgorithms/Python | MIT | algpy-a6d935897ef9ec37 | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/derangement.py#derangement; adapted exercises | [
{
"role": "user",
"content": "```python\ndef compute(objects):\n if objects < 0:\n raise ValueError('k must be a non-negative integer. Retry')\n if objects in (0, 1):\n return 0\n derange_1 = 1\n derange_2 = 0\n answer = 1\n for i in range(3, objects + 1):\n answer = (... | {
"type": "exact",
"value": "2",
"tests": []
} | train |
wiki-read-en-08ff72c584e6b87ab15e | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-08bca3e557170534ddad7b | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-2144754837526760373-1 (Apache-2.0). Wikipedia contributors, “Texas Instruments” (https://en.wikipedia.org/wiki/Texas_Instruments), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Texas Instruments\n\nTexas Instruments emerged in 1951 after a reorganization of Geophysical Service Incorporated, a company founded in 1930 that manufactured equipment for use in the seismic industry, as well as defense electronics. TI produced the world's first commercial sil... | {
"type": "exact",
"value": "MCU",
"tests": []
} | train |
reason2-pareto-009 | reasoning | ru | Original | CC0-1.0 | reason2-pareto | workshop_pareto | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Для печати плаката доступны заказы (дни, цена): L (10, 29); G (24, 20); N (14, 28); R (3, 34); C (4, 62); K (27, 21); T (19, 40). Отбрось любой вариант, для которого другой вариант одновременно дешевле и быстрее. Запиши коды оставшихся в алфавитном порядке через пробел.\nПривед... | {
"type": "exact",
"value": "G L N R",
"tests": []
} | train |
algpy-0b49b904453dabf9-check-assertions | code | en | TheAlgorithms/Python | MIT | algpy-0b49b904453dabf9 | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/special_numbers/hamming_numbers.py#hamming; adapted exercises | [
{
"role": "user",
"content": "Exactly one test misstates what this implementation returns. Identify it and compute the correct result. End with the letter and the corrected Python repr, for example A: 42.\n```python\ndef compute(n_element):\n n_element = int(n_element)\n if n_element < 1:\n my_... | {
"type": "exact",
"value": "B: [1, 2, 3, 4, 5]",
"tests": []
} | train |
wiki-read-en-98201ddd51ea4d955361 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-f9f33abfe6c56027c4e020 | clause | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-2326124970478352034-1 (Apache-2.0). Wikipedia contributors, “Telenovela” (https://en.wikipedia.org/wiki/Telenovela), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Telenovela\n\nCommonly described using the American colloquialism Spanish soap opera, many telenovelas share some stylistic and thematic similarities to the soap opera familiar to the English-speaking world. The significant difference is their series run length; telenovelas tel... | {
"type": "exact",
"value": "but still much longer than a miniseries",
"tests": []
} | train |
math-verified-tickets-009 | math | ru | Original | CC0-1.0 | math-verified-tickets | verified_math_tickets | Original bilingual mathematics exercises, CC0-1.0 | [
{
"role": "user",
"content": "За групповой заказ на 58 билетов заплатили 941 руб., включая один сбор 11 руб. за весь заказ. Обычный билет стоил 35 руб., льготный — 15 руб. Сколько обычных билетов купили?\nЗапиши точное число в последней строке; нецелый ответ дай несократимой дробью."
},
{
"role": "a... | {
"type": "number",
"value": "3",
"tests": []
} | train |
wiki-read-ru-5a5bee7dea71154b81db | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-bcd1a74d0df40471ead412 | definition | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-5882158520305461922-0 (Apache-2.0). Wikipedia contributors, “Би-2” (https://ru.wikipedia.org/wiki/%D0%91%D0%B8-2), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Би-2\n\nБи-2 — российская альтернативная рок-группа белорусского происхождения, образованная в 1988 году в Бобруйске. Основатели и бессменные участники — Шура Би-2 (соло-гитара, вокал) и Лёва Би-2 (ведущий вокал, гитара, перкуссия). В состав команды также входят: Андрей Звонков... | {
"type": "exact",
"value": "российская альтернативная рок-группа белорусского происхождения, образованная в 1988 году в Бобруйске",
"tests": []
} | train |
math-verified-conditional_draw-009 | math | ru | Original | CC0-1.0 | math-verified-conditional_draw | verified_math_conditional_draw | Original bilingual mathematics exercises, CC0-1.0 | [
{
"role": "user",
"content": "В мешке красных жетонов — 9, синих — 6, жёлтых — 2. Два жетона выбирают равновероятно без возвращения. Известно, что среди них есть хотя бы один красный. Какова при этом вероятность, что выбраны ровно один красный и один синий жетон?\nЗапиши точное число в последней строке; нец... | {
"type": "number",
"value": "1/2",
"tests": []
} | train |
algpy-37977936e7118ddc-implement | code | en | TheAlgorithms/Python | MIT | algpy-37977936e7118ddc | implement | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, searches/binary_search.py#bisect_left; adapted exercises | [
{
"role": "user",
"content": "Implement this Python function. Given a sorted integer list and a target, return the first index at which the target can be inserted while keeping order, before any equal values. Calls use the entire list with the default lo and hi bounds.\nSignature: def bisect_left(sorted_col... | {
"type": "code",
"value": "",
"tests": [
"assert bisect_left([1], 1) == 0",
"assert bisect_left([1, 1, 2, 5], 1) == 0",
"assert bisect_left([0, 2, 4, 4], 7) == 4",
"assert bisect_left([1, 4, 4], 0) == 0"
]
} | train |
algpy-a512c3f69a6b4cee-check-assertions | code | ru | TheAlgorithms/Python | MIT | algpy-a512c3f69a6b4cee | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, bit_manipulation/binary_shifts.py#logical_left_shift; adapted exercises | [
{
"role": "user",
"content": "Один из тестов противоречит фактическому поведению этой функции. Определи его и вычисли верный результат. В последней строке запиши букву и результат через двоеточие, например A: 42.\n```python\ndef compute(number, shift_amount):\n if number < 0 or shift_amount < 0:\n ... | {
"type": "exact",
"value": "A: '0b00'",
"tests": []
} | train |
math-verified-spaced_seats-008 | 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 до 15. Место 6 закрыто. Сколькими способами можно выбрать набор из 2 свободных мест так, чтобы никакие два выбранных номера не были соседними? Учитывается только набор номеров.\nЗапиши точное число в последней строке; нецелый ответ дай несократим... | {
"type": "number",
"value": "79",
"tests": []
} | train |
wiki-read-en-7aae425270d6c5e5050a | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-79efd3f4b1afcfa40abb71 | measurement | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-5086179701716159166-1 (Apache-2.0). Wikipedia contributors, “Demographics of Finland” (https://en.wikipedia.org/wiki/Demographics_of_Finland), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Demographics of Finland\n\nFinland numbers some 5.5 million people and has an average population density of 17 inhabitants per square kilometre. There has not been any remarkable growth in the number of population since the inception of modern Finland. This makes it the third m... | {
"type": "exact",
"value": "85%",
"tests": []
} | train |
verified-code-exact_hops-repair | code | ru | Original | CC0-1.0 | verified-code-hops | verified_repair | Original algorithm and independent oracle, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Исправь одну строку. exact_hops(4, [(0, 2), (2, 1), (1, 3)], 2) даёт [2], ожидается [1]. Вершины ориентированного графа пронумерованы от 0 до n−1, n ≥ 1. В списке edges указаны пары (откуда, куда), k ≥ 0. Верни по возрастанию только достижимые из 0 вершины, кратчайшее расстояни... | {
"type": "code",
"value": "",
"tests": [
"assert exact_hops(1, [], 0) == [0]",
"assert exact_hops(4, [(0, 1), (1, 2)], 1) == [1]",
"assert exact_hops(5, [(1, 0), (0, 2), (2, 3), (3, 2)], 2) == [3]",
"assert exact_hops(6, [(0, 3), (0, 1), (1, 2), (2, 3), (3, 4)], 1) == [1, 3]",
"assert exact_h... | train |
reason2-join_catalogs-054 | reasoning | ru | Original | CC0-1.0 | reason2-join_catalogs | workshop_join_catalogs | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Каталог связывает код книги с полкой: B69=S5, B11=S1, B25=S5, B46=S7, B70=S1, B29=S1, B78=S1, B54=S7. Соответствие полок и залов: S7=E, S5=G, S1=K. Число выданных экземпляров по коду книги: B11=16, B25=4, B54=4, B29=14, B78=5, B70=14, B46=8, B69=15. В каком зале больше всего вы... | {
"type": "exact",
"value": "K",
"tests": []
} | train |
wiki-read-en-01afd0a1df8eb4fe96ff | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-a25264a072ba3cf197cc5a | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-57312987839379499-0 (Apache-2.0). Wikipedia contributors, “Perfect season” (https://en.wikipedia.org/wiki/Perfect_season), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Perfect season\n\nA perfect season is a sports season including any requisite playoff portion, in which a team remains and finishes undefeated and untied. The feat is extremely rare at the professional level of any team sport, and has occurred more commonly at the collegiate an... | {
"type": "exact",
"value": "known by other names outside the United States of America",
"tests": []
} | train |
reason2-editing_history-018 | reasoning | ru | Original | CC0-1.0 | reason2-editing_history | workshop_editing_history | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "В редакторе поле сначала содержит J. Запись заменяет значение и стирает возможность повтора отменённых записей. «Отмена» возвращает предыдущее значение, «повтор» восстанавливает отменённую запись. Если действие недоступно, поле не меняется. Команды: записать U; отмена; записать... | {
"type": "exact",
"value": "X",
"tests": []
} | train |
wiki-read-ru-ed88bf0a87b1f9786e2c | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-8bb90e3797f759bdda8e2e | definition | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--5567751276755095927-0 (Apache-2.0). Wikipedia contributors, “Лампа накаливания” (https://ru.wikipedia.org/wiki/%D0%9B%D0%B0%D0%BC%D0%BF%D0%B0_%D0%BD%D0%B0%D0%BA%D0%B0%D0%BB%D0%B8%D0%B2%D0%B0%D0%BD%D0%B8%D1%8F), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespac... | [
{
"role": "user",
"content": "Лампа накаливания\n\nЛа́мпа нака́ливания — искусственный источник света, в котором свет испускает тело накала, нагреваемое электрическим током до высокой температуры. В качестве тела накала чаще всего используется спираль из тугоплавкого металла (чаще всего — вольфрама) либо уг... | {
"type": "exact",
"value": "искусственный источник света, в котором свет испускает тело накала, нагреваемое электрическим током до высокой температуры",
"tests": []
} | train |
wiki-read-ru-6e71e8ca8745d5cbc96f | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-f47f81c6bfa5b36649a758 | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--8652420677546105404-1 (Apache-2.0). Wikipedia contributors, “Летняя Универсиада 2013” (https://ru.wikipedia.org/wiki/%D0%9B%D0%B5%D1%82%D0%BD%D1%8F%D1%8F_%D0%A3%D0%BD%D0%B8%D0%B2%D0%B5%D1%80%D1%81%D0%B8%D0%B0%D0%B4%D0%B0_2013), snapshot 2019-02-01 (CC-BY-SA-3.0). E... | [
{
"role": "user",
"content": "Летняя Универсиада 2013\n\nНа са́мой масштабной летней Универсиаде—2013 разыгран 351 комплект медалей по 27 видам спорта среди 11 759 представителей 162 стран, что является рекордом всех студенческих спортивных игр. Подавляюще наибольшее число завоёванных медалей (155 золотых, ... | {
"type": "exact",
"value": "155 золотых, 75 серебряных и 62 бронзовых медалей",
"tests": []
} | train |
algpy-dd92568a7bfe96d4-trace | code | ru | TheAlgorithms/Python | MIT | algpy-dd92568a7bfe96d4 | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, dynamic_programming/smith_waterman.py#smith_waterman; adapted exercises | [
{
"role": "user",
"content": "```python\ndef score_function(source_char, target_char, match=1, mismatch=-1, gap=-2):\n if '-' in (source_char, target_char):\n return gap\n return match if source_char == target_char else mismatch\n\ndef compute(query, subject, match=1, mismatch=-1, gap=-2):\n ... | {
"type": "exact",
"value": "[[0], [0], [0], [0], [0]]",
"tests": []
} | train |
wiki-read-ru-df040269c045053c5964 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-8d75891d717833017ee40b | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--2278228975375559825-6 (Apache-2.0). Wikipedia contributors, “Павленский, Пётр Андреевич” (https://ru.wikipedia.org/wiki/%D0%9F%D0%B0%D0%B2%D0%BB%D0%B5%D0%BD%D1%81%D0%BA%D0%B8%D0%B9%2C_%D0%9F%D1%91%D1%82%D1%80_%D0%90%D0%BD%D0%B4%D1%80%D0%B5%D0%B5%D0%B2%D0%B8%D1%87),... | [
{
"role": "user",
"content": "Павленский, Пётр Андреевич\n\nСвою первую акцию Пётр Павленский провёл 23 июля 2012 года в поддержку участниц панк-группы Pussy Riot, судебный процесс над которыми в это время проходил в Москве. Зашив себе рот суровой ниткой, Павленский в течение полутора часов стоял в одиночно... | {
"type": "exact",
"value": "2012-07-23",
"tests": []
} | train |
wiki-read-ru-e407fc65558c120ac154 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-c9af477d19b132dbcda4eb | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-3163314376666593613-0 (Apache-2.0). Wikipedia contributors, “Valve” (https://ru.wikipedia.org/wiki/Valve), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Valve\n\nValve Corporation (ранее Valve Software) — американская компания-разработчик компьютерных игр, создавшая серии компьютерных игр Half-Life, Portal, Counter-Strike, Team Fortress, Day of Defeat, Left 4 Dead, Ricochet, Alien Swarm, Dota 2 и Artifact; игровые движки GoldSr... | {
"type": "exact",
"value": "ранее Valve Software",
"tests": []
} | train |
verified-code-cancel_ab-trace | code | en | Original | CC0-1.0 | verified-code-cancellation | verified_trace | Original algorithm and independent oracle, release 2; CC0-1.0. | [
{
"role": "user",
"content": "```python\ndef cancel_ab(text):\n out = []\n for c in text:\n if out and (out[-1] == 'a' and c == 'b'):\n out.pop()\n else:\n out.append(c)\n return ''.join(out)\n```\nWhat does cancel_ab('ccbbAa') return? Give only the Python repr o... | {
"type": "exact",
"value": "'ccbbAa'",
"tests": []
} | train |
wiki-read-ru-9d39b413c2282abb4d66 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-a7c5a3b942d78cd88df539 | measurement | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-6154927945396281461-3 (Apache-2.0). Wikipedia contributors, “ЗАЗ-965” (https://ru.wikipedia.org/wiki/%D0%97%D0%90%D0%97-965), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "ЗАЗ-965\n\nВ соответствии с этим в перспективный типаж легковых автомобилей, запланированных для освоения в период 1959—1965 годов, органами государственного экономического планирования был внесён тип четырёхместного микролитражного автомобиля «сухой» массой около 600 кг и с дв... | {
"type": "exact",
"value": "600 кг",
"tests": []
} | train |
reason2-room_peak-048 | 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: F [17,25); Z [15,19); J [17,20); M [13,16); G [2,5). A room is free at the right endpoint, and all rooms are interchangeable. What is the minimum room count?\nShow a short check. Give the final answer on a separate... | {
"type": "number",
"value": "3",
"tests": []
} | train |
reason2-ballot_points-047 | reasoning | ru | Original | CC0-1.0 | reason2-ballot_points | workshop_ballot_points | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Жюри оценивает макеты C, H, L. Баллы за места, начиная с первого: 2, 1, 0. Бюллетени записаны как число одинаковых голосов × порядок от лучшего к худшему: 7 × L>C>H; 4 × C>L>H; 4 × L>H>C; 2 × H>L>C; 4 × C>H>L. У какого макета больше всего баллов?\nКратко обоснуй ответ и запиши ... | {
"type": "exact",
"value": "L",
"tests": []
} | train |
reason2-bottleneck-049 | reasoning | ru | Original | CC0-1.0 | reason2-bottleneck | workshop_bottleneck | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Двусторонние конвейеры допускают коробки шириной не более указанной (см): N–Z=7; D–Z=16; U–D=13; R–N=13; U–R=7; D–R=15. Нужно перевезти коробку из U в Z, не поворачивая её. Какова наибольшая допустимая ширина?\nПриведи ход решения в нескольких фразах. На последней строке оставь... | {
"type": "number",
"value": "13",
"tests": []
} | train |
algpy-38d2606fe83d35b9-change-impact | code | ru | TheAlgorithms/Python | MIT | algpy-38d2606fe83d35b9 | change-impact | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/special_numbers/ugly_numbers.py#ugly_numbers; adapted exercises | [
{
"role": "user",
"content": "В показанном коде строку `next_num = min(next_2, next_3, next_5)` заменяют на `next_num = max(next_2, next_3, next_5)`. Для какого из двух выражений изменится возвращаемое значение? Дай короткое объяснение и запиши букву в последней строке.\n```python\ndef compute(n):\n ugly... | {
"type": "exact",
"value": "B",
"tests": []
} | train |
wiki-read-en-911515bc6bb186e3117f | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-9e2988133774cec61ffc55 | definition | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--2582986759177567682-0 (Apache-2.0). Wikipedia contributors, “GMT Games” (https://en.wikipedia.org/wiki/GMT_Games), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "GMT Games\n\nGMT Games is a California-based wargaming publisher founded in 1990. The current management and creative team includes Tony Curtis, Rodger MacGowan, Mark Simonitch, and Andy Lewis. The company has become well known for graphically attractive games that range from \... | {
"type": "exact",
"value": "a California-based wargaming publisher founded in 1990",
"tests": []
} | train |
wiki-read-ru-e6e787fc93701ee04c4d | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-0941d35c14dbf51659a90e | definition | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--407118100874090211-0 (Apache-2.0). Wikipedia contributors, “Гиперион (дерево)” (https://ru.wikipedia.org/wiki/%D0%93%D0%B8%D0%BF%D0%B5%D1%80%D0%B8%D0%BE%D0%BD_(%D0%B4%D0%B5%D1%80%D0%B5%D0%B2%D0%BE)), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and refer... | [
{
"role": "user",
"content": "Гиперион (дерево)\n\nГиперион — экземпляр , растущий в национальном парке «Редвуд» в северной Калифорнии, США. По состоянию на 2015 год, является самым высоким живым деревом на Земле (высота — 115.61).\n\nКак в начале отрывка определяется «Гиперион»? Выпиши всю часть первого пр... | {
"type": "exact",
"value": "экземпляр , растущий в национальном парке «Редвуд» в северной Калифорнии, США",
"tests": []
} | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.