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 |
|---|---|---|---|---|---|---|---|---|---|---|
reason2-line_breaks-069 | reasoning | ru | Original | CC0-1.0 | reason2-line_breaks | workshop_line_breaks | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Длины слов заголовка в символах, от первого слова к последнему: 9, 3, 8, 9, 6, 8, 4, 7, 5, 4. Предельная длина строки — 19. Между соседними словами ровно один пробел. Менять порядок и переносить часть слова нельзя. Каково наименьшее число строк?\nПокажи короткую проверку, а в к... | {
"type": "number",
"value": "5",
"tests": []
} | train |
algpy-2b019bda797b5441-trace | code | en | TheAlgorithms/Python | MIT | algpy-2b019bda797b5441 | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, conversions/rectangular_to_polar.py#rectangular_to_polar; adapted exercises | [
{
"role": "user",
"content": "```python\nimport math\n\ndef compute(real, img):\n mod = round(math.sqrt(real ** 2 + img ** 2), 2)\n ang = round(math.degrees(math.atan2(img, real)), 2)\n return (mod, ang)\n```\nWhat does tuple(round(x, 6) for x in compute(-1, -1)) return? Give the Python repr of the... | {
"type": "exact",
"value": "(1.41, -135.0)",
"tests": []
} | train |
math-verified-tickets-022 | math | ru | Original | CC0-1.0 | math-verified-tickets | verified_math_tickets | Original bilingual mathematics exercises, CC0-1.0 | [
{
"role": "user",
"content": "За групповой заказ на 45 билетов заплатили 1376 руб., включая один сбор 11 руб. за весь заказ. Обычный билет стоил 55 руб., льготный — 25 руб. Сколько обычных билетов купили?\nЗапиши точное число в последней строке; нецелый ответ дай несократимой дробью."
},
{
"role": "... | {
"type": "number",
"value": "8",
"tests": []
} | train |
math-verified-quadratic_samples-024 | math | ru | Original | CC0-1.0 | math-verified-quadratic_samples | verified_math_quadratic_samples | Original bilingual mathematics exercises, CC0-1.0 | [
{
"role": "user",
"content": "Известно, что f — квадратный многочлен. Даны значения f(4) = 48, f(7) = 102, f(10) = 174. Чему равно f(16)?\nЗапиши точное число в последней строке; нецелый ответ дай несократимой дробью."
},
{
"role": "assistant",
"content": "Аргументы идут с шагом 3. Две соседние ... | {
"type": "number",
"value": "372",
"tests": []
} | train |
reason2-light_piece-011 | reasoning | ru | Original | CC0-1.0 | reason2-light_piece | workshop_light_piece | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Детали K, E, J, C, S, W, R, Y должны весить одинаково, но ровно одна легче. На чаши каждый раз кладут поровну деталей. Результаты (знаки сравнивают массу левой и правой чаш): C+R+S+K < E+J+W+Y; C+J+Y > S+W+K; E+R = K+Y. Какая деталь легче?\nКратко обоснуй ответ и запиши сам отв... | {
"type": "exact",
"value": "S",
"tests": []
} | train |
algpy-203f0050a00715d7-check-assertions | code | ru | TheAlgorithms/Python | MIT | algpy-203f0050a00715d7 | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, searches/median_of_medians.py#median_of_medians; adapted exercises | [
{
"role": "user",
"content": "Один из тестов противоречит фактическому поведению этой функции. Определи его и вычисли верный результат. В последней строке запиши букву и результат через двоеточие, например A: 42.\n```python\ndef median_of_five(arr):\n arr = sorted(arr)\n return arr[len(arr) // 2]\n\nd... | {
"type": "exact",
"value": "B: 54",
"tests": []
} | train |
wiki-read-ru-fb31f61227bdbccb4ee9 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-a3d096f2ac9cdeab889c08 | measurement | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--8379649294048481261-0 (Apache-2.0). Wikipedia contributors, “Гавайи” (https://ru.wikipedia.org/wiki/%D0%93%D0%B0%D0%B2%D0%B0%D0%B9%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Гава́йи (English: Hawaii) — штат США. Расположен на Гавайских островах в центральной части Тихого океана в Северном полушарии на расстоянии 3700 км от континентальной части США. В состав федерации на правах штата Гавайи вошли 21 августа 1959 года, став 50-м по счёту ш... | {
"type": "exact",
"value": "3700 км",
"tests": []
} | train |
math-verified-skipped_payment-006 | 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 руб., а в каждый следующий — на 8 руб. больше, чем было запланировано накануне. План рассчитан на 19 дней. Ровно в один день взнос пропустили; все остальные суммы внесли по расписанию. Всего отложили 1644 руб. В какой по счёту день пропусти... | {
"type": "number",
"value": "16",
"tests": []
} | train |
wiki-read-ru-741590f2de7a87a86bbd | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-c4ed23a018741cb9f159ff | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-7110976225320709706-0 (Apache-2.0). Wikipedia contributors, “Северная верфь” (https://ru.wikipedia.org/wiki/%D0%A1%D0%B5%D0%B2%D0%B5%D1%80%D0%BD%D0%B0%D1%8F_%D0%B2%D0%B5%D1%80%D1%84%D1%8C), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference marker... | [
{
"role": "user",
"content": "Северная верфь\n\nПАО Судостроительный завод «Северная верфь» (в прошлом «Путиловская верфь», в советские годы — завод имени А. А. Жданова) — судостроительное предприятие, расположенное в городе Санкт-Петербурге.\n\nКакое пояснение в скобках автор поместил сразу после слов «Суд... | {
"type": "exact",
"value": "в прошлом «Путиловская верфь», в советские годы — завод имени А. А. Жданова",
"tests": []
} | train |
wiki-read-en-97a968c8f674e2bf3f0f | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-75435f866125eed8abb497 | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--8741613890936066205-0 (Apache-2.0). Wikipedia contributors, “Rallying” (https://en.wikipedia.org/wiki/Rallying), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Rallying\n\nRally is a form of motorsport that takes place on public or private roads with modified production or specially built road-legal cars. It is distinguished by running not on a circuit, but instead in a point-to-point format in which participants and their co-drivers ... | {
"type": "exact",
"value": "special stages",
"tests": []
} | train |
reason2-frequency_median-026 | reasoning | ru | Original | CC0-1.0 | reason2-frequency_median | workshop_frequency_median | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "В журнале длительности занятий записаны парами «минуты × число занятий»: 14×11; 53×5; 39×11; 29×2; 4×3; 42×10; 18×11. Какова медианная длительность одного занятия?\nПриведи ход решения в нескольких фразах. На последней строке оставь только ответ."
},
{
"role": "assistan... | {
"type": "number",
"value": "29",
"tests": []
} | train |
math-verified-spaced_seats-024 | math | en | Original | CC0-1.0 | math-verified-spaced_seats | verified_math_spaced_seats | Original bilingual mathematics exercises, CC0-1.0 | [
{
"role": "user",
"content": "A row is numbered 1 through 16. Seat 4 is closed. How many sets of exactly 3 available seats can be chosen so that no two chosen numbers are consecutive? The order of selection does not matter.\nGive the exact number on the last line; use a reduced fraction for a noninteger ans... | {
"type": "number",
"value": "297",
"tests": []
} | train |
reason2-line_breaks-012 | reasoning | ru | Original | CC0-1.0 | reason2-line_breaks | workshop_line_breaks | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Длины слов заголовка в символах, от первого слова к последнему: 5, 3, 7, 2, 9, 9, 5. Предельная длина строки — 17. Между соседними словами ровно один пробел. Менять порядок и переносить часть слова нельзя. Каково наименьшее число строк?\nКратко обоснуй ответ и запиши сам ответ ... | {
"type": "number",
"value": "3",
"tests": []
} | train |
math-verified-break_even-026 | 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 $11 plus $10 per page. Plan B costs $84 per month, includes the first 3 pages, and charges $8 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": "25",
"tests": []
} | train |
reason2-line_breaks-063 | reasoning | ru | Original | CC0-1.0 | reason2-line_breaks | workshop_line_breaks | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Длины слов заголовка в символах, от первого слова к последнему: 9, 2, 6, 4, 3, 2, 7. Предельная длина строки — 14. Между соседними словами ровно один пробел. Менять порядок и переносить часть слова нельзя. Каково наименьшее число строк?\nПокажи короткую проверку, а в конце на о... | {
"type": "number",
"value": "3",
"tests": []
} | train |
wiki-read-ru-5b5f034ff0e738f1cc20 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-8a05110f7a4a6b3ecdcdbe | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-6052480258619237775-0 (Apache-2.0). Wikipedia contributors, “Эстонский язык” (https://ru.wikipedia.org/wiki/%D0%AD%D1%81%D1%82%D0%BE%D0%BD%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 marker... | [
{
"role": "user",
"content": "Эстонский язык\n\nЭсто́нский язы́к (самоназвание — eesti keel) — язык эстонцев, относящийся к прибалтийско-финской ветви финно-угорской семьи языков. Официальный язык Эстонии и Европейского союза. Письменность на основе латинского алфавита.\n\nКакое пояснение в скобках автор по... | {
"type": "exact",
"value": "самоназвание — eesti keel",
"tests": []
} | train |
wiki-read-ru-a7f6ee3541611c5f1a84 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-18f6f55cb0a13e34d68b71 | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--2408220161608208761-0 (Apache-2.0). Wikipedia contributors, “Дикерсон, Эрнест” (https://ru.wikipedia.org/wiki/%D0%94%D0%B8%D0%BA%D0%B5%D1%80%D1%81%D0%BE%D0%BD%2C_%D0%AD%D1%80%D0%BD%D0%B5%D1%81%D1%82), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and refe... | [
{
"role": "user",
"content": "Дикерсон, Эрнест\n\nЭрнест Роско Дикерсон A.S.C. (English: Ernest Roscoe Dickerson; обычно указан как Эрнест Р. Дикерсон (English: Ernest R. Dickerson) или Эрнест Дикерсон (English: Ernest Dickerson); род. 25 июня 1951) — американский кинорежиссёр и кинооператор. Как кинооперат... | {
"type": "exact",
"value": "1951-06-25",
"tests": []
} | train |
wiki-read-en-0657f7d4654dbf2d17c6 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-1f4a6240b3f85991e7ece9 | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--2925467118859919921-0 (Apache-2.0). Wikipedia contributors, “DreamHack Open Cluj-Napoca 2015” (https://en.wikipedia.org/wiki/DreamHack_Open_Cluj-Napoca_2015), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exer... | [
{
"role": "user",
"content": "DreamHack Open Cluj-Napoca 2015\n\nDreamHack Open Cluj-Napoca 2015 was the seventh Counter-Strike: Global Offensive Major Championship that was held from October 28–November 1, 2015 at the Sala Polivalentă in Cluj-Napoca, Romania. It was organized by DreamHack with help from Va... | {
"type": "exact",
"value": "2015-11-01",
"tests": []
} | train |
gsm-train-1268 | math | en | GSM8K | MIT | gsm8k-81eb36d49a8f68148ec8 | word_problem_5_steps | OpenAI (2021), GSM8K, original train row 1268 | [
{
"role": "user",
"content": "On Tuesday, Liza had $800 in her checking account. On Wednesday, she paid her rent, $450. On Thursday, she deposited her $1500 paycheck. On Friday, she paid her electricity and internet bills which were $117 and $100, respectively. Then on Saturday, she paid her phone bill, $70... | {
"type": "number",
"value": "1563",
"tests": []
} | train |
wiki-read-en-892268a2c24a44ad6976 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-365c74daf6f0fcc1b29556 | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--8558868315733343864-0 (Apache-2.0). Wikipedia contributors, “Microsoft Office” (https://en.wikipedia.org/wiki/Microsoft_Office), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Microsoft Office\n\nMicrosoft Office is a family of client software, server software, and services developed by Microsoft. It was first announced by Bill Gates on August 1, 1988, at COMDEX in Las Vegas. Initially a marketing term for an office suite (bundled set of productivity... | {
"type": "exact",
"value": "bundled set of productivity applications",
"tests": []
} | train |
math-verified-spaced_seats-019 | math | ru | Original | CC0-1.0 | math-verified-spaced_seats | verified_math_spaced_seats | Original bilingual mathematics exercises, CC0-1.0 | [
{
"role": "user",
"content": "В ряду места пронумерованы от 1 до 10. Место 7 закрыто. Сколькими способами можно выбрать набор из 2 свободных мест так, чтобы никакие два выбранных номера не были соседними? Учитывается только набор номеров.\nЗапиши точное число в последней строке; нецелый ответ дай несократим... | {
"type": "number",
"value": "29",
"tests": []
} | train |
wiki-read-en-69a98b54c53882759dee | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-3310aeb826588e3e2932ff | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--495553361684030084-11 (Apache-2.0). Wikipedia contributors, “Scooby-Doo” (https://en.wikipedia.org/wiki/Scooby-Doo), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Scooby-Doo\n\nThe first episode of Scooby-Doo, Where Are You! \"What a Night for a Knight\" debuted on the CBS network Saturday, September 13, 1969. The original voice cast featured veteran voice actor Don Messick as Scooby-Doo, radio DJ Casey Kasem (later host of radio's syndi... | {
"type": "exact",
"value": "1969-09-13",
"tests": []
} | train |
math-verified-three_clubs-010 | 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 59, 48 and 43 members respectively. There are 30 in A and B, 28 in B and C, and 25 in A and C. Each pairwise count includes the 12 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": "20",
"tests": []
} | train |
reason2-bottleneck-044 | reasoning | ru | Original | CC0-1.0 | reason2-bottleneck | workshop_bottleneck | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Двусторонние конвейеры допускают коробки шириной не более указанной (см): U–K=5; C–K=13; K–H=3; U–C=6; Z–C=5; U–Z=6; Z–H=13. Нужно перевезти коробку из U в H, не поворачивая её. Какова наибольшая допустимая ширина?\nПокажи короткую проверку, а в конце на отдельной строке дай от... | {
"type": "number",
"value": "6",
"tests": []
} | train |
wiki-read-en-bb67d3066c1ca541049e | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-7dda1eb21663ff90388fcf | clause | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--188565190208286184-2 (Apache-2.0). Wikipedia contributors, “Egyptian pyramids” (https://en.wikipedia.org/wiki/Egyptian_pyramids), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Egyptian pyramids\n\nThe earliest known Egyptian pyramids are found at Saqqara, northwest of Memphis. The earliest among these is the Pyramid of Djoser, which was built c.2630–2610BC during the Third Dynasty. This pyramid and its surrounding complex were designed by the archite... | {
"type": "exact",
"value": "which was built c.2630–2610BC during the Third Dynasty",
"tests": []
} | train |
reason2-bottleneck-023 | reasoning | ru | Original | CC0-1.0 | reason2-bottleneck | workshop_bottleneck | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Двусторонние конвейеры допускают коробки шириной не более указанной (см): Z–B=7; D–N=16; D–Z=15; L–W=17; W–B=13; B–N=14; W–Z=10; L–D=17; D–W=6; W–N=18. Нужно перевезти коробку из L в N, не поворачивая её. Какова наибольшая допустимая ширина?\nКратко обоснуй ответ и запиши сам о... | {
"type": "number",
"value": "17",
"tests": []
} | train |
reason2-line_breaks-042 | 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 4, 4, 6, 7, 8, 3, 4, in the given order. Each line holds 18 characters, with one space between adjacent words. Words cannot be split or reordered. What is the fewest lines needed?\nExplain in a few sentences and use the final line for the ans... | {
"type": "number",
"value": "3",
"tests": []
} | train |
reason2-event_selection-050 | reasoning | ru | Original | CC0-1.0 | reason2-event_selection | workshop_event_selection | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Один фотограф хочет целиком снять как можно больше коротких показов. Начала и окончания: S 12–18; M 17–25; Z 19–21; L 1–3; P 15–21; B 9–12. В момент окончания одного показа можно сразу начать следующий. Каково максимальное число показов?\nКратко обоснуй ответ и запиши сам ответ... | {
"type": "number",
"value": "4",
"tests": []
} | train |
wiki-read-en-87cedb6d92e03cf0c34a | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-cb254261a516247e509e07 | chronology | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--4933421610609538386-1 (Apache-2.0). Wikipedia contributors, “List of Scottish monarchs” (https://en.wikipedia.org/wiki/List_of_Scottish_monarchs), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "List of Scottish monarchs\n\nThe Kingdom of the Picts just became known as Kingdom of Alba in Gaelic, which later became known in Scots and English as Scotland; the terms are retained in both languages to this day. By the late 11th century at the very latest, Scottish kings wer... | {
"type": "exact",
"value": "1603, 1651, 1707",
"tests": []
} | train |
reason2-motif_growth-066 | reasoning | ru | Original | CC0-1.0 | reason2-motif_growth | workshop_motif_growth | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Начальный орнамент CBC. За проход каждый исходный символ одновременно заменяют по правилам B→CB; S→S; C→SBS; новые символы в том же проходе не заменяются. Сколько символов S будет после 5 проходов?\nПриведи ход решения в нескольких фразах. На последней строке оставь только отве... | {
"type": "number",
"value": "34",
"tests": []
} | train |
reason2-join_catalogs-061 | reasoning | en | Original | CC0-1.0 | reason2-join_catalogs | workshop_join_catalogs | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "A catalog maps book codes to shelves: B61=S3, B20=S5, B10=S5, B25=S4, B73=S7. Shelves map to rooms: S7=M, S5=G, S4=M, S3=H. Loans by book code: B61=4, B25=15, B73=9, B20=8, B10=2. Which room accounts for the most loans?\nBriefly justify your result, then put the answer alone on... | {
"type": "exact",
"value": "M",
"tests": []
} | train |
verified-code-cache_hits-implement | code | ru | Original | CC0-1.0 | verified-code-cache_order | verified_implement | Original algorithm and independent oracle, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Реализуй на Python cache_hits(requests, capacity). Изначально пустой кэш вмещает capacity ≥ 1 разных ключей. Запрос целого ключа делает его самым свежим. При добавлении нового в полный кэш вытесняется ключ, к которому не обращались дольше всего. Верни список: ключи успешных обр... | {
"type": "code",
"value": "",
"tests": [
"assert cache_hits([], 2) == []",
"assert cache_hits([1], 1) == []",
"assert cache_hits([1, 2, 1, 3, 2], 2) == [1]",
"assert cache_hits([9, 8, 7, 6], 2) == []",
"assert cache_hits([3, 5, 3, 6, 5, 2], 2) == [3]",
"assert cache_hits([4, 4, 4], 3) == ... | train |
wiki-read-en-877c60fc337581036327 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-6bccc2bea3bb941030055c | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-3492884513210961151-0 (Apache-2.0). Wikipedia contributors, “ESL Pro League” (https://en.wikipedia.org/wiki/ESL_Pro_League), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "ESL Pro League\n\nESL Pro League (formerly ESL ESEA Pro League; shortened as EPL) is a Counter-Strike: Global Offensive (CS:GO) professional league based in two continents, North America and Europe, currently comprising 26 teams: 14 in Europe and 12 in North America. The EPL is... | {
"type": "exact",
"value": "2015-05-04",
"tests": []
} | train |
reason2-motif_growth-003 | reasoning | ru | Original | CC0-1.0 | reason2-motif_growth | workshop_motif_growth | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Начальный орнамент JBJJ. За проход каждый исходный символ одновременно заменяют по правилам B→JJJ; J→JB; новые символы в том же проходе не заменяются. Сколько символов B будет после 5 проходов?\nКратко обоснуй ответ и запиши сам ответ на последней строке."
},
{
"role": ... | {
"type": "number",
"value": "78",
"tests": []
} | train |
algpy-b25c92a80e239c65-repair | code | en | TheAlgorithms/Python | MIT | algpy-b25c92a80e239c65 | repair | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, bit_manipulation/is_even.py#is_even; adapted exercises | [
{
"role": "user",
"content": "Repair this Python function. For a signed integer, return True exactly when it is even.\nFor is_even(-101) it should return False, but returns True. Keep the signature.\n```python\ndef is_even(number):\n if not isinstance(number, int) or isinstance(number, bool):\n ra... | {
"type": "code",
"value": "",
"tests": [
"assert is_even(-101) == False",
"assert is_even(-17) == False",
"assert is_even(-2) == True",
"assert is_even(-1) == False",
"assert is_even(0) == True",
"assert is_even(1) == False",
"assert is_even(2) == True",
"assert is_even(17) == Fal... | train |
reason2-bottleneck-014 | reasoning | en | Original | CC0-1.0 | reason2-bottleneck | workshop_bottleneck | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Bidirectional conveyors admit boxes up to their listed width in cm: Z–W=13; W–J=13; Z–T=11; Z–D=14; T–J=3; K–D=5; W–D=5; K–Z=11; D–T=11; D–J=12. A box must travel from K to J without rotation. What is its largest possible width?\nExplain in a few sentences and use the final lin... | {
"type": "number",
"value": "11",
"tests": []
} | train |
algpy-8050f750ac07547f-implement | code | en | TheAlgorithms/Python | MIT | algpy-8050f750ac07547f | implement | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, data_structures/arrays/kth_largest_element.py#kth_largest_element; adapted exercises | [
{
"role": "user",
"content": "Implement this Python function. Return the kth largest integer in a nonempty list, counting duplicates separately; the second argument is a one-based rank between 1 and the list length.\nSignature: def kth_largest_element(arr, position):\nExamples:\n```python\nassert kth_larges... | {
"type": "code",
"value": "",
"tests": [
"assert kth_largest_element([-3], 1) == -3",
"assert kth_largest_element([1, -1, 0], 1) == 1",
"assert kth_largest_element([1, -1, 0], 2) == 0",
"assert kth_largest_element([1, -1, 0], 3) == -1",
"assert kth_largest_element([1, 1, 1], 1) == 1",
"as... | train |
algpy-f61e8e20bb5592c2-check-assertions | code | ru | TheAlgorithms/Python | MIT | algpy-f61e8e20bb5592c2 | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/points_are_collinear_3d.py#is_zero_vector; adapted exercises | [
{
"role": "user",
"content": "Один из тестов противоречит фактическому поведению этой функции. Определи его и вычисли верный результат. В последней строке запиши букву и результат через двоеточие, например A: 42.\n```python\ndef compute(vector, accuracy):\n return tuple((round(x, accuracy) for x in vecto... | {
"type": "exact",
"value": "A: True",
"tests": []
} | train |
algpy-84ecf4e431ee9024-trace | code | ru | TheAlgorithms/Python | MIT | algpy-84ecf4e431ee9024 | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/dodecahedron.py#dodecahedron_surface_area; adapted exercises | [
{
"role": "user",
"content": "```python\ndef compute(edge):\n if edge <= 0 or not isinstance(edge, int):\n raise ValueError('Length must be a positive.')\n return 3 * (25 + 10 * 5 ** (1 / 2)) ** (1 / 2) * edge ** 2\n```\nЧто вернёт выражение round(compute(5), 6)? Запиши repr результата Python."... | {
"type": "exact",
"value": "516.14322",
"tests": []
} | train |
reason2-order_count-057 | reasoning | ru | Original | CC0-1.0 | reason2-order_count | workshop_order_count | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Экспонаты H, R, U, P, J, G выносят по одному, каждый ровно раз. Правило X→Y требует вынести X раньше Y. Правила: P→G, U→G, R→U, R→P. Сколько полных порядков допускают эти условия?\nПокажи короткую проверку, а в конце на отдельной строке дай ответ."
},
{
"role": "assista... | {
"type": "number",
"value": "60",
"tests": []
} | train |
wiki-read-en-10567f3c604c799688d5 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-9b52858b8c25855ab1d8a4 | chronology | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-5740094023192762817-1 (Apache-2.0). Wikipedia contributors, “Bolshoi Ballet” (https://en.wikipedia.org/wiki/Bolshoi_Ballet), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Bolshoi Ballet\n\nThe earliest origins of the Bolshoi Ballet can be found in the creation of a dance school for a Moscow orphanage in 1773. In 1776, dancers from the school were employed by Prince Pyotr Vasilyevich Ouroussoff and the English theatrical entrepreneur Michael Madd... | {
"type": "exact",
"value": "1773, 1776, 1989",
"tests": []
} | train |
wiki-read-en-0c3bcc56a4440fccb204 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-3d3c9eef777dd87f419c42 | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--4594129455513450388-1 (Apache-2.0). Wikipedia contributors, “Relic Entertainment” (https://en.wikipedia.org/wiki/Relic_Entertainment), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Relic Entertainment\n\nRelic was started in Vancouver, British Columbia, Canada by Alex Garden and Luke Moloney in 1997. Their first title, Homeworld, was released on September 28, 1999 to critical acclaim and successful sales. Though they did not immediately continue working o... | {
"type": "exact",
"value": "1999-09-28",
"tests": []
} | train |
wiki-read-en-b8a4c6b7a0a628bdef39 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-8dfc310207803c8c563b00 | chronology | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-7641080997082701874-2 (Apache-2.0). Wikipedia contributors, “Opera house” (https://en.wikipedia.org/wiki/Opera_house), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Opera house\n\nThe first public opera house was the Teatro San Cassiano in Venice, opened in 1637. Italy is a country where opera has been popular through the centuries among ordinary people as well as wealthy patrons and it continues to have a large number of working opera hou... | {
"type": "exact",
"value": "1637, 1678",
"tests": []
} | train |
algpy-94ecec8d059fed57-trace | code | en | TheAlgorithms/Python | MIT | algpy-94ecec8d059fed57 | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/points_are_collinear_3d.py#create_vector; adapted exercises | [
{
"role": "user",
"content": "```python\ndef compute(end_point1, end_point2):\n x = end_point2[0] - end_point1[0]\n y = end_point2[1] - end_point1[1]\n z = end_point2[2] - end_point1[2]\n return (x, y, z)\n```\nWhat does compute((0, 0, 0), (1, 1, 1)) return? Give the Python repr of the value."
... | {
"type": "exact",
"value": "(1, 1, 1)",
"tests": []
} | train |
algpy-d47fc255962f537d-implement | code | en | TheAlgorithms/Python | MIT | algpy-d47fc255962f537d | implement | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, boolean_algebra/nor_gate.py#nor_gate; adapted exercises | [
{
"role": "user",
"content": "Implement this Python function. For integer bits a,b return integer 1 exactly when both inputs are 0, else 0.\nSignature: def nor_gate(input_1, input_2):\nExamples:\n```python\nassert nor_gate(0, 0) == 1\nassert nor_gate(0, 1) == 0\n```"
},
{
"role": "assistant",
"c... | {
"type": "code",
"value": "",
"tests": [
"assert nor_gate(1, 0) == 0",
"assert nor_gate(1, 1) == 0"
]
} | train |
wiki-read-ru-41bc79d0b9ec7e0b6539 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-0f87eb2e41c7ee8d18bc2f | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--6299272349340904723-0 (Apache-2.0). Wikipedia contributors, “Герб Болгарии” (https://ru.wikipedia.org/wiki/%D0%93%D0%B5%D1%80%D0%B1_%D0%91%D0%BE%D0%BB%D0%B3%D0%B0%D1%80%D0%B8%D0%B8), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers norm... | [
{
"role": "user",
"content": "Герб Болгарии\n\nГерб Болгарии представляет собой червлёный щит, увенчанный исторической короной Болгарии. В щите вздыбленный коронованный золотой лев. Щит держат два золотых коронованных льва. Под щитом расположены ветви дуба и лента с девизом «Съединението прави силата» (Един... | {
"type": "exact",
"value": "Единство даёт силу",
"tests": []
} | train |
reason2-join_catalogs-019 | reasoning | ru | Original | CC0-1.0 | reason2-join_catalogs | workshop_join_catalogs | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Каталог связывает код книги с полкой: B54=S6, B19=S5, B68=S5, B76=S5, B48=S8, B29=S8, B13=S8. Соответствие полок и залов: S5=A, S8=L, S6=D. Число выданных экземпляров по коду книги: B29=2, B68=14, B48=9, B76=17, B19=14, B13=14, B54=7. В каком зале больше всего выдач?\nКратко об... | {
"type": "exact",
"value": "A",
"tests": []
} | train |
reason2-line_breaks-056 | reasoning | ru | Original | CC0-1.0 | reason2-line_breaks | workshop_line_breaks | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Длины слов заголовка в символах, от первого слова к последнему: 3, 4, 3, 7, 2, 4, 3, 9, 7, 4. Предельная длина строки — 13. Между соседними словами ровно один пробел. Менять порядок и переносить часть слова нельзя. Каково наименьшее число строк?\nКратко обоснуй ответ и запиши с... | {
"type": "number",
"value": "5",
"tests": []
} | train |
wiki-read-ru-812efb67619d7d51c727 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-aa83210b269397a849f379 | measurement | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--8646706765211821525-0 (Apache-2.0). Wikipedia contributors, “Центральный парк (Нью-Йорк)” (https://ru.wikipedia.org/wiki/%D0%A6%D0%B5%D0%BD%D1%82%D1%80%D0%B0%D0%BB%D1%8C%D0%BD%D1%8B%D0%B9_%D0%BF%D0%B0%D1%80%D0%BA_(%D0%9D%D1%8C%D1%8E-%D0%99%D0%BE%D1%80%D0%BA)), snap... | [
{
"role": "user",
"content": "Центральный парк (Нью-Йорк)\n\nЦентральный парк (Сентрал-парк; English: Central Park) в Нью-Йорке является одним из крупнейших в США и известнейших в мире. Парк расположен на острове Манхэттен между 59-й и 110-й улицей и Пятой и Восьмой авеню и имеет прямоугольную форму. Длина ... | {
"type": "exact",
"value": "4 километров",
"tests": []
} | train |
algpy-1a601254cdee11c5-trace | code | en | TheAlgorithms/Python | MIT | algpy-1a601254cdee11c5 | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, matrix/kronecker_product.py#kronecker_product; adapted exercises | [
{
"role": "user",
"content": "```python\ndef is_2d(matrix):\n return all(isinstance(matrix, list) and (isinstance(i, list) for i in matrix))\n\ndef compute(matrix_a, matrix_b):\n if not all((is_2d(matrix_a), is_2d(matrix_b))):\n raise ValueError('Input matrices must be 2-D.')\n if not matrix... | {
"type": "exact",
"value": "[[5, 6, 10, 12], [7, 8, 14, 16], [20, 24, 25, 30], [28, 32, 35, 40]]",
"tests": []
} | train |
wiki-read-ru-ecee1978e6d036771c45 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-913793c778f95a8699f8a9 | clause | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--1800704493511385381-34 (Apache-2.0). Wikipedia contributors, “Лёгкие” (https://ru.wikipedia.org/wiki/%D0%9B%D1%91%D0%B3%D0%BA%D0%B8%D0%B5), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Лёгкие\n\nПолная ёмкость лёгких равна 5000 мл, жизненная (при максимальном вдохе и выдохе) — 3000—5000 мл и более; обычный вдох и выдох составляет около 400—500 мл (так называемый дыхательный объём). Максимально глубокий вдох составляет около 2000 мл воздуха. Максимальный выдох... | {
"type": "exact",
"value": "так как ФОЁ в несколько раз больше дыхательного объёма",
"tests": []
} | train |
wiki-read-ru-0f6b4d62a767307b075a | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-92c7ddb96892a79a95ad4b | colon_explanation | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-5242205428294539883-21 (Apache-2.0). Wikipedia contributors, “Лаос” (https://ru.wikipedia.org/wiki/%D0%9B%D0%B0%D0%BE%D1%81), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Лаос\n\nНесмотря на малочисленность населения, в Лаосе проживает около 70 различных племён и народностей. Всё многонациональное население Лаоса принято делить на три группы: лао-лум, лао-тенг и лао-сунг. Каждая группа включает племена и народности, объединённые общими этнолингв... | {
"type": "exact",
"value": "лао-лум, лао-тенг и лао-сунг",
"tests": []
} | train |
reason2-assembly_units-024 | reasoning | ru | Original | CC0-1.0 | reason2-assembly_units | workshop_assembly_units | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Для сборки используются спецификации (правая часть — состав одной единицы): W = 3×U + 3×H; U = 3×N + 6×R; H = 5×N + 1×R. Заказ включает изделия W в количестве 6 и отдельно узлы U в количестве 2. Сколько отдельных деталей R потребуется?\nКратко обоснуй ответ и запиши сам ответ н... | {
"type": "number",
"value": "138",
"tests": []
} | train |
wiki-read-ru-857f3caedf39c7960eb8 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-f47ad8837ec659a641b24d | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--3831370437196565383-39 (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%9C%D0%BE%D1%81%D0%BA%D0%BE%D0%B2%D1%81%D0%BA%D0%BE%D0%B3%D0%BE_%D0%BC%D0%B5%D1%82%D1%80%D0... | [
{
"role": "user",
"content": "История Московского метрополитена\n\nПервым официальным пассажиром Московского метрополитена стал герой труда с завода «Красный пролетарий» Пётр Николаевич Латышев, который купил 15 мая 1935 года в кассе открывшейся станции «Сокольники» билет № 1 серии «А».\n\nНайди полную кале... | {
"type": "exact",
"value": "1935-05-15",
"tests": []
} | train |
wiki-read-en-639ec580ecd841d12046 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-85ed1ad027de69fcf2f113 | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-9120671569397380988-1 (Apache-2.0). Wikipedia contributors, “American Fur Company” (https://en.wikipedia.org/wiki/American_Fur_Company), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "American Fur Company\n\nAstor planned for several companies to function across the Great Lakes, the Great Plains and the Oregon Country to gain control of the North American fur trade. Comparatively inexpensive manufactured goods were to be shipped to commercial stations for tr... | {
"type": "exact",
"value": "NWC",
"tests": []
} | train |
wiki-read-ru-bbb6e7496190f6a83325 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-ea05b531014238e0d67235 | clause | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-4588815537560210751-11 (Apache-2.0). Wikipedia contributors, “Список поглощений Microsoft” (https://ru.wikipedia.org/wiki/%D0%A1%D0%BF%D0%B8%D1%81%D0%BE%D0%BA_%D0%BF%D0%BE%D0%B3%D0%BB%D0%BE%D1%89%D0%B5%D0%BD%D0%B8%D0%B9_Microsoft), snapshot 2019-02-01 (CC-BY-SA-3.0)... | [
{
"role": "user",
"content": "Список поглощений Microsoft\n\n2 сентября 2013 года, Microsoft объявила о своем намерении приобрести мобильное подразделение аппаратных средств Nokia (которая образовала долгосрочные партнерские отношения с Microsoft выпуская смартфоны, построенные с платформой Windows Phone) в... | {
"type": "exact",
"value": "которая будет сохранена Nokia",
"tests": []
} | train |
algpy-575d75ad61d1e811-trace | code | en | TheAlgorithms/Python | MIT | algpy-575d75ad61d1e811 | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, divide_and_conquer/inversions.py#count_inversions_bf; adapted exercises | [
{
"role": "user",
"content": "```python\ndef compute(arr):\n num_inversions = 0\n n = len(arr)\n for i in range(n - 1):\n for j in range(i + 1, n):\n if arr[i] > arr[j]:\n num_inversions += 1\n return num_inversions\n```\nWhat does compute([1, 4, 2, 4, 1]) return... | {
"type": "exact",
"value": "4",
"tests": []
} | train |
wiki-read-en-a18fc3e83487e47b1b44 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-4038c70b4e532c0a625a8c | chronology | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-4870558363086960797-10 (Apache-2.0). Wikipedia contributors, “Steamboat” (https://en.wikipedia.org/wiki/Steamboat), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Steamboat\n\nSimilar boats were made in 1785 by John Fitch in Philadelphia and William Symington in Dumfries, Scotland. Fitch successfully trialled his boat in 1787, and in 1788, he began operating a regular commercial service along the Delaware River between Philadelphia and B... | {
"type": "exact",
"value": "1785, 1787, 1788, 1790",
"tests": []
} | train |
reason2-pareto-028 | reasoning | ru | Original | CC0-1.0 | reason2-pareto | workshop_pareto | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Для печати плаката доступны заказы (дни, цена): D (8, 64); G (27, 34); U (3, 48); H (22, 67); N (10, 50); K (11, 31); V (20, 54); Z (16, 24). Отбрось любой вариант, для которого другой вариант одновременно дешевле и быстрее. Запиши коды оставшихся в алфавитном порядке через про... | {
"type": "exact",
"value": "K U Z",
"tests": []
} | train |
algpy-dc5aadc1e53bcc25-change-impact | code | ru | TheAlgorithms/Python | MIT | algpy-dc5aadc1e53bcc25 | change-impact | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, dynamic_programming/range_sum_query.py#prefix_sum; adapted exercises | [
{
"role": "user",
"content": "В показанном коде строку `dp[0] = array[0]` заменяют на `dp[-1] = array[0]`. Для какого из двух выражений изменится возвращаемое значение? Дай короткое объяснение и запиши букву в последней строке.\n```python\ndef compute(array, queries):\n dp = [0] * len(array)\n dp[0] =... | {
"type": "exact",
"value": "A",
"tests": []
} | train |
algpy-13b2da8524323118-implement | code | en | TheAlgorithms/Python | MIT | algpy-13b2da8524323118 | implement | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, conversions/endianness.py#swap_endianness_32; adapted exercises | [
{
"role": "user",
"content": "Implement this Python function. Reverse the order of the 4 bytes of an unsigned 32-bit integer. Return the resulting unsigned integer.\nSignature: def swap_endianness_32(value):\nExamples:\n```python\nassert swap_endianness_32(0) == 0\nassert swap_endianness_32(1) == 16777216\n... | {
"type": "code",
"value": "",
"tests": [
"assert swap_endianness_32(255) == 4278190080",
"assert swap_endianness_32(256) == 65536",
"assert swap_endianness_32(257) == 16842752",
"assert swap_endianness_32(4096) == 1048576",
"assert swap_endianness_32(4294967295) == 4294967295"
]
} | train |
wiki-read-en-0d8cdcb77b4aeda040b2 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-7f8a36b2ee463f865ee188 | clause | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--4518219408537561751-16 (Apache-2.0). Wikipedia contributors, “Emperor penguin” (https://en.wikipedia.org/wiki/Emperor_penguin), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Emperor penguin\n\nThe total population was estimated in 2009 to be at around 595,000 adult birds, in 46 known colonies spread around the Antarctic and sub-Antarctic; around 35% of the known population lives north of the Antarctic Circle. Major breeding colonies were located at... | {
"type": "exact",
"value": "but by 2009 was again reduced to a small population of around 300",
"tests": []
} | train |
wiki-read-en-99f2758c75aa3f3dc660 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-42f0f1a4cc81df2cd18972 | measurement | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--2408611743583702692-0 (Apache-2.0). Wikipedia contributors, “Southern Illinois University Edwardsville” (https://en.wikipedia.org/wiki/Southern_Illinois_University_Edwardsville), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normaliz... | [
{
"role": "user",
"content": "Southern Illinois University Edwardsville\n\nSouthern Illinois University Edwardsville, (commonly abbreviated as SIUE), is a coeducational, public doctoral/professional university in Edwardsville, Illinois, United States about 20 miles (32km) northeast of St. Louis, Missouri. S... | {
"type": "exact",
"value": "32km",
"tests": []
} | train |
wiki-read-en-cabe288f3932fa99aedf | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-e82f09e8fba98f9f7f0244 | definition | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-5920603565942678649-0 (Apache-2.0). Wikipedia contributors, “Mickey Mouse” (https://en.wikipedia.org/wiki/Mickey_Mouse), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Mickey Mouse\n\nMickey Mouse is a funny animal cartoon character and the mascot of The Walt Disney Company. He was created by Walt Disney and Ub Iwerks at the Walt Disney Studios in 1928. An anthropomorphic mouse who typically wears red shorts, large yellow shoes, and white glo... | {
"type": "exact",
"value": "a funny animal cartoon character and the mascot of The Walt Disney Company",
"tests": []
} | train |
reason2-room_peak-027 | reasoning | ru | Original | CC0-1.0 | reason2-room_peak | workshop_room_peak | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Репетиции занимают отдельные комнаты в такие минуты: K [13,18); B [8,15); E [5,11); L [2,5); N [10,17); D [6,10). Конец интервала уже свободен; одна комната подходит любой группе. Сколько комнат как минимум требуется одновременно?\nКратко обоснуй ответ и запиши сам ответ на пос... | {
"type": "number",
"value": "3",
"tests": []
} | train |
verified-code-median_rank-repair | code | en | Original | CC0-1.0 | verified-code-weighted_quantile | verified_repair | Original algorithm and independent oracle, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Correct one line. median_rank([(2, 1)]) returns None; expected 2. Input pairs are (integer value, nonnegative frequency); values may repeat. In the conceptual sorted sequence of length N, return the value at one-based rank ceil(2·N/4), or None for N=0. Do not materialize the ex... | {
"type": "code",
"value": "",
"tests": [
"assert median_rank([]) == None",
"assert median_rank([(1, 0), (9, 0)]) == None",
"assert median_rank([(5, 1), (2, 2), (-1, 1)]) == 2",
"assert median_rank([(2, 0), (7, 3), (2, 4), (0, 1)]) == 2",
"assert median_rank([(3, 2), (1, 2), (7, 1)]) == 3",
... | train |
math-verified-grid_triangle-023 | 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 отмечены вершины треугольника (3, -1), (8, -1) и (5, 8). Сколько узлов с целыми координатами лежит строго внутри него? Точки на сторонах не включай.\nЗапиши точное число в последней строке; нецелый ответ дай несократимой дробью."
},
{
"ro... | {
"type": "number",
"value": "19",
"tests": []
} | train |
algpy-a77f3752f46b0717-trace | code | en | TheAlgorithms/Python | MIT | algpy-a77f3752f46b0717 | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, scheduling/first_come_first_served.py#calculate_turnaround_times; adapted exercises | [
{
"role": "user",
"content": "```python\ndef compute(duration_times, waiting_times):\n return [duration_time + waiting_times[i] for i, duration_time in enumerate(duration_times)]\n```\nWhat does compute([5, 10, 15], [0, 5, 15]) return? Give the Python repr of the value."
},
{
"role": "assistant",... | {
"type": "exact",
"value": "[5, 15, 30]",
"tests": []
} | train |
reason2-room_peak-007 | reasoning | ru | Original | CC0-1.0 | reason2-room_peak | workshop_room_peak | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Репетиции занимают отдельные комнаты в такие минуты: A [8,10); Y [17,24); G [19,21); L [0,2); J [9,17); X [11,19); B [5,10). Конец интервала уже свободен; одна комната подходит любой группе. Сколько комнат как минимум требуется одновременно?\nПриведи ход решения в нескольких фр... | {
"type": "number",
"value": "3",
"tests": []
} | train |
wiki-read-en-5eff37a1df415d4d5c7c | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-383a998a7954f6dc1933a8 | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-199324691555727126-20 (Apache-2.0). Wikipedia contributors, “Stradivarius” (https://en.wikipedia.org/wiki/Stradivarius), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Stradivarius\n\nWhile only about 650 original Stradivari instruments (harps, guitars, violas, cellos, violins) survive, thousands of violins have been made in tribute to Stradivari, copying his model and bearing labels that read \"Stradivarius\" on them. The presence of a Strad... | {
"type": "exact",
"value": "harps, guitars, violas, cellos, violins",
"tests": []
} | train |
reason2-rotate_grid-030 | reasoning | ru | Original | CC0-1.0 | reason2-rotate_grid | workshop_rotate_grid | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Исходные строки табло сверху вниз: H E V / S M W / B K R. Выполни циклические сдвиги по порядку: столбец 2 на 1 вниз; строка 2 на 1 вправо; столбец 1 на 2 вниз; строка 2 на 1 вправо; столбец 1 на 2 вниз. Какой символ теперь в строке 1, столбце 1? Нумерация с единицы.\nПриведи х... | {
"type": "exact",
"value": "E",
"tests": []
} | train |
algpy-815cd4a2177c9caf-change-impact | code | en | TheAlgorithms/Python | MIT | algpy-815cd4a2177c9caf | change-impact | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, data_structures/arrays/kth_largest_element.py#partition; adapted exercises | [
{
"role": "user",
"content": "Suppose `if arr[j] >= pivot:` is replaced by `if arr[j] > pivot:` in the program below. Which expression changes its returned value? Briefly explain and write its letter on the last line.\n```python\ndef compute(arr, low, high):\n pivot = arr[high]\n i = low - 1\n for ... | {
"type": "exact",
"value": "B",
"tests": []
} | train |
math-verified-tank_posts-022 | math | en | Original | CC0-1.0 | math-verified-tank_posts | verified_math_tank_posts | Original bilingual mathematics exercises, CC0-1.0 | [
{
"role": "user",
"content": "A tank has a rectangular inner base measuring 23 by 19 cm and vertical sides. Two solid rectangular posts rise from opposite corners of the floor. Their footprints measure 5 by 6 and 7 by 4 cm. They do not overlap and both extend above the final water level. How many liters mus... | {
"type": "number",
"value": "4927/1000",
"tests": []
} | train |
wiki-read-ru-a4273d24b1103e13a5b7 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-d92398ee6bcbc1af71b91b | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-4250214646476377990-0 (Apache-2.0). Wikipedia contributors, “Синергия (университет)” (https://ru.wikipedia.org/wiki/%D0%A1%D0%B8%D0%BD%D0%B5%D1%80%D0%B3%D0%B8%D1%8F_(%D1%83%D0%BD%D0%B8%D0%B2%D0%B5%D1%80%D1%81%D0%B8%D1%82%D0%B5%D1%82)), snapshot 2019-02-01 (CC-BY-SA-... | [
{
"role": "user",
"content": "Синергия (университет)\n\nМосковский финансово-промышленный университет «Синергия» (сокращённо — Университет «Синергия») — негосударственное высшее учебное заведение, основанное в 1995 году. Университет получил известность после нескольких новостных репортажей, связанных с нека... | {
"type": "exact",
"value": "сокращённо — Университет «Синергия»",
"tests": []
} | train |
reason2-minimum_cover-051 | reasoning | ru | Original | CC0-1.0 | reason2-minimum_cover | workshop_minimum_cover | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Для выставки нужны образцы всех типов 1, 3, 5, 6, 7, 8, 9. Наборы перечислены с типами внутри: L=1/3/5/9; B=3; G=1; R=1/6/8/9; V=1; F=7. Дубли допустимы. Какое наименьшее число наборов покроет все типы?\nПокажи короткую проверку, а в конце на отдельной строке дай ответ."
},
... | {
"type": "number",
"value": "3",
"tests": []
} | train |
algpy-68235f39c1e65b45-repair | code | en | TheAlgorithms/Python | MIT | algpy-68235f39c1e65b45 | repair | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, bit_manipulation/next_power_of_two.py#next_power_of_two; adapted exercises | [
{
"role": "user",
"content": "Repair this Python function. For a positive integer n, return the smallest power of two at least n.\nFor next_power_of_two(3) it should return 4, but returns 3. Keep the signature.\n```python\ndef next_power_of_two(n):\n if n <= 0:\n raise ValueError('n must be positi... | {
"type": "code",
"value": "",
"tests": [
"assert next_power_of_two(1) == 1",
"assert next_power_of_two(2) == 2",
"assert next_power_of_two(3) == 4",
"assert next_power_of_two(4) == 4",
"assert next_power_of_two(7) == 8",
"assert next_power_of_two(8) == 8",
"assert next_power_of_two(15... | train |
wiki-read-ru-ff628290d2e7470169b5 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-29ae8307035e19a7f0aeaa | clause | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--40842311753595532-18 (Apache-2.0). Wikipedia contributors, “Kerbal Space Program” (https://ru.wikipedia.org/wiki/Kerbal_Space_Program), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Kerbal Space Program\n\nМексиканская компания Squad не являлась студией по разработке компьютерных игр. Основанная в 2009 году, компания занималась созданием цифровых и интерактивных сервисов для ряда брендов, разработкой веб-сайтов, партизанским маркетингом и другими формами р... | {
"type": "exact",
"value": "чтобы облегчить проектирование мультимедийных рекламных стендов",
"tests": []
} | train |
reason2-motif_growth-008 | reasoning | en | Original | CC0-1.0 | reason2-motif_growth | workshop_motif_growth | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "A pattern starts as SSD. During each pass, replace every current symbol simultaneously using D→ZD; Z→Z; S→DZZ. Newly produced symbols wait for the next pass. After 5 passes, how many Z symbols are there?\nExplain in a few sentences and use the final line for the answer alone."
... | {
"type": "number",
"value": "17",
"tests": []
} | train |
reason2-event_selection-064 | reasoning | ru | Original | CC0-1.0 | reason2-event_selection | workshop_event_selection | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Один фотограф хочет целиком снять как можно больше коротких показов. Начала и окончания: L 8–10; J 16–24; K 10–13; H 19–24; Y 2–4; S 2–8; W 0–2. В момент окончания одного показа можно сразу начать следующий. Каково максимальное число показов?\nПриведи ход решения в нескольких ф... | {
"type": "number",
"value": "5",
"tests": []
} | train |
math-verified-skipped_payment-020 | math | ru | Original | CC0-1.0 | math-verified-skipped_payment | verified_math_skipped_payment | Original bilingual mathematics exercises, CC0-1.0 | [
{
"role": "user",
"content": "В первый день планировали отложить 19 руб., а в каждый следующий — на 3 руб. больше, чем было запланировано накануне. План рассчитан на 8 дней. Ровно в один день взнос пропустили; все остальные суммы внесли по расписанию. Всего отложили 196 руб. В какой по счёту день пропустили... | {
"type": "number",
"value": "8",
"tests": []
} | train |
reason2-frequency_median-050 | reasoning | ru | Original | CC0-1.0 | reason2-frequency_median | workshop_frequency_median | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "В журнале длительности занятий записаны парами «минуты × число занятий»: 34×3; 47×3; 49×7; 12×4; 32×3; 27×3; 52×12; 33×4. Какова медианная длительность одного занятия?\nПокажи короткую проверку, а в конце на отдельной строке дай ответ."
},
{
"role": "assistant",
"co... | {
"type": "number",
"value": "47",
"tests": []
} | train |
reason2-assembly_units-035 | reasoning | ru | Original | CC0-1.0 | reason2-assembly_units | workshop_assembly_units | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Для сборки используются спецификации (правая часть — состав одной единицы): G = 2×W + 4×T; W = 6×P + 3×M; T = 6×P + 4×M. Заказ включает изделия G в количестве 4 и отдельно узлы W в количестве 4. Сколько отдельных деталей M потребуется?\nКратко обоснуй ответ и запиши сам ответ н... | {
"type": "number",
"value": "100",
"tests": []
} | train |
reason2-frequency_median-033 | reasoning | ru | Original | CC0-1.0 | reason2-frequency_median | workshop_frequency_median | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "В журнале длительности занятий записаны парами «минуты × число занятий»: 28×8; 43×9; 3×4; 35×7; 49×9. Какова медианная длительность одного занятия?\nПокажи короткую проверку, а в конце на отдельной строке дай ответ."
},
{
"role": "assistant",
"content": "Общее число... | {
"type": "number",
"value": "35",
"tests": []
} | train |
wiki-read-en-4a9d86e143745fa5cff2 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-227f5577f219bbed041184 | measurement | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-8179212903917620323-0 (Apache-2.0). Wikipedia contributors, “1950 United States Census” (https://en.wikipedia.org/wiki/1950_United_States_Census), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "1950 United States Census\n\nThe Seventeenth United States Census, conducted by the Census Bureau, determined the resident population of the United States to be 150,697,361, an increase of 14.5 percent over the 131,669,275 persons enumerated during the 1940 Census.\n\nWhich val... | {
"type": "exact",
"value": "14.5 percent",
"tests": []
} | train |
reason2-balanced_load-027 | 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: T=10, Z=21, F=6, S=24, D=15. 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": "assista... | {
"type": "number",
"value": "2",
"tests": []
} | train |
algpy-7243a7f8722db531-repair | code | en | TheAlgorithms/Python | MIT | algpy-7243a7f8722db531 | repair | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, bit_manipulation/count_number_of_one_bits.py#get_set_bits_count_using_modulo_operator; adapted exercises | [
{
"role": "user",
"content": "Repair this Python function. Count the ones in the ordinary binary representation of a nonnegative 16-bit integer.\nFor get_set_bits_count_using_modulo_operator(1) it should return 1, but returns 0. Keep the signature.\n```python\ndef get_set_bits_count_using_modulo_operator(nu... | {
"type": "code",
"value": "",
"tests": [
"assert get_set_bits_count_using_modulo_operator(0) == 0",
"assert get_set_bits_count_using_modulo_operator(1) == 1",
"assert get_set_bits_count_using_modulo_operator(2) == 1",
"assert get_set_bits_count_using_modulo_operator(3) == 2",
"assert get_set_... | train |
wiki-read-ru-d4504689a07272faef90 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-6d3f5673812d3df9cb0dda | clause | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--9169620792721034193-0 (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%90%D0%B2%D1%81%D1%82%D1%80%D0%B8%D0%B8), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and referenc... | [
{
"role": "user",
"content": "История Австрии\n\nПервыми исторически засвидетельствованными обитателями территории современной Австрии были иллирийцы. В начале IV века до н. э. на территорию Среднего Подунавья переселились кельты, которые во II веке до н. э. сформировали здесь раннегосударственное образован... | {
"type": "exact",
"value": "однако ещё некоторое время кельты сохраняли высокую степень независимости под властью собственных князей",
"tests": []
} | train |
wiki-read-ru-019fbe44d63a0e9d54cf | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-e96d6fd930397a1e3bb8fa | clause | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--6976228705989210668-5 (Apache-2.0). Wikipedia contributors, “Океан” (https://ru.wikipedia.org/wiki/%D0%9E%D0%BA%D0%B5%D0%B0%D0%BD), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Океан\n\nОдни источники делили Мировой океан на четыре части, другие на пять. С 1937 по 1953 года выделяли пять океанов: Ти́хий, Атланти́ческий, Инди́йский, Се́верный Ледови́тый и Ю́жный (или Ю́жный Ледови́тый) океа́н. Термин «Южный океан» многократно появлялся ещё в XVIII веке... | {
"type": "exact",
"value": "но данное решение до сих пор не прошло ратификацию и по этому юридически остаётся лишь 4 океана",
"tests": []
} | train |
reason2-critical_path-064 | reasoning | ru | Original | CC0-1.0 | reason2-critical_path | workshop_critical_path | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Число рабочих мест в мастерской не ограничено. Время выполнения каждого этапа в минутах: A=6, L=6, C=7, Z=9, E=4, N=2. Стрелка X→Y означает, что Y начинает работу после завершения X. Все зависимости: A→N, E→N, L→N, Z→N, E→C, C→A, E→A, Z→A, C→L, E→L, Z→E. Время отсчитывают с нул... | {
"type": "number",
"value": "28",
"tests": []
} | train |
wiki-read-ru-6fb4cfafcc1de0c92786 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-b206c4dd46b72938c3bc5b | clause | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-8178504446689366414-34 (Apache-2.0). Wikipedia contributors, “Генетически модифицированная пища” (https://ru.wikipedia.org/wiki/%D0%93%D0%B5%D0%BD%D0%B5%D1%82%D0%B8%D1%87%D0%B5%D1%81%D0%BA%D0%B8_%D0%BC%D0%BE%D0%B4%D0%B8%D1%84%D0%B8%D1%86%D0%B8%D1%80%D0%BE%D0%B2%D0%B... | [
{
"role": "user",
"content": "Генетически модифицированная пища\n\nВпервые генномодифицированные продукты появились на рынке в начале 1990-х годов. В 1994 коммерциализирован генетически модифицированный томат (FlavrSavr), продукции компании Calgene с повышенной лёжкостью. Генетическая трансформация в этом с... | {
"type": "exact",
"value": "поскольку существуют более дешевые конвенционные сорта с такими же свойствами",
"tests": []
} | train |
reason2-fair_slots-065 | reasoning | ru | Original | CC0-1.0 | reason2-fair_slots | workshop_fair_slots | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Клуб делит часы студии по одному. Веса секций: F=32, G=31, R=13, W=29, X=30. Следующий час получает секция с наибольшим отношением «вес / (1 + число уже выделенных часов)». При равенстве выбирают первый код по алфавиту. Какой секции достанется час номер 7, если сначала ни у ког... | {
"type": "exact",
"value": "X",
"tests": []
} | train |
wiki-read-ru-5aefa08c2ab750920635 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-f8f507a574f60bec555ce5 | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--7659531970867286958-0 (Apache-2.0). Wikipedia contributors, “Поехали!” (https://ru.wikipedia.org/wiki/%D0%9F%D0%BE%D0%B5%D1%85%D0%B0%D0%BB%D0%B8%21), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Поехали!\n\n«Поехали!» — фраза, произнесённая первым космонавтом Юрием Гагариным во время старта первого пилотируемого космического корабля «Восток» 12 апреля 1961 года. Она стала своеобразным символом новой, космической эры развития человечества.\n\nНайди полную календарную да... | {
"type": "exact",
"value": "1961-04-12",
"tests": []
} | train |
reason2-bottleneck-066 | reasoning | en | Original | CC0-1.0 | reason2-bottleneck | workshop_bottleneck | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Bidirectional conveyors admit boxes up to their listed width in cm: S–E=5; P–J=18; E–J=6; E–F=13; P–E=14; S–L=8; A–L=10; F–L=17; P–F=13; A–J=5; S–P=9; A–F=14; L–J=3; A–S=12. A box must travel from A to J without rotation. What is its largest possible width?\nExplain in a few se... | {
"type": "number",
"value": "13",
"tests": []
} | train |
wiki-read-en-f926c29068f2cc6a142a | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-a711f431aad9b0070dfa88 | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-4684701369318366401-0 (Apache-2.0). Wikipedia contributors, “Koji Kondo” (https://en.wikipedia.org/wiki/Koji_Kondo), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Koji Kondo\n\nKoji Kondo(近藤 浩治,Kondō Kōji, born August 13, 1961) is a Japanese music composer, pianist, and sound director who works for the video game company Nintendo. He is best known for his involvement in numerous contributions in the Mario and The Legend of Zelda series o... | {
"type": "exact",
"value": "1961-08-13",
"tests": []
} | train |
reason2-fair_slots-005 | reasoning | ru | Original | CC0-1.0 | reason2-fair_slots | workshop_fair_slots | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Клуб делит часы студии по одному. Веса секций: E=30, H=7, N=6, S=16, V=13. Следующий час получает секция с наибольшим отношением «вес / (1 + число уже выделенных часов)». При равенстве выбирают первый код по алфавиту. Какой секции достанется час номер 7, если сначала ни у кого ... | {
"type": "exact",
"value": "E",
"tests": []
} | train |
wiki-read-en-9e6b7ad787af4873d753 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-f0a184ef9691553a7ea4fa | definition | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--856698822109382332-0 (Apache-2.0). Wikipedia contributors, “Project manager” (https://en.wikipedia.org/wiki/Project_manager), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Project manager\n\nA project manager is a professional in the field of project management. Project managers have the responsibility of the planning, procurement and execution of a project, in any undertaking that has a defined scope, defined start and a defined finish; regardle... | {
"type": "exact",
"value": "a professional in the field of project management",
"tests": []
} | train |
math-verified-syrup-001 | 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, 20 g of water evaporated, with all the sugar retained. The final mixture weighs 140 g, including 41 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": "100",
"tests": []
} | train |
verified-code-edit_insert_cost_two-implement | code | en | Original | CC0-1.0 | verified-code-edit_cost | verified_implement | Original algorithm and independent oracle, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Implement edit_insert_cost_two(a, b) in Python. Return the minimum cost to change string a into b. Inserting a character costs 2, deleting costs 1, and substituting one costs 1. Keeping a match is free. Either string may be empty.\nassert edit_insert_cost_two('zo', '') == 2"
... | {
"type": "code",
"value": "",
"tests": [
"assert edit_insert_cost_two('', '') == 0",
"assert edit_insert_cost_two('', 'ab') == 4",
"assert edit_insert_cost_two('ab', 'ab') == 0",
"assert edit_insert_cost_two('cab', 'a') == 2",
"assert edit_insert_cost_two('ab', 'ba') == 2",
"assert edit_i... | train |
reason2-fair_slots-034 | reasoning | en | Original | CC0-1.0 | reason2-fair_slots | workshop_fair_slots | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "A club allocates studio hours one by one. Section weights: A=34, G=24, M=36, S=7, U=9. Each next hour goes to the largest weight / (1 + hours already awarded), ties to the alphabetically first code. Starting from zero, which section gets hour 5?\nBriefly justify your result, th... | {
"type": "exact",
"value": "A",
"tests": []
} | train |
reason2-fair_slots-058 | reasoning | en | Original | CC0-1.0 | reason2-fair_slots | workshop_fair_slots | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "A club allocates studio hours one by one. Section weights: E=18, L=21, M=6. Each next hour goes to the largest weight / (1 + hours already awarded), ties to the alphabetically first code. Starting from zero, which section gets hour 8?\nExplain in a few sentences and use the fin... | {
"type": "exact",
"value": "L",
"tests": []
} | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.