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-ru-be6c61d4a6ff32b51118 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-348026a88d3d1c84d99e3c | chronology | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-729438469229750705-0 (Apache-2.0). Wikipedia contributors, “Chevrolet Camaro” (https://ru.wikipedia.org/wiki/Chevrolet_Camaro), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Chevrolet Camaro\n\nChevrolet Camaro — культовый американский спортивный автомобиль, pony car, выпускающийся подразделением Chevrolet корпорации General Motors с 1966 года. Производство было прекращено в 2002 году и возобновлено на новой технической базе в 2009 году. Название C... | {
"type": "exact",
"value": "1966, 2002, 2009",
"tests": []
} | train |
algpy-8333fb5175b72637-check-assertions | code | en | TheAlgorithms/Python | MIT | algpy-8333fb5175b72637 | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, conversions/binary_to_decimal.py#bin_to_decimal; 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(bin_string):\n bin_string = str(bin_string).strip()\n if not bin_string:\... | {
"type": "exact",
"value": "B: 5",
"tests": []
} | train |
reason2-ballot_points-029 | reasoning | en | Original | CC0-1.0 | reason2-ballot_points | workshop_ballot_points | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Jurors rank designs X, R, E, A. Positions from best to worst earn 3, 2, 1, 0 points. Ballot groups, written as count × ranking from best to worst: 2 × R>X>E>A; 7 × A>R>X>E; 4 × X>R>E>A; 7 × E>R>A>X. Which design earns the most points?\nShow a short check. Give the final answer ... | {
"type": "exact",
"value": "R",
"tests": []
} | train |
algpy-3d0eaf7f493a7819-check-assertions | code | ru | TheAlgorithms/Python | MIT | algpy-3d0eaf7f493a7819 | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/volume.py#vol_sphere; adapted exercises | [
{
"role": "user",
"content": "Один из тестов противоречит фактическому поведению этой функции. Определи его и вычисли верный результат. В последней строке запиши букву и результат через двоеточие, например A: 42.\n```python\nfrom math import pi\n\ndef compute(radius):\n if radius < 0:\n raise Valu... | {
"type": "exact",
"value": "B: 523.598776",
"tests": []
} | train |
wiki-read-en-26fe24b113a724780df7 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-57b6ec0e5dfcf52da9923c | definition | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-3703200298216635772-0 (Apache-2.0). Wikipedia contributors, “Paradise Lost” (https://en.wikipedia.org/wiki/Paradise_Lost), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Paradise Lost\n\nParadise Lost is an epic poem in blank verse by the 17th-century English poet John Milton (1608–1674). The first version, published in 1667, consisted of ten books with over ten thousand lines of verse. A second edition followed in 1674, arranged into twelve bo... | {
"type": "exact",
"value": "an epic poem in blank verse by the 17th-century English poet John Milton (1608–1674)",
"tests": []
} | train |
reason2-bottleneck-048 | reasoning | ru | Original | CC0-1.0 | reason2-bottleneck | workshop_bottleneck | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Двусторонние конвейеры допускают коробки шириной не более указанной (см): W–N=7; R–N=4; D–R=9; Z–N=4; D–Z=7; R–Z=5; W–R=6; D–W=6. Нужно перевезти коробку из D в N, не поворачивая её. Какова наибольшая допустимая ширина?\nПриведи ход решения в нескольких фразах. На последней стр... | {
"type": "number",
"value": "6",
"tests": []
} | train |
reason2-join_catalogs-060 | reasoning | ru | Original | CC0-1.0 | reason2-join_catalogs | workshop_join_catalogs | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Каталог связывает код книги с полкой: B48=S6, B72=S8, B42=S8, B84=S8, B76=S1, B15=S1, B58=S1, B50=S3. Соответствие полок и залов: S6=R, S1=R, S3=Z, S8=D. Число выданных экземпляров по коду книги: B72=8, B84=16, B58=3, B48=5, B15=5, B50=17, B42=8, B76=8. В каком зале больше всег... | {
"type": "exact",
"value": "D",
"tests": []
} | train |
algpy-8287a0899454de6c-check-assertions | code | en | TheAlgorithms/Python | MIT | algpy-8287a0899454de6c | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, bit_manipulation/binary_shifts.py#arithmetic_right_shift; adapted exercises | [
{
"role": "user",
"content": "Exactly one test misstates what this implementation returns. Identify it and compute the correct result. End with the letter and the corrected Python repr, for example A: 42.\n```python\ndef compute(number, shift_amount):\n if number >= 0:\n binary_number = '0' + str(... | {
"type": "exact",
"value": "B: '0b00'",
"tests": []
} | train |
wiki-read-ru-1990d1032aa066a200e5 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-efb0b6f2b36338b7374652 | chronology | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--2182701971510028516-2 (Apache-2.0). Wikipedia contributors, “Ли, Кристофер” (https://ru.wikipedia.org/wiki/%D0%9B%D0%B8%2C_%D0%9A%D1%80%D0%B8%D1%81%D1%82%D0%BE%D1%84%D0%B5%D1%80), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normali... | [
{
"role": "user",
"content": "Ли, Кристофер\n\nВ 2009 году посвящён в рыцари за заслуги в драматическом искусстве и благотворительности. В 2011 году получил премию BAFTA Fellowship и в 2013 году. Сам актёр считал своей лучшей работой роль отца-основателя Пакистана Мухаммада Али Джинны в биографическом фильм... | {
"type": "exact",
"value": "2009, 2011, 2013",
"tests": []
} | train |
algpy-49c5bf50774f7b14-repair | code | en | TheAlgorithms/Python | MIT | algpy-49c5bf50774f7b14 | repair | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/signum.py#signum; adapted exercises | [
{
"role": "user",
"content": "Repair this Python function. Return -1 for a negative integer, 0 for zero and 1 for a positive integer.\nFor signum(0) it should return 0, but returns -1. Keep the signature.\n```python\ndef signum(num):\n if num <= 0:\n return -1\n return 1 if num else 0\n```\nAls... | {
"type": "code",
"value": "",
"tests": [
"assert signum(-101) == -1",
"assert signum(-17) == -1",
"assert signum(-2) == -1",
"assert signum(-1) == -1",
"assert signum(0) == 0",
"assert signum(1) == 1",
"assert signum(2) == 1",
"assert signum(17) == 1",
"assert signum(101) == 1... | train |
wiki-read-ru-af8c1caa60db7057ed00 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-bedf063777a7ed6fd93da2 | definition | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--8174110820487668087-0 (Apache-2.0). Wikipedia contributors, “Kingdom Hearts” (https://ru.wikipedia.org/wiki/Kingdom_Hearts), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Kingdom Hearts\n\nKingdom Hearts — серия игр в жанре Action/RPG, разработанная и изданная совместно Square Enix (ранее Squaresoft) и Disney Interactive под руководством Тэцуи Номуры, занимавшегося дизайном персонажей для серии игр Final Fantasy. Kingdom Hearts — кроссовер между... | {
"type": "exact",
"value": "серия игр в жанре Action/RPG, разработанная и изданная совместно Square Enix (ранее Squaresoft) и Disney Interactive под руководством Тэцуи Номуры, занимавшегося дизайном персонажей для серии игр Final Fantasy",
"tests": []
} | train |
reason2-fair_slots-017 | reasoning | ru | Original | CC0-1.0 | reason2-fair_slots | workshop_fair_slots | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Клуб делит часы студии по одному. Веса секций: E=19, J=9, K=24, V=7. Следующий час получает секция с наибольшим отношением «вес / (1 + число уже выделенных часов)». При равенстве выбирают первый код по алфавиту. Какой секции достанется час номер 6, если сначала ни у кого нет ча... | {
"type": "exact",
"value": "K",
"tests": []
} | train |
reason2-line_breaks-039 | reasoning | ru | Original | CC0-1.0 | reason2-line_breaks | workshop_line_breaks | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Длины слов заголовка в символах, от первого слова к последнему: 2, 2, 9, 2, 5, 7, 6, 3, 2, 5. Предельная длина строки — 12. Между соседними словами ровно один пробел. Менять порядок и переносить часть слова нельзя. Каково наименьшее число строк?\nПокажи короткую проверку, а в к... | {
"type": "number",
"value": "6",
"tests": []
} | train |
wiki-read-en-c519208c22f783e58068 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-083a301369cd711e9803f7 | clause | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-4012532927002137969-0 (Apache-2.0). Wikipedia contributors, “Capybara” (https://en.wikipedia.org/wiki/Capybara), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Capybara\n\nThe capybara (Hydrochoerus hydrochaeris) is a mammal native to South America. It is the largest living rodent in the world. Also called chigüire, chigüiro (in Colombia and Venezuela) and carpincho, it is a member of the genus Hydrochoerus, of which the only other ex... | {
"type": "exact",
"value": "but usually lives in groups of 10–20 individuals",
"tests": []
} | train |
math-verified-skipped_payment-010 | math | en | Original | CC0-1.0 | math-verified-skipped_payment | verified_math_skipped_payment | Original bilingual mathematics exercises, CC0-1.0 | [
{
"role": "user",
"content": "A savings schedule starts at 14 dollars on day 1 and increases the scheduled payment by 3 dollars each day for 11 days. Exactly one payment was skipped; all other scheduled amounts were paid. The total paid was 305 dollars. On which day was the payment missed?\nGive the exact n... | {
"type": "number",
"value": "1",
"tests": []
} | train |
reason2-balanced_load-062 | reasoning | ru | Original | CC0-1.0 | reason2-balanced_load | workshop_balanced_load | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Две тележки должны увезти все ящики без деления содержимого. Масса каждого ящика: Y=18, L=42, J=48, P=24, S=38, N=46, U=28, A=6. Какой наименьшей разницы масс между тележками можно добиться?\nПокажи короткую проверку, а в конце на отдельной строке дай ответ."
},
{
"role... | {
"type": "number",
"value": "2",
"tests": []
} | train |
reason2-order_count-011 | reasoning | ru | Original | CC0-1.0 | reason2-order_count | workshop_order_count | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Экспонаты J, X, Z, H, R выносят по одному, каждый ровно раз. Правило X→Y требует вынести X раньше Y. Правила: J→Z, X→Z, Z→R, X→H. Сколько полных порядков допускают эти условия?\nПокажи короткую проверку, а в конце на отдельной строке дай ответ."
},
{
"role": "assistant"... | {
"type": "number",
"value": "7",
"tests": []
} | train |
reason2-missing_cells-030 | reasoning | ru | Original | CC0-1.0 | reason2-missing_cells | workshop_missing_cells | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "В таблице учёта столбцы идут в порядке R, H, T. После вертикальной черты указан итог строки. Строки: R9: ? / 15 / 11 | 36; R8: ? / ? / 3 | 20; R1: 12 / 5 / 14 | 31; R10: 13 / 4 / 15 | 32. Итоги столбцов: R=46, H=30, T=43. Какое число скрыто в строке R8, столбце R?\nПриведи ход ... | {
"type": "number",
"value": "11",
"tests": []
} | train |
reason2-frequency_median-016 | 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: 45×3; 9×10; 7×5; 39×10; 38×8; 41×10; 8×11. 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":... | {
"type": "number",
"value": "38",
"tests": []
} | train |
verified-code-cluster_roots-trace | code | ru | Original | CC0-1.0 | verified-code-components | verified_trace | Original algorithm and independent oracle, release 2; CC0-1.0. | [
{
"role": "user",
"content": "```python\ndef cluster_roots(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": "[0, 2, 5]",
"tests": []
} | train |
reason2-assembly_units-022 | reasoning | ru | Original | CC0-1.0 | reason2-assembly_units | workshop_assembly_units | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Для сборки используются спецификации (правая часть — состав одной единицы): V = 3×C + 4×B; C = 3×P + 2×A; B = 1×P + 4×A. Заказ включает изделия V в количестве 8 и отдельно узлы C в количестве 2. Сколько отдельных деталей P потребуется?\nПокажи короткую проверку, а в конце на от... | {
"type": "number",
"value": "110",
"tests": []
} | train |
wiki-read-ru-212e1f896cb1c65e857a | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-6a5ebc8254dd22f2d54fae | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-5040908738085743214-3 (Apache-2.0). Wikipedia contributors, “Electronic Arts” (https://ru.wikipedia.org/wiki/Electronic_Arts), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Electronic Arts\n\nКомпания была основана 28 мая 1982 Трипом Хокинсом, и стала одной из первых компаний в игровой индустрии, и отличалась тем, что популяризировала людей, работавших над играми — дизайнеров и программистов. Стартовый капитал, сформированный целиком за счёт личны... | {
"type": "exact",
"value": "1982-05-28",
"tests": []
} | train |
reason2-editing_history-046 | reasoning | ru | Original | CC0-1.0 | reason2-editing_history | workshop_editing_history | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "В редакторе поле сначала содержит J. Запись заменяет значение и стирает возможность повтора отменённых записей. «Отмена» возвращает предыдущее значение, «повтор» восстанавливает отменённую запись. Если действие недоступно, поле не меняется. Команды: записать T; отмена; отмена; ... | {
"type": "exact",
"value": "N",
"tests": []
} | train |
algpy-c406e8ea25dc0a8f-trace | code | en | TheAlgorithms/Python | MIT | algpy-c406e8ea25dc0a8f | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, data_structures/arrays/product_sum.py#product_sum; adapted exercises | [
{
"role": "user",
"content": "```python\ndef compute(arr, depth):\n total_sum = 0\n for ele in arr:\n total_sum += compute(ele, depth + 1) if isinstance(ele, list) else ele\n return total_sum * depth\n```\nWhat does compute([1, -2], 1) return? Give the Python repr of the value."
},
{
... | {
"type": "exact",
"value": "-1",
"tests": []
} | train |
algpy-9b9216791441f778-check-assertions | code | ru | TheAlgorithms/Python | MIT | algpy-9b9216791441f778 | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, searches/binary_search.py#binary_search_std_lib; adapted exercises | [
{
"role": "user",
"content": "Один из тестов противоречит фактическому поведению этой функции. Определи его и вычисли верный результат. В последней строке запиши букву и результат через двоеточие, например A: 42.\n```python\nimport bisect\n\ndef compute(sorted_collection, item):\n if list(sorted_collecti... | {
"type": "exact",
"value": "B: 0",
"tests": []
} | train |
wiki-read-ru-d1e031015e60657b2592 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-3ec73ac3141c3f38948e0f | definition | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--3891617761155028968-0 (Apache-2.0). Wikipedia contributors, “Москвич (завод)” (https://ru.wikipedia.org/wiki/%D0%9C%D0%BE%D1%81%D0%BA%D0%B2%D0%B8%D1%87_(%D0%B7%D0%B0%D0%B2%D0%BE%D0%B4)), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers ... | [
{
"role": "user",
"content": "Москвич (завод)\n\n«Москви́ч» — ныне несуществующий московский автомобилестроительный завод. Выпускал автомобили марок «КИМ» и «Москвич». Был основан в 1930 году, остановлен в 2002 году, ликвидирован в сентябре 2010.\n\nКак в начале отрывка определяется ««Москви́ч»»? Выпиши всю... | {
"type": "exact",
"value": "ныне несуществующий московский автомобилестроительный завод",
"tests": []
} | train |
wiki-read-ru-6b671e181bc2b11140b3 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-4df3d6be6189aff3f6b347 | clause | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-3969028829083450419-0 (Apache-2.0). Wikipedia contributors, “SimCity (серия игр)” (https://ru.wikipedia.org/wiki/SimCity_(%D1%81%D0%B5%D1%80%D0%B8%D1%8F_%D0%B8%D0%B3%D1%80)), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. N... | [
{
"role": "user",
"content": "SimCity (серия игр)\n\nSimCity — серия компьютерных игр в жанре градостроительный симулятор, разработанная Уиллом Райтом и компанией Maxis. Одна из самых успешных франшиз в истории компании Maxis, уступающей лишь серии The Sims. Расцвет серий пришёлся на 90-е годы, однако выпус... | {
"type": "exact",
"value": "однако выпуск новых игр стал сопровождаться новыми неудачами",
"tests": []
} | train |
wiki-read-en-40ceb455f6f968470bb5 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-79bfb0e2ba76b9d447606d | definition | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-335156157833763366-0 (Apache-2.0). Wikipedia contributors, “Anchor” (https://en.wikipedia.org/wiki/Anchor), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Anchor\n\nAn anchor is a device, normally made of metal, used to connect a vessel to the bed of a body of water to prevent the craft from drifting due to wind or current. The word derives from Latin ancora, which itself comes from the Greek ἄγκυρα (ankura).\n\nHow does the firs... | {
"type": "exact",
"value": "a device, normally made of metal, used to connect a vessel to the bed of a body of water to prevent the craft from drifting due to wind or current",
"tests": []
} | train |
reason2-join_catalogs-028 | reasoning | ru | Original | CC0-1.0 | reason2-join_catalogs | workshop_join_catalogs | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Каталог связывает код книги с полкой: B92=S5, B39=S2, B14=S3, B12=S1, B59=S1, B30=S5. Соответствие полок и залов: S3=W, S5=W, S2=R, S1=X. Число выданных экземпляров по коду книги: B12=14, B59=2, B30=7, B92=3, B39=3, B14=14. В каком зале больше всего выдач?\nПокажи короткую пров... | {
"type": "exact",
"value": "W",
"tests": []
} | train |
wiki-read-en-1d8f0afeacc744ac7c01 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-b7e3e60170ee8cfaf0f180 | chronology | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--3473737633112891185-0 (Apache-2.0). Wikipedia contributors, “Province of Maryland” (https://en.wikipedia.org/wiki/Province_of_Maryland), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Province of Maryland\n\nThe Province of Maryland was an English and later British colony in North America that existed from 1632 until 1776, when it joined the other twelve of the Thirteen Colonies in rebellion against Great Britain and became the U.S. state of Maryland. Its fi... | {
"type": "exact",
"value": "1632, 1776",
"tests": []
} | train |
wiki-read-en-be7f92d1d139926dbd0a | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-8ee0779134404b5dbd5993 | clause | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--786856298521529862-0 (Apache-2.0). Wikipedia contributors, “History of evolutionary psychology” (https://en.wikipedia.org/wiki/History_of_evolutionary_psychology), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading... | [
{
"role": "user",
"content": "History of evolutionary psychology\n\nThe history of evolutionary psychology began with Charles Darwin, who said that humans have social instincts that evolved by natural selection. Darwin's work inspired later psychologists such as William James and Sigmund Freud but for most ... | {
"type": "exact",
"value": "who said that humans have social instincts that evolved by natural selection",
"tests": []
} | train |
algpy-2429e74983ec3d6f-implement | code | en | TheAlgorithms/Python | MIT | algpy-2429e74983ec3d6f | implement | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/binary_exponentiation.py#binary_exp_recursive; adapted exercises | [
{
"role": "user",
"content": "Implement this Python function. Return the first integer raised to the second integer power. Both inputs are nonnegative and are not both zero.\nSignature: def binary_exp_recursive(base, exponent):\nExamples:\n```python\nassert binary_exp_recursive(0, 2) == 0\nassert binary_exp... | {
"type": "code",
"value": "",
"tests": [
"assert binary_exp_recursive(2, 0) == 1",
"assert binary_exp_recursive(2, 5) == 32",
"assert binary_exp_recursive(5, 3) == 125",
"assert binary_exp_recursive(7, 4) == 2401"
]
} | train |
wiki-read-ru-2014d1a850c0a4546548 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-587d392b6c7680ec7656ba | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-6980729361990282078-1 (Apache-2.0). Wikipedia contributors, “Sony” (https://ru.wikipedia.org/wiki/Sony), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Sony\n\nКорпорация Sony была основана Акио Моритой и Масару Ибукой 7 мая 1946 года. В самом начале она называлась «Токё цусин когё кабусики-гайся» (Токийская телекоммуникационно-промышленная компания) или сокращённо Тоцуко или TTK, но, как выяснил Акио Морита, это название тяже... | {
"type": "exact",
"value": "1946-05-07",
"tests": []
} | train |
algpy-e5ab44ee4e3455ef-check-assertions | code | en | TheAlgorithms/Python | MIT | algpy-e5ab44ee4e3455ef | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/points_are_collinear_3d.py#get_3d_vectors_cross; 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(ab, ac):\n x = ab[1] * ac[2] - ab[2] * ac[1]\n y = (ab[0] * ac[2] - ab[2]... | {
"type": "exact",
"value": "B: (-55, 22, 11)",
"tests": []
} | train |
math-verified-route_speed-009 | math | en | Original | CC0-1.0 | math-verified-route_speed | verified_math_route_speed | Original bilingual mathematics exercises, CC0-1.0 | [
{
"role": "user",
"content": "A cyclist rode for 20 minutes at 40 km/h, rested for 15 minutes and rode for 80 minutes at 20 km/h. Each riding speed was constant. What was the average speed in km/h over the entire elapsed time, including the stop?\nGive the exact number on the last line; use a reduced fracti... | {
"type": "number",
"value": "480/23",
"tests": []
} | train |
wiki-read-ru-4a530df70a19155688b5 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-b3f2db61a5a7db4fc565b8 | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-3685960606772525677-13 (Apache-2.0). Wikipedia contributors, “Эналаприл” (https://ru.wikipedia.org/wiki/%D0%AD%D0%BD%D0%B0%D0%BB%D0%B0%D0%BF%D1%80%D0%B8%D0%BB), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exe... | [
{
"role": "user",
"content": "Эналаприл\n\nЭналаприл является пролекарством, так как действующее вещество, в основном, не он сам, а его активный метаболит эналаприлат (продукт гидролиза в печени в присутствии фермента цитохрома P450 3A4), который ингибирует АПФ активнее, чем эналаприл.\n\nКакое пояснение в ... | {
"type": "exact",
"value": "продукт гидролиза в печени в присутствии фермента цитохрома P450 3A4",
"tests": []
} | train |
reason2-frequency_median-013 | reasoning | ru | Original | CC0-1.0 | reason2-frequency_median | workshop_frequency_median | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "В журнале длительности занятий записаны парами «минуты × число занятий»: 22×4; 35×2; 23×11; 18×3; 53×11; 20×10; 34×10. Какова медианная длительность одного занятия?\nПокажи короткую проверку, а в конце на отдельной строке дай ответ."
},
{
"role": "assistant",
"conte... | {
"type": "number",
"value": "23",
"tests": []
} | train |
algpy-cfeb99f43685a797-trace | code | en | TheAlgorithms/Python | MIT | algpy-cfeb99f43685a797 | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/remove_digit.py#remove_digit; adapted exercises | [
{
"role": "user",
"content": "```python\ndef compute(num):\n if not isinstance(num, int):\n raise TypeError('only integers accepted as input')\n num_str = str(abs(num))\n num_transpositions = [list(num_str) for char in range(len(num_str))]\n for index in range(len(num_str)):\n num_... | {
"type": "exact",
"value": "222222",
"tests": []
} | train |
reason2-room_peak-039 | reasoning | ru | Original | CC0-1.0 | reason2-room_peak | workshop_room_peak | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Репетиции занимают отдельные комнаты в такие минуты: M [7,15); Z [15,20); H [18,23); L [4,8); D [8,16); G [16,18); F [6,8); C [15,21). Конец интервала уже свободен; одна комната подходит любой группе. Сколько комнат как минимум требуется одновременно?\nКратко обоснуй ответ и за... | {
"type": "number",
"value": "3",
"tests": []
} | train |
reason2-frequency_median-031 | reasoning | ru | Original | CC0-1.0 | reason2-frequency_median | workshop_frequency_median | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "В журнале длительности занятий записаны парами «минуты × число занятий»: 25×11; 39×6; 45×8; 27×8; 51×11; 35×9; 3×5; 52×5. Какова медианная длительность одного занятия?\nКратко обоснуй ответ и запиши сам ответ на последней строке."
},
{
"role": "assistant",
"content"... | {
"type": "number",
"value": "35",
"tests": []
} | train |
reason2-line_breaks-005 | reasoning | ru | Original | CC0-1.0 | reason2-line_breaks | workshop_line_breaks | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Длины слов заголовка в символах, от первого слова к последнему: 5, 4, 4, 8, 5, 4, 6, 5, 7, 4. Предельная длина строки — 14. Между соседними словами ровно один пробел. Менять порядок и переносить часть слова нельзя. Каково наименьшее число строк?\nПокажи короткую проверку, а в к... | {
"type": "number",
"value": "5",
"tests": []
} | train |
wiki-read-ru-7936ffbb20cad2d75aa5 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-199c6308364f45cb340004 | measurement | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--58153648637389376-3 (Apache-2.0). Wikipedia contributors, “Чернобыльская АЭС” (https://ru.wikipedia.org/wiki/%D0%A7%D0%B5%D1%80%D0%BD%D0%BE%D0%B1%D1%8B%D0%BB%D1%8C%D1%81%D0%BA%D0%B0%D1%8F_%D0%90%D0%AD%D0%A1), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace ... | [
{
"role": "user",
"content": "Чернобыльская АЭС\n\nЧернобыльская АЭС расположена в восточной части белорусско-украинского Полесья на севере Украины в 11 км от границы с Республикой Беларусь, на берегу реки Припять, впадающей в Днепр.\n\nКакое значение записано цифрами в километрах? Выпиши только число и еди... | {
"type": "exact",
"value": "11 км",
"tests": []
} | train |
wiki-read-en-eb675f2a918b5f90c44a | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-6a9b846ea37680ffde0a16 | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--3615304597416270265-0 (Apache-2.0). Wikipedia contributors, “Steven Wilson” (https://en.wikipedia.org/wiki/Steven_Wilson), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Steven Wilson\n\nSteven John Wilson (born 3 November 1967) is an English musician, singer, songwriter, and record producer, most closely associated with the progressive rock genre. Currently a solo artist, he became known as the founder, lead guitarist, lead vocalist and songwr... | {
"type": "exact",
"value": "1967-11-03",
"tests": []
} | train |
reason2-join_catalogs-037 | 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: B19=S8, B72=S8, B18=S3, B20=S8, B17=S3, B41=S9, B38=S9, B80=S8. Shelves map to rooms: S9=F, S8=M, S3=K. Loans by book code: B19=7, B20=5, B18=13, B80=10, B72=15, B41=10, B17=4, B38=7. Which room accounts for the most loans?\nExplain in a fe... | {
"type": "exact",
"value": "M",
"tests": []
} | train |
wiki-read-en-5f9bf43c27aacf137189 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-ce17a514ed6cb301a52c60 | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-858966426415458983-2 (Apache-2.0). Wikipedia contributors, “Tourism in Paris” (https://en.wikipedia.org/wiki/Tourism_in_Paris), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Tourism in Paris\n\nThe Eiffel Tower is acknowledged as the universal symbol of Paris and France. It was originally designed by Émile Nouguier and Maurice Koechlin. In March 1885 Gustave Eiffel, known primarily as a successful iron engineer, submitted a plan for a tower to the ... | {
"type": "exact",
"value": "1889-03-31",
"tests": []
} | train |
reason2-rotate_grid-064 | reasoning | ru | Original | CC0-1.0 | reason2-rotate_grid | workshop_rotate_grid | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Исходные строки табло сверху вниз: F D N / K R Z / E T Y. Выполни циклические сдвиги по порядку: столбец 3 на 2 вниз; строка 2 на 2 вправо; столбец 2 на 2 вниз; строка 1 на 2 вправо. Какой символ теперь в строке 1, столбце 2? Нумерация с единицы.\nПокажи короткую проверку, а в ... | {
"type": "exact",
"value": "Z",
"tests": []
} | train |
wiki-read-en-e1d428118087b3802523 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-8e8cc5a7ecc7cf5af31c4d | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--4692475195375322810-3 (Apache-2.0). Wikipedia contributors, “Prose” (https://en.wikipedia.org/wiki/Prose), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Prose\n\nThe word \"prose\" first appears in English in the 14th century. It is derived from the Old French prose, which in turn originates in the Latin expression prosa oratio (literally, straightforward or direct speech).\n\nWhat parenthetical detail immediately follows “Lati... | {
"type": "exact",
"value": "literally, straightforward or direct speech",
"tests": []
} | train |
wiki-read-en-8aa8f62a0db3bb08a441 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-413ba59412772f2dc63abf | clause | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-7598089162900066210-0 (Apache-2.0). Wikipedia contributors, “Smilodon” (https://en.wikipedia.org/wiki/Smilodon), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Smilodon\n\nSmilodon is a genus of the extinct machairodont subfamily of the felids. It is one of the most famous prehistoric mammals, and the best known saber-toothed cat. Although commonly known as the saber-toothed tiger, it was not closely related to the tiger or other mode... | {
"type": "exact",
"value": "which itself probably evolved from Megantereon",
"tests": []
} | train |
wiki-read-ru-da013e48999964eb4bba | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-240acdf935cae1e6b3f8da | colon_explanation | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-4699137802137663405-1 (Apache-2.0). Wikipedia contributors, “Армяне в США” (https://ru.wikipedia.org/wiki/%D0%90%D1%80%D0%BC%D1%8F%D0%BD%D0%B5_%D0%B2_%D0%A1%D0%A8%D0%90), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New r... | [
{
"role": "user",
"content": "Армяне в США\n\nСогласно официальным данным Бюро переписи населения США в стране проживает 483,366 армян (на 2011 год). Однако следует отметить, что в подобных переписях обычно армяне учитываются как «белые» или как «американцы» и лишь малая часть пишет в графе «армянин». Сущес... | {
"type": "exact",
"value": "800,000, 1,000,000, 1,200,000, 1,270,000, 1,400,000, 1,500,000, 2,000,000 или даже более",
"tests": []
} | train |
math-verified-route_speed-006 | math | en | Original | CC0-1.0 | math-verified-route_speed | verified_math_route_speed | Original bilingual mathematics exercises, CC0-1.0 | [
{
"role": "user",
"content": "A cyclist rode for 50 minutes at 18 km/h, rested for 10 minutes and rode for 20 minutes at 40 km/h. Each riding speed was constant. What was the average speed in km/h over the entire elapsed time, including the stop?\nGive the exact number on the last line; use a reduced fracti... | {
"type": "number",
"value": "85/4",
"tests": []
} | train |
algpy-7a8053f6d16cd15c-implement | code | en | TheAlgorithms/Python | MIT | algpy-7a8053f6d16cd15c | implement | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, strings/count_vowels_consonants.py#count_vowels_and_consonants; adapted exercises | [
{
"role": "user",
"content": "Implement this Python function. For ASCII text, return a tuple (vowels, consonants), counting letters case-insensitively. Vowels are a,e,i,o,u; ignore nonletters.\nSignature: def count_vowels_and_consonants(text):\nExamples:\n```python\nassert count_vowels_and_consonants('') ==... | {
"type": "code",
"value": "",
"tests": [
"assert count_vowels_and_consonants('A') == (1, 0)",
"assert count_vowels_and_consonants('hello') == (2, 3)",
"assert count_vowels_and_consonants('AaB') == (2, 1)",
"assert count_vowels_and_consonants('a! b') == (1, 1)",
"assert count_vowels_and_conson... | train |
algpy-12303cca6b52221e-check-assertions | code | ru | TheAlgorithms/Python | MIT | algpy-12303cca6b52221e | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, searches/simple_binary_search.py#binary_search; adapted exercises | [
{
"role": "user",
"content": "Один из тестов противоречит фактическому поведению этой функции. Определи его и вычисли верный результат. В последней строке запиши букву и результат через двоеточие, например A: 42.\n```python\ndef compute(a_list, item):\n if len(a_list) == 0:\n return False\n mid... | {
"type": "exact",
"value": "B: True",
"tests": []
} | train |
wiki-read-en-8a68ec13e79936f14967 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-b1faa6afd94ef1d73d650e | definition | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--4018462486021047274-0 (Apache-2.0). Wikipedia contributors, “Transylvania” (https://en.wikipedia.org/wiki/Transylvania), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Transylvania\n\nTransylvania is a historical region which today is located in central Romania. Bound on the east and south by its natural borders, the Carpathian mountain range, historical Transylvania extended westward to the Apuseni Mountains. The term sometimes encompasses n... | {
"type": "exact",
"value": "a historical region which today is located in central Romania",
"tests": []
} | train |
reason2-order_count-036 | reasoning | ru | Original | CC0-1.0 | reason2-order_count | workshop_order_count | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Экспонаты M, Z, X, V, A выносят по одному, каждый ровно раз. Правило X→Y требует вынести X раньше Y. Правила: M→Z, Z→X, M→V, Z→V. Сколько полных порядков допускают эти условия?\nПриведи ход решения в нескольких фразах. На последней строке оставь только ответ."
},
{
"rol... | {
"type": "number",
"value": "10",
"tests": []
} | train |
reason2-assembly_units-039 | reasoning | ru | Original | CC0-1.0 | reason2-assembly_units | workshop_assembly_units | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Для сборки используются спецификации (правая часть — состав одной единицы): U = 6×C + 1×J; C = 3×B + 5×N; J = 3×B + 2×N. Заказ включает изделия U в количестве 2 и отдельно узлы C в количестве 4. Сколько отдельных деталей N потребуется?\nКратко обоснуй ответ и запиши сам ответ н... | {
"type": "number",
"value": "84",
"tests": []
} | train |
algpy-faab002207b96f0e-change-impact | code | ru | TheAlgorithms/Python | MIT | algpy-faab002207b96f0e | change-impact | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, dynamic_programming/regex_match.py#recursive_match; adapted exercises | [
{
"role": "user",
"content": "В показанном коде строку `return False` заменяют на `return True`. Для какого из двух выражений изменится возвращаемое значение? Дай короткое объяснение и запиши букву в последней строке.\n```python\ndef compute(text, pattern):\n if not pattern:\n return not text\n ... | {
"type": "exact",
"value": "B",
"tests": []
} | train |
reason2-event_selection-053 | reasoning | ru | Original | CC0-1.0 | reason2-event_selection | workshop_event_selection | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Один фотограф хочет целиком снять как можно больше коротких показов. Начала и окончания: J 19–25; S 13–18; Z 19–23; N 3–8; W 9–14; R 5–13; P 8–14; U 9–13. В момент окончания одного показа можно сразу начать следующий. Каково максимальное число показов?\nПриведи ход решения в не... | {
"type": "number",
"value": "4",
"tests": []
} | train |
wiki-read-ru-4d7386c80d3fe93dbf7a | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-d724041f8dda09334600f5 | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-784222425812076154-18 (Apache-2.0). Wikipedia contributors, “Красноярское дело” (https://ru.wikipedia.org/wiki/%D0%9A%D1%80%D0%B0%D1%81%D0%BD%D0%BE%D1%8F%D1%80%D1%81%D0%BA%D0%BE%D0%B5_%D0%B4%D0%B5%D0%BB%D0%BE), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace... | [
{
"role": "user",
"content": "Красноярское дело\n\n28 ноября 1950 года ученым объявили, что месяц назад заочным судом их осудило ОСО МГБ СССР «за неправильную оценку и заведомое сокрытие месторождение полезных ископаемых, вредительство, шпионаж, контрреволюционную агитацию», и что они приговорены к различны... | {
"type": "exact",
"value": "от 10 до 25 лет",
"tests": []
} | train |
reason2-fair_slots-030 | 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: P=12, V=6, W=36. 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?\nExplain in a few sentences and use the fin... | {
"type": "exact",
"value": "W",
"tests": []
} | train |
wiki-read-en-65ef38257e86b3b0c1d9 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-9a258f0a0a2c0191fabc12 | definition | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-5382405788456718545-0 (Apache-2.0). Wikipedia contributors, “Constellation” (https://en.wikipedia.org/wiki/Constellation), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Constellation\n\nA constellation is a group of stars that forms an imaginary outline or pattern on the celestial sphere, typically representing an animal, mythological person or creature, a god, or an inanimate object.\n\nHow does the first sentence define “A constellation”? Co... | {
"type": "exact",
"value": "a group of stars that forms an imaginary outline or pattern on the celestial sphere, typically representing an animal, mythological person or creature, a god, or an inanimate object",
"tests": []
} | train |
wiki-read-en-a1ff8dcf3aa6c75b6cf9 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-1f947f9a043829dd94b484 | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--1675951561332181753-1 (Apache-2.0). Wikipedia contributors, “List of Billboard 200 number-one albums of 2017” (https://en.wikipedia.org/wiki/List_of_Billboard_200_number-one_albums_of_2017), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference mark... | [
{
"role": "user",
"content": "List of Billboard 200 number-one albums of 2017\n\nTaylor Swift's Reputation was the best selling album of 2017. Singer Ed Sheeran's ÷ is the second best-selling album with 451,000 album-equivalent units, of which 322,000 were pure album sales. Rapper Kendrick Lamar's fourth st... | {
"type": "exact",
"value": "353,000 in pure album sales",
"tests": []
} | train |
wiki-read-ru-bebc1402f11e2b105901 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-c1033f41fa617bf9352cac | clause | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-3534335886543225850-3 (Apache-2.0). Wikipedia contributors, “Стрела (телесериал)” (https://ru.wikipedia.org/wiki/%D0%A1%D1%82%D1%80%D0%B5%D0%BB%D0%B0_(%D1%82%D0%B5%D0%BB%D0%B5%D1%81%D0%B5%D1%80%D0%B8%D0%B0%D0%BB)), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whites... | [
{
"role": "user",
"content": "Стрела (телесериал)\n\n22 октября телеканал продлил «Стрелу» на полный сезон, состоящий из 23 эпизодов. 11 февраля 2013 года телеканал The CW продлил сериал на второй сезон. 13 февраля 2014 года сериал был продлен на третий сезон. 11 января 2015 года канал продлил сериал на чет... | {
"type": "exact",
"value": "который стартовал 7 октября 2015 года",
"tests": []
} | train |
reason2-room_peak-041 | reasoning | ru | Original | CC0-1.0 | reason2-room_peak | workshop_room_peak | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Репетиции занимают отдельные комнаты в такие минуты: Y [19,24); M [15,23); D [16,24); S [12,19); U [2,10); T [17,19); H [9,12). Конец интервала уже свободен; одна комната подходит любой группе. Сколько комнат как минимум требуется одновременно?\nПриведи ход решения в нескольких... | {
"type": "number",
"value": "4",
"tests": []
} | train |
algpy-ceb9c9aa4f284715-check-assertions | code | ru | TheAlgorithms/Python | MIT | algpy-ceb9c9aa4f284715 | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, matrix/kronecker_product.py#is_2d; adapted exercises | [
{
"role": "user",
"content": "Один из тестов противоречит фактическому поведению этой функции. Определи его и вычисли верный результат. В последней строке запиши букву и результат через двоеточие, например A: 42.\n```python\ndef compute(matrix):\n return all(isinstance(matrix, list) and (isinstance(i, li... | {
"type": "exact",
"value": "A: True",
"tests": []
} | train |
gsm-train-2128 | math | en | GSM8K | MIT | gsm8k-22478705f8a8860f6318 | word_problem_5_steps | OpenAI (2021), GSM8K, original train row 2128 | [
{
"role": "user",
"content": "Two stores sell the same model of smartphone, but they offer it at different prices and with different discounts. Store A lists the smartphone at a full price of $125 and offers an additional discount of 8%. Store B lists the same smartphone for $130 and offers an additional d... | {
"type": "number",
"value": "2",
"tests": []
} | train |
reason2-order_count-007 | reasoning | ru | Original | CC0-1.0 | reason2-order_count | workshop_order_count | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Экспонаты N, S, M, U, K, R выносят по одному, каждый ровно раз. Правило X→Y требует вынести X раньше Y. Правила: S→M, S→U, M→R, M→K, U→K. Сколько полных порядков допускают эти условия?\nПриведи ход решения в нескольких фразах. На последней строке оставь только ответ."
},
{
... | {
"type": "number",
"value": "30",
"tests": []
} | train |
reason2-pareto-044 | reasoning | ru | Original | CC0-1.0 | reason2-pareto | workshop_pareto | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Для печати плаката доступны заказы (дни, цена): E (27, 35); B (25, 41); X (16, 36); J (13, 53); R (5, 28); Y (23, 21); N (22, 45); C (15, 39); L (26, 64). Отбрось любой вариант, для которого другой вариант одновременно дешевле и быстрее. Запиши коды оставшихся в алфавитном поря... | {
"type": "exact",
"value": "R Y",
"tests": []
} | train |
wiki-read-ru-9fbea7624cc27eaa5dd8 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-12e5914bd61967b9e5c960 | measurement | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-3507946453084466836-1 (Apache-2.0). Wikipedia contributors, “Ливия” (https://ru.wikipedia.org/wiki/%D0%9B%D0%B8%D0%B2%D0%B8%D1%8F), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Ливия\n\nПри площади 1 759 541 км², 90 % которой занимают пустыни, Ливия — четвёртая по площади страна Африки и шестнадцатая в мире. В столице, Триполи, проживает 1,7 миллиона из 6,3 миллиона ливийцев. Ливия традиционно делится на три части: Триполитания (запад), Киренаика (вос... | {
"type": "exact",
"value": "90 %",
"tests": []
} | train |
math-verified-spaced_seats-012 | 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 10. Seat 5 is closed. How many sets of exactly 2 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": "29",
"tests": []
} | train |
wiki-read-ru-cf15fca04aa7ccdc6a5a | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-46bdc5c8c540ef3362c833 | measurement | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--8948907135870868749-3 (Apache-2.0). Wikipedia contributors, “Пояс астероидов” (https://ru.wikipedia.org/wiki/%D0%9F%D0%BE%D1%8F%D1%81_%D0%B0%D1%81%D1%82%D0%B5%D1%80%D0%BE%D0%B8%D0%B4%D0%BE%D0%B2), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and referenc... | [
{
"role": "user",
"content": "Пояс астероидов\n\nСуммарная масса главного пояса равна примерно 4 % массы Луны, больше половины её сосредоточено в четырёх крупнейших объектах: Церера, (4) Веста, (2) Паллада и (10) Гигея. Их средний диаметр составляет более 400 км, а самый крупный из них, Церера, единственная... | {
"type": "exact",
"value": "4 %",
"tests": []
} | train |
reason2-event_selection-043 | reasoning | en | Original | CC0-1.0 | reason2-event_selection | workshop_event_selection | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "One photographer wants to cover as many entire demonstrations as possible. Their start and end times are Y 17–21; F 0–6; A 7–15; H 1–9; L 8–11; P 2–9. Finishing one at the instant another starts is allowed. What is the maximum count?\nShow a short check. Give the final answer o... | {
"type": "number",
"value": "3",
"tests": []
} | train |
wiki-read-ru-fc599c902cf9013fabba | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-03610008ee753bfaa4f841 | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--3338835617813540349-0 (Apache-2.0). Wikipedia contributors, “Cadillac Deville” (https://ru.wikipedia.org/wiki/Cadillac_Deville), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Cadillac Deville\n\nCadillac Deville или Cadillac de Ville (Кадилла́к Деви́ль) — полноразмерные легковые автомобили американской фирмы Cadillac, отделения корпорации General Motors выпускавшиеся в 1949—2005 годах. Двухдверные купе — Cadillac Coupe Deville выпускались с 1949 по ... | {
"type": "exact",
"value": "Кадилла́к Деви́ль",
"tests": []
} | train |
wiki-read-ru-935cf9d5cc4de739f5f1 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-08d9fea23be2f74924949a | chronology | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-6947042214102424280-1 (Apache-2.0). Wikipedia contributors, “Билялетдинов, Динияр Ринатович” (https://ru.wikipedia.org/wiki/%D0%91%D0%B8%D0%BB%D1%8F%D0%BB%D0%B5%D1%82%D0%B4%D0%B8%D0%BD%D0%BE%D0%B2%2C_%D0%94%D0%B8%D0%BD%D0%B8%D1%8F%D1%80_%D0%A0%D0%B8%D0%BD%D0%B0%D1%8... | [
{
"role": "user",
"content": "Билялетдинов, Динияр Ринатович\n\nНачинал профессиональную карьеру в московском «Локомотиве», за который играл в течение пяти лет. В 2009 году перешёл в английский «Эвертон» и, проведя в составе «ирисок» 77 матчей, в 2012 году был куплен «Спартаком», но не смог закрепиться в мо... | {
"type": "exact",
"value": "2009, 2012, 2017",
"tests": []
} | train |
wiki-read-ru-c61d7135b9743fc46152 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-287aaa95424fb0e5583eb1 | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--809836447873400802-7 (Apache-2.0). Wikipedia contributors, “Новая Фиваида” (https://ru.wikipedia.org/wiki/%D0%9D%D0%BE%D0%B2%D0%B0%D1%8F_%D0%A4%D0%B8%D0%B2%D0%B0%D0%B8%D0%B4%D0%B0), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers norma... | [
{
"role": "user",
"content": "Новая Фиваида\n\nВ 1912 году среди русских монахов Афона возникло имяславие, причиной чего стала книга иеросхимонаха Илариона (Домрачева) «На горах Кавказа», где автор описывал личный молитвенный опыт, обращая особое внимание на мистическое содержание имени Божия. Распространен... | {
"type": "exact",
"value": "Домрачева",
"tests": []
} | train |
gsm-train-2193 | math | en | GSM8K | MIT | gsm8k-94c6939587abffb08c17 | word_problem_5_steps | OpenAI (2021), GSM8K, original train row 2193 | [
{
"role": "user",
"content": "Suzanne wants to raise money for charity by running a 5-kilometer race. Her parents have pledged to donate $10 for her first kilometer and double the donation for every successive kilometer. If Suzanne finishes the race, how much money will her parents donate?\nShow a short cal... | {
"type": "number",
"value": "310",
"tests": []
} | train |
algpy-b1cf7155f5c18ac1-check-assertions | code | ru | TheAlgorithms/Python | MIT | algpy-b1cf7155f5c18ac1 | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/juggler_sequence.py#juggler_sequence; adapted exercises | [
{
"role": "user",
"content": "Один из тестов противоречит фактическому поведению этой функции. Определи его и вычисли верный результат. В последней строке запиши букву и результат через двоеточие, например A: 42.\n```python\nimport math\n\ndef compute(number):\n if not isinstance(number, int):\n m... | {
"type": "exact",
"value": "A: [1]",
"tests": []
} | train |
reason2-room_peak-069 | reasoning | ru | Original | CC0-1.0 | reason2-room_peak | workshop_room_peak | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Репетиции занимают отдельные комнаты в такие минуты: P [13,19); X [10,17); M [18,23); R [17,25); G [17,19); C [8,13); F [17,23); U [11,15). Конец интервала уже свободен; одна комната подходит любой группе. Сколько комнат как минимум требуется одновременно?\nПриведи ход решения ... | {
"type": "number",
"value": "5",
"tests": []
} | train |
math-verified-departures-019 | math | ru | Original | CC0-1.0 | math-verified-departures | verified_math_departures | Original bilingual mathematics exercises, CC0-1.0 | [
{
"role": "user",
"content": "Время отсчитывают в целых минутах от открытия станции. Первый трамвай линии A уходит в минуту 7, далее интервал составляет 12 мин. Первый трамвай линии B уходит в минуту 19, интервал составляет 42 мин. На какой минуте, начиная с минуты 109 включительно, обе линии впервые отправ... | {
"type": "number",
"value": "187",
"tests": []
} | train |
reason2-ballot_points-023 | reasoning | ru | Original | CC0-1.0 | reason2-ballot_points | workshop_ballot_points | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Жюри оценивает макеты B, J, T. Баллы за места, начиная с первого: 2, 1, 0. Бюллетени записаны как число одинаковых голосов × порядок от лучшего к худшему: 8 × B>J>T; 5 × J>T>B; 6 × J>B>T; 8 × B>T>J. У какого макета больше всего баллов?\nПриведи ход решения в нескольких фразах. ... | {
"type": "exact",
"value": "B",
"tests": []
} | train |
wiki-read-en-c14dae06f67a46e25a34 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-7750ed7c9368dac0831a21 | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--2171032611345241647-1 (Apache-2.0). Wikipedia contributors, “Kangxi Emperor” (https://en.wikipedia.org/wiki/Kangxi_Emperor), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Kangxi Emperor\n\nThe Kangxi Emperor's reign of 61 years makes him the longest-reigning emperor in Chinese history (although his grandson, the Qianlong Emperor, had the longest period of de facto power) and one of the longest-reigning rulers in the world. However, since he asce... | {
"type": "exact",
"value": "although his grandson, the Qianlong Emperor, had the longest period of de facto power",
"tests": []
} | train |
wiki-read-en-2585b10ce51e79bf90e1 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-b02231012a319031c36e38 | chronology | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-2919649603378320786-0 (Apache-2.0). Wikipedia contributors, “American Indian Model Schools” (https://en.wikipedia.org/wiki/American_Indian_Model_Schools), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "American Indian Model Schools\n\nAmerican Indian Model Schools (AIM Schools) is a charter school system based in Oakland, California. Started with the American Indian Public Charter School, a middle school in the late 1990s to serve Native American students, in 2007 it expanded... | {
"type": "exact",
"value": "2007, 2012",
"tests": []
} | train |
reason2-balanced_load-063 | 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: H=80, K=76, R=44, S=24, D=28, F=40, U=20. 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."
},
{
"ro... | {
"type": "number",
"value": "0",
"tests": []
} | train |
reason2-line_breaks-031 | reasoning | ru | Original | CC0-1.0 | reason2-line_breaks | workshop_line_breaks | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Длины слов заголовка в символах, от первого слова к последнему: 5, 8, 7, 2, 6, 8, 7, 3. Предельная длина строки — 11. Между соседними словами ровно один пробел. Менять порядок и переносить часть слова нельзя. Каково наименьшее число строк?\nПокажи короткую проверку, а в конце н... | {
"type": "number",
"value": "6",
"tests": []
} | train |
algpy-fe3eb8d86f94ed1c-check-assertions | code | ru | TheAlgorithms/Python | MIT | algpy-fe3eb8d86f94ed1c | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, matrix/largest_square_area_in_matrix.py#largest_square_area_in_matrix_bottom_up_space_optimization; adapted exercises | [
{
"role": "user",
"content": "Один из тестов противоречит фактическому поведению этой функции. Определи его и вычисли верный результат. В последней строке запиши букву и результат через двоеточие, например A: 42.\n```python\ndef compute(rows, cols, mat):\n current_row = [0] * (cols + 1)\n next_row = [... | {
"type": "exact",
"value": "A: 2",
"tests": []
} | train |
wiki-read-ru-92cc973f931e370400ef | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-2b490672bf97087f112729 | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-2666586204360647375-19 (Apache-2.0). Wikipedia contributors, “Соловецкие острова” (https://ru.wikipedia.org/wiki/%D0%A1%D0%BE%D0%BB%D0%BE%D0%B2%D0%B5%D1%86%D0%BA%D0%B8%D0%B5_%D0%BE%D1%81%D1%82%D1%80%D0%BE%D0%B2%D0%B0), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; wh... | [
{
"role": "user",
"content": "Соловецкие острова\n\nУказом Президиума Верховного Совета РСФСР от 23 марта 1987 года на территории Соловецких островов образован двадцатый район Архангельской области — Соловецкий. На Соловках был создан районный Совет, а населённый пункт архипелага получил официальное названи... | {
"type": "exact",
"value": "1987-03-23",
"tests": []
} | train |
reason2-room_peak-008 | reasoning | en | Original | CC0-1.0 | reason2-room_peak | workshop_room_peak | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Rehearsals each need a room for the following minute intervals: C [0,4); E [3,11); U [7,10); Z [12,14); M [13,21); Y [1,3); G [3,7); X [1,8). A room is free at the right endpoint, and all rooms are interchangeable. What is the minimum room count?\nExplain in a few sentences and... | {
"type": "number",
"value": "4",
"tests": []
} | train |
algpy-bd2c35dec4319861-implement | code | en | TheAlgorithms/Python | MIT | algpy-bd2c35dec4319861 | implement | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, sorts/msd_radix_sort.py#msd_radix_sort; adapted exercises | [
{
"role": "user",
"content": "Implement this Python function. Return the input list's nonnegative integers in ascending order, preserving duplicates. The list can be empty.\nSignature: def msd_radix_sort(list_of_ints):\nExamples:\n```python\nassert msd_radix_sort([]) == []\nassert msd_radix_sort([1]) == [1]... | {
"type": "code",
"value": "",
"tests": [
"assert msd_radix_sort([2, 1]) == [1, 2]",
"assert msd_radix_sort([4, 0, 4, 1]) == [0, 1, 4, 4]",
"assert msd_radix_sort([3, 3]) == [3, 3]",
"assert msd_radix_sort([5, 4, 3, 2, 1]) == [1, 2, 3, 4, 5]",
"assert msd_radix_sort([0, 2, 6, 1, 7]) == [0, 1, ... | train |
reason2-minimum_cover-058 | 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, 6, 7, 8, 9. Наборы перечислены с типами внутри: B=5/9; P=1/3/5; X=1/3/6/7; W=3/8; N=2/3/5/9; K=2/5/7; D=1/5/6. Дубли допустимы. Какое наименьшее число наборов покроет все типы?\nПокажи короткую проверку, а в конце на отдельной с... | {
"type": "number",
"value": "3",
"tests": []
} | train |
wiki-read-en-925aec2cfdba849a6024 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-e711d0cc22bca5caf46863 | clause | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-1582839374522462505-0 (Apache-2.0). Wikipedia contributors, “New Zealand Company” (https://en.wikipedia.org/wiki/New_Zealand_Company), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "New Zealand Company\n\nThe New Zealand Company, chartered in the United Kingdom, was a company that existed in the first half of the 1800s on a business model focused on the systematic colonisation of New Zealand. The company was formed to carry out the principles devised by Ed... | {
"type": "exact",
"value": "who envisaged the creation of a new-model English society in the southern hemisphere",
"tests": []
} | train |
verified-code-best_rewards-repair | code | en | Original | CC0-1.0 | verified-code-interval_plans | verified_repair | Original algorithm and independent oracle, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Correct one line. best_rewards([(4, 9, 5), (0, 5, 8), (5, 7, 1), (7, 8, 8)]) returns 16; expected 17. Each event is an integer triple (start, end, reward), start < end. Half-open intervals may touch. Choose nonoverlapping events to maximize total reward. Return the maximum alon... | {
"type": "code",
"value": "",
"tests": [
"assert best_rewards([]) == 0",
"assert best_rewards([(0, 1, 3)]) == 3",
"assert best_rewards([(0, 2, 4), (2, 4, 5)]) == 9",
"assert best_rewards([(0, 4, 10), (0, 2, 2), (2, 3, 2), (3, 5, 7)]) == 11",
"assert best_rewards([(2, 6, -5), (3, 5, 2)]) == 2"... | train |
verified-code-median_rank-trace | code | ru | Original | CC0-1.0 | verified-code-weighted_quantile | verified_trace | Original algorithm and independent oracle, release 2; CC0-1.0. | [
{
"role": "user",
"content": "```python\ndef median_rank(pairs):\n counts = {}\n for value, amount in pairs:\n counts[value] = counts.get(value, 0) + amount\n rank = (2 * sum(counts.values()) + 3) // 4\n if rank == 0:\n return None\n total = 0\n for value, amount in sorted(co... | {
"type": "exact",
"value": "2",
"tests": []
} | train |
wiki-read-en-1248ad2cb7a2a9173957 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-f14b7a89dd4b6d9579f102 | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-8068972439608209727-1 (Apache-2.0). Wikipedia contributors, “Sogod, Southern Leyte” (https://en.wikipedia.org/wiki/Sogod%2C_Southern_Leyte), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Sogod, Southern Leyte\n\nThe name of the municipality originated from the Cebuano word, sogod, meaning \"to start.\" Founded as a Catholic mission station by the Society of Jesus in 1601, Sogod became a regular municipality on June 10, 1853.\n\nFind the full calendar date whose... | {
"type": "exact",
"value": "1853-06-10",
"tests": []
} | train |
math-verified-conditional_draw-016 | 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 7 red, 2 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": "2/7",
"tests": []
} | train |
wiki-read-ru-85bdb5f70211d97156f1 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-06c2043ff8afcc8b70a370 | measurement | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-4398874233449310979-3 (Apache-2.0). Wikipedia contributors, “Венера” (https://ru.wikipedia.org/wiki/%D0%92%D0%B5%D0%BD%D0%B5%D1%80%D0%B0), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Венера\n\nСреднее расстояние Венеры от Солнца — 108 млн км (0,723 а. е.). Расстояние от Венеры до Земли меняется в пределах от 38 до 261 млн км. Её орбита очень близка к круговой — эксцентриситет составляет всего 0,0067. Период обращения вокруг Солнца равен 224,7 земных суток; ... | {
"type": "exact",
"value": "6051,8 км",
"tests": []
} | train |
verified-code-edit_unit_cost-repair | code | en | Original | CC0-1.0 | verified-code-edit_cost | verified_repair | Original algorithm and independent oracle, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Correct one line. edit_unit_cost('aab', 'aba') returns 1; expected 2. Return the minimum cost to change string a into b. Inserting a character costs 1, deleting costs 1, and substituting one costs 1. Keeping a match is free. Either string may be empty.\n```python\ndef edit_unit... | {
"type": "code",
"value": "",
"tests": [
"assert edit_unit_cost('', '') == 0",
"assert edit_unit_cost('', 'ab') == 2",
"assert edit_unit_cost('zo', '') == 2",
"assert edit_unit_cost('ab', 'ab') == 0",
"assert edit_unit_cost('cab', 'a') == 2",
"assert edit_unit_cost('ab', 'ba') == 2",
... | train |
algpy-7fe8eb43a879f5bc-check-assertions | code | ru | TheAlgorithms/Python | MIT | algpy-7fe8eb43a879f5bc | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, bit_manipulation/binary_twos_complement.py#twos_complement; adapted exercises | [
{
"role": "user",
"content": "Один из тестов противоречит фактическому поведению этой функции. Определи его и вычисли верный результат. В последней строке запиши букву и результат через двоеточие, например A: 42.\n```python\ndef compute(number):\n if number > 0:\n raise ValueError('input must be a... | {
"type": "exact",
"value": "A: '0b0'",
"tests": []
} | train |
algpy-02bb5961cc81f838-repair | code | en | TheAlgorithms/Python | MIT | algpy-02bb5961cc81f838 | repair | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/special_numbers/perfect_number.py#perfect; adapted exercises | [
{
"role": "user",
"content": "Repair this Python function. For positive n, return True when the sum of its proper positive divisors equals n.\nFor perfect(1) it should return False, but returns True. Keep the signature.\n```python\ndef perfect(number):\n if not isinstance(number, int):\n raise Val... | {
"type": "code",
"value": "",
"tests": [
"assert perfect(1) == False",
"assert perfect(2) == False",
"assert perfect(3) == False",
"assert perfect(4) == False",
"assert perfect(6) == True",
"assert perfect(8) == False",
"assert perfect(12) == False",
"assert perfect(16) == False",... | train |
algpy-88bcab9dba500fd9-repair | code | en | TheAlgorithms/Python | MIT | algpy-88bcab9dba500fd9 | repair | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, strings/is_pangram.py#is_pangram; adapted exercises | [
{
"role": "user",
"content": "Repair this Python function. Return True if the text contains every ASCII letter a through z at least once, ignoring case.\nFor is_pangram('') it should return False, but returns True. Keep the signature.\n```python\ndef is_pangram(input_str='The quick brown fox jumps over the ... | {
"type": "code",
"value": "",
"tests": [
"assert is_pangram('') == False",
"assert is_pangram('a') == False",
"assert is_pangram('A') == False",
"assert is_pangram('hello') == False",
"assert is_pangram('AaB') == False",
"assert is_pangram('a! b') == False",
"assert is_pangram('aBc') ... | train |
wiki-read-ru-3e14b02c6201e6d3bc8c | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-46be557fa15d52a98ef4ea | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-3918150581122738515-49 (Apache-2.0). Wikipedia contributors, “Кимры” (https://ru.wikipedia.org/wiki/%D0%9A%D0%B8%D0%BC%D1%80%D1%8B), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Кимры\n\nВ период с 1900 по 1902 годы была построена железная дорога, связывающая Москву и Кимры. Железнодорожная станция расположилась на правом берегу Волги, возле деревни Савёлово, именем которой и была названа. Имя деревни также отражено в названиях вокзала, двух станций ме... | {
"type": "exact",
"value": "Серпуховско-Тимирязевской и Большой кольцевой линий",
"tests": []
} | train |
wiki-read-en-f70c099a8c73b4abd336 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-c67db7f2caa0d909c18b68 | clause | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--6776171858566659807-2 (Apache-2.0). Wikipedia contributors, “Mary-Kate and Ashley Olsen” (https://en.wikipedia.org/wiki/Mary-Kate_and_Ashley_Olsen), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Mary-Kate and Ashley Olsen\n\nIn 1987, at the age of six months, the twins were cast in the role of Michelle Tanner on the ABC sitcom Full House. They began filming at nine months old. In order to comply with child labor laws that set strict limits on how long a child actor may... | {
"type": "exact",
"value": "which concluded in 1995",
"tests": []
} | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.