id stringlengths 11 45 | domain stringclasses 5
values | language stringclasses 2
values | source stringclasses 6
values | license stringclasses 5
values | group_id stringlengths 8 35 | task stringclasses 77
values | attribution stringlengths 0 758 | messages listlengths 2 2 | grading dict | split stringclasses 1
value |
|---|---|---|---|---|---|---|---|---|---|---|
wiki-read-en-025365da3b487072f7c8 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-5d35e27fc4d7a2a5e5798e | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-8975739742919942077-4 (Apache-2.0). Wikipedia contributors, “Heart of Darkness” (https://en.wikipedia.org/wiki/Heart_of_Darkness), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Heart of Darkness\n\nWhen Conrad began to write the novella, eight years after returning from Africa, he drew inspiration from his travel journals. He described Heart of Darkness as \"a wild story\" of a journalist who becomes manager of a station in the (African) interior and ... | {
"type": "exact",
"value": "1902-11-13",
"tests": []
} | train |
algpy-e84e52528026030a-check-assertions | code | ru | TheAlgorithms/Python | MIT | algpy-e84e52528026030a | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, greedy_methods/minimum_waiting_time.py#minimum_waiting_time; adapted exercises | [
{
"role": "user",
"content": "Один из тестов противоречит фактическому поведению этой функции. Определи его и вычисли верный результат. В последней строке запиши букву и результат через двоеточие, например A: 42.\n```python\ndef compute(queries):\n n = len(queries)\n if n in (0, 1):\n return 0\... | {
"type": "exact",
"value": "B: 17",
"tests": []
} | train |
wiki-read-en-a8e7f09790349f173672 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-ce6f8346f286a7dda6bf38 | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-7062167395997684209-0 (Apache-2.0). Wikipedia contributors, “Origin of Hangul” (https://en.wikipedia.org/wiki/Origin_of_Hangul), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Origin of Hangul\n\nThe Korean alphabet is the native script of Korea, created in the mid fifteenth century by King Sejong, as both a complement and an alternative to the logographic Sino-Korean hanja. Initially denounced by the educated class as eonmun (vernacular writing), it... | {
"type": "exact",
"value": "vernacular writing",
"tests": []
} | train |
wiki-read-en-7bda1c6fcb1d10079d72 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-818d269342e457702e90cd | clause | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-1332479115085102410-7 (Apache-2.0). Wikipedia contributors, “Andean Volcanic Belt” (https://en.wikipedia.org/wiki/Andean_Volcanic_Belt), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Andean Volcanic Belt\n\nThe South Volcanic Zone (SVZ) extends roughly from Central Chile's Andes at the latitude of Santiago, at ca. 33°S, to Cerro Arenales in Aysén Region at ca. 46°S, a distance of well over 870mi(1,400km). The arc has formed due to subduction of the Nazca Pl... | {
"type": "exact",
"value": "which is believed to have produced a volcanic gap called the Pampean flat-slab segment in the Norte Chico region since the late Miocene",
"tests": []
} | train |
reason2-critical_path-044 | reasoning | ru | Original | CC0-1.0 | reason2-critical_path | workshop_critical_path | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Число рабочих мест в мастерской не ограничено. Время выполнения каждого этапа в минутах: X=6, Z=4, E=6, D=6, G=4, R=9, T=9. Стрелка X→Y означает, что Y начинает работу после завершения X. Все зависимости: E→R, E→T, E→Z, R→Z, T→Z, X→G, E→D, E→X. Время отсчитывают с нуля. Когда р... | {
"type": "number",
"value": "19",
"tests": []
} | train |
algpy-fde5363caa668606-trace | code | ru | TheAlgorithms/Python | MIT | algpy-fde5363caa668606 | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, bit_manipulation/numbers_different_signs.py#different_signs; adapted exercises | [
{
"role": "user",
"content": "```python\ndef compute(num1, num2):\n return num1 ^ num2 < 0\n```\nЧто вернёт выражение compute(-1000000000000000000000000000, 1000000000000000000000000000)? Запиши repr результата Python."
},
{
"role": "assistant",
"content": "True"
}
] | {
"type": "exact",
"value": "True",
"tests": []
} | train |
wiki-read-en-663a9e6be75cc5b1b584 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-7bc576804a2e3e63135be1 | definition | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-1121182207186465089-0 (Apache-2.0). Wikipedia contributors, “The Last House on the Left (2009 film)” (https://en.wikipedia.org/wiki/The_Last_House_on_the_Left_(2009_film)), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New... | [
{
"role": "user",
"content": "The Last House on the Left (2009 film)\n\nThe Last House on the Left is a 2009 American horror-thriller film directed by Dennis Iliadis and written by Carl Ellsworth and Adam Alleca. It is a remake of the 1972 film of the same name, and stars Tony Goldwyn, Monica Potter, Garret... | {
"type": "exact",
"value": "a 2009 American horror-thriller film directed by Dennis Iliadis and written by Carl Ellsworth and Adam Alleca",
"tests": []
} | train |
reason2-minimum_cover-008 | 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 1, 2, 3, 6, 7, 8. Available kits and the types they contain: U=1/2/6; R=2/3/8; N=3; J=1/2/7; L=1/3; D=3. Duplicate samples are allowed. What is the fewest kits that cover every type?\nShow a short check. Give the final answer on a separate ... | {
"type": "number",
"value": "3",
"tests": []
} | train |
reason2-room_peak-053 | reasoning | ru | Original | CC0-1.0 | reason2-room_peak | workshop_room_peak | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Репетиции занимают отдельные комнаты в такие минуты: R [6,13); E [3,10); B [12,20); J [0,8); D [7,10). Конец интервала уже свободен; одна комната подходит любой группе. Сколько комнат как минимум требуется одновременно?\nПриведи ход решения в нескольких фразах. На последней стр... | {
"type": "number",
"value": "4",
"tests": []
} | train |
algpy-a195df8254e8cdc2-implement | code | en | TheAlgorithms/Python | MIT | algpy-a195df8254e8cdc2 | implement | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/primelib.py#factorial; adapted exercises | [
{
"role": "user",
"content": "Implement this Python function. Return n factorial for an integer n from 0 through 12; 0! equals 1.\nSignature: def factorial(n):\nExamples:\n```python\nassert factorial(0) == 1\nassert factorial(2) == 2\n```"
},
{
"role": "assistant",
"content": "```python\ndef fac... | {
"type": "code",
"value": "",
"tests": [
"assert factorial(1) == 1",
"assert factorial(3) == 6",
"assert factorial(4) == 24",
"assert factorial(5) == 120",
"assert factorial(6) == 720",
"assert factorial(7) == 5040",
"assert factorial(8) == 40320",
"assert factorial(9) == 362880",... | train |
reason2-line_breaks-002 | 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 5, 9, 7, 9, 9, 3, 9, 8, 8, in the given order. Each line holds 17 characters, with one space between adjacent words. Words cannot be split or reordered. What is the fewest lines needed?\nShow a short check. Give the final answer on a separate... | {
"type": "number",
"value": "5",
"tests": []
} | train |
wiki-read-en-e3a6d75acb52e72dde2a | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-813a41ea607557aa257a74 | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--7327300810661705072-23 (Apache-2.0). Wikipedia contributors, “Cricket in Australia” (https://en.wikipedia.org/wiki/Cricket_in_Australia), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Cricket in Australia\n\nThe 2015 Cricket World Cup was jointly hosted by Australia and New Zealand from 14 February to 29 March 2015. Fourteen teams played 49 matches in 14 venues, with Australia staging 26 games at grounds in Adelaide, Brisbane, Canberra, Hobart, Melbourne, Pe... | {
"type": "exact",
"value": "2015-03-29",
"tests": []
} | train |
algpy-a1c5129c84574895-check-assertions | code | ru | TheAlgorithms/Python | MIT | algpy-a1c5129c84574895 | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, knapsack/recursive_approach_knapsack.py#knapsack; adapted exercises | [
{
"role": "user",
"content": "Один из тестов противоречит фактическому поведению этой функции. Определи его и вычисли верный результат. В последней строке запиши букву и результат через двоеточие, например A: 42.\n```python\ndef compute(weights, values, number_of_items, max_weight, index):\n if index == ... | {
"type": "exact",
"value": "A: 13",
"tests": []
} | train |
reason2-frequency_median-000 | reasoning | en | Original | CC0-1.0 | reason2-frequency_median | workshop_frequency_median | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "A log summarises sessions as minutes × number of sessions: 44×11; 9×2; 35×2; 31×2; 13×8; 52×8. What is the median duration of an individual session?\nExplain in a few sentences and use the final line for the answer alone."
},
{
"role": "assistant",
"content": "There... | {
"type": "number",
"value": "44",
"tests": []
} | train |
verified-code-discarded_keys-trace | code | en | Original | CC0-1.0 | verified-code-cache_order | verified_trace | Original algorithm and independent oracle, release 2; CC0-1.0. | [
{
"role": "user",
"content": "```python\ndef discarded_keys(requests, capacity):\n order = []\n evicted = []\n hits = []\n for key in requests:\n if key in order:\n hits.append(key)\n order.remove(key)\n elif len(order) == capacity:\n evicted.append... | {
"type": "exact",
"value": "[0, 2, 1]",
"tests": []
} | train |
wiki-read-ru-b814f888fba345271be9 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-81988385be383dcfad639a | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--3076589540425562736-48 (Apache-2.0). Wikipedia contributors, “Бестужев-Рюмин, Алексей Петрович” (https://ru.wikipedia.org/wiki/%D0%91%D0%B5%D1%81%D1%82%D1%83%D0%B6%D0%B5%D0%B2-%D0%A0%D1%8E%D0%BC%D0%B8%D0%BD%2C_%D0%90%D0%BB%D0%B5%D0%BA%D1%81%D0%B5%D0%B9_%D0%9F%D0%B5... | [
{
"role": "user",
"content": "Бестужев-Рюмин, Алексей Петрович\n\n15 июля 1744 года Бестужев был назначен государственным канцлером Российской империи, а Воронцов — вице-канцлером и графом. Новый канцлер поспешил подать императрице челобитную с изложением всей своей службы, во время которой, получая, действ... | {
"type": "exact",
"value": "1744-07-15",
"tests": []
} | train |
math-verified-rounded_scales-010 | math | ru | Original | CC0-1.0 | math-verified-rounded_scales | verified_math_rounded_scales | Original bilingual mathematics exercises, CC0-1.0 | [
{
"role": "user",
"content": "Длина детали — целое число миллиметров. Один прибор округляет длину до ближайшего числа, кратного 6 мм, другой — до ближайшего числа, кратного 16 мм. Ровно посередине оба выбирают большее значение. Приборы показали соответственно 36 и 32 мм. Сколько целых значений длины согласу... | {
"type": "number",
"value": "6",
"tests": []
} | train |
wiki-read-en-87968c40c6392042e28f | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-c77ec59e8a0cac5b1d2d27 | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--1717983205173220228-0 (Apache-2.0). Wikipedia contributors, “Ellis Island” (https://en.wikipedia.org/wiki/Ellis_Island), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Ellis Island\n\nEllis Island, in Upper New York Bay, was the gateway for over 12 million immigrants to the U.S. as the United States' busiest immigrant inspection station for over 60 years from 1892 until 1954. Ellis Island was opened January 1, 1892. The island was greatly exp... | {
"type": "exact",
"value": "1892-01-01",
"tests": []
} | train |
reason2-connected_groups-025 | reasoning | en | Original | CC0-1.0 | reason2-connected_groups | workshop_connected_groups | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Each code in C, H, U, D, W, P, N initially has its own archive. Linking two codes merges their entire archives, including indirect links. The full list of existing links is N–P, C–W, U–N. One new link W–D is added. How many codes belong to the newly merged archive?\nShow a shor... | {
"type": "number",
"value": "3",
"tests": []
} | train |
wiki-read-ru-7d4e00d0382274d43ccd | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-268ae3b75d13c468235bd6 | chronology | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--2126603862879195358-25 (Apache-2.0). Wikipedia contributors, “Противостояние (роман)” (https://ru.wikipedia.org/wiki/%D0%9F%D1%80%D0%BE%D1%82%D0%B8%D0%B2%D0%BE%D1%81%D1%82%D0%BE%D1%8F%D0%BD%D0%B8%D0%B5_(%D1%80%D0%BE%D0%BC%D0%B0%D0%BD)), snapshot 2019-02-01 (CC-BY-S... | [
{
"role": "user",
"content": "Противостояние (роман)\n\nВпервые на русском языке роман увидел свет в 1993 году. Издательство «Кэдмэн» выпустило книгу в двух томах в переводе Алексея Медведева под названием «Армагеддон»:374. Текст при этом был сокращен примерно на треть:88-89. Позже произведение в этой вариа... | {
"type": "exact",
"value": "1993, 1995, 1997, 2012",
"tests": []
} | train |
wiki-read-ru-fc189ad4bac1eb58dcaf | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-907d1c805074c6875b8773 | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--4082539350237474883-12 (Apache-2.0). Wikipedia contributors, “Венеция” (https://ru.wikipedia.org/wiki/%D0%92%D0%B5%D0%BD%D0%B5%D1%86%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Исторический центр расположен на 118 островах Венецианской лагуны, разделённых 150 каналами и протоками, через которые переброшено около 400 мостов (в том числе Риальто и так называемый мост Вздохов, оба относятся к концу XVI века).\n\nКакое пояснение в скобках автор... | {
"type": "exact",
"value": "в том числе Риальто и так называемый мост Вздохов, оба относятся к концу XVI века",
"tests": []
} | train |
wiki-read-en-8303c7adfbe5713bf10a | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-fc8d410699d2cd23016621 | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--7680264796359710560-1 (Apache-2.0). Wikipedia contributors, “Richard Lindzen” (https://en.wikipedia.org/wiki/Richard_Lindzen), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Richard Lindzen\n\nLindzen was born on February 8, 1940 in Webster, Massachusetts. His father, a shoemaker, had fled Hitler's Germany with his mother. He moved to the Bronx soon after his birth and grew up in a Jewish household in a predominantly Catholic neighborhood there. Li... | {
"type": "exact",
"value": "winning Regents' and National Merit Scholarships",
"tests": []
} | train |
math-verified-conditional_draw-018 | math | ru | Original | CC0-1.0 | math-verified-conditional_draw | verified_math_conditional_draw | Original bilingual mathematics exercises, CC0-1.0 | [
{
"role": "user",
"content": "В мешке красных жетонов — 3, синих — 2, жёлтых — 4. Два жетона выбирают равновероятно без возвращения. Известно, что среди них есть хотя бы один красный. Какова при этом вероятность, что выбраны ровно один красный и один синий жетон?\nЗапиши точное число в последней строке; нец... | {
"type": "number",
"value": "2/7",
"tests": []
} | train |
reason2-light_piece-009 | reasoning | ru | Original | CC0-1.0 | reason2-light_piece | workshop_light_piece | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Детали U, Z, A, S, B, E, R, M, V, G, W должны весить одинаково, но ровно одна легче. На чаши каждый раз кладут поровну деталей. Результаты (знаки сравнивают массу левой и правой чаш): V+W+B+A+Z > G+E+R+S+M; W+E+U+G > Z+S+R+B; G+R < E+A. Какая деталь легче?\nПриведи ход решения ... | {
"type": "exact",
"value": "R",
"tests": []
} | train |
wiki-read-ru-313524982c17ff40f6cf | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-44b28c3a9f7b4b2e440d2d | chronology | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--4007777820293475415-5 (Apache-2.0). Wikipedia contributors, “Карпинск” (https://ru.wikipedia.org/wiki/%D0%9A%D0%B0%D1%80%D0%BF%D0%B8%D0%BD%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Основан в 1759 году как поселение при Богословском заводе. До 1923 года являлся административным центром Богословского горного округа. Статус города и современное название получил в 1941 году.\n\nКакие четырёхзначные календарные годы упомянуты в отрывке? Запиши их п... | {
"type": "exact",
"value": "1759, 1923, 1941",
"tests": []
} | train |
wiki-read-en-eaf5a79a530980da50e1 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-d70f18f020dbf7ccfec782 | clause | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--265161594047807372-11 (Apache-2.0). Wikipedia contributors, “Tugs (TV series)” (https://en.wikipedia.org/wiki/Tugs_(TV_series)), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Tugs (TV series)\n\nTugs first aired on CITV in the United Kingdom, and then on Australia's ABC TV. Talks of a second series were never finalised, and eventually all plans to create a follow-up were dropped. Redubbed and heavily edited footage aired later as part of American ch... | {
"type": "exact",
"value": "which aired in 1997",
"tests": []
} | train |
gsm-train-5236 | math | en | GSM8K | MIT | gsm8k-f4235b37a033fdc0ff36 | word_problem_3_steps | OpenAI (2021), GSM8K, original train row 5236 | [
{
"role": "user",
"content": "Mr. Banks and Ms. Elizabeth are entrepreneurs who invest in different income streams and earn revenue from the investments. From each of his eight investments, Mr. Banks received $500 in revenue. Ms. Elizabeth also received $900 from each of her 5 investment streams. How much m... | {
"type": "number",
"value": "500",
"tests": []
} | train |
reason2-light_piece-049 | reasoning | ru | Original | CC0-1.0 | reason2-light_piece | workshop_light_piece | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Детали L, A, H, K, S, P, U, W, B должны весить одинаково, но ровно одна легче. На чаши каждый раз кладут поровну деталей. Результаты (знаки сравнивают массу левой и правой чаш): U+H = L+S; L+P+K+H > B+A+U+W; U+K > W+A; U+W < A+P. Какая деталь легче?\nКратко обоснуй ответ и запи... | {
"type": "exact",
"value": "W",
"tests": []
} | train |
reason2-frequency_median-010 | reasoning | ru | Original | CC0-1.0 | reason2-frequency_median | workshop_frequency_median | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "В журнале длительности занятий записаны парами «минуты × число занятий»: 52×10; 37×7; 51×10; 53×9; 34×4; 40×10; 4×11; 26×10. Какова медианная длительность одного занятия?\nПокажи короткую проверку, а в конце на отдельной строке дай ответ."
},
{
"role": "assistant",
... | {
"type": "number",
"value": "40",
"tests": []
} | train |
reason2-fair_slots-047 | reasoning | ru | Original | CC0-1.0 | reason2-fair_slots | workshop_fair_slots | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Клуб делит часы студии по одному. Веса секций: C=16, M=35, P=18, Z=26. Следующий час получает секция с наибольшим отношением «вес / (1 + число уже выделенных часов)». При равенстве выбирают первый код по алфавиту. Какой секции достанется час номер 5, если сначала ни у кого нет ... | {
"type": "exact",
"value": "C",
"tests": []
} | train |
algpy-783fb6433f9101cb-check-assertions | code | en | TheAlgorithms/Python | MIT | algpy-783fb6433f9101cb | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, strings/edit_distance.py#edit_distance; adapted exercises | [
{
"role": "user",
"content": "Exactly one test misstates what this implementation returns. Identify it and compute the correct result. End with the letter and the corrected Python repr, for example A: 42.\n```python\ndef compute(source, target):\n if len(source) == 0:\n return len(target)\n eli... | {
"type": "exact",
"value": "A: 1",
"tests": []
} | train |
wiki-read-ru-6b158f785f5146837225 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-1082ffbe822c045fc38f0f | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-6236422785929957583-0 (Apache-2.0). Wikipedia contributors, “Нью-Йоркский музей современного искусства” (https://ru.wikipedia.org/wiki/%D0%9D%D1%8C%D1%8E-%D0%99%D0%BE%D1%80%D0%BA%D1%81%D0%BA%D0%B8%D0%B9_%D0%BC%D1%83%D0%B7%D0%B5%D0%B9_%D1%81%D0%BE%D0%B2%D1%80%D0%B5%D... | [
{
"role": "user",
"content": "Нью-Йоркский музей современного искусства\n\nМузей современного искусства на Манхеттене в Нью-Йорке (Museum of Modern Art, сокращенно MoMA) — один из первых и наиболее представительных музеев современного искусства в мире, послуживший эталоном для многих других собраний подобно... | {
"type": "exact",
"value": "Museum of Modern Art, сокращенно MoMA",
"tests": []
} | train |
algpy-c49eba77ef98fd2e-implement | code | en | TheAlgorithms/Python | MIT | algpy-c49eba77ef98fd2e | implement | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, searches/linear_search.py#linear_search; adapted exercises | [
{
"role": "user",
"content": "Implement this Python function. Return the zero-based index of the first matching integer, or -1 if absent. The input list may be empty.\nSignature: def linear_search(sequence, target):\nExamples:\n```python\nassert linear_search([], 1) == -1\nassert linear_search([1], 1) == 0\... | {
"type": "code",
"value": "",
"tests": [
"assert linear_search([1, 1, 2, 5], 1) == 0",
"assert linear_search([1, 1, 2, 5], 3) == -1",
"assert linear_search([0, 2, 4, 4], 7) == -1",
"assert linear_search([1, 4, 4], 0) == -1"
]
} | train |
wiki-read-ru-51c14582d43fee6da93e | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-9964305369559df108a81e | chronology | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--2047750091446647190-0 (Apache-2.0). Wikipedia contributors, “Нарвик” (https://ru.wikipedia.org/wiki/%D0%9D%D0%B0%D1%80%D0%B2%D0%B8%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На́рвик (Norwegian: Narvik, Northern Sami: Narviika) — город и коммуна в Норвегии, в фюльке Нурланн. Нарвик расположен к северу от Полярного круга в регионе Офотен, на берегу Офотфьорда и граничит с муниципалитетами Гратанген, Лаванген и Барду на севере, Эвенес на сев... | {
"type": "exact",
"value": "1902, 1974",
"tests": []
} | train |
reason2-fair_slots-035 | reasoning | ru | Original | CC0-1.0 | reason2-fair_slots | workshop_fair_slots | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Клуб делит часы студии по одному. Веса секций: F=22, G=16, K=36, Y=7, Z=31. Следующий час получает секция с наибольшим отношением «вес / (1 + число уже выделенных часов)». При равенстве выбирают первый код по алфавиту. Какой секции достанется час номер 4, если сначала ни у кого... | {
"type": "exact",
"value": "K",
"tests": []
} | train |
algpy-2c1b91c34b085bf4-check-assertions | code | ru | TheAlgorithms/Python | MIT | algpy-2c1b91c34b085bf4 | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/special_numbers/bell_numbers.py#bell_numbers; adapted exercises | [
{
"role": "user",
"content": "Один из тестов противоречит фактическому поведению этой функции. Определи его и вычисли верный результат. В последней строке запиши букву и результат через двоеточие, например A: 42.\n```python\ndef _binomial_coefficient(total_elements, elements_to_choose):\n if elements_to_... | {
"type": "exact",
"value": "A: [1]",
"tests": []
} | train |
wiki-read-en-25bfd289632c81db2c07 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-558961f4b958c0d4b411c8 | chronology | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--5201347534130263711-14 (Apache-2.0). Wikipedia contributors, “Brooklyn Nets” (https://en.wikipedia.org/wiki/Brooklyn_Nets), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Brooklyn Nets\n\nThe original owner of the Nets franchise was trucking magnate Arthur J. Brown, who was the founder of the American Basketball Association team that was then known as the New Jersey Americans in 1967. The next year, Brown renamed the franchise to the New York Ne... | {
"type": "exact",
"value": "1967, 1977",
"tests": []
} | train |
algpy-96e20a9631ea99c5-change-impact | code | ru | TheAlgorithms/Python | MIT | algpy-96e20a9631ea99c5 | change-impact | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, matrix/largest_square_area_in_matrix.py#largest_square_area_in_matrix_bottom_up; adapted exercises | [
{
"role": "user",
"content": "В показанном коде строку `largest_square_area = max(dp_array[row][col], largest_square_area)` заменяют на `largest_square_area = min(dp_array[row][col], largest_square_area)`. Для какого из двух выражений изменится возвращаемое значение? Дай короткое объяснение и запиши букву в... | {
"type": "exact",
"value": "A",
"tests": []
} | train |
reason2-critical_path-009 | reasoning | ru | Original | CC0-1.0 | reason2-critical_path | workshop_critical_path | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Число рабочих мест в мастерской не ограничено. Время выполнения каждого этапа в минутах: X=9, G=5, R=9, D=9, M=5, W=4, K=6. Стрелка X→Y означает, что Y начинает работу после завершения X. Все зависимости: D→G, K→G, X→G, D→X, W→X, D→R, X→R, R→K, W→M. Время отсчитывают с нуля. Ко... | {
"type": "number",
"value": "38",
"tests": []
} | train |
verified-code-turn_right-repair | code | en | Original | CC0-1.0 | verified-code-rotate | verified_repair | Original algorithm and independent oracle, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Correct one line. turn_right([[3], [2], [1]]) returns [[3, 2, 1]]; expected [[1, 2, 3]]. Return a new integer grid rotated 90 degrees clockwise. Input is [] or a rectangular list of nonempty rows. An empty grid gives []. Do not mutate the input.\n```python\ndef turn_right(grid)... | {
"type": "code",
"value": "",
"tests": [
"assert turn_right([]) == []",
"assert turn_right([[9]]) == [[9]]",
"assert turn_right([[1, 2, 3]]) == [[1], [2], [3]]",
"assert turn_right([[1, 2, 3], [4, 5, 6]]) == [[4, 1], [5, 2], [6, 3]]",
"assert turn_right([[7, 8], [9, 0], [1, 2]]) == [[1, 9, 7]... | train |
wiki-read-ru-16d5b14aab9f53291dde | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-41334f154f6d6a51471ad7 | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-502065421564587740-2 (Apache-2.0). Wikipedia contributors, “Силовые вилки и розетки для переменного тока” (https://ru.wikipedia.org/wiki/%D0%A1%D0%B8%D0%BB%D0%BE%D0%B2%D1%8B%D0%B5_%D0%B2%D0%B8%D0%BB%D0%BA%D0%B8_%D0%B8_%D1%80%D0%BE%D0%B7%D0%B5%D1%82%D0%BA%D0%B8_%D0%B... | [
{
"role": "user",
"content": "Силовые вилки и розетки для переменного тока\n\nШтепсельная вилка — часть соединителя для подключения потребителя электроэнергии к розетке. Электрические контакты вилки обычно имеют форму штырей, которые придают ей некоторое сходство со столовой вилкой, отчего и произошло русск... | {
"type": "exact",
"value": "шнуром",
"tests": []
} | train |
wiki-read-ru-79bf06d86866b4e3693b | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-8b7b14f1f8801780a2bb76 | definition | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-6805037988089325117-0 (Apache-2.0). Wikipedia contributors, “Ford Ranchero” (https://ru.wikipedia.org/wiki/Ford_Ranchero), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Ford Ranchero\n\nFord Ranchero — ют американской компании Ford Motor Company. Выпускался с 1957 года по 1979 год. В отличие от традиционного пикапа, Ranchero создавался на базе адаптированной платформы двухдверного универсала Ford Ranch Wagon и представлял собой двухдверный авт... | {
"type": "exact",
"value": "ют американской компании Ford Motor Company",
"tests": []
} | train |
reason2-rotate_grid-047 | reasoning | ru | Original | CC0-1.0 | reason2-rotate_grid | workshop_rotate_grid | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Исходные строки табло сверху вниз: A H M C / B S W R / K X Q J. Выполни циклические сдвиги по порядку: строка 2 на 2 вправо; столбец 4 на 1 вниз; строка 2 на 2 вправо; столбец 1 на 2 вниз. Какой символ теперь в строке 2, столбце 4? Нумерация с единицы.\nПокажи короткую проверку... | {
"type": "exact",
"value": "R",
"tests": []
} | train |
verified-code-turn_around-implement | code | en | Original | CC0-1.0 | verified-code-rotate | verified_implement | Original algorithm and independent oracle, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Implement turn_around(grid) in Python. Return a new integer grid rotated 180 degrees. Input is [] or a rectangular list of nonempty rows. An empty grid gives []. Do not mutate the input.\nassert turn_around([[1, 2, 3]]) == [[3, 2, 1]]"
},
{
"role": "assistant",
"con... | {
"type": "code",
"value": "",
"tests": [
"assert turn_around([]) == []",
"assert turn_around([[9]]) == [[9]]",
"assert turn_around([[3], [2], [1]]) == [[1], [2], [3]]",
"assert turn_around([[1, 2, 3], [4, 5, 6]]) == [[6, 5, 4], [3, 2, 1]]",
"assert turn_around([[7, 8], [9, 0], [1, 2]]) == [[2... | train |
reason2-order_count-005 | reasoning | ru | Original | CC0-1.0 | reason2-order_count | workshop_order_count | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Экспонаты K, G, C, F, N выносят по одному, каждый ровно раз. Правило X→Y требует вынести X раньше Y. Правила: G→C, K→G, F→N. Сколько полных порядков допускают эти условия?\nКратко обоснуй ответ и запиши сам ответ на последней строке."
},
{
"role": "assistant",
"cont... | {
"type": "number",
"value": "10",
"tests": []
} | train |
algpy-1e0b253c8d7a2d35-check-assertions | code | ru | TheAlgorithms/Python | MIT | algpy-1e0b253c8d7a2d35 | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, searches/ternary_search.py#lin_search; adapted exercises | [
{
"role": "user",
"content": "Один из тестов противоречит фактическому поведению этой функции. Определи его и вычисли верный результат. В последней строке запиши букву и результат через двоеточие, например A: 42.\n```python\ndef compute(left, right, array, target):\n for i in range(left, right):\n ... | {
"type": "exact",
"value": "B: 3",
"tests": []
} | train |
reason2-balanced_load-017 | reasoning | ru | Original | CC0-1.0 | reason2-balanced_load | workshop_balanced_load | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Две тележки должны увезти все ящики без деления содержимого. Масса каждого ящика: J=60, A=15, P=18, Z=24, X=54, U=30, C=42, K=36. Какой наименьшей разницы масс между тележками можно добиться?\nПриведи ход решения в нескольких фразах. На последней строке оставь только ответ."
... | {
"type": "number",
"value": "3",
"tests": []
} | train |
algpy-40f288eed61327db-trace | code | en | TheAlgorithms/Python | MIT | algpy-40f288eed61327db | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, data_structures/binary_tree/lowest_common_ancestor.py#swap; adapted exercises | [
{
"role": "user",
"content": "```python\ndef compute(a, b):\n a ^= b\n b ^= a\n a ^= b\n return (a, b)\n```\nWhat does compute(3, -4) return? Give the Python repr of the value."
},
{
"role": "assistant",
"content": "(-4, 3)"
}
] | {
"type": "exact",
"value": "(-4, 3)",
"tests": []
} | train |
math-verified-conditional_draw-019 | math | en | Original | CC0-1.0 | math-verified-conditional_draw | verified_math_conditional_draw | Original bilingual mathematics exercises, CC0-1.0 | [
{
"role": "user",
"content": "A bag has 9 red, 3 blue and 2 yellow tokens. Two distinct tokens are drawn uniformly without replacement. Given that at least one is red, what is the probability that the pair consists of one red and one blue?\nGive the exact number on the last line; use a reduced fraction for ... | {
"type": "number",
"value": "1/3",
"tests": []
} | train |
wiki-read-ru-7eecfeabd29e3a3f733b | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-adac7963002ad9f353ae87 | chronology | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-3173694986115466941-62 (Apache-2.0). Wikipedia contributors, “Пресли, Элвис” (https://ru.wikipedia.org/wiki/%D0%9F%D1%80%D0%B5%D1%81%D0%BB%D0%B8%2C_%D0%AD%D0%BB%D0%B2%D0%B8%D1%81), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normali... | [
{
"role": "user",
"content": "Пресли, Элвис\n\nПресли при жизни получил 3 награды «Грэмми», — все за духовную музыку (госпел): в 1967 году за альбом How Great Thou Art, в 1971 году за альбом He Touched Me и в 1974 году за концертную версию песни «How Great Thou Art».\n\nКакие четырёхзначные календарные годы... | {
"type": "exact",
"value": "1967, 1971, 1974",
"tests": []
} | train |
algpy-014c7c44de09f91e-check-assertions | code | en | TheAlgorithms/Python | MIT | algpy-014c7c44de09f91e | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/area.py#surface_area_torus; 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(torus_radius, tube_radius):\n if torus_radius < 0 or ... | {
"type": "exact",
"value": "A: 39.478418",
"tests": []
} | train |
wiki-read-ru-2f528b61edfe452fa40c | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-7e03773f4bcdd93753cf3a | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--837645253753798988-73 (Apache-2.0). Wikipedia contributors, “Беверли-Хиллз, 90210” (https://ru.wikipedia.org/wiki/%D0%91%D0%B5%D0%B2%D0%B5%D1%80%D0%BB%D0%B8-%D0%A5%D0%B8%D0%BB%D0%BB%D0%B7%2C_90210), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and refere... | [
{
"role": "user",
"content": "Беверли-Хиллз, 90210\n\n5 ноября 2013 года в США вышло полное собрание всех 10 сезонов под названием «Beverly Hills, 90210: The Complete Series». Среди бонусов представлены интервью с Дарреном Старом; интервью с актёрами со съёмочной площадки сериала; сегменты программы «Entert... | {
"type": "exact",
"value": "2013-11-05",
"tests": []
} | train |
gsm-train-4854 | math | en | GSM8K | MIT | gsm8k-1463e0cf96fa04a717bc | word_problem_3_steps | OpenAI (2021), GSM8K, original train row 4854 | [
{
"role": "user",
"content": "A road has four lanes, and in each lane, the number of cars is twice as many as the number of trucks in all the lanes. If there are 60 trucks in each lane, calculate the total number of vehicles in all the lanes?\nShow a short calculation. Put the final number alone on the last... | {
"type": "number",
"value": "2160",
"tests": []
} | train |
reason2-light_piece-066 | reasoning | en | Original | CC0-1.0 | reason2-light_piece | workshop_light_piece | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Parts L, Z, W, P, G, F, A, D, M, B have identical weights except for one lighter part. Each balance test puts the same number on both pans. Signs compare left weight with right: D+G+W > Z+M+F; Z+F+W+L+G < M+A+D+P+B; A+M+W+F < D+L+Z+B. Which part is lighter?\nShow a short check.... | {
"type": "exact",
"value": "F",
"tests": []
} | train |
wiki-read-ru-423e07c5d87618a2004e | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-fd9222fdaf30d02f602078 | definition | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--6230478915035682438-0 (Apache-2.0). Wikipedia contributors, “Ростов” (https://ru.wikipedia.org/wiki/%D0%A0%D0%BE%D1%81%D1%82%D0%BE%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Росто́в — город (с 862) в России, районный центр Ярославской области, административный центр Ростовского района. Расположен в 53 км к юго-западу от Ярославля, на берегу озера Неро. Площадь города составляет 32,0 км², население человек ( год).\n\nКак в начале отрывка о... | {
"type": "exact",
"value": "город (с 862) в России, районный центр Ярославской области, административный центр Ростовского района",
"tests": []
} | train |
reason2-assembly_units-017 | reasoning | en | Original | CC0-1.0 | reason2-assembly_units | workshop_assembly_units | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Each bill of materials lists the contents of one unit: S = 3×L + 3×Y; L = 3×U + 5×A; Y = 2×U + 5×A. The order requires 6 units of S plus 5 additional units of L. How many individual A parts are needed?\nExplain in a few sentences and use the final line for the answer alone."
... | {
"type": "number",
"value": "205",
"tests": []
} | train |
algpy-5beb664810ca250b-check-assertions | code | en | TheAlgorithms/Python | MIT | algpy-5beb664810ca250b | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/volume.py#vol_conical_frustum; 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(height, radius_1, radius_2):\n if radius_1 < 0 or rad... | {
"type": "exact",
"value": "B: 48490.482608",
"tests": []
} | train |
reason2-editing_history-031 | reasoning | en | Original | CC0-1.0 | reason2-editing_history | workshop_editing_history | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "An editor field starts at G. Writing replaces its value and discards any redo history. Undo moves to the previous value, redo restores an undone edit, and an unavailable action has no effect. Commands: write A; write Z; undo; redo; redo; undo; undo; undo; undo; write K; write C... | {
"type": "exact",
"value": "Y",
"tests": []
} | train |
reason2-order_count-034 | 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 L, K, P, U, Z, G must be brought in one at a time, each exactly once. X→Y requires X before Y. Given K→P, L→P, K→G, L→G, U→G, how many complete orders are possible?\nShow a short check. Give the final answer on a separate line."
},
{
"role": "assistant",
... | {
"type": "number",
"value": "84",
"tests": []
} | train |
wiki-read-ru-4a0385c6702e19a06d30 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-ee53fdc9bd56a1fdc70bda | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-793059199390213899-9 (Apache-2.0). Wikipedia contributors, “Кличко, Владимир Владимирович” (https://ru.wikipedia.org/wiki/%D0%9A%D0%BB%D0%B8%D1%87%D0%BA%D0%BE%2C_%D0%92%D0%BB%D0%B0%D0%B4%D0%B8%D0%BC%D0%B8%D1%80_%D0%92%D0%BB%D0%B0%D0%B4%D0%B8%D0%BC%D0%B8%D1%80%D0%BE%... | [
{
"role": "user",
"content": "Кличко, Владимир Владимирович\n\n18 января 2001 года защитил кандидатскую диссертацию в Киевском национальном университете физического воспитания и спорта, стал кандидатом наук в области физического воспитания и спорта.\n\nНайди полную календарную дату, у которой месяц написан ... | {
"type": "exact",
"value": "2001-01-18",
"tests": []
} | train |
verified-code-connected_pairs-trace | code | en | Original | CC0-1.0 | verified-code-components | verified_trace | Original algorithm and independent oracle, release 2; CC0-1.0. | [
{
"role": "user",
"content": "```python\ndef connected_pairs(n, edges):\n adj = [[] for _ in range(n)]\n for a, b in edges:\n adj[a].append(b)\n adj[b].append(a)\n seen = set()\n groups = []\n for root in range(n):\n if root in seen:\n continue\n queue =... | {
"type": "exact",
"value": "3",
"tests": []
} | train |
math-verified-conditional_draw-011 | 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, синих — 4, жёлтых — 3. Два жетона выбирают равновероятно без возвращения. Известно, что среди них есть хотя бы один красный. Какова при этом вероятность, что выбраны ровно один красный и один синий жетон?\nЗапиши точное число в последней строке; нец... | {
"type": "number",
"value": "4/11",
"tests": []
} | train |
reason2-balanced_load-018 | reasoning | ru | Original | CC0-1.0 | reason2-balanced_load | workshop_balanced_load | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Две тележки должны увезти все ящики без деления содержимого. Масса каждого ящика: E=75, V=21, H=36, B=57, A=69, P=27. Какой наименьшей разницы масс между тележками можно добиться?\nПокажи короткую проверку, а в конце на отдельной строке дай ответ."
},
{
"role": "assista... | {
"type": "number",
"value": "3",
"tests": []
} | train |
wiki-read-en-68240fc5136953e60763 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-027d0078191e336cb9b759 | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--6197473673038868361-1 (Apache-2.0). Wikipedia contributors, “History of the euro” (https://en.wikipedia.org/wiki/History_of_the_euro), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "History of the euro\n\nThe euro came into existence on 1 January 1999, although it had been a goal of the European Union (EU) and its predecessors since the 1960s. After tough negotiations, particularly due to opposition from the United Kingdom, the Maastricht Treaty entered in... | {
"type": "exact",
"value": "1999-01-01",
"tests": []
} | train |
wiki-read-en-2793bcc3c384a319f260 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-1ab567215bb26ea15b27b3 | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-431913235381347215-1 (Apache-2.0). Wikipedia contributors, “History of Nickelodeon” (https://en.wikipedia.org/wiki/History_of_Nickelodeon), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "History of Nickelodeon\n\nNickelodeon's history dates back to December 1, 1977, when QUBE, the first two-way major market interactive cable television system was launched in Columbus, Ohio by Warner Cable Corp. One of the ten \"community\" channels that were offered at no addit... | {
"type": "exact",
"value": "one of Nickelodeon's earliest series, which spun off from the C-3 service",
"tests": []
} | train |
math-verified-break_even-014 | 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 $15 plus $4 per page. Plan B costs $83 per month, includes the first 9 pages, and charges $3 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": "42",
"tests": []
} | train |
algpy-ce31674d844f277b-repair | code | en | TheAlgorithms/Python | MIT | algpy-ce31674d844f277b | repair | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, dynamic_programming/max_non_adjacent_sum.py#maximum_non_adjacent_sum; adapted exercises | [
{
"role": "user",
"content": "Repair this Python function. Return the largest sum obtainable by choosing nonadjacent positions in a list of integers. Choosing no positions gives sum zero.\nFor maximum_non_adjacent_sum([]) it should return 0, but returns 1. Keep the signature.\n```python\ndef maximum_non_adj... | {
"type": "code",
"value": "",
"tests": [
"assert maximum_non_adjacent_sum([]) == 0",
"assert maximum_non_adjacent_sum([0]) == 0",
"assert maximum_non_adjacent_sum([1]) == 1",
"assert maximum_non_adjacent_sum([-3]) == 0",
"assert maximum_non_adjacent_sum([1, -1, 0]) == 1",
"assert maximum_... | train |
reason2-frequency_median-065 | reasoning | ru | Original | CC0-1.0 | reason2-frequency_median | workshop_frequency_median | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "В журнале длительности занятий записаны парами «минуты × число занятий»: 31×7; 20×3; 49×5; 54×9; 53×5. Какова медианная длительность одного занятия?\nПриведи ход решения в нескольких фразах. На последней строке оставь только ответ."
},
{
"role": "assistant",
"conten... | {
"type": "number",
"value": "49",
"tests": []
} | train |
algpy-1d4e795259d82ed4-trace | code | ru | TheAlgorithms/Python | MIT | algpy-1d4e795259d82ed4 | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/special_numbers/polygonal_numbers.py#polygonal_num; adapted exercises | [
{
"role": "user",
"content": "```python\ndef compute(num, sides):\n if num < 0 or sides < 3:\n raise ValueError('Invalid input: num must be >= 0 and sides must be >= 3.')\n return ((sides - 2) * num ** 2 - (sides - 4) * num) // 2\n```\nЧто вернёт выражение compute(0, 3)? Запиши repr результата ... | {
"type": "exact",
"value": "0",
"tests": []
} | train |
gsm-train-1308 | math | en | GSM8K | MIT | gsm8k-e0ab31b1a7245e803042 | word_problem_5_steps | OpenAI (2021), GSM8K, original train row 1308 | [
{
"role": "user",
"content": "Sarah's age is equal to three times Mark's age minus 4. Mark is four years older than Billy. Billy is half Ana's age. If Ana will be 15 in 3 years, how old is Sarah?\nShow a short calculation. Put the final number alone on the last line."
},
{
"role": "assistant",
"... | {
"type": "number",
"value": "26",
"tests": []
} | train |
reason2-missing_cells-028 | reasoning | en | Original | CC0-1.0 | reason2-missing_cells | workshop_missing_cells | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "In a tally table the columns are M, F, D, in that order. A vertical bar precedes the row total. Rows: R6: 7 / 4 / 11 | 22; R11: 14 / ? / ? | 34; R7: 14 / 2 / 13 | 29; R4: 7 / 13 / 14 | 34; R8: 3 / ? / 2 | 10. Column totals: M=45, F=30, D=54. What is the missing entry in row R11... | {
"type": "number",
"value": "6",
"tests": []
} | train |
wiki-read-ru-ce2702c284f83f8aff10 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-a6c8356f006fad882bbb26 | definition | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--2278908571505531790-0 (Apache-2.0). Wikipedia contributors, “Ленинская премия” (https://ru.wikipedia.org/wiki/%D0%9B%D0%B5%D0%BD%D0%B8%D0%BD%D1%81%D0%BA%D0%B0%D1%8F_%D0%BF%D1%80%D0%B5%D0%BC%D0%B8%D1%8F), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and r... | [
{
"role": "user",
"content": "Ленинская премия\n\nЛе́нинская пре́мия — в СССР одна из высших форм поощрения граждан за наиболее крупные достижения в области науки, техники, литературы, искусства и архитектуры. Присуждалась с 1926 по 1935 годы (в то время чаще называлась премией имени В.И.Ленина) и в 1957—19... | {
"type": "exact",
"value": "в СССР одна из высших форм поощрения граждан за наиболее крупные достижения в области науки, техники, литературы, искусства и архитектуры",
"tests": []
} | train |
wiki-read-en-66e72d64ff8a5ae33df5 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-fad6d319901de81b0b77f6 | clause | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--1705133662150772423-2 (Apache-2.0). Wikipedia contributors, “Foie gras” (https://en.wikipedia.org/wiki/Foie_gras), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Foie gras\n\nThe technique of gavage dates as far back as 2500 BC, when the ancient Egyptians began keeping birds for food and deliberately fattened the birds through force-feeding. Today, France is by far the largest producer and consumer of foie gras, though it is produced an... | {
"type": "exact",
"value": "when the ancient Egyptians began keeping birds for food and deliberately fattened the birds through force-feeding",
"tests": []
} | train |
wiki-read-ru-c693d98bc76041cebe45 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-7921edaf69af32460872c0 | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-563222840451671253-2 (Apache-2.0). Wikipedia contributors, “Герб Коломны” (https://ru.wikipedia.org/wiki/%D0%93%D0%B5%D1%80%D0%B1_%D0%9A%D0%BE%D0%BB%D0%BE%D0%BC%D0%BD%D1%8B), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. N... | [
{
"role": "user",
"content": "Герб Коломны\n\nВ лазоревом поле на зеленом холме, тонко окаймленном золотом, — серебряная колонна, увенчанная золотой короной, сопровождаемая по бокам двумя золотыми шестилучевыми звездами (двумя лучами вверх).\n\nКакое пояснение в скобках автор поместил сразу после слов «двум... | {
"type": "exact",
"value": "двумя лучами вверх",
"tests": []
} | train |
wiki-read-en-8ae5355501fc9ea54ae7 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-1b4030ff0d0611e44f7356 | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-5658654484398687872-40 (Apache-2.0). Wikipedia contributors, “Ashton-Tate” (https://en.wikipedia.org/wiki/Ashton-Tate), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Ashton-Tate\n\nIn 1990 Esber proposed a merger with Borland. During the first discussions, the board backed out and dismissed Esber thinking him crazy to entertain a merger of equals (combining the companies at existing market valuations) with the smaller competitor Borland, an... | {
"type": "exact",
"value": "combining the companies at existing market valuations",
"tests": []
} | train |
reason2-rotate_grid-019 | reasoning | ru | Original | CC0-1.0 | reason2-rotate_grid | workshop_rotate_grid | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Исходные строки табло сверху вниз: U X G / Q D K / R Z L. Выполни циклические сдвиги по порядку: столбец 2 на 2 вниз; строка 3 на 1 вправо; столбец 2 на 1 вниз; строка 1 на 2 вправо; столбец 3 на 2 вниз. Какой символ теперь в строке 2, столбце 2? Нумерация с единицы.\nКратко об... | {
"type": "exact",
"value": "D",
"tests": []
} | train |
wiki-read-en-48d972fb27319424c345 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-cb2241ce2b6d2f4c76c85e | definition | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-6564595432829266344-0 (Apache-2.0). Wikipedia contributors, “Demopolis, Alabama” (https://en.wikipedia.org/wiki/Demopolis%2C_Alabama), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Demopolis, Alabama\n\nDemopolis is the largest city in Marengo County, Alabama, United States. The population was 7,483 at the time of the 2010 United States Census.\n\nHow does the first sentence define “Demopolis”? Copy the full predicate after the linking verb, without the f... | {
"type": "exact",
"value": "the largest city in Marengo County, Alabama, United States",
"tests": []
} | train |
math-verified-skipped_payment-011 | math | ru | Original | CC0-1.0 | math-verified-skipped_payment | verified_math_skipped_payment | Original bilingual mathematics exercises, CC0-1.0 | [
{
"role": "user",
"content": "В первый день планировали отложить 18 руб., а в каждый следующий — на 4 руб. больше, чем было запланировано накануне. План рассчитан на 11 дней. Ровно в один день взнос пропустили; все остальные суммы внесли по расписанию. Всего отложили 396 руб. В какой по счёту день пропустил... | {
"type": "number",
"value": "2",
"tests": []
} | train |
reason2-critical_path-047 | reasoning | en | Original | CC0-1.0 | reason2-critical_path | workshop_critical_path | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "A workshop has unlimited workstations. Step durations in minutes: N=5, P=2, R=9, D=3, S=6. X→Y means Y may start only after X finishes. The full list of dependencies is D→N, R→N, S→N, S→D, D→P, N→P. Starting at minute zero, when can the whole job first be finished?\nShow a shor... | {
"type": "number",
"value": "16",
"tests": []
} | train |
wiki-read-en-b0d14f7cd6a09add9e1d | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-f2383438508c440fab9d56 | chronology | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-937900860737073430-2 (Apache-2.0). Wikipedia contributors, “The Legend of Zelda” (https://en.wikipedia.org/wiki/The_Legend_of_Zelda), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "The Legend of Zelda\n\nSince the original The Legend of Zelda was released in 1986, the series has expanded to include 19 entries on all of Nintendo's major game consoles, as well as a number of spin-offs. An American animated TV series based on the games aired in 1989 and indi... | {
"type": "exact",
"value": "1986, 1989, 1997",
"tests": []
} | train |
wiki-read-ru-fdce3435a2361a755b83 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-272a86ffcb16daa28c914f | measurement | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--3781704114334672326-2 (Apache-2.0). Wikipedia contributors, “Высадка в Нормандии” (https://ru.wikipedia.org/wiki/%D0%92%D1%8B%D1%81%D0%B0%D0%B4%D0%BA%D0%B0_%D0%B2_%D0%9D%D0%BE%D1%80%D0%BC%D0%B0%D0%BD%D0%B4%D0%B8%D0%B8), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; ... | [
{
"role": "user",
"content": "Высадка в Нормандии\n\nВысадка морской пехоты проводилась на участке побережья шириной 80 км между устьем реки Орн и коммуной Озвиль, который был разделён на 5 основных секторов вторжения: «Юта», «Омаха», «Голд», «Джуно» и «Сорд».\n\nКакое значение записано цифрами в километрах... | {
"type": "exact",
"value": "80 км",
"tests": []
} | train |
reason2-line_breaks-017 | reasoning | ru | Original | CC0-1.0 | reason2-line_breaks | workshop_line_breaks | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Длины слов заголовка в символах, от первого слова к последнему: 7, 3, 8, 4, 4, 4, 2. Предельная длина строки — 10. Между соседними словами ровно один пробел. Менять порядок и переносить часть слова нельзя. Каково наименьшее число строк?\nКратко обоснуй ответ и запиши сам ответ ... | {
"type": "number",
"value": "5",
"tests": []
} | train |
wiki-read-en-2062d928761efa56fc18 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-c9e1a78afbeaa90a10c189 | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-4639864346683707672-1 (Apache-2.0). Wikipedia contributors, “Stainless steel” (https://en.wikipedia.org/wiki/Stainless_steel), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Stainless steel\n\nIn metallurgy, stainless steel, also known as inox steel or inox from French inoxydable (inoxidizable), is a steel alloy, with highest percentage contents of iron, chromium, and nickel, with a minimum of 10.5% chromium content by mass and a maximum of 1.2% ca... | {
"type": "exact",
"value": "inoxidizable",
"tests": []
} | train |
wiki-read-ru-e77fe4ae11a804990411 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-e26f76f361991e86fd9981 | clause | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--8464295947362736040-1 (Apache-2.0). Wikipedia contributors, “Интерактивная доска” (https://ru.wikipedia.org/wiki/%D0%98%D0%BD%D1%82%D0%B5%D1%80%D0%B0%D0%BA%D1%82%D0%B8%D0%B2%D0%BD%D0%B0%D1%8F_%D0%B4%D0%BE%D1%81%D0%BA%D0%B0), snapshot 2019-02-01 (CC-BY-SA-3.0). Exce... | [
{
"role": "user",
"content": "Интерактивная доска\n\nПервые интерактивные доски были разработаны для использования в офисах. Они были созданы компанией Xerox PARC в 1990-е годы. Эти доски использовались для совещаний в малых группах и проведения круглых столов. В 1991 году компания Smart Technologies создал... | {
"type": "exact",
"value": "в которой использовалась проекционная технология",
"tests": []
} | train |
wiki-read-en-bd43b5f27260e09cb58e | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-0ff279f10d266f11dba56d | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--1325157415661738080-43 (Apache-2.0). Wikipedia contributors, “Abraham Jacob Hollandersky” (https://en.wikipedia.org/wiki/Abraham_Jacob_Hollandersky), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Abraham Jacob Hollandersky\n\nThe 5' 4\" welterweight Hollandersky lost to Panama Joe, the younger and stronger Panamanian Light and Middleweight champion, and the accomplished middleweight Connors of Scranton, Pennsylvania, who had a five-inch height advantage. But he gave a c... | {
"type": "exact",
"value": "1914-02-23",
"tests": []
} | train |
reason2-minimum_cover-003 | reasoning | ru | Original | CC0-1.0 | reason2-minimum_cover | workshop_minimum_cover | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Для выставки нужны образцы всех типов 1, 2, 3, 5, 7, 8, 9. Наборы перечислены с типами внутри: R=1/3; D=1/5/7/8; J=1/5/8; Y=9; L=2/5/8/9. Дубли допустимы. Какое наименьшее число наборов покроет все типы?\nКратко обоснуй ответ и запиши сам ответ на последней строке."
},
{
... | {
"type": "number",
"value": "3",
"tests": []
} | train |
wiki-read-en-2f5fca4a2d9e3d72af61 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-de7464e15b34070dc484fc | measurement | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--8557286485793625197-1 (Apache-2.0). Wikipedia contributors, “Michigan International Speedway” (https://en.wikipedia.org/wiki/Michigan_International_Speedway), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exer... | [
{
"role": "user",
"content": "Michigan International Speedway\n\nGroundbreaking took place on September 28, 1967. Over 2.5million cubic yards (1.9×10^6m3) of dirt were moved to form the D-shaped oval. The track opened in 1968 with a total capacity of 25,000seats. The track was originally built and owned by ... | {
"type": "exact",
"value": "250 mile",
"tests": []
} | train |
wiki-read-ru-91c5044e17922d05f739 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-55c391a8932461a298e3ae | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--1853162524048069252-4 (Apache-2.0). Wikipedia contributors, “Европейский суд по правам человека” (https://ru.wikipedia.org/wiki/%D0%95%D0%B2%D1%80%D0%BE%D0%BF%D0%B5%D0%B9%D1%81%D0%BA%D0%B8%D0%B9_%D1%81%D1%83%D0%B4_%D0%BF%D0%BE_%D0%BF%D1%80%D0%B0%D0%B2%D0%B0%D0%BC_%... | [
{
"role": "user",
"content": "Европейский суд по правам человека\n\nС 1 ноября 1998 года, по вступлении в силу Протокола № 11, первые два из этих органов были заменены единым, постоянно действующим Европейским Судом по правам человека. Его местонахождение — Дворец прав человека в Страсбурге (Франция), где н... | {
"type": "exact",
"value": "1998-11-01",
"tests": []
} | train |
wiki-read-ru-ec2afcbe3a16ca776b5b | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-2ccf6f9856083f4d84eee2 | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--59838835544228592-0 (Apache-2.0). Wikipedia contributors, “Ринго Старр” (https://ru.wikipedia.org/wiki/%D0%A0%D0%B8%D0%BD%D0%B3%D0%BE_%D0%A1%D1%82%D0%B0%D1%80%D1%80), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New read... | [
{
"role": "user",
"content": "Ринго Старр\n\nСэр Ринго Старр (English: Ringo Starr, настоящее имя Ричард Старки, English: Richard Starkey; 7 июля 1940, Ливерпуль) — британский музыкант, автор песен, актёр. Известен как барабанщик группы The Beatles. Кавалер ордена Британской империи, рыцарь-бакалавр.\n\nНай... | {
"type": "exact",
"value": "1940-07-07",
"tests": []
} | train |
wiki-read-ru-6f6de2f0f350e35a7e8a | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-0c387fb10ba188bab48b81 | clause | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--2754457175232908816-6 (Apache-2.0). Wikipedia contributors, “Киносъёмочный аппарат” (https://ru.wikipedia.org/wiki/%D0%9A%D0%B8%D0%BD%D0%BE%D1%81%D1%8A%D1%91%D0%BC%D0%BE%D1%87%D0%BD%D1%8B%D0%B9_%D0%B0%D0%BF%D0%BF%D0%B0%D1%80%D0%B0%D1%82), snapshot 2019-02-01 (CC-BY... | [
{
"role": "user",
"content": "Киносъёмочный аппарат\n\nПрообразом кинокамеры считаются аппараты для хронофотографии, которые изобретатели разных стран начали создавать после успешных опытов Эдварда Мэйбриджа по съёмке отдельных фаз движения. «Фотографическое ружьё», сконструированное в 1882 году физиологом ... | {
"type": "exact",
"value": "которые изобретатели разных стран начали создавать после успешных опытов Эдварда Мэйбриджа по съёмке отдельных фаз движения",
"tests": []
} | train |
algpy-84ecf4e431ee9024-check-assertions | code | en | TheAlgorithms/Python | MIT | algpy-84ecf4e431ee9024 | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/dodecahedron.py#dodecahedron_surface_area; 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(edge):\n if edge <= 0 or not isinstance(edge, int):\n raise ValueErro... | {
"type": "exact",
"value": "B: 516.14322",
"tests": []
} | train |
reason2-line_breaks-067 | reasoning | ru | Original | CC0-1.0 | reason2-line_breaks | workshop_line_breaks | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Длины слов заголовка в символах, от первого слова к последнему: 8, 6, 5, 2, 9, 3, 6, 2, 5, 7, 6. Предельная длина строки — 15. Между соседними словами ровно один пробел. Менять порядок и переносить часть слова нельзя. Каково наименьшее число строк?\nПокажи короткую проверку, а ... | {
"type": "number",
"value": "5",
"tests": []
} | train |
verified-code-window_spreads-trace | code | en | Original | CC0-1.0 | verified-code-windows | verified_trace | Original algorithm and independent oracle, release 2; CC0-1.0. | [
{
"role": "user",
"content": "```python\ndef window_spreads(xs, k):\n out = []\n for i in range(len(xs) - k + 1):\n part = xs[i:i + k]\n out.append(max(part) - min(part))\n return out\n```\nWhat does window_spreads([-4, -9, 5], 1) return? Give only the Python repr of the result."
},... | {
"type": "exact",
"value": "[0, 0, 0]",
"tests": []
} | train |
reason2-order_count-050 | 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 A, H, W, X, Z, V must be brought in one at a time, each exactly once. X→Y requires X before Y. Given H→X, H→Z, W→Z, X→Z, A→V, how many complete orders are possible?\nBriefly justify your result, then put the answer alone on the last line."
},
{
"role": "as... | {
"type": "number",
"value": "45",
"tests": []
} | train |
wiki-read-ru-4e29b0182412cb48be3a | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-7b9cbefb6e5d68f659c92b | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--152661309402567630-15 (Apache-2.0). Wikipedia contributors, “Феминизм” (https://ru.wikipedia.org/wiki/%D0%A4%D0%B5%D0%BC%D0%B8%D0%BD%D0%B8%D0%B7%D0%BC), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Феминизм\n\nНачалом организованного движения считается 1848 год, когда в городе Сенека-Фоллз (штат Нью-Йорк) прошёл съезд по защите прав женщин под лозунгом «Все женщины и мужчины созданы равными». На съезде была принята т. н. «Декларация чувств»: декларация поднимала такие важ... | {
"type": "exact",
"value": "штат Нью-Йорк",
"tests": []
} | train |
reason2-frequency_median-052 | reasoning | en | Original | CC0-1.0 | reason2-frequency_median | workshop_frequency_median | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "A log summarises sessions as minutes × number of sessions: 54×9; 48×6; 11×3; 34×4; 41×3. What is the median duration of an individual session?\nExplain in a few sentences and use the final line for the answer alone."
},
{
"role": "assistant",
"content": "There are 2... | {
"type": "number",
"value": "48",
"tests": []
} | train |
wiki-read-ru-0f5c8ad687262ba85b87 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-5c9aa1ea76f3fe70127c69 | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-2984169251203556195-0 (Apache-2.0). Wikipedia contributors, “Еврейская автономная область” (https://ru.wikipedia.org/wiki/%D0%95%D0%B2%D1%80%D0%B5%D0%B9%D1%81%D0%BA%D0%B0%D1%8F_%D0%B0%D0%B2%D1%82%D0%BE%D0%BD%D0%BE%D0%BC%D0%BD%D0%B0%D1%8F_%D0%BE%D0%B1%D0%BB%D0%B0%D1%... | [
{
"role": "user",
"content": "Еврейская автономная область\n\nЕвре́йская автоно́мная о́бласть (Yiddish: יידישע אויטאנאמע געגנט yidishe oytonome Gegent) — субъект Российской Федерации, входит в состав Дальневосточного федерального округа. Административный центр — город Биробиджан. Образована 7 мая 1934 года... | {
"type": "exact",
"value": "1934-05-07",
"tests": []
} | train |
algpy-21665449d348eaba-trace | code | ru | TheAlgorithms/Python | MIT | algpy-21665449d348eaba | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/pi_generator.py#calculate_pi; adapted exercises | [
{
"role": "user",
"content": "```python\ndef compute(limit):\n q = 1\n r = 0\n t = 1\n k = 1\n n = 3\n m = 3\n decimal = limit\n counter = 0\n result = ''\n while counter != decimal + 1:\n if 4 * q + r - t < n * t:\n result += str(n)\n if counter ==... | {
"type": "exact",
"value": "'3.14159265358979323846264338327950288419716939937510'",
"tests": []
} | train |
wiki-read-en-5d42ae1b35bc7c4e2f91 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-b0faa533da0881b03302b7 | clause | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-3206962519844749642-0 (Apache-2.0). Wikipedia contributors, “Neurotransmitter” (https://en.wikipedia.org/wiki/Neurotransmitter), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Neurotransmitter\n\nNeurotransmitters are endogenous chemicals that enable neurotransmission. It is a type of chemical messenger which transmits signals across a chemical synapse, such as a neuromuscular junction, from one neuron (nerve cell) to another \"target\" neuron, muscl... | {
"type": "exact",
"value": "where they are received by neurotransmitter receptors on the target cells",
"tests": []
} | train |
math-verified-quadratic_samples-011 | math | en | Original | CC0-1.0 | math-verified-quadratic_samples | verified_math_quadratic_samples | Original bilingual mathematics exercises, CC0-1.0 | [
{
"role": "user",
"content": "The function f is a quadratic polynomial. Its values are f(-4) = 37, f(-2) = 3, f(0) = -7. Find f(4).\nGive the exact number on the last line; use a reduced fraction for a noninteger answer."
},
{
"role": "assistant",
"content": "The arguments are 2 units apart. The... | {
"type": "number",
"value": "45",
"tests": []
} | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.