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-8ac88bc57fcad756-trace | code | ru | TheAlgorithms/Python | MIT | algpy-8ac88bc57fcad756 | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/area.py#area_triangle_three_sides; adapted exercises | [
{
"role": "user",
"content": "```python\nfrom math import sqrt\n\ndef compute(side1, side2, side3):\n if side1 < 0 or side2 < 0 or side3 < 0:\n raise ValueError('compute() only accepts non-negative values')\n if side1 + side2 < side3 or side1 + side3 < side2 or side2 + side3 < side1:\n r... | {
"type": "exact",
"value": "0.0",
"tests": []
} | train |
algpy-7ba468630c595833-implement | code | en | TheAlgorithms/Python | MIT | algpy-7ba468630c595833 | implement | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/special_numbers/evil_number.py#is_evil_number; adapted exercises | [
{
"role": "user",
"content": "Implement this Python function. For nonnegative n, return True if its binary representation contains an even number of ones.\nSignature: def is_evil_number(number):\nExamples:\n```python\nassert is_evil_number(0) == True\nassert is_evil_number(1) == False\n```"
},
{
"ro... | {
"type": "code",
"value": "",
"tests": [
"assert is_evil_number(2) == False",
"assert is_evil_number(3) == True",
"assert is_evil_number(4) == False",
"assert is_evil_number(7) == False",
"assert is_evil_number(8) == False",
"assert is_evil_number(15) == True",
"assert is_evil_number(... | train |
wiki-read-ru-121a733fed7b07e682b9 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-7e515d44f0da221f11699d | definition | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-7070710785867816905-0 (Apache-2.0). Wikipedia contributors, “Королевство вестготов” (https://ru.wikipedia.org/wiki/%D0%9A%D0%BE%D1%80%D0%BE%D0%BB%D0%B5%D0%B2%D1%81%D1%82%D0%B2%D0%BE_%D0%B2%D0%B5%D1%81%D1%82%D0%B3%D0%BE%D1%82%D0%BE%D0%B2), snapshot 2019-02-01 (CC-BY-... | [
{
"role": "user",
"content": "Королевство вестготов\n\nКороле́вство вестго́тов — раннефеодальное государственное образование, исторически первое из так называемых варварских королевств, сложившихся на территории Западной Римской империи в условиях её распада в V веке. Возникло в 418 году на территории римск... | {
"type": "exact",
"value": "раннефеодальное государственное образование, исторически первое из так называемых варварских королевств, сложившихся на территории Западной Римской империи в условиях её распада в V веке",
"tests": []
} | train |
wiki-read-en-4c9ccad0cb3199953ef0 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-b416a9d11be24cf12a5a64 | chronology | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-7823223898598197765-0 (Apache-2.0). Wikipedia contributors, “Activity theory (aging)” (https://en.wikipedia.org/wiki/Activity_theory_(aging)), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Activity theory (aging)\n\nThe activity theory, also known as the implicit theory of aging, normal theory of aging, and lay theory of aging, proposes that successful ageing occurs when older adults stay active and maintain social interactions. It takes the view that the aging p... | {
"type": "exact",
"value": "1961, 1964",
"tests": []
} | train |
reason2-balanced_load-039 | reasoning | en | Original | CC0-1.0 | reason2-balanced_load | workshop_balanced_load | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Two carts must carry all crates, with each crate kept intact. Crate weights: Y=28, B=68, W=88, R=64, J=16. What is the smallest possible difference between the two cart loads?\nExplain in a few sentences and use the final line for the answer alone."
},
{
"role": "assist... | {
"type": "number",
"value": "0",
"tests": []
} | train |
wiki-read-en-d931519a85f448effe79 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-ac6d052cc42a0ed4d0f799 | definition | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--3019329719080803046-1 (Apache-2.0). Wikipedia contributors, “Novella” (https://en.wikipedia.org/wiki/Novella), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Novella\n\nA novella is a text of written, fictional, narrative prose normally longer than a short story but shorter than a novel, somewhere between 17,500 and 40,000 words.\n\nHow does the first sentence define “A novella”? Copy the full predicate after the linking verb, witho... | {
"type": "exact",
"value": "a text of written, fictional, narrative prose normally longer than a short story but shorter than a novel, somewhere between 17,500 and 40,000 words",
"tests": []
} | train |
math-verified-break_even-011 | math | en | Original | CC0-1.0 | math-verified-break_even | verified_math_break_even | Original bilingual mathematics exercises, CC0-1.0 | [
{
"role": "user",
"content": "Print plan A charges a monthly fee of $14 plus $6 per page. Plan B costs $90 per month, includes the first 5 pages, and charges $2 per additional page. What is the smallest whole number of pages in a month at which B is strictly cheaper?\nGive the exact number on the last line;... | {
"type": "number",
"value": "17",
"tests": []
} | train |
wiki-read-ru-cdc9f6d0f609c01b482c | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-7f6d82061da0a30a879cdf | definition | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--4920097977762879652-0 (Apache-2.0). Wikipedia contributors, “Космические рейнджеры” (https://ru.wikipedia.org/wiki/%D0%9A%D0%BE%D1%81%D0%BC%D0%B8%D1%87%D0%B5%D1%81%D0%BA%D0%B8%D0%B5_%D1%80%D0%B5%D0%B9%D0%BD%D0%B4%D0%B6%D0%B5%D1%80%D1%8B), snapshot 2019-02-01 (CC-BY... | [
{
"role": "user",
"content": "Космические рейнджеры\n\nКосми́ческие ре́йнджеры — компьютерная игра в научно-фантастическом стиле, разработанная российской студией Elemental Games. Издана компанией 1С в 2002 году. На Западе игра была выпущена под названием Space Rangers. Игра принадлежит к жанру «эпических и... | {
"type": "exact",
"value": "компьютерная игра в научно-фантастическом стиле, разработанная российской студией Elemental Games",
"tests": []
} | train |
wiki-read-ru-ccc3f65459134d7063da | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-67d5c72968b7e2d8aa4136 | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-845285876198841145-0 (Apache-2.0). Wikipedia contributors, “Леванов, Вадим Николаевич” (https://ru.wikipedia.org/wiki/%D0%9B%D0%B5%D0%B2%D0%B0%D0%BD%D0%BE%D0%B2%2C_%D0%92%D0%B0%D0%B4%D0%B8%D0%BC_%D0%9D%D0%B8%D0%BA%D0%BE%D0%BB%D0%B0%D0%B5%D0%B2%D0%B8%D1%87), snapshot... | [
{
"role": "user",
"content": "Леванов, Вадим Николаевич\n\nВади́м Никола́евич Лева́нов (13 февраля 1967, Тольятти, СССР — 25 декабря 2011, Тольятти, Россия) — российский прозаик, драматург, режиссёр, педагог и культуртрегер. Один из видных представителей «Новой драмы», автор более сорока пьес, поставленных ... | {
"type": "exact",
"value": "13 февраля 1967, Тольятти, СССР — 25 декабря 2011, Тольятти, Россия",
"tests": []
} | train |
wiki-read-en-2fefd5b4301b6e5e1930 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-d640fecf8d14350c76337f | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-889682695045550410-67 (Apache-2.0). Wikipedia contributors, “Peyton Place (TV series)” (https://en.wikipedia.org/wiki/Peyton_Place_(TV_series)), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Peyton Place (TV series)\n\nConstance MacKenzie (Dorothy Malone, 1964–1968, episodes 1–435; 440 Lola Albright briefly played the role in Malone's absence) Allison's mother and owner of a local book and gift shop. Although Constance initially has a good relationship with Allison... | {
"type": "exact",
"value": "Dorothy Malone, 1964–1968, episodes 1–435; 440 Lola Albright briefly played the role in Malone's absence",
"tests": []
} | train |
reason2-minimum_cover-036 | reasoning | en | Original | CC0-1.0 | reason2-minimum_cover | workshop_minimum_cover | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "The exhibition needs all sample types 3, 4, 5, 7, 8. Available kits and the types they contain: H=4/8; F=4/7/8; S=5; E=3; J=4; G=7; N=8. Duplicate samples are allowed. What is the fewest kits that cover every type?\nExplain in a few sentences and use the final line for the answ... | {
"type": "number",
"value": "3",
"tests": []
} | train |
wiki-read-ru-404d0c30b98f54c9fc5b | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-f7fb7892c6243a743085ca | colon_explanation | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--3777662353523023299-69 (Apache-2.0). Wikipedia contributors, “Белгород” (https://ru.wikipedia.org/wiki/%D0%91%D0%B5%D0%BB%D0%B3%D0%BE%D1%80%D0%BE%D0%B4), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Белгород\n\nБелгородская агломерация кроме областного центра включает в себя населённые пункты ещё 5 районов: Белгородского, Корочанского, Шебекинского, Яковлевского, Борисовского. В том числе посёлки Северный, Разумное, Дубовое, Стрелецкое, Майский, Таврово и другие близлежащи... | {
"type": "exact",
"value": "Белгородского, Корочанского, Шебекинского, Яковлевского, Борисовского",
"tests": []
} | train |
reason2-assembly_units-059 | reasoning | ru | Original | CC0-1.0 | reason2-assembly_units | workshop_assembly_units | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Для сборки используются спецификации (правая часть — состав одной единицы): J = 1×D + 3×X; D = 5×T + 4×L; X = 1×T + 3×L. Заказ включает изделия J в количестве 3 и отдельно узлы D в количестве 4. Сколько отдельных деталей T потребуется?\nКратко обоснуй ответ и запиши сам ответ н... | {
"type": "number",
"value": "44",
"tests": []
} | train |
reason2-order_count-010 | 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 X, G, K, J, A, U must be brought in one at a time, each exactly once. X→Y requires X before Y. Given K→J, X→J, G→U, J→U, X→U, G→K, J→A, X→A, how many complete orders are possible?\nExplain in a few sentences and use the final line for the answer alone."
},
{
... | {
"type": "number",
"value": "6",
"tests": []
} | train |
wiki-read-en-9dbcdf96493d18f3f542 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-d5947c88fd9d78d422dc07 | definition | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--8192988145910246217-0 (Apache-2.0). Wikipedia contributors, “Hanesbrands” (https://en.wikipedia.org/wiki/Hanesbrands), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Hanesbrands\n\nHanesbrands Inc. is an American clothing company based in Winston-Salem, North Carolina. It employs 65,300 people internationally. On September 6, 2006, the company was spun off by the Sara Lee Corporation.\n\nHow does the first sentence define “Hanesbrands Inc.”... | {
"type": "exact",
"value": "an American clothing company based in Winston-Salem, North Carolina",
"tests": []
} | train |
math-verified-three_clubs-017 | math | ru | Original | CC0-1.0 | math-verified-three_clubs | verified_math_three_clubs | Original bilingual mathematics exercises, CC0-1.0 | [
{
"role": "user",
"content": "Численность трёх учебных групп: A — 40, B — 46, C — 33. На A и B записаны 13, на B и C — 20, на A и C — 13. Число участников всех трёх групп — 2; они включены в каждое парное пересечение. Сколько человек записалось ровно на одно занятие?\nЗапиши точное число в последней строке;... | {
"type": "number",
"value": "33",
"tests": []
} | train |
wiki-read-en-710c83897fdc12693199 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-fa48e269f6686786c48e0f | chronology | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--6869731641222977481-0 (Apache-2.0). Wikipedia contributors, “List of tallest buildings in Dallas” (https://en.wikipedia.org/wiki/List_of_tallest_buildings_in_Dallas), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New read... | [
{
"role": "user",
"content": "List of tallest buildings in Dallas\n\nDallas, the third largest city in the U.S. state of Texas, is the site of 36 completed high-rises over 350 feet (107m), 19 of which stand taller than 492 feet (150m). The tallest building in the city is the Bank of America Plaza, which ris... | {
"type": "exact",
"value": "1974, 1985, 1987",
"tests": []
} | train |
reason2-bottleneck-003 | reasoning | ru | Original | CC0-1.0 | reason2-bottleneck | workshop_bottleneck | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Двусторонние конвейеры допускают коробки шириной не более указанной (см): A–W=4; S–E=13; W–S=8; P–A=3; P–W=14; A–S=15; E–U=13; U–C=12. Нужно перевезти коробку из P в C, не поворачивая её. Какова наибольшая допустимая ширина?\nПокажи короткую проверку, а в конце на отдельной стр... | {
"type": "number",
"value": "8",
"tests": []
} | train |
algpy-794fb22c5cc9ff0d-trace | code | en | TheAlgorithms/Python | MIT | algpy-794fb22c5cc9ff0d | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, strings/reverse_letters.py#reverse_letters; adapted exercises | [
{
"role": "user",
"content": "```python\ndef compute(sentence, length=0):\n return ' '.join((word[::-1] if len(word) > length else word for word in sentence.split()))\n```\nWhat does compute('nohtyP is nohtyP', 2) return? Give the Python repr of the value."
},
{
"role": "assistant",
"content"... | {
"type": "exact",
"value": "'Python is Python'",
"tests": []
} | train |
reason2-balanced_load-014 | reasoning | ru | Original | CC0-1.0 | reason2-balanced_load | workshop_balanced_load | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Две тележки должны увезти все ящики без деления содержимого. Масса каждого ящика: S=24, R=84, T=88, J=96, Y=100. Какой наименьшей разницы масс между тележками можно добиться?\nПриведи ход решения в нескольких фразах. На последней строке оставь только ответ."
},
{
"role"... | {
"type": "number",
"value": "0",
"tests": []
} | train |
verified-code-coin_combinations-trace | code | ru | Original | CC0-1.0 | verified-code-coin_tables | verified_trace | Original algorithm and independent oracle, release 2; CC0-1.0. | [
{
"role": "user",
"content": "```python\ndef coin_combinations(coins, target):\n dp = [1] + [0] * target\n for c in coins:\n for s in range(c, target + 1):\n dp[s] += dp[s-c]\n return dp[-1]\n```\nЧто вернёт вызов coin_combinations([3, 5], 9)? Запиши только repr результата Python.... | {
"type": "exact",
"value": "1",
"tests": []
} | train |
reason2-room_peak-003 | reasoning | ru | Original | CC0-1.0 | reason2-room_peak | workshop_room_peak | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Репетиции занимают отдельные комнаты в такие минуты: Y [7,14); N [5,11); V [5,9); C [5,13); X [5,10); K [8,13). Конец интервала уже свободен; одна комната подходит любой группе. Сколько комнат как минимум требуется одновременно?\nПриведи ход решения в нескольких фразах. На посл... | {
"type": "number",
"value": "6",
"tests": []
} | train |
wiki-read-ru-4ff41d63b4f4ef8ee029 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-2e55a0904776e3f87b0f22 | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-2881556033325934369-1 (Apache-2.0). Wikipedia contributors, “День Воли” (https://ru.wikipedia.org/wiki/%D0%94%D0%B5%D0%BD%D1%8C_%D0%92%D0%BE%D0%BB%D0%B8), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "День Воли\n\nДень Воли отмечается в Беларуси ежегодно 25 марта. Исключениями стали акции 1996 и 2002 годов, проведенные 24 марта. Этот праздник посвящён принятию 3-й уставной грамоты Рады БНР, объявлявшей независимой Белорусскую Народную Республику (25 марта 1918 года).\n\nНайд... | {
"type": "exact",
"value": "1918-03-25",
"tests": []
} | train |
verified-code-connected_pairs-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": "Исправь одну строку. connected_pairs(3, [(1, 0)]) даёт 0, ожидается 1. Неориентированный граф имеет вершины 0..n-1, n ≥ 0. В edges заданы пары вершин, возможны петли и дубликаты. Найди компоненты связности и верни число неупорядоченных пар РАЗНЫХ вершин, принадлежащих одной ком... | {
"type": "code",
"value": "",
"tests": [
"assert connected_pairs(0, []) == 0",
"assert connected_pairs(1, []) == 0",
"assert connected_pairs(5, [(1, 0), (3, 2), (4, 3)]) == 4",
"assert connected_pairs(6, [(0, 1), (3, 1), (3, 4), (2, 2)]) == 6",
"assert connected_pairs(4, [(1, 0), (1, 0), (2, ... | train |
wiki-read-ru-e7b3b961c6b08e11a693 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-3539cd4cc46e8b7d996f3b | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--3390459227255901314-12 (Apache-2.0). Wikipedia contributors, “Генрих I Птицелов” (https://ru.wikipedia.org/wiki/%D0%93%D0%B5%D0%BD%D1%80%D0%B8%D1%85_I_%D0%9F%D1%82%D0%B8%D1%86%D0%B5%D0%BB%D0%BE%D0%B2), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and ref... | [
{
"role": "user",
"content": "Генрих I Птицелов\n\nСуществует рассказ, согласно которому гонцы с известием об избрании Генриха королём застали его, когда он занимался ловлей птиц близ города Кведлинбург. Хотя достоверность данного рассказа подвергается историками сомнению (у Видукинда отсутствуют такие подр... | {
"type": "exact",
"value": "у Видукинда отсутствуют такие подробности",
"tests": []
} | train |
wiki-read-en-cdf3697d11526fcaaa16 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-6f62fc80cc526ae5d0c180 | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-4880348400779676986-0 (Apache-2.0). Wikipedia contributors, “Harry Potter and the Order of the Phoenix” (https://en.wikipedia.org/wiki/Harry_Potter_and_the_Order_of_the_Phoenix), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalize... | [
{
"role": "user",
"content": "Harry Potter and the Order of the Phoenix\n\nHarry Potter and the Order of the Phoenix is a fantasy novel written by British author J. K. Rowling and the fifth novel in the Harry Potter series. It follows Harry Potter's struggles through his fifth year at Hogwarts School of Wit... | {
"type": "exact",
"value": "2003-06-21",
"tests": []
} | train |
wiki-read-ru-daea2f3f824c5d891bc2 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-4ca3f419ed7e10a06dc8fa | chronology | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-1554049173380587873-3 (Apache-2.0). Wikipedia contributors, “Павлов, Иван Петрович” (https://ru.wikipedia.org/wiki/%D0%9F%D0%B0%D0%B2%D0%BB%D0%BE%D0%B2%2C_%D0%98%D0%B2%D0%B0%D0%BD_%D0%9F%D0%B5%D1%82%D1%80%D0%BE%D0%B2%D0%B8%D1%87), snapshot 2019-02-01 (CC-BY-SA-3.0).... | [
{
"role": "user",
"content": "Павлов, Иван Петрович\n\nОкончив в 1864 году рязанское духовное училище, Павлов поступил в рязанскую духовную семинарию, о которой впоследствии вспоминал с большой теплотой. На последнем курсе семинарии он прочитал небольшую книгу «Рефлексы головного мозга» профессора И. М. Сеч... | {
"type": "exact",
"value": "1864, 1870",
"tests": []
} | train |
wiki-read-ru-05c8bb9c7f5df9d7442d | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-a8b7269429e1c36e110b1d | measurement | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-6391088979129781502-2 (Apache-2.0). Wikipedia contributors, “Московский метрополитен” (https://ru.wikipedia.org/wiki/%D0%9C%D0%BE%D1%81%D0%BA%D0%BE%D0%B2%D1%81%D0%BA%D0%B8%D0%B9_%D0%BC%D0%B5%D1%82%D1%80%D0%BE%D0%BF%D0%BE%D0%BB%D0%B8%D1%82%D0%B5%D0%BD), snapshot 2019... | [
{
"role": "user",
"content": "Московский метрополитен\n\nСостоит из 14 линий (четыре из которых впоследствии соединятся попарно; две линии временно соединены сейчас, организационно работая как один маршрут) общей протяжённостью 381 км в двухпутном исчислении, без учёта монорельса и МЦК. В Московском метропо... | {
"type": "exact",
"value": "381 км",
"tests": []
} | train |
reason2-minimum_cover-025 | 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, 8. Наборы перечислены с типами внутри: F=4/6; X=3/4; T=2/3/6; A=3/5/8; M=3/4/6/8. Дубли допустимы. Какое наименьшее число наборов покроет все типы?\nПриведи ход решения в нескольких фразах. На последней строке оставь только о... | {
"type": "number",
"value": "3",
"tests": []
} | train |
reason2-event_selection-022 | reasoning | ru | Original | CC0-1.0 | reason2-event_selection | workshop_event_selection | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Один фотограф хочет целиком снять как можно больше коротких показов. Начала и окончания: D 7–14; C 13–18; U 18–23; G 14–17; X 6–14; K 4–11; E 12–20; W 2–10. В момент окончания одного показа можно сразу начать следующий. Каково максимальное число показов?\nПриведи ход решения в ... | {
"type": "number",
"value": "3",
"tests": []
} | train |
reason2-missing_cells-010 | reasoning | ru | Original | CC0-1.0 | reason2-missing_cells | workshop_missing_cells | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "В таблице учёта столбцы идут в порядке E, Z, G. После вертикальной черты указан итог строки. Строки: R2: 9 / 6 / ? | 30; R11: 3 / 4 / 4 | 11; R4: 14 / 7 / 15 | 36; R7: 4 / ? / ? | 30. Итоги столбцов: E=30, Z=31, G=46. Какое число скрыто в строке R7, столбце G?\nПокажи короткую ... | {
"type": "number",
"value": "12",
"tests": []
} | train |
reason2-balanced_load-036 | reasoning | ru | Original | CC0-1.0 | reason2-balanced_load | workshop_balanced_load | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Две тележки должны увезти все ящики без деления содержимого. Масса каждого ящика: B=11, J=19, E=17, L=8, R=20, W=24. Какой наименьшей разницы масс между тележками можно добиться?\nПриведи ход решения в нескольких фразах. На последней строке оставь только ответ."
},
{
"r... | {
"type": "number",
"value": "1",
"tests": []
} | train |
reason2-join_catalogs-010 | reasoning | ru | Original | CC0-1.0 | reason2-join_catalogs | workshop_join_catalogs | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Каталог связывает код книги с полкой: B74=S7, B69=S2, B22=S7, B57=S7, B29=S8, B49=S8, B90=S7, B72=S6. Соответствие полок и залов: S7=H, S6=G, S8=G, S2=M. Число выданных экземпляров по коду книги: B29=5, B72=7, B90=5, B49=6, B74=13, B22=10, B69=12, B57=4. В каком зале больше все... | {
"type": "exact",
"value": "H",
"tests": []
} | train |
algpy-c96f9feaafdfed37-change-impact | code | en | TheAlgorithms/Python | MIT | algpy-c96f9feaafdfed37 | change-impact | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/three_sum.py#three_sum; adapted exercises | [
{
"role": "user",
"content": "Suppose `if i == 0 or nums[i] != nums[i - 1]:` is replaced by `if i != 0 or nums[i] != nums[i - 1]:` in the program below. Which expression changes its returned value? Briefly explain and write its letter on the last line.\n```python\ndef compute(nums):\n nums.sort()\n an... | {
"type": "exact",
"value": "A",
"tests": []
} | train |
reason2-light_piece-044 | reasoning | ru | Original | CC0-1.0 | reason2-light_piece | workshop_light_piece | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Детали Z, T, J, M, R, H, W, S, N, E, A должны весить одинаково, но ровно одна легче. На чаши каждый раз кладут поровну деталей. Результаты (знаки сравнивают массу левой и правой чаш): W+A+R+S+M < E+H+J+T+Z; Z+W+M+S < A+R+N+H; J+N+M+H > W+T+S+A; J+S+Z = M+T+E. Какая деталь легче... | {
"type": "exact",
"value": "W",
"tests": []
} | train |
algpy-d0f268aa97d759c8-check-assertions | code | ru | TheAlgorithms/Python | MIT | algpy-d0f268aa97d759c8 | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, conversions/octal_to_binary.py#octal_to_binary; adapted exercises | [
{
"role": "user",
"content": "Один из тестов противоречит фактическому поведению этой функции. Определи его и вычисли верный результат. В последней строке запиши букву и результат через двоеточие, например A: 42.\n```python\ndef compute(octal_number):\n if not octal_number:\n raise ValueError('Emp... | {
"type": "exact",
"value": "A: '001111'",
"tests": []
} | train |
wiki-read-ru-bc85b9fbfb8d07fa80fd | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-40a6124c6cd00aa62f926d | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-1093988503810101800-0 (Apache-2.0). Wikipedia contributors, “Сафонович, Валериан Иванович” (https://ru.wikipedia.org/wiki/%D0%A1%D0%B0%D1%84%D0%BE%D0%BD%D0%BE%D0%B2%D0%B8%D1%87%2C_%D0%92%D0%B0%D0%BB%D0%B5%D1%80%D0%B8%D0%B0%D0%BD_%D0%98%D0%B2%D0%B0%D0%BD%D0%BE%D0%B2%... | [
{
"role": "user",
"content": "Сафонович, Валериан Иванович\n\nВалериа́н (Валерья́н) Ива́нович Сафоно́вич (1798, Каменец-Подольская губерния — 8 апреля 1867, Орёл) — российский государственный деятель, литератор и мемуарист, чиновник министерства финансов и министерства внутренних дел Российской империи, тай... | {
"type": "exact",
"value": "1867-04-08",
"tests": []
} | train |
gsm-train-1380 | math | en | GSM8K | MIT | gsm8k-d552847b0f4624e56fed | word_problem_6_steps | OpenAI (2021), GSM8K, original train row 1380 | [
{
"role": "user",
"content": "Lola’s rabbits keep having kittens each spring. During the first spring, her 10 breeding rabbits had 10 times as many kittens as the number of breeding rabbits Lola has, and half of the kittens got adopted. 5 of them had to be returned to Lola due to re-homing problems. During ... | {
"type": "number",
"value": "121",
"tests": []
} | train |
wiki-read-ru-efe56a710edc002eeeaa | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-eefa3980fdf345e9f673e1 | chronology | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--2701941541883520093-1 (Apache-2.0). Wikipedia contributors, “KFC” (https://ru.wikipedia.org/wiki/KFC), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "KFC\n\nКомпания KFC была основана предпринимателем Харландом Сандерсом, начавшим продавать блюда из жареной курицы во времена Великой депрессии. Обнаружив у предприятия франчайзинговый потенциал, Сандерс начал продавать лицензионные права в других штатах; первое кафе за предела... | {
"type": "exact",
"value": "1952, 1964",
"tests": []
} | train |
wiki-read-ru-0218dee95b73b35ba114 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-02dcdcf3091e0e19d3da16 | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--4417059638822530664-2 (Apache-2.0). Wikipedia contributors, “Урен, Томас” (https://ru.wikipedia.org/wiki/%D0%A3%D1%80%D0%B5%D0%BD%2C_%D0%A2%D0%BE%D0%BC%D0%B0%D1%81), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New readi... | [
{
"role": "user",
"content": "Урен, Томас\n\nТомас Урен родился 28 мая 1921 года в доме на 40-й Пэгли-стрит в — рабочем пригороде города Сидней в штате Новый Южный Уэльс. Его предки по отцовской линии были родом из Пензанса, он также имел еврейские и английские корни. Отец, Томас Урен, был безработным жокее... | {
"type": "exact",
"value": "1921-05-28",
"tests": []
} | train |
wiki-read-ru-703ed2b729567dc11c55 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-b3b7649781f3e97523dec1 | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--9142321812822567510-44 (Apache-2.0). Wikipedia contributors, “Михайловский замок” (https://ru.wikipedia.org/wiki/%D0%9C%D0%B8%D1%85%D0%B0%D0%B9%D0%BB%D0%BE%D0%B2%D1%81%D0%BA%D0%B8%D0%B9_%D0%B7%D0%B0%D0%BC%D0%BE%D0%BA), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; w... | [
{
"role": "user",
"content": "Михайловский замок\n\nКогда Русский музей занялся реставрацией дворца, стены замка были кирпично-красного цвета, к которому давно привыкли горожане, считая именно его первоначальным, тем более, что он совпадал с цветами Мальтийского ордена. Но остатки первоначальной краски рест... | {
"type": "exact",
"value": "розовато-оранжево-желтый",
"tests": []
} | train |
wiki-read-ru-d90761719a2a0be11887 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-e31b418f7ca91512b7a2c0 | clause | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-7251677632484147534-1 (Apache-2.0). Wikipedia contributors, “Sonic Colors” (https://ru.wikipedia.org/wiki/Sonic_Colors), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Sonic Colors\n\nПо сюжету действие игры происходит на орбите планеты главного героя серии, ежа Соника, где обитают виспы — инопланетные существа, обладающие бесконечной энергией. Эта раса находится под угрозой — доктор Эггман использует гигантский луч, чтобы объединить нескольк... | {
"type": "exact",
"value": "чтобы объединить несколько планет в гигантский тематический парк развлечений",
"tests": []
} | train |
algpy-cb228c9b989e2c65-implement | code | en | TheAlgorithms/Python | MIT | algpy-cb228c9b989e2c65 | implement | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, bit_manipulation/count_number_of_one_bits.py#get_set_bits_count_using_brian_kernighans_algorithm; adapted exercises | [
{
"role": "user",
"content": "Implement this Python function. Count the ones in the ordinary binary representation of a nonnegative 16-bit integer.\nSignature: def get_set_bits_count_using_brian_kernighans_algorithm(number):\nExamples:\n```python\nassert get_set_bits_count_using_brian_kernighans_algorithm(0... | {
"type": "code",
"value": "",
"tests": [
"assert get_set_bits_count_using_brian_kernighans_algorithm(2) == 1",
"assert get_set_bits_count_using_brian_kernighans_algorithm(3) == 2",
"assert get_set_bits_count_using_brian_kernighans_algorithm(4) == 1",
"assert get_set_bits_count_using_brian_kernigh... | train |
algpy-0dee0371b634470e-repair | code | en | TheAlgorithms/Python | MIT | algpy-0dee0371b634470e | repair | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, strings/wave_string.py#wave; adapted exercises | [
{
"role": "user",
"content": "Repair this Python function. For a string of lowercase ASCII letters and spaces, return a list of copies in which one letter at a time is uppercased, scanning left to right. Skip spaces.\nFor wave('ab') it should return ['Ab', 'aB'], but returns ['A', 'aB']. Keep the signature.... | {
"type": "code",
"value": "",
"tests": [
"assert wave('') == []",
"assert wave('a') == ['A']",
"assert wave('ab') == ['Ab', 'aB']",
"assert wave('hello') == ['Hello', 'hEllo', 'heLlo', 'helLo', 'hellO']",
"assert wave('hello there') == ['Hello there', 'hEllo there', 'heLlo there', 'helLo ther... | train |
wiki-read-en-8928a438ce7a7ed70d0b | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-d21b53b32653484cadca94 | clause | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--5613525715306286208-1 (Apache-2.0). Wikipedia contributors, “List of Haven episodes” (https://en.wikipedia.org/wiki/List_of_Haven_episodes), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "List of Haven episodes\n\nOn January 28, 2014, the show was renewed for a split 26-episode fifth season. The first half aired in 2014, while the second half aired in the last quarter of 2015. In August 2015, Syfy cancelled the series after five seasons. During the course of the... | {
"type": "exact",
"value": "while the second half aired in the last quarter of 2015",
"tests": []
} | train |
algpy-4850b958a8b85374-implement | code | en | TheAlgorithms/Python | MIT | algpy-4850b958a8b85374 | implement | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, bit_manipulation/index_of_rightmost_set_bit.py#get_index_of_rightmost_set_bit; adapted exercises | [
{
"role": "user",
"content": "Implement this Python function. For a positive integer, return the number of zero bits after its rightmost one bit.\nSignature: def get_index_of_rightmost_set_bit(number):\nExamples:\n```python\nassert get_index_of_rightmost_set_bit(1) == 0\nassert get_index_of_rightmost_set_bi... | {
"type": "code",
"value": "",
"tests": [
"assert get_index_of_rightmost_set_bit(3) == 0",
"assert get_index_of_rightmost_set_bit(4) == 2",
"assert get_index_of_rightmost_set_bit(7) == 0",
"assert get_index_of_rightmost_set_bit(8) == 3",
"assert get_index_of_rightmost_set_bit(15) == 0",
"a... | train |
wiki-read-ru-873fd65c037d7e0290e3 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-07b86649775dff50bb288e | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-2744618909089839802-2 (Apache-2.0). Wikipedia contributors, “Рабочий и колхозница” (https://ru.wikipedia.org/wiki/%D0%A0%D0%B0%D0%B1%D0%BE%D1%87%D0%B8%D0%B9_%D0%B8_%D0%BA%D0%BE%D0%BB%D1%85%D0%BE%D0%B7%D0%BD%D0%B8%D1%86%D0%B0), snapshot 2019-02-01 (CC-BY-SA-3.0). Exc... | [
{
"role": "user",
"content": "Рабочий и колхозница\n\nПосле окончания выставки скульптуру перевезли в Москву и установили на десятиметровый постамент у Северного (на тот момент — главного) входа на ВДНХ. Из-за неаккуратного демонтажа и перевозки каркас и облицовку пришлось значительно изменить, отступив от ... | {
"type": "exact",
"value": "на тот момент — главного",
"tests": []
} | train |
reason2-balanced_load-031 | reasoning | en | Original | CC0-1.0 | reason2-balanced_load | workshop_balanced_load | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Two carts must carry all crates, with each crate kept intact. Crate weights: C=42, P=48, H=36, X=8, U=28, Z=24, J=34. What is the smallest possible difference between the two cart loads?\nShow a short check. Give the final answer on a separate line."
},
{
"role": "assis... | {
"type": "number",
"value": "0",
"tests": []
} | train |
wiki-read-ru-a1936226bdcc8a218687 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-947907f58079623f835e15 | clause | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-8788011831303021808-3 (Apache-2.0). Wikipedia contributors, “Виноградная улитка” (https://ru.wikipedia.org/wiki/%D0%92%D0%B8%D0%BD%D0%BE%D0%B3%D1%80%D0%B0%D0%B4%D0%BD%D0%B0%D1%8F_%D1%83%D0%BB%D0%B8%D1%82%D0%BA%D0%B0), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whi... | [
{
"role": "user",
"content": "Виноградная улитка\n\nВ природе виноградная улитка живёт в среднем 7—8 лет, но нередко может дожить и до 20 лет, если не будет съедена хищником. Зарегистрированный рекорд равен 30 годам, однако в данном случае особь содержалась в домашних условиях.\n\nНайди в тексте часть предл... | {
"type": "exact",
"value": "однако в данном случае особь содержалась в домашних условиях",
"tests": []
} | train |
algpy-3db1af0da9ea5c25-trace | code | en | TheAlgorithms/Python | MIT | algpy-3db1af0da9ea5c25 | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, sorts/counting_sort.py#counting_sort; adapted exercises | [
{
"role": "user",
"content": "```python\ndef counting_sort(collection):\n if collection == []:\n return []\n coll_len = len(collection)\n coll_max = max(collection)\n coll_min = min(collection)\n counting_arr_length = coll_max + 1 - coll_min\n counting_arr = [0] * counting_arr_lengt... | {
"type": "exact",
"value": "[0, 2, 2, 3, 5]",
"tests": []
} | train |
algpy-56268f3c76fa092e-implement | code | en | TheAlgorithms/Python | MIT | algpy-56268f3c76fa092e | implement | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/pell_number.py#pell_number_recursive; adapted exercises | [
{
"role": "user",
"content": "Implement this Python function. Return the nth Pell number for integer 0 ≤ n ≤ 12. P(0)=0, P(1)=1 and P(n)=2*P(n−1)+P(n−2).\nSignature: def pell_number_recursive(subscript):\nExamples:\n```python\nassert pell_number_recursive(0) == 0\nassert pell_number_recursive(1) == 1\n```"
... | {
"type": "code",
"value": "",
"tests": [
"assert pell_number_recursive(2) == 2",
"assert pell_number_recursive(3) == 5",
"assert pell_number_recursive(4) == 12",
"assert pell_number_recursive(5) == 29",
"assert pell_number_recursive(6) == 70",
"assert pell_number_recursive(7) == 169",
... | train |
algpy-6f9ce8169f6f68c5-trace | code | en | TheAlgorithms/Python | MIT | algpy-6f9ce8169f6f68c5 | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/next_prime_number.py#next_prime; adapted exercises | [
{
"role": "user",
"content": "```python\ndef is_prime(number):\n if number <= 1:\n return False\n if number <= 3:\n return True\n if number % 2 == 0 or number % 3 == 0:\n return False\n factor = 5\n while factor * factor <= number:\n if number % factor == 0 or numb... | {
"type": "exact",
"value": "11",
"tests": []
} | train |
algpy-3f670d71fadefd96-change-impact | code | ru | TheAlgorithms/Python | MIT | algpy-3f670d71fadefd96 | change-impact | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, dynamic_programming/largest_divisible_subset.py#largest_divisible_subset; adapted exercises | [
{
"role": "user",
"content": "В показанном коде строку `if memo_item > ans:` заменяют на `if memo_item >= ans:`. Для какого из двух выражений изменится возвращаемое значение? Дай короткое объяснение и запиши букву в последней строке.\n```python\ndef compute(items):\n items = sorted(items)\n number_of_... | {
"type": "exact",
"value": "B",
"tests": []
} | train |
wiki-read-ru-bf6c0eb38b61abcba234 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-82931aee81951533390259 | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--2472235515826162283-19 (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%BE%D0%BD), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New rea... | [
{
"role": "user",
"content": "Евангелион\n\nВ России сериал был издан на 4 DVD-дисках в 2005 году компанией МС Entertainment и транслировался на телевизионном канале MTV Россия с 18 октября 2005 года под названием «Евангелион». В 2009 году МС Entertainment вновь выпустило «EVANGELION. Director’s Cut Platinu... | {
"type": "exact",
"value": "2005-10-18",
"tests": []
} | train |
math-verified-grid_triangle-011 | 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, 1), (8, 1) и (4, 4). Сколько узлов с целыми координатами лежит строго внутри него? Точки на сторонах не включай.\nЗапиши точное число в последней строке; нецелый ответ дай несократимой дробью."
},
{
"role... | {
"type": "number",
"value": "6",
"tests": []
} | train |
wiki-read-ru-f1cff325a0e910ae9a00 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-8e7e7530df3e1c4c6b1b28 | clause | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--5958213342164017224-37 (Apache-2.0). Wikipedia contributors, “Грош” (https://ru.wikipedia.org/wiki/%D0%93%D1%80%D0%BE%D1%88), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Грош\n\nВпервые монеты номиналом в 2 копейки или «грошевики» были отчеканены из меди во время правления Алексея Михайловича. В ходе предпринятой денежной реформы были допущены грубые ошибки, которые вызвали недовольство населения и последовавший за ним Медный бунт 1662 года. По... | {
"type": "exact",
"value": "которые вызвали недовольство населения и последовавший за ним Медный бунт 1662 года",
"tests": []
} | train |
math-verified-three_clubs-025 | math | en | Original | CC0-1.0 | math-verified-three_clubs | verified_math_three_clubs | Original bilingual mathematics exercises, CC0-1.0 | [
{
"role": "user",
"content": "Classes A, B and C have 57, 53 and 55 members respectively. There are 32 in A and B, 33 in B and C, and 29 in A and C. Each pairwise count includes the 17 people in all three classes. How many people joined exactly one class?\nGive the exact number on the last line; use a reduc... | {
"type": "number",
"value": "28",
"tests": []
} | train |
reason2-pareto-058 | reasoning | ru | Original | CC0-1.0 | reason2-pareto | workshop_pareto | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Для печати плаката доступны заказы (дни, цена): G (6, 58); V (28, 37); W (26, 34); U (21, 72); N (20, 59); A (8, 35); Y (29, 23). Отбрось любой вариант, для которого другой вариант одновременно дешевле и быстрее. Запиши коды оставшихся в алфавитном порядке через пробел.\nПривед... | {
"type": "exact",
"value": "A G W Y",
"tests": []
} | train |
algpy-a6f8594b7bc8d6d5-repair | code | en | TheAlgorithms/Python | MIT | algpy-a6f8594b7bc8d6d5 | repair | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/prime_check.py#is_prime; adapted exercises | [
{
"role": "user",
"content": "Repair this Python function. For a nonnegative integer, return True exactly when it is prime; 0 and 1 are not prime.\nFor is_prime(13) it should return True, but returns False. Keep the signature.\n```python\nimport math\n\ndef is_prime(number):\n if not isinstance(number, i... | {
"type": "code",
"value": "",
"tests": [
"assert is_prime(0) == False",
"assert is_prime(1) == False",
"assert is_prime(2) == True",
"assert is_prime(3) == True",
"assert is_prime(4) == False",
"assert is_prime(6) == False",
"assert is_prime(9) == False",
"assert is_prime(13) == T... | train |
wiki-read-en-2d0b24be1ed1b851f62a | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-12748f40ed3c8a091e0f5c | definition | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--1569066920768040529-0 (Apache-2.0). Wikipedia contributors, “Mars 2020” (https://en.wikipedia.org/wiki/Mars_2020), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Mars 2020\n\nMars 2020 is a Mars rover mission by NASA's Mars Exploration Program with a planned launch in July or August 2020. It will investigate an astrobiologically relevant ancient environment on Mars, investigate its surface geological processes and history, including the... | {
"type": "exact",
"value": "a Mars rover mission by NASA's Mars Exploration Program with a planned launch in July or August 2020",
"tests": []
} | train |
wiki-read-en-37b32526bd9d345cc33f | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-69fa244d2a2d453bed46a5 | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--809166079872391394-0 (Apache-2.0). Wikipedia contributors, “1924 Winter Olympics” (https://en.wikipedia.org/wiki/1924_Winter_Olympics), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "1924 Winter Olympics\n\nThe 1924 Winter Olympics, officially known as the I Olympic Winter Games (French: Les Iers Jeux olympiques d'hiver), were a winter multi-sport event which was held in 1924 in Chamonix, France. Originally held in association with the 1924 Summer Olympics,... | {
"type": "exact",
"value": "1924-02-05",
"tests": []
} | train |
math-verified-tickets-017 | 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 1742 dollars for 43 tickets, including a single booking fee of 12 dollars for the entire order. Full-price tickets cost 80 dollars and reduced tickets cost 35. How many full-price tickets were in the order?\nGive the exact number on the last line; use a reduced fra... | {
"type": "number",
"value": "5",
"tests": []
} | train |
reason2-balanced_load-016 | reasoning | ru | Original | CC0-1.0 | reason2-balanced_load | workshop_balanced_load | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Две тележки должны увезти все ящики без деления содержимого. Масса каждого ящика: Z=42, H=14, V=24, N=50, S=48, F=26. Какой наименьшей разницы масс между тележками можно добиться?\nПокажи короткую проверку, а в конце на отдельной строке дай ответ."
},
{
"role": "assista... | {
"type": "number",
"value": "4",
"tests": []
} | train |
reason2-join_catalogs-008 | reasoning | ru | Original | CC0-1.0 | reason2-join_catalogs | workshop_join_catalogs | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Каталог связывает код книги с полкой: B73=S1, B10=S7, B37=S7, B12=S4, B45=S3, B51=S4. Соответствие полок и залов: S4=E, S7=Y, S1=Y, S3=D. Число выданных экземпляров по коду книги: B51=14, B37=15, B45=12, B10=14, B12=7, B73=9. В каком зале больше всего выдач?\nКратко обоснуй отв... | {
"type": "exact",
"value": "Y",
"tests": []
} | train |
algpy-90909f6885f7eebc-implement | code | en | TheAlgorithms/Python | MIT | algpy-90909f6885f7eebc | implement | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/digital_root.py#digital_root; adapted exercises | [
{
"role": "user",
"content": "Implement this Python function. Repeatedly sum the decimal digits of a nonnegative integer until one digit remains; return that digit.\nSignature: def digital_root(number):\nExamples:\n```python\nassert digital_root(0) == 0\nassert digital_root(1) == 1\n```"
},
{
"role"... | {
"type": "code",
"value": "",
"tests": [
"assert digital_root(2) == 2",
"assert digital_root(3) == 3",
"assert digital_root(4) == 4",
"assert digital_root(7) == 7",
"assert digital_root(8) == 8",
"assert digital_root(15) == 6",
"assert digital_root(16) == 7",
"assert digital_root(... | train |
algpy-652c56fa842e9942-check-assertions | code | en | TheAlgorithms/Python | MIT | algpy-652c56fa842e9942 | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, conversions/temperature_conversions.py#kelvin_to_celsius; 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(kelvin, ndigits=2):\n return round(float(kelvin) - 273.15, ndigits)\n```\n``... | {
"type": "exact",
"value": "A: 0.204",
"tests": []
} | train |
wiki-read-en-a9327883c5dd58d6bf6f | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-ec67dc724134a06cca1c90 | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-1609487775195665944-3 (Apache-2.0). Wikipedia contributors, “Timeline of the Portolá expedition” (https://en.wikipedia.org/wiki/Timeline_of_the_Portol%C3%A1_expedition), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New re... | [
{
"role": "user",
"content": "Timeline of the Portolá expedition\n\nGálvez placed Gaspar de Portolá, recently appointed governor of Las Californias, in overall command of the expedition. Second in command was Captain Fernando Rivera y Moncada, commander of the Presidio at Loreto. Serra headed the Franciscan... | {
"type": "exact",
"value": "on the Baja peninsula",
"tests": []
} | train |
wiki-read-ru-a465fa9cdb3b654ee347 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-dbd6733dff5fa14704c4cd | definition | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--7145253492632276194-0 (Apache-2.0). Wikipedia contributors, “Прусский язык” (https://ru.wikipedia.org/wiki/%D0%9F%D1%80%D1%83%D1%81%D1%81%D0%BA%D0%B8%D0%B9_%D1%8F%D0%B7%D1%8B%D0%BA), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers norm... | [
{
"role": "user",
"content": "Прусский язык\n\nПру́сский язы́к — вымерший язык пруссов, один из балтийских языков (западно-балтийская группа). Иногда также называется древнепрусским (German: Altpreußische Sprache, English: Old Prussian) для отличия от прусских говоров немецкого языка.\n\nКак в начале отрывк... | {
"type": "exact",
"value": "вымерший язык пруссов, один из балтийских языков (западно-балтийская группа)",
"tests": []
} | train |
wiki-read-ru-48dfab954f1f1dbc13d0 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-e7ccef5503c09527510de4 | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--3549404021742111179-1 (Apache-2.0). Wikipedia contributors, “Иркутск” (https://ru.wikipedia.org/wiki/%D0%98%D1%80%D0%BA%D1%83%D1%82%D1%81%D0%BA), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Иркутск\n\nРасположен в Восточной Сибири, на берегах реки Ангары, при впадении в неё реки Иркут (отсюда название города), в 66 км от Байкала. Климат резко континентальный со значительными перепадами температур. Из-за близости к сейсмически активному Байкальскому рифту регулярны... | {
"type": "exact",
"value": "отсюда название города",
"tests": []
} | train |
reason2-motif_growth-002 | reasoning | ru | Original | CC0-1.0 | reason2-motif_growth | workshop_motif_growth | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Начальный орнамент MCMC. За проход каждый исходный символ одновременно заменяют по правилам C→MCM; M→CC; новые символы в том же проходе не заменяются. Сколько символов C будет после 4 проходов?\nПриведи ход решения в нескольких фразах. На последней строке оставь только ответ."
... | {
"type": "number",
"value": "94",
"tests": []
} | train |
reason2-balanced_load-000 | reasoning | ru | Original | CC0-1.0 | reason2-balanced_load | workshop_balanced_load | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Две тележки должны увезти все ящики без деления содержимого. Масса каждого ящика: K=88, N=60, M=72, A=56, E=68, S=92. Какой наименьшей разницы масс между тележками можно добиться?\nКратко обоснуй ответ и запиши сам ответ на последней строке."
},
{
"role": "assistant",
... | {
"type": "number",
"value": "4",
"tests": []
} | train |
wiki-read-en-be8c488ef172b93641fb | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-29c12da7db2ad8430de533 | definition | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--1824512166012521969-0 (Apache-2.0). Wikipedia contributors, “The Cosby Show” (https://en.wikipedia.org/wiki/The_Cosby_Show), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "The Cosby Show\n\nThe Cosby Show is an American television sitcom co-created and starring Bill Cosby, which aired for eight seasons on NBC from September 20, 1984, until April 30, 1992. The show focuses on the Huxtable family, an upper middle-class African-American family livin... | {
"type": "exact",
"value": "an American television sitcom co-created and starring Bill Cosby, which aired for eight seasons on NBC from September 20, 1984, until April 30, 1992",
"tests": []
} | train |
math-verified-syrup-013 | 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 10% and 35% sugar by mass. After mixing them, 40 g of water evaporated, with all the sugar retained. The final mixture weighs 320 g, including 81 g of sugar. How many grams of the 35% syrup were used?\nGive the exact number on the last line; use a reduced fra... | {
"type": "number",
"value": "180",
"tests": []
} | train |
algpy-a5bfb009833061b9-check-assertions | code | en | TheAlgorithms/Python | MIT | algpy-a5bfb009833061b9 | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, dynamic_programming/rod_cutting.py#top_down_cut_rod; 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 _enforce_args(n, prices):\n if n < 0:\n msg = f'n must be greater than or equ... | {
"type": "exact",
"value": "A: 10",
"tests": []
} | train |
math-verified-skipped_payment-005 | math | ru | Original | CC0-1.0 | math-verified-skipped_payment | verified_math_skipped_payment | Original bilingual mathematics exercises, CC0-1.0 | [
{
"role": "user",
"content": "В первый день планировали отложить 22 руб., а в каждый следующий — на 6 руб. больше, чем было запланировано накануне. План рассчитан на 17 дней. Ровно в один день взнос пропустили; все остальные суммы внесли по расписанию. Всего отложили 1138 руб. В какой по счёту день пропусти... | {
"type": "number",
"value": "6",
"tests": []
} | train |
algpy-014c7c44de09f91e-trace | code | ru | TheAlgorithms/Python | MIT | algpy-014c7c44de09f91e | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/area.py#surface_area_torus; adapted exercises | [
{
"role": "user",
"content": "```python\nfrom math import pi\n\ndef compute(torus_radius, tube_radius):\n if torus_radius < 0 or tube_radius < 0:\n raise ValueError('compute() only accepts non-negative values')\n if torus_radius < tube_radius:\n raise ValueError('compute() does not suppo... | {
"type": "exact",
"value": "101.064749",
"tests": []
} | train |
math-verified-conditional_draw-020 | math | ru | Original | CC0-1.0 | math-verified-conditional_draw | verified_math_conditional_draw | Original bilingual mathematics exercises, CC0-1.0 | [
{
"role": "user",
"content": "В мешке красных жетонов — 7, синих — 7, жёлтых — 2. Два жетона выбирают равновероятно без возвращения. Известно, что среди них есть хотя бы один красный. Какова при этом вероятность, что выбраны ровно один красный и один синий жетон?\nЗапиши точное число в последней строке; нец... | {
"type": "number",
"value": "7/12",
"tests": []
} | train |
wiki-read-en-027debb19764de0c772e | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-9d54f261abf11967c780ec | clause | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-7684309677374373737-1 (Apache-2.0). Wikipedia contributors, “History of Madrid” (https://en.wikipedia.org/wiki/History_of_Madrid), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "History of Madrid\n\nThe documented history of Madrid dates to the 9th century, even though the area has been inhabited since the Stone Age. The development of Madrid as a city began when Philip II moved his court there from Toledo in the 1560s. Madrid has been the country's ca... | {
"type": "exact",
"value": "even though the area has been inhabited since the Stone Age",
"tests": []
} | train |
math-verified-grid_triangle-000 | 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 (-3, -2), (5, -2) and (4, 6). 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": "28",
"tests": []
} | train |
wiki-read-en-54c86d87a9994430c04a | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-1961eaecef1f5268ebebe2 | definition | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--1827714118558158620-18 (Apache-2.0). Wikipedia contributors, “Western concert flute” (https://en.wikipedia.org/wiki/Western_concert_flute), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Western concert flute\n\nThe flute is a transverse (or side-blown) woodwind instrument that is closed at the blown end. It is played by blowing a stream of air over the embouchure hole. The pitch is changed by opening or closing keys that cover circular tone holes (there are ty... | {
"type": "exact",
"value": "a transverse (or side-blown) woodwind instrument that is closed at the blown end",
"tests": []
} | train |
algpy-57801ed83391cb5d-trace | code | en | TheAlgorithms/Python | MIT | algpy-57801ed83391cb5d | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/series/harmonic.py#harmonic_mean; adapted exercises | [
{
"role": "user",
"content": "```python\ndef compute(series):\n if not isinstance(series, list):\n raise ValueError('Input series is not valid, valid series - [2, 4, 6]')\n if len(series) == 0:\n raise ValueError('Input list must be a non empty list')\n answer = 0\n for val in seri... | {
"type": "exact",
"value": "1.636364",
"tests": []
} | train |
algpy-54e3794371e477a7-check-assertions | code | ru | TheAlgorithms/Python | MIT | algpy-54e3794371e477a7 | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, dynamic_programming/longest_common_subsequence.py#longest_common_subsequence; adapted exercises | [
{
"role": "user",
"content": "Один из тестов противоречит фактическому поведению этой функции. Определи его и вычисли верный результат. В последней строке запиши букву и результат через двоеточие, например A: 42.\n```python\ndef compute(x, y):\n assert x is not None\n assert y is not None\n m = len... | {
"type": "exact",
"value": "B: (6, 'gaming')",
"tests": []
} | train |
algpy-0cc14dc97af7758e-trace | code | ru | TheAlgorithms/Python | MIT | algpy-0cc14dc97af7758e | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/special_numbers/automorphic_number.py#is_automorphic_number; adapted exercises | [
{
"role": "user",
"content": "```python\ndef is_automorphic_number(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:\n return False\n number_square = number * number\n while numbe... | {
"type": "exact",
"value": "True",
"tests": []
} | train |
math-verified-syrup-023 | math | ru | Original | CC0-1.0 | math-verified-syrup | verified_math_syrup | Original bilingual mathematics exercises, CC0-1.0 | [
{
"role": "user",
"content": "Смешали два сахарных сиропа с массовыми долями сахара 30% и 40%. При нагревании испарилось 10 г воды; сахар полностью остался в смеси. После нагревания масса смеси составила 350 г, в том числе 124 г сахара. Сколько граммов 40%-го сиропа взяли?\nЗапиши точное число в последней с... | {
"type": "number",
"value": "160",
"tests": []
} | train |
wiki-read-ru-05e6c47c7690408ce78c | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-8f87ff3ef1e5c0d91e43bb | definition | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--4807657272266342876-0 (Apache-2.0). Wikipedia contributors, “Бразильская империя” (https://ru.wikipedia.org/wiki/%D0%91%D1%80%D0%B0%D0%B7%D0%B8%D0%BB%D1%8C%D1%81%D0%BA%D0%B0%D1%8F_%D0%B8%D0%BC%D0%BF%D0%B5%D1%80%D0%B8%D1%8F), snapshot 2019-02-01 (CC-BY-SA-3.0). Exce... | [
{
"role": "user",
"content": "Бразильская империя\n\nБразильская империя — государство, находившееся на территории современной Бразилии и Уругвая под властью императора Педру I и его сына Педру II. Основана в 1822 году и была заменена республикой в 1890.\n\nКак в начале отрывка определяется «Бразильская имп... | {
"type": "exact",
"value": "государство, находившееся на территории современной Бразилии и Уругвая под властью императора Педру I и его сына Педру II",
"tests": []
} | train |
reason2-line_breaks-034 | 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 7, 4, 9, 8, 2, 7, 7, 6, 5, in the given order. Each line holds 14 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 t... | {
"type": "number",
"value": "6",
"tests": []
} | train |
math-verified-binomial_divisibility-027 | math | en | Original | CC0-1.0 | math-verified-binomial_divisibility | verified_math_binomial_divisibility | Original bilingual mathematics exercises, CC0-1.0 | [
{
"role": "user",
"content": "Choose 33 of 96 distinct items without regard to order. What is the greatest integer e ≥ 0 such that 18 to the power e divides the number of choices C(96,33)?\nGive the exact number on the last line; use a reduced fraction for a noninteger answer."
},
{
"role": "assista... | {
"type": "number",
"value": "0",
"tests": []
} | train |
algpy-b51b15365e77733b-trace | code | en | TheAlgorithms/Python | MIT | algpy-b51b15365e77733b | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/two_pointer.py#two_pointer; adapted exercises | [
{
"role": "user",
"content": "```python\ndef compute(nums, target):\n i = 0\n j = len(nums) - 1\n while i < j:\n if nums[i] + nums[j] == target:\n return [i, j]\n elif nums[i] + nums[j] < target:\n i = i + 1\n else:\n j = j - 1\n return []\n`... | {
"type": "exact",
"value": "[0, 3]",
"tests": []
} | train |
algpy-aa6f16ed2f3e4219-check-assertions | code | ru | TheAlgorithms/Python | MIT | algpy-aa6f16ed2f3e4219 | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, conversions/temperature_conversions.py#reaumur_to_celsius; adapted exercises | [
{
"role": "user",
"content": "Один из тестов противоречит фактическому поведению этой функции. Определи его и вычисли верный результат. В последней строке запиши букву и результат через двоеточие, например A: 42.\n```python\ndef compute(reaumur, ndigits=2):\n return round(float(reaumur) * 1.25, ndigits)\... | {
"type": "exact",
"value": "A: 0.0",
"tests": []
} | train |
verified-code-run_lengths-trace | code | ru | Original | CC0-1.0 | verified-code-runs | verified_trace | Original algorithm and independent oracle, release 2; CC0-1.0. | [
{
"role": "user",
"content": "```python\ndef run_lengths(xs):\n out = []\n i = 0\n while i < len(xs):\n j = i + 1\n while j < len(xs) and xs[j] == xs[i]:\n j += 1\n out.append((xs[i], j - i))\n i = j\n return out\n```\nЧто вернёт вызов run_lengths([1, 1])? ... | {
"type": "exact",
"value": "[(1, 2)]",
"tests": []
} | train |
math-verified-tickets-016 | math | ru | Original | CC0-1.0 | math-verified-tickets | verified_math_tickets | Original bilingual mathematics exercises, CC0-1.0 | [
{
"role": "user",
"content": "За групповой заказ на 51 билет заплатили 2673 руб., включая один сбор 3 руб. за весь заказ. Обычный билет стоил 65 руб., льготный — 50 руб. Сколько обычных билетов купили?\nЗапиши точное число в последней строке; нецелый ответ дай несократимой дробью."
},
{
"role": "ass... | {
"type": "number",
"value": "8",
"tests": []
} | train |
wiki-read-en-e196c4835017ddf688ee | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-5e5aa305f8cad3eec5075c | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--1460435351221158620-4 (Apache-2.0). Wikipedia contributors, “List of awards and nominations received by Bob Dylan” (https://en.wikipedia.org/wiki/List_of_awards_and_nominations_received_by_Bob_Dylan), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and refe... | [
{
"role": "user",
"content": "List of awards and nominations received by Bob Dylan\n\nDylan was awarded the 2016 Nobel Prize in Literature on October 13, 2016, \"for having created new poetic expressions within the great American song tradition\". It is the first time since 1993 that the Nobel committee has... | {
"type": "exact",
"value": "2016-10-13",
"tests": []
} | train |
wiki-read-en-666228b76aa4c7d30d02 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-37e5eea925478cb5118cc5 | definition | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--5128752561933915506-1 (Apache-2.0). Wikipedia contributors, “Conurbation” (https://en.wikipedia.org/wiki/Conurbation), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Conurbation\n\nA conurbation is a region comprising a number of cities, large towns, and other urban areas that, through population growth and physical expansion, have merged to form one continuous urban or industrially developed area. In most cases, a conurbation is a polycent... | {
"type": "exact",
"value": "a region comprising a number of cities, large towns, and other urban areas that, through population growth and physical expansion, have merged to form one continuous urban or industrially developed area",
"tests": []
} | train |
wiki-read-ru-ea8d553e18dd6c449757 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-398ecdbda65e1865a108a1 | measurement | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-827408144179226967-7 (Apache-2.0). Wikipedia contributors, “История паровоза” (https://ru.wikipedia.org/wiki/%D0%98%D1%81%D1%82%D0%BE%D1%80%D0%B8%D1%8F_%D0%BF%D0%B0%D1%80%D0%BE%D0%B2%D0%BE%D0%B7%D0%B0), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and ref... | [
{
"role": "user",
"content": "История паровоза\n\nВ России первая железная дорога протяжённостью 27 километров была открыта 12 ноября 1837 года между Петербургом и Царским Селом. Паровоз, который вёл поезд, был куплен у Джорджа Стефенсона в Англии.\n\nКакое значение записано цифрами в километрах? Выпиши тол... | {
"type": "exact",
"value": "27 километров",
"tests": []
} | train |
reason2-line_breaks-007 | reasoning | ru | Original | CC0-1.0 | reason2-line_breaks | workshop_line_breaks | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Длины слов заголовка в символах, от первого слова к последнему: 3, 6, 2, 3, 5, 2, 9, 8, 6, 6, 2. Предельная длина строки — 12. Между соседними словами ровно один пробел. Менять порядок и переносить часть слова нельзя. Каково наименьшее число строк?\nКратко обоснуй ответ и запиш... | {
"type": "number",
"value": "6",
"tests": []
} | train |
wiki-read-ru-598cc71f518897c9433d | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-4ed0608556890f1debeb09 | clause | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--6371007385919474120-32 (Apache-2.0). Wikipedia contributors, “Москва” (https://ru.wikipedia.org/wiki/%D0%9C%D0%BE%D1%81%D0%BA%D0%B2%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Первым летописным упоминанием является указание Ипатьевской летописи на пятницу 4 апреля 1147 года, когда ростово-суздальский князь Юрий Долгорукий принимал в городке под названием Москов своих друзей и союзников во главе с новгород-северским князем Святославом Ольгов... | {
"type": "exact",
"value": "когда ростово-суздальский князь Юрий Долгорукий принимал в городке под названием Москов своих друзей и союзников во главе с новгород-северским князем Святославом Ольговичем",
"tests": []
} | train |
reason2-order_count-056 | reasoning | ru | Original | CC0-1.0 | reason2-order_count | workshop_order_count | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Экспонаты C, Z, G, W, S, J выносят по одному, каждый ровно раз. Правило X→Y требует вынести X раньше Y. Правила: C→W, G→W, C→G, C→J, C→S, Z→S. Сколько полных порядков допускают эти условия?\nПокажи короткую проверку, а в конце на отдельной строке дай ответ."
},
{
"role"... | {
"type": "number",
"value": "42",
"tests": []
} | train |
reason2-assembly_units-018 | reasoning | ru | Original | CC0-1.0 | reason2-assembly_units | workshop_assembly_units | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Для сборки используются спецификации (правая часть — состав одной единицы): A = 1×Z + 1×C; Z = 3×M + 2×N; C = 5×M + 4×N. Заказ включает изделия A в количестве 4 и отдельно узлы Z в количестве 4. Сколько отдельных деталей M потребуется?\nКратко обоснуй ответ и запиши сам ответ н... | {
"type": "number",
"value": "44",
"tests": []
} | train |
math-verified-rounded_scales-017 | 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 6 mm, another to the nearest multiple of 12 mm. An exact tie rounds upward for both. They read 120 and 120 mm respectively. How many integer lengths agree with both readings?\nGiv... | {
"type": "number",
"value": "6",
"tests": []
} | train |
wiki-read-ru-ede36c4309c831e22dcd | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-638e7ef3ddadc53c2e8ee0 | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-7787609691099975521-0 (Apache-2.0). Wikipedia contributors, “Князева, Марина Леонидовна” (https://ru.wikipedia.org/wiki/%D0%9A%D0%BD%D1%8F%D0%B7%D0%B5%D0%B2%D0%B0%2C_%D0%9C%D0%B0%D1%80%D0%B8%D0%BD%D0%B0_%D0%9B%D0%B5%D0%BE%D0%BD%D0%B8%D0%B4%D0%BE%D0%B2%D0%BD%D0%B0), ... | [
{
"role": "user",
"content": "Князева, Марина Леонидовна\n\nКнязева Марина Леонидовна (род. 7 мая 1952 г.) — поэт, культуролог, художник-график, детский писатель, старший научный сотрудник кафедры периодической печати факультета журналистики МГУ имени М. В. Ломоносова, кандидат филологических наук.\n\nНайди... | {
"type": "exact",
"value": "1952-05-07",
"tests": []
} | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.