id stringlengths 11 45 | domain stringclasses 5
values | language stringclasses 2
values | source stringclasses 6
values | license stringclasses 5
values | group_id stringlengths 8 35 | task stringclasses 77
values | attribution stringlengths 0 758 | messages listlengths 2 2 | grading dict | split stringclasses 1
value |
|---|---|---|---|---|---|---|---|---|---|---|
wiki-read-en-37454baffbde687468f1 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-1a98fbca20e995a43583ee | definition | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-7832398167909387285-0 (Apache-2.0). Wikipedia contributors, “World Judo Championships” (https://en.wikipedia.org/wiki/World_Judo_Championships), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "World Judo Championships\n\nThe World Judo Championships are the highest level of international judo competition, along with the Olympic judo competition. The championships are held once every year (except the years when the Olympics take place) by the International Judo Federa... | {
"type": "exact",
"value": "the highest level of international judo competition, along with the Olympic judo competition",
"tests": []
} | train |
wiki-read-en-64887a160369df9f41a2 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-5b6619889e54b59c766dac | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--5007547183238156069-3 (Apache-2.0). Wikipedia contributors, “Carburetor” (https://en.wikipedia.org/wiki/Carburetor), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Carburetor\n\nThe first carburetor was invented by Samuel Morey in 1826. The first person to patent a carburetor for use in a petroleum engine was Siegfried Marcus with his 6 July 1872 patent for a device which mixes fuel with air.\n\nFind the full calendar date whose month is ... | {
"type": "exact",
"value": "1872-07-06",
"tests": []
} | train |
algpy-5ddb8a68bf9d8e5c-change-impact | code | ru | TheAlgorithms/Python | MIT | algpy-5ddb8a68bf9d8e5c | change-impact | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, divide_and_conquer/inversions.py#count_inversions_recursive; adapted exercises | [
{
"role": "user",
"content": "В показанном коде строку `q = arr[mid:]` заменяют на `q = arr[mid:-1]`. Для какого из двух выражений изменится возвращаемое значение? Дай короткое объяснение и запиши букву в последней строке.\n```python\ndef _count_cross_inversions(p, q):\n r = []\n i = j = num_inversion... | {
"type": "exact",
"value": "B",
"tests": []
} | train |
algpy-a67608eb70d167d9-check-assertions | code | ru | TheAlgorithms/Python | MIT | algpy-a67608eb70d167d9 | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/josephus_problem.py#josephus_recursive; adapted exercises | [
{
"role": "user",
"content": "Один из тестов противоречит фактическому поведению этой функции. Определи его и вычисли верный результат. В последней строке запиши букву и результат через двоеточие, например A: 42.\n```python\ndef compute(num_people, step_size):\n if not isinstance(num_people, int) or not ... | {
"type": "exact",
"value": "A: 3",
"tests": []
} | train |
algpy-01e50b8a85e21728-trace | code | ru | TheAlgorithms/Python | MIT | algpy-01e50b8a85e21728 | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, dynamic_programming/minimum_steps_to_one.py#min_steps_to_one; adapted exercises | [
{
"role": "user",
"content": "```python\ndef compute(number):\n if number <= 0:\n msg = f'n must be greater than 0. Got n = {number}'\n raise ValueError(msg)\n table = [number + 1] * (number + 1)\n table[1] = 0\n for i in range(1, number):\n table[i + 1] = min(table[i + 1], ... | {
"type": "exact",
"value": "3",
"tests": []
} | train |
algpy-af92e6d28631c10e-repair | code | en | TheAlgorithms/Python | MIT | algpy-af92e6d28631c10e | repair | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, dynamic_programming/longest_increasing_subsequence_o_nlogn.py#longest_increasing_subsequence_length; adapted exercises | [
{
"role": "user",
"content": "Repair this Python function. Return the maximum length of a strictly increasing subsequence of an integer list. A subsequence keeps the original order but may skip elements. The empty list has length zero.\nFor longest_increasing_subsequence_length([]) it should return 0, but r... | {
"type": "code",
"value": "",
"tests": [
"assert longest_increasing_subsequence_length([]) == 0",
"assert longest_increasing_subsequence_length([0]) == 1",
"assert longest_increasing_subsequence_length([1]) == 1",
"assert longest_increasing_subsequence_length([-3]) == 1",
"assert longest_incr... | train |
wiki-read-ru-83778b3c90015d3e0f9a | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-461a3ce041fca5f09a74ae | chronology | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--5976447796556779882-0 (Apache-2.0). Wikipedia contributors, “Сборная Индии по крикету” (https://ru.wikipedia.org/wiki/%D0%A1%D0%B1%D0%BE%D1%80%D0%BD%D0%B0%D1%8F_%D0%98%D0%BD%D0%B4%D0%B8%D0%B8_%D0%BF%D0%BE_%D0%BA%D1%80%D0%B8%D0%BA%D0%B5%D1%82%D1%83), snapshot 2019-0... | [
{
"role": "user",
"content": "Сборная Индии по крикету\n\nСборная Индии по крикету (English: India national cricket team, Hindi: भारतीय क्रिकेट टीम) представляет Республику Индия в международных тестовых матчах, а также матчах ODI и Twenty20 по крикету. Индия обладает статусом полного члена Международного с... | {
"type": "exact",
"value": "1792, 1932",
"tests": []
} | train |
reason2-fair_slots-062 | 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: C=36, T=13, W=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 4?\nBriefly justify your result, then put the ... | {
"type": "exact",
"value": "C",
"tests": []
} | train |
wiki-read-en-9402b67af0139769943e | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-7a6c9ccf44944329bf1cad | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-7741753397599723500-8 (Apache-2.0). Wikipedia contributors, “Diode” (https://en.wikipedia.org/wiki/Diode), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Diode\n\nAbout 20 years later, John Ambrose Fleming (scientific adviser to the Marconi Company and former Edison employee) realized that the Edison effect could be used as a radio detector. Fleming patented the first true thermionic diode, the Fleming valve, in Britain on Novem... | {
"type": "exact",
"value": "1904-11-16",
"tests": []
} | train |
reason2-light_piece-056 | reasoning | ru | Original | CC0-1.0 | reason2-light_piece | workshop_light_piece | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Детали X, Z, Y, W, F, D, N, E, R, H, A должны весить одинаково, но ровно одна легче. На чаши каждый раз кладут поровну деталей. Результаты (знаки сравнивают массу левой и правой чаш): H+A+Y+X+W > N+Z+F+R+E; D+N+Y+X+Z < R+A+F+H+E; F+Z+X+R > W+H+N+A. Какая деталь легче?\nКратко о... | {
"type": "exact",
"value": "N",
"tests": []
} | train |
reason2-join_catalogs-057 | 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=S9, B49=S4, B82=S6, B18=S4, B70=S4, B31=S4. Shelves map to rooms: S9=T, S6=W, S4=V. Loans by book code: B49=3, B70=11, B18=17, B61=7, B31=5, B82=11. Which room accounts for the most loans?\nShow a short check. Give the final answer on a... | {
"type": "exact",
"value": "V",
"tests": []
} | train |
gsm-train-7057 | math | en | GSM8K | MIT | gsm8k-8bb605745901d4581b79 | word_problem_4_steps | OpenAI (2021), GSM8K, original train row 7057 | [
{
"role": "user",
"content": "There are 30 students in the general study hall and twice as many students in the biology hall as there are in the general study hall. If the number of students in the math hall is 3/5 times as many as the combined total number of students in the general study hall and the biol... | {
"type": "number",
"value": "144",
"tests": []
} | train |
math-verified-spaced_seats-021 | 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 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": "40",
"tests": []
} | train |
wiki-read-en-40186b487c40c4cfe08b | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-babdf6d714bc1bb6940e61 | definition | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--9014662733458925863-0 (Apache-2.0). Wikipedia contributors, “Osceola and Renegade” (https://en.wikipedia.org/wiki/Osceola_and_Renegade), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Osceola and Renegade\n\nOsceola and Renegade are the official mascots of the Florida State University Seminoles. Osceola, representing the historical Seminole leader Osceola, and his Appaloosa horse Renegade introduce home football games by riding to midfield with a burning spe... | {
"type": "exact",
"value": "the official mascots of the Florida State University Seminoles",
"tests": []
} | train |
gsm-train-3886 | math | en | GSM8K | MIT | gsm8k-eefc6b54618a7a721aeb | word_problem_3_steps | OpenAI (2021), GSM8K, original train row 3886 | [
{
"role": "user",
"content": "James scored 13 field goals worth 3 points and 20 shots worth two points. How many total points did he score?\nShow a short calculation. Put the final number alone on the last line."
},
{
"role": "assistant",
"content": "The field goals were worth 3*13=39 points\nT... | {
"type": "number",
"value": "79",
"tests": []
} | train |
math-verified-tickets-002 | math | en | Original | CC0-1.0 | math-verified-tickets | verified_math_tickets | Original bilingual mathematics exercises, CC0-1.0 | [
{
"role": "user",
"content": "A group paid 1797 dollars for 33 tickets, including a single booking fee of 2 dollars for the entire order. Full-price tickets cost 65 dollars and reduced tickets cost 30. How many full-price tickets were in the order?\nGive the exact number on the last line; use a reduced frac... | {
"type": "number",
"value": "23",
"tests": []
} | train |
algpy-01fae2df856a9bed-check-assertions | code | ru | TheAlgorithms/Python | MIT | algpy-01fae2df856a9bed | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/modular_division.py#extended_euclid; adapted exercises | [
{
"role": "user",
"content": "Один из тестов противоречит фактическому поведению этой функции. Определи его и вычисли верный результат. В последней строке запиши букву и результат через двоеточие, например A: 42.\n```python\ndef compute(a, b):\n if b == 0:\n return (1, 0)\n x, y = compute(b, a ... | {
"type": "exact",
"value": "A: (-1, 2)",
"tests": []
} | train |
wiki-read-en-8623ce06b4867c3147bf | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-bd6fc71792fbf1b6e7153f | definition | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-4101403767752156264-0 (Apache-2.0). Wikipedia contributors, “Data migration” (https://en.wikipedia.org/wiki/Data_migration), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Data migration\n\nData migration is the process of selecting, preparing, extracting, and transforming data and permanently transferring it from one computer storage system to another. Additionally, the validation of migrated data for completeness and the decommissioning of lega... | {
"type": "exact",
"value": "the process of selecting, preparing, extracting, and transforming data and permanently transferring it from one computer storage system to another",
"tests": []
} | train |
reason2-light_piece-026 | reasoning | en | Original | CC0-1.0 | reason2-light_piece | workshop_light_piece | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Parts K, F, M, A, C, L, G, W, S have identical weights except for one lighter part. Each balance test puts the same number on both pans. Signs compare left weight with right: M+L+C+A < W+S+G+F; S+M = C+W; M+A+W+S > L+C+F+G. Which part is lighter?\nShow a short check. Give the f... | {
"type": "exact",
"value": "L",
"tests": []
} | train |
wiki-read-ru-5d9999c7874cdbbe0938 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-fea6a8abc48cd683954b39 | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-3681003968955058618-1 (Apache-2.0). Wikipedia contributors, “Герб Омска” (https://ru.wikipedia.org/wiki/%D0%93%D0%B5%D1%80%D0%B1_%D0%9E%D0%BC%D1%81%D0%BA%D0%B0), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading ex... | [
{
"role": "user",
"content": "Герб Омска\n\nПервый герб Омска был утверждён императрицей Екатериной II 17 марта 1785 года после получения в 1782 году Омской крепостью статуса заштатного города Тобольского наместничества. Герб представлял из себя французский геральдический щит, в верхней части которого наход... | {
"type": "exact",
"value": "1785-03-17",
"tests": []
} | train |
algpy-825864d8f2f7d090-repair | code | en | TheAlgorithms/Python | MIT | algpy-825864d8f2f7d090 | repair | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/perfect_number.py#perfect_optimized; 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_optimized(1) it should return False, but returns True. Keep the signature.\n```python\ndef perfect_optimized(number):\n if not isinstance(number, int)... | {
"type": "code",
"value": "",
"tests": [
"assert perfect_optimized(1) == False",
"assert perfect_optimized(2) == False",
"assert perfect_optimized(3) == False",
"assert perfect_optimized(4) == False",
"assert perfect_optimized(6) == True",
"assert perfect_optimized(8) == False",
"asse... | train |
wiki-read-en-15c4dd674f27103c3438 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-e8dfa45299f2e30511ccfc | clause | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--7928278977476304688-1 (Apache-2.0). Wikipedia contributors, “Blue-footed booby” (https://en.wikipedia.org/wiki/Blue-footed_booby), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Blue-footed booby\n\nThe natural breeding habitats of the blue-footed booby are the tropical and subtropical islands of the Pacific Ocean. It can be found from the Gulf of California down along the western coasts of Central and South America down to Peru. Approximately one half... | {
"type": "exact",
"value": "which it obtains by diving and sometimes swimming underwater in search of its prey",
"tests": []
} | train |
wiki-read-en-b9dccbe482aa65bc6698 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-7ffe3fc19ff9d83f5a5b19 | definition | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--598685562842505465-1 (Apache-2.0). Wikipedia contributors, “2007 Holiday Bowl” (https://en.wikipedia.org/wiki/2007_Holiday_Bowl), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "2007 Holiday Bowl\n\nThe Holiday Bowl is a post-season NCAA-sanctioned Division I FBS college football bowl game that has been played annually at Qualcomm Stadium in San Diego, since 1978. The game is currently sponsored by Pacific Life Insurance, so it is known as the \"Pacifi... | {
"type": "exact",
"value": "a post-season NCAA-sanctioned Division I FBS college football bowl game that has been played annually at Qualcomm Stadium in San Diego, since 1978",
"tests": []
} | train |
reason2-ballot_points-060 | reasoning | ru | Original | CC0-1.0 | reason2-ballot_points | workshop_ballot_points | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Жюри оценивает макеты J, W, A, L. Баллы за места, начиная с первого: 3, 2, 1, 0. Бюллетени записаны как число одинаковых голосов × порядок от лучшего к худшему: 2 × L>J>A>W; 6 × W>J>A>L; 2 × J>A>L>W; 6 × W>J>L>A; 6 × A>J>L>W. У какого макета больше всего баллов?\nПриведи ход ре... | {
"type": "exact",
"value": "J",
"tests": []
} | train |
reason2-pareto-067 | reasoning | en | Original | CC0-1.0 | reason2-pareto | workshop_pareto | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Poster printing options are listed as (days, price): Y (28, 64); T (13, 14); F (14, 41); V (9, 70); W (24, 47); H (27, 74); G (22, 53); C (15, 25). Discard any option if another is both faster and cheaper. Give the surviving codes alphabetically, separated by spaces.\nBriefly j... | {
"type": "exact",
"value": "T V",
"tests": []
} | train |
algpy-49c5bf50774f7b14-trace | code | ru | TheAlgorithms/Python | MIT | algpy-49c5bf50774f7b14 | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/signum.py#signum; adapted exercises | [
{
"role": "user",
"content": "```python\ndef signum(num):\n if num < 0:\n return -1\n return 1 if num else 0\n```\nЧто вернёт выражение signum(10)? Запиши repr результата Python."
},
{
"role": "assistant",
"content": "1"
}
] | {
"type": "exact",
"value": "1",
"tests": []
} | train |
wiki-read-en-74a17125b6292b3c6463 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-6658f25d9a48c00081ab7d | chronology | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--8910975170921021758-1 (Apache-2.0). Wikipedia contributors, “Lanthanum” (https://en.wikipedia.org/wiki/Lanthanum), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Lanthanum\n\nLanthanum usually occurs together with cerium and the other rare earth elements. Lanthanum was first found by the Swedish chemist Carl Gustav Mosander in 1839 as an impurity in cerium nitrate – hence the name lanthanum, from the Ancient Greek λανθάνειν (lanthanein)... | {
"type": "exact",
"value": "1839, 1923",
"tests": []
} | train |
algpy-ec3203468005a018-trace | code | ru | TheAlgorithms/Python | MIT | algpy-ec3203468005a018 | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/modular_exponential.py#modular_exponential; adapted exercises | [
{
"role": "user",
"content": "```python\ndef modular_exponential(base, power, mod):\n if power < 0:\n return -1\n base %= mod\n result = 1\n while power > 0:\n if power & 1:\n result = result * base % mod\n power = power >> 1\n base = base * base % mod\n ... | {
"type": "exact",
"value": "4",
"tests": []
} | train |
wiki-read-ru-a0a243cc5a3895d2e48a | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-a50a0cc9f75c3e144da991 | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-2064651368391401284-0 (Apache-2.0). Wikipedia contributors, “Азербайджанская Демократическая Республика” (https://ru.wikipedia.org/wiki/%D0%90%D0%B7%D0%B5%D1%80%D0%B1%D0%B0%D0%B9%D0%B4%D0%B6%D0%B0%D0%BD%D1%81%D0%BA%D0%B0%D1%8F_%D0%94%D0%B5%D0%BC%D0%BE%D0%BA%D1%80%D0... | [
{
"role": "user",
"content": "Азербайджанская Демократическая Республика\n\nАзербайджанская Демократическая Республика (АДР) (Azerbaijani: Azərbaycan Xalq Cümhuriyyəti (AXC), آذربایجان جومهوریتی), в советской трактовке Азербайджанская буржуазная республика (Азербайджанская Республика) — независимое государс... | {
"type": "exact",
"value": "1918-05-28",
"tests": []
} | train |
reason2-missing_cells-061 | reasoning | ru | Original | CC0-1.0 | reason2-missing_cells | workshop_missing_cells | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "В таблице учёта столбцы идут в порядке H, W, Z. После вертикальной черты указан итог строки. Строки: R4: ? / 4 / 14 | 32; R6: 7 / 15 / 13 | 35; R1: ? / ? / 4 | 9. Итоги столбцов: H=23, W=22, Z=31. Какое число скрыто в строке R1, столбце H?\nКратко обоснуй ответ и запиши сам отв... | {
"type": "number",
"value": "2",
"tests": []
} | train |
algpy-8f8f86249b7382b8-trace | code | ru | TheAlgorithms/Python | MIT | algpy-8f8f86249b7382b8 | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, strings/is_pangram.py#is_pangram_faster; adapted exercises | [
{
"role": "user",
"content": "```python\ndef is_pangram_faster(input_str='The quick brown fox jumps over the lazy dog'):\n flag = [False] * 26\n for char in input_str:\n if char.islower():\n flag[ord(char) - 97] = True\n elif char.isupper():\n flag[ord(char) - 65] =... | {
"type": "exact",
"value": "True",
"tests": []
} | train |
reason2-fair_slots-025 | reasoning | ru | Original | CC0-1.0 | reason2-fair_slots | workshop_fair_slots | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Клуб делит часы студии по одному. Веса секций: B=8, N=9, R=18, W=26, Y=23. Следующий час получает секция с наибольшим отношением «вес / (1 + число уже выделенных часов)». При равенстве выбирают первый код по алфавиту. Какой секции достанется час номер 6, если сначала ни у кого ... | {
"type": "exact",
"value": "N",
"tests": []
} | train |
wiki-read-en-2f6d06ab8c713945febd | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-cfe4ecbf37fa61e6765472 | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--5075461013319038656-4 (Apache-2.0). Wikipedia contributors, “WWC Universal Heavyweight Championship” (https://en.wikipedia.org/wiki/WWC_Universal_Heavyweight_Championship), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. Ne... | [
{
"role": "user",
"content": "WWC Universal Heavyweight Championship\n\nFollowing this Burke would go on to feud with Juan Rivera who at the time was referred to as \"TNT\". Both wrestlers had been involved in a mid-card feud prior to this. Rivera won the championship on February 9, 1990, eventually losing ... | {
"type": "exact",
"value": "1990-02-09",
"tests": []
} | train |
math-verified-conditional_draw-010 | math | en | Original | CC0-1.0 | math-verified-conditional_draw | verified_math_conditional_draw | Original bilingual mathematics exercises, CC0-1.0 | [
{
"role": "user",
"content": "A bag has 9 red, 7 blue and 3 yellow tokens. Two distinct tokens are drawn uniformly without replacement. Given that at least one is red, what is the probability that the pair consists of one red and one blue?\nGive the exact number on the last line; use a reduced fraction for ... | {
"type": "number",
"value": "1/2",
"tests": []
} | train |
reason2-fair_slots-066 | 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: B=6, G=18, M=14, P=26, U=21. 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... | {
"type": "exact",
"value": "P",
"tests": []
} | train |
wiki-read-en-f6e41ee04f3b031b9be3 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-3f3496591f3fa83ca9b99b | measurement | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--8374733952251949396-2 (Apache-2.0). Wikipedia contributors, “Omo River” (https://en.wikipedia.org/wiki/Omo_River), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Omo River\n\nIts course is generally to the south, however with a major bend to the west at about 7° N 37° 30' E to about 36° E where it turns south until 5° 30' N where it makes a large S- bend then resumes its southerly course to Lake Turkana. According to materials published... | {
"type": "exact",
"value": "760 kilometers",
"tests": []
} | train |
reason2-pareto-014 | reasoning | ru | Original | CC0-1.0 | reason2-pareto | workshop_pareto | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Для печати плаката доступны заказы (дни, цена): E (13, 48); N (7, 64); M (11, 12); Z (26, 60); B (29, 38); Y (16, 43); X (12, 26). Отбрось любой вариант, для которого другой вариант одновременно дешевле и быстрее. Запиши коды оставшихся в алфавитном порядке через пробел.\nПокаж... | {
"type": "exact",
"value": "M N",
"tests": []
} | train |
reason2-missing_cells-063 | reasoning | ru | Original | CC0-1.0 | reason2-missing_cells | workshop_missing_cells | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "В таблице учёта столбцы идут в порядке T, B, P. После вертикальной черты указан итог строки. Строки: R10: 13 / 10 / 15 | 38; R3: 8 / 6 / ? | 26; R7: 7 / 13 / 7 | 27; R1: 3 / ? / ? | 15; R5: 5 / 14 / 8 | 27. Итоги столбцов: T=36, B=53, P=44. Какое число скрыто в строке R1, столб... | {
"type": "number",
"value": "2",
"tests": []
} | train |
reason2-line_breaks-023 | reasoning | ru | Original | CC0-1.0 | reason2-line_breaks | workshop_line_breaks | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Длины слов заголовка в символах, от первого слова к последнему: 6, 3, 2, 3, 5, 4, 4, 4, 9. Предельная длина строки — 19. Между соседними словами ровно один пробел. Менять порядок и переносить часть слова нельзя. Каково наименьшее число строк?\nПокажи короткую проверку, а в конц... | {
"type": "number",
"value": "3",
"tests": []
} | train |
algpy-60d773f008a65441-implement | code | en | TheAlgorithms/Python | MIT | algpy-60d773f008a65441 | implement | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/disarium.py#is_disarium; adapted exercises | [
{
"role": "user",
"content": "Implement this Python function. Return True if the sum of each decimal digit of n raised to its one-based position from the left equals n; n is nonnegative.\nSignature: def is_disarium(num):\nExamples:\n```python\nassert is_disarium(0) == True\nassert is_disarium(15) == False\n... | {
"type": "code",
"value": "",
"tests": [
"assert is_disarium(1) == True",
"assert is_disarium(2) == True",
"assert is_disarium(3) == True",
"assert is_disarium(4) == True",
"assert is_disarium(7) == True",
"assert is_disarium(8) == True",
"assert is_disarium(16) == False",
"assert... | train |
algpy-a59b79fb69897a69-trace | code | en | TheAlgorithms/Python | MIT | algpy-a59b79fb69897a69 | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/area.py#surface_area_cylinder; adapted exercises | [
{
"role": "user",
"content": "```python\nfrom math import pi\n\ndef compute(radius, height):\n if radius < 0 or height < 0:\n raise ValueError('compute() only accepts non-negative values')\n return 2 * pi * radius * (height + radius)\n```\nWhat does round(compute(1.6, 2.6), 6) return? Give the ... | {
"type": "exact",
"value": "42.223005",
"tests": []
} | train |
wiki-read-en-52ec1b5fa43bcf029e1b | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-edbda6e6d788434afa9172 | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--4459731775182443269-1 (Apache-2.0). Wikipedia contributors, “History of anthropology” (https://en.wikipedia.org/wiki/History_of_anthropology), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "History of anthropology\n\nHistory of anthropology in this article refers primarily to the 18th- and 19th-century precursors of modern anthropology. The term anthropology itself, innovated as a New Latin scientific word during the Renaissance, has always meant \"the study (or s... | {
"type": "exact",
"value": "or science",
"tests": []
} | train |
algpy-b717c424aa385eff-change-impact | code | en | TheAlgorithms/Python | MIT | algpy-b717c424aa385eff | change-impact | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/special_numbers/kaprekar_number.py#is_kaprekar; adapted exercises | [
{
"role": "user",
"content": "Suppose `if number < 1:` is replaced by `if number <= 1:` in the program below. Which expression changes its returned value? Briefly explain and write its letter on the last line.\n```python\ndef compute(number):\n if not isinstance(number, int):\n msg = f'Input value... | {
"type": "exact",
"value": "B",
"tests": []
} | train |
gsm-train-3328 | math | en | GSM8K | MIT | gsm8k-e395bfaf4add52678a70 | word_problem_3_steps | OpenAI (2021), GSM8K, original train row 3328 | [
{
"role": "user",
"content": "Tom spends $250 to buy gems in a game he plays. The game gives 100 gems for each dollar you spend. Since he bought so many gems he got a 20% bonus of more gems. How many gems did he end up with?\nShow a short calculation. Put the final number alone on the last line."
},
{... | {
"type": "number",
"value": "30000",
"tests": []
} | train |
math-verified-binomial_divisibility-003 | math | en | Original | CC0-1.0 | math-verified-binomial_divisibility | verified_math_binomial_divisibility | Original bilingual mathematics exercises, CC0-1.0 | [
{
"role": "user",
"content": "Choose 35 of 71 distinct items without regard to order. What is the greatest integer e ≥ 0 such that 12 to the power e divides the number of choices C(71,35)?\nGive the exact number on the last line; use a reduced fraction for a noninteger answer."
},
{
"role": "assista... | {
"type": "number",
"value": "0",
"tests": []
} | train |
reason2-motif_growth-048 | 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 DJJ. During each pass, replace every current symbol simultaneously using J→J; R→DJR; D→RD. Newly produced symbols wait for the next pass. After 3 passes, how many R symbols are there?\nBriefly justify your result, then put the answer alone on the last line."... | {
"type": "number",
"value": "4",
"tests": []
} | train |
algpy-85e451958ae9ae2b-check-assertions | code | ru | TheAlgorithms/Python | MIT | algpy-85e451958ae9ae2b | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/maclaurin_series.py#maclaurin_sin; adapted exercises | [
{
"role": "user",
"content": "Один из тестов противоречит фактическому поведению этой функции. Определи его и вычисли верный результат. В последней строке запиши букву и результат через двоеточие, например A: 42.\n```python\nfrom math import factorial\nfrom math import pi\n\ndef compute(theta, accuracy=30):... | {
"type": "exact",
"value": "A: -0.544021",
"tests": []
} | train |
wiki-read-ru-c8043292029d598ca27b | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-3be8d1211b3e39cdfa200e | chronology | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-6630012229267103394-2 (Apache-2.0). Wikipedia contributors, “Кармелит” (https://ru.wikipedia.org/wiki/%D0%9A%D0%B0%D1%80%D0%BC%D0%B5%D0%BB%D0%B8%D1%82), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Кармелит\n\nСтроительство «Кармелита» велось с 1956 года, в 1959 году он был открыт для пассажиров, а в 1986 году закрыт на реконструкцию, после реконструкции, в 1992 году, вновь запущен в эксплуатацию.\n\nКакие четырёхзначные календарные годы упомянуты в отрывке? Запиши их по ... | {
"type": "exact",
"value": "1956, 1959, 1986, 1992",
"tests": []
} | train |
wiki-read-ru-ebb40370dde576ff8e54 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-670efc7b1ff3c6de8e1d53 | clause | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--89342175032294936-2 (Apache-2.0). Wikipedia contributors, “Российско-китайские отношения” (https://ru.wikipedia.org/wiki/%D0%A0%D0%BE%D1%81%D1%81%D0%B8%D0%B9%D1%81%D0%BA%D0%BE-%D0%BA%D0%B8%D1%82%D0%B0%D0%B9%D1%81%D0%BA%D0%B8%D0%B5_%D0%BE%D1%82%D0%BD%D0%BE%D1%88%D0%... | [
{
"role": "user",
"content": "Российско-китайские отношения\n\nПервые связи между русскими княжествами и Китаем относятся к XIII—XIV векам, когда обе страны входили в состав единого государства — Монгольской империи. После завоевания монголами Руси, некоторое количество плененных мужчин было отправлено в Ки... | {
"type": "exact",
"value": "когда обе страны входили в состав единого государства — Монгольской империи",
"tests": []
} | train |
reason2-event_selection-052 | reasoning | ru | Original | CC0-1.0 | reason2-event_selection | workshop_event_selection | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Один фотограф хочет целиком снять как можно больше коротких показов. Начала и окончания: G 9–14; L 17–23; P 1–7; N 19–27; R 9–13; D 12–16. В момент окончания одного показа можно сразу начать следующий. Каково максимальное число показов?\nПокажи короткую проверку, а в конце на о... | {
"type": "number",
"value": "3",
"tests": []
} | train |
wiki-read-ru-2e5016cfc67383f12656 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-38740928daddbb9cd810b1 | chronology | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-7175649025221263976-1 (Apache-2.0). Wikipedia contributors, “Паровая машина” (https://ru.wikipedia.org/wiki/%D0%9F%D0%B0%D1%80%D0%BE%D0%B2%D0%B0%D1%8F_%D0%BC%D0%B0%D1%88%D0%B8%D0%BD%D0%B0), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference marker... | [
{
"role": "user",
"content": "Паровая машина\n\nПервая паровая машина построена в XVII в. Папеном и представляла конус с поршнем, который поднимался действием пара, а опускался давлением атмосферы после сгущения отработавшего пара. На этом же принципе были построены в 1705 году вакуумные паровые машины Севе... | {
"type": "exact",
"value": "1705, 1769, 1786, 1800",
"tests": []
} | train |
math-verified-quadratic_samples-026 | math | en | Original | CC0-1.0 | math-verified-quadratic_samples | verified_math_quadratic_samples | Original bilingual mathematics exercises, CC0-1.0 | [
{
"role": "user",
"content": "The function f is a quadratic polynomial. Its values are f(-3) = 10, f(-2) = 7, f(-1) = 6. Find f(2).\nGive the exact number on the last line; use a reduced fraction for a noninteger answer."
},
{
"role": "assistant",
"content": "The arguments are 1 units apart. The... | {
"type": "number",
"value": "15",
"tests": []
} | train |
math-verified-break_even-020 | 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 $7 plus $6 per page. Plan B costs $58 per month, includes the first 2 pages, and charges $3 per additional page. What is the smallest whole number of pages in a month at which B is strictly cheaper?\nGive the exact number on the last line; ... | {
"type": "number",
"value": "16",
"tests": []
} | train |
reason2-order_count-029 | reasoning | ru | Original | CC0-1.0 | reason2-order_count | workshop_order_count | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Экспонаты D, S, M, Y, H выносят по одному, каждый ровно раз. Правило X→Y требует вынести X раньше Y. Правила: D→H, Y→H, S→M. Сколько полных порядков допускают эти условия?\nПриведи ход решения в нескольких фразах. На последней строке оставь только ответ."
},
{
"role": "... | {
"type": "number",
"value": "20",
"tests": []
} | train |
wiki-read-en-3a81fbf201dcb62a0594 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-6d34d9c6b18334206919b6 | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-183676143748589637-0 (Apache-2.0). Wikipedia contributors, “BFC Germania 1888” (https://en.wikipedia.org/wiki/BFC_Germania_1888), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "BFC Germania 1888\n\nBFC Germania 1888 is a German football club from Berlin. Founded on 15 April 1888, it is the oldest still active football club in the country.\n\nFind the full calendar date whose month is spelled out. Write it in YYYY-MM-DD format."
},
{
"role": "a... | {
"type": "exact",
"value": "1888-04-15",
"tests": []
} | train |
reason2-line_breaks-010 | reasoning | en | Original | CC0-1.0 | reason2-line_breaks | workshop_line_breaks | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "A heading contains words of lengths 5, 6, 6, 4, 4, 2, 9, 4, 8, 4, 9, in the given order. Each line holds 19 characters, with one space between adjacent words. Words cannot be split or reordered. What is the fewest lines needed?\nShow a short check. Give the final answer on a se... | {
"type": "number",
"value": "5",
"tests": []
} | train |
wiki-read-ru-d846729f5d9b5a1a9c8c | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-e75e9eeff2ce923e9f975e | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-5936714532273390454-2 (Apache-2.0). Wikipedia contributors, “Питтсбург Пингвинз” (https://ru.wikipedia.org/wiki/%D0%9F%D0%B8%D1%82%D1%82%D1%81%D0%B1%D1%83%D1%80%D0%B3_%D0%9F%D0%B8%D0%BD%D0%B3%D0%B2%D0%B8%D0%BD%D0%B7), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whi... | [
{
"role": "user",
"content": "Питтсбург Пингвинз\n\nДругой клуб из Питтсбурга — «Питтсбург Хорнетс» с 1930 по 1967 годы выступал в (АХЛ). В феврале 1966 года Питтсбургу была предоставлена франшиза клуба НХЛ, которым станет «Питтсбург Пингвинз». Это означало окончание истории «Шершней». 30 апреля 1967 года, ... | {
"type": "exact",
"value": "1967-04-30",
"tests": []
} | train |
wiki-read-en-53fee7001832c6b24850 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-0636ddc62fc162a6f3ea60 | measurement | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--523007636145096717-25 (Apache-2.0). Wikipedia contributors, “Poverty threshold” (https://en.wikipedia.org/wiki/Poverty_threshold), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Poverty threshold\n\nIn United States, the poverty thresholds are updated every year by Census Bureau. The threshold in United States are updated and used for statistical purposes. In 2015, in the United States, the poverty threshold for a single person under 65 was an annual i... | {
"type": "exact",
"value": "15.1 percent",
"tests": []
} | train |
reason2-join_catalogs-036 | reasoning | ru | Original | CC0-1.0 | reason2-join_catalogs | workshop_join_catalogs | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Каталог связывает код книги с полкой: B36=S3, B17=S7, B57=S2, B37=S7, B30=S3, B80=S2, B42=S9. Соответствие полок и залов: S9=G, S7=L, S2=U, S3=G. Число выданных экземпляров по коду книги: B37=2, B57=16, B80=6, B30=15, B36=15, B17=13, B42=13. В каком зале больше всего выдач?\nПр... | {
"type": "exact",
"value": "G",
"tests": []
} | train |
reason2-fair_slots-046 | 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: K=8, V=24, Z=12. 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 4?\nBriefly justify your result, then put the ... | {
"type": "exact",
"value": "K",
"tests": []
} | train |
wiki-read-en-ccd6550f6aadb1cca8e8 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-10e6f96f4a8cfdb4e1b99c | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-7472091494202910341-9 (Apache-2.0). Wikipedia contributors, “List of exceptional asteroids” (https://en.wikipedia.org/wiki/List_of_exceptional_asteroids), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "List of exceptional asteroids\n\nThe largest asteroids with an accurately measured mass, due to the fact that they have been (and are being) studied by the probe Dawn, are 1 Ceres with a mass of 939.3 ± 0.5×1018 kg, and 4 Vesta at 259.076 ± 0.001×1018 kg. The third-largest aste... | {
"type": "exact",
"value": "and are being",
"tests": []
} | train |
gsm-train-785 | math | en | GSM8K | MIT | gsm8k-bb1d38cac2c04b448839 | word_problem_3_steps | OpenAI (2021), GSM8K, original train row 785 | [
{
"role": "user",
"content": "The county fair was hosting a pumpkin contest to see who could grow the biggest pumpkin in pounds. Brad entered his pumpkin with a weight of 54 pounds. Jessica's was half the weight of Brad's. Betty's pumpkin weight 4 times the amount of Jessica's pumpkin. What is the diffe... | {
"type": "number",
"value": "81",
"tests": []
} | train |
reason2-motif_growth-032 | 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 UWU. During each pass, replace every current symbol simultaneously using U→UWU; W→WU. Newly produced symbols wait for the next pass. After 3 passes, how many U symbols are there?\nBriefly justify your result, then put the answer alone on the last line."
},... | {
"type": "number",
"value": "34",
"tests": []
} | train |
wiki-read-ru-12e8223d56e0a0c3aeb1 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-37729917613547a390603a | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--9147535499306437563-0 (Apache-2.0). Wikipedia contributors, “Солёник, Карп Трофимович” (https://ru.wikipedia.org/wiki/%D0%A1%D0%BE%D0%BB%D1%91%D0%BD%D0%B8%D0%BA%2C_%D0%9A%D0%B0%D1%80%D0%BF_%D0%A2%D1%80%D0%BE%D1%84%D0%B8%D0%BC%D0%BE%D0%B2%D0%B8%D1%87), snapshot 2019... | [
{
"role": "user",
"content": "Солёник, Карп Трофимович\n\nКарп Трофимович Солёник (Ukrainian: Карпо Трохимович Соленик; 26 мая 1811, Лепель — 07 октября 1851, Харьков), часто упоминаемый как Соленик, реже — Соляник или Соленин, — прославленный русский и украинский актёр, один из основоположников реалистичес... | {
"type": "exact",
"value": "1811-05-26",
"tests": []
} | train |
reason2-frequency_median-035 | reasoning | ru | Original | CC0-1.0 | reason2-frequency_median | workshop_frequency_median | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "В журнале длительности занятий записаны парами «минуты × число занятий»: 41×4; 21×11; 28×2; 3×2; 38×7; 16×4; 29×11; 49×2. Какова медианная длительность одного занятия?\nПриведи ход решения в нескольких фразах. На последней строке оставь только ответ."
},
{
"role": "assi... | {
"type": "number",
"value": "29",
"tests": []
} | train |
wiki-read-ru-14aebefd301db07382a7 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-1bfc6265fe2fced45434c8 | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--8225991081609755762-0 (Apache-2.0). Wikipedia contributors, “Скотт, Ридли” (https://ru.wikipedia.org/wiki/%D0%A1%D0%BA%D0%BE%D1%82%D1%82%2C_%D0%A0%D0%B8%D0%B4%D0%BB%D0%B8), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. Ne... | [
{
"role": "user",
"content": "Скотт, Ридли\n\nСэр Ри́дли Скотт (English: Ridley Scott; род. 30 ноября 1937, Саут-Шилдс) — британский кинорежиссёр и продюсер. Создатель многих прославленных исторических и фантастических фильмов, таких как «Чужой», «Гладиатор», «Царство небесное», «Бегущий по лезвию», «Гангст... | {
"type": "exact",
"value": "1937-11-30",
"tests": []
} | train |
wiki-read-en-dc2f4aa040cd61564de1 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-8499621eb4d1674061d086 | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-7621779166990548985-6 (Apache-2.0). Wikipedia contributors, “Pontresina” (https://en.wikipedia.org/wiki/Pontresina), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Pontresina\n\nPontresina has a population (as of 31 December 2018) of 2,162. As of 2008, 29.7% of the population was made up of foreign nationals. Over the last 10 years the population has grown at a rate of 3.9%.\n\nFind the full calendar date whose month is spelled out. Write... | {
"type": "exact",
"value": "2018-12-31",
"tests": []
} | train |
algpy-21d0ff88258952fd-check-assertions | code | ru | TheAlgorithms/Python | MIT | algpy-21d0ff88258952fd | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, boolean_algebra/karnaugh_map_simplification.py#simplify_kmap; adapted exercises | [
{
"role": "user",
"content": "Один из тестов противоречит фактическому поведению этой функции. Определи его и вычисли верный результат. В последней строке запиши букву и результат через двоеточие, например A: 42.\n```python\ndef compute(kmap):\n simplified_f = []\n for a, row in enumerate(kmap):\n ... | {
"type": "exact",
"value": "B: \"A'B + AB' + AB\"",
"tests": []
} | train |
wiki-read-en-67bec5a3b1c4d4abdee5 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-f23f00ed4278118381d1df | chronology | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-2625158877554875330-2 (Apache-2.0). Wikipedia contributors, “AOL” (https://en.wikipedia.org/wiki/AOL), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "AOL\n\nAOL was one of the early pioneers of the Internet in the mid-1990s, and the most recognized brand on the web in the United States. It originally provided a dial-up service to millions of Americans, as well as providing a web portal, e-mail, instant messaging and later a ... | {
"type": "exact",
"value": "2001, 2009",
"tests": []
} | train |
algpy-c3ba5747505f6d07-check-assertions | code | ru | TheAlgorithms/Python | MIT | algpy-c3ba5747505f6d07 | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/volume.py#vol_circular_cylinder; adapted exercises | [
{
"role": "user",
"content": "Один из тестов противоречит фактическому поведению этой функции. Определи его и вычисли верный результат. В последней строке запиши букву и результат через двоеточие, например A: 42.\n```python\nfrom math import pi\n\ndef compute(radius, height):\n if height < 0 or radius < ... | {
"type": "exact",
"value": "A: 3.141593",
"tests": []
} | train |
wiki-read-ru-b4f2cfc4497d8d882688 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-f9178ced64bddddbae668d | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--3158525509036618884-0 (Apache-2.0). Wikipedia contributors, “Летние Олимпийские игры 1936” (https://ru.wikipedia.org/wiki/%D0%9B%D0%B5%D1%82%D0%BD%D0%B8%D0%B5_%D0%9E%D0%BB%D0%B8%D0%BC%D0%BF%D0%B8%D0%B9%D1%81%D0%BA%D0%B8%D0%B5_%D0%B8%D0%B3%D1%80%D1%8B_1936), snapsho... | [
{
"role": "user",
"content": "Летние Олимпийские игры 1936\n\nXI летние Олимпийские игры проводились в Берлине (Третий рейх) с 1 по 16 августа 1936 года. Соревнования по парусному спорту прошли в Киле. С 49 странами и 3961 атлетами эти Игры поставили новый рекорд по количеству участников. Самым выдающимся с... | {
"type": "exact",
"value": "Третий рейх",
"tests": []
} | train |
reason2-motif_growth-065 | reasoning | ru | Original | CC0-1.0 | reason2-motif_growth | workshop_motif_growth | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Начальный орнамент PMF. За проход каждый исходный символ одновременно заменяют по правилам F→F; M→MPM; P→F; новые символы в том же проходе не заменяются. Сколько символов P будет после 4 проходов?\nПриведи ход решения в нескольких фразах. На последней строке оставь только ответ... | {
"type": "number",
"value": "8",
"tests": []
} | train |
wiki-read-ru-e0b98ef61f553c4251b4 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-1ddc3f901ce5cd860bb40b | clause | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-7106839767069197628-2 (Apache-2.0). Wikipedia contributors, “Белка и Стрелка” (https://ru.wikipedia.org/wiki/%D0%91%D0%B5%D0%BB%D0%BA%D0%B0_%D0%B8_%D0%A1%D1%82%D1%80%D0%B5%D0%BB%D0%BA%D0%B0), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference mark... | [
{
"role": "user",
"content": "Белка и Стрелка\n\nПолёт продолжался более 25 часов. За это время корабль совершил 17 полных витков вокруг Земли. Белка и Стрелка стали первыми животными, которые совершили орбитальный космический полёт и успешно вернулись на Землю.\n\nНайди в тексте часть предложения, которая ... | {
"type": "exact",
"value": "которые совершили орбитальный космический полёт и успешно вернулись на Землю",
"tests": []
} | train |
wiki-read-ru-082dd5ee93871be28517 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-93a61af4cc7fca048db85e | definition | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--1005345868871982253-0 (Apache-2.0). Wikipedia contributors, “Дворец Советов” (https://ru.wikipedia.org/wiki/%D0%94%D0%B2%D0%BE%D1%80%D0%B5%D1%86_%D0%A1%D0%BE%D0%B2%D0%B5%D1%82%D0%BE%D0%B2), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference marke... | [
{
"role": "user",
"content": "Дворец Советов\n\nДворе́ц Сове́тов — неосуществлённый проект строительства высотного административного здания в Москве для проведения сессий Верховного Совета Союза ССР и массовых демонстраций. По плану архитектора Бориса Иофана, высота Дворца Советов вместе с венчающей его сто... | {
"type": "exact",
"value": "неосуществлённый проект строительства высотного административного здания в Москве для проведения сессий Верховного Совета Союза ССР и массовых демонстраций",
"tests": []
} | train |
algpy-835d04e7b479ea35-repair | code | en | TheAlgorithms/Python | MIT | algpy-835d04e7b479ea35 | repair | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, sorts/bead_sort.py#bead_sort; adapted exercises | [
{
"role": "user",
"content": "Repair this Python function. Return the input list's nonnegative integers in ascending order, preserving duplicates. The list can be empty.\nFor bead_sort([2, 1]) it should return [1, 2], but returns [2, 1]. Keep the signature.\n```python\ndef bead_sort(sequence):\n if any((... | {
"type": "code",
"value": "",
"tests": [
"assert bead_sort([]) == []",
"assert bead_sort([1]) == [1]",
"assert bead_sort([2, 1]) == [1, 2]",
"assert bead_sort([4, 0, 4, 1]) == [0, 1, 4, 4]",
"assert bead_sort([3, 3]) == [3, 3]",
"assert bead_sort([5, 4, 3, 2, 1]) == [1, 2, 3, 4, 5]",
... | train |
reason2-frequency_median-012 | 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: 26×9; 49×10; 13×6; 18×3; 14×4; 30×9. What is the median duration of an individual session?\nBriefly justify your result, then put the answer alone on the last line."
},
{
"role": "assistant",
"content": "The... | {
"type": "number",
"value": "26",
"tests": []
} | train |
wiki-read-en-edfcdacd7889926baa22 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-346304a52e46ec7cd726c3 | definition | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-7347996649749756245-0 (Apache-2.0). Wikipedia contributors, “English breakfast tea” (https://en.wikipedia.org/wiki/English_breakfast_tea), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "English breakfast tea\n\nEnglish breakfast tea is a traditional blend of teas originating from Assam, Ceylon, and Kenya. It is one of the most popular blended teas, common in British tea culture.\n\nHow does the first sentence define “English breakfast tea”? Copy the full predi... | {
"type": "exact",
"value": "a traditional blend of teas originating from Assam, Ceylon, and Kenya",
"tests": []
} | train |
reason2-balanced_load-069 | reasoning | ru | Original | CC0-1.0 | reason2-balanced_load | workshop_balanced_load | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Две тележки должны увезти все ящики без деления содержимого. Масса каждого ящика: A=28, S=24, H=32, W=50, K=36, U=42. Какой наименьшей разницы масс между тележками можно добиться?\nПриведи ход решения в нескольких фразах. На последней строке оставь только ответ."
},
{
"... | {
"type": "number",
"value": "0",
"tests": []
} | train |
reason2-ballot_points-043 | reasoning | ru | Original | CC0-1.0 | reason2-ballot_points | workshop_ballot_points | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Жюри оценивает макеты T, R, N. Баллы за места, начиная с первого: 2, 1, 0. Бюллетени записаны как число одинаковых голосов × порядок от лучшего к худшему: 4 × N>T>R; 3 × N>R>T; 8 × T>N>R; 8 × R>N>T. У какого макета больше всего баллов?\nПокажи короткую проверку, а в конце на от... | {
"type": "exact",
"value": "N",
"tests": []
} | train |
algpy-958b845e39774239-trace | code | en | TheAlgorithms/Python | MIT | algpy-958b845e39774239 | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, strings/prefix_function.py#longest_prefix; adapted exercises | [
{
"role": "user",
"content": "```python\ndef prefix_function(input_string):\n prefix_result = [0] * len(input_string)\n for i in range(1, len(input_string)):\n j = prefix_result[i - 1]\n while j > 0 and input_string[i] != input_string[j]:\n j = prefix_result[j - 1]\n if... | {
"type": "exact",
"value": "4",
"tests": []
} | train |
wiki-read-ru-c726707d50144228d0bb | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-0d80aab451006ce2b032cb | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--9175860197174960475-2 (Apache-2.0). Wikipedia contributors, “Тирасполь” (https://ru.wikipedia.org/wiki/%D0%A2%D0%B8%D1%80%D0%B0%D1%81%D0%BF%D0%BE%D0%BB%D1%8C), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exe... | [
{
"role": "user",
"content": "Тирасполь\n\nОснован в 1792 году по особому указанию Александра Суворова, а в 1795 году получил статус города. С 1929 по 1940 год Тирасполь был столицей Молдавской АССР (в составе УССР), а с 2 сентября 1990 года по настоящее время является столицей непризнанной Приднестровской ... | {
"type": "exact",
"value": "в составе УССР",
"tests": []
} | train |
reason2-rotate_grid-024 | reasoning | ru | Original | CC0-1.0 | reason2-rotate_grid | workshop_rotate_grid | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Исходные строки табло сверху вниз: B S Q / W G R / U T H. Выполни циклические сдвиги по порядку: столбец 2 на 2 вниз; строка 1 на 1 вправо; столбец 2 на 1 вниз. Какой символ теперь в строке 1, столбце 3? Нумерация с единицы.\nПокажи короткую проверку, а в конце на отдельной стр... | {
"type": "exact",
"value": "G",
"tests": []
} | train |
wiki-read-ru-5d8ec958039a44efa32b | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-29059923b921ed7fe9919f | clause | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--3304182170680746052-0 (Apache-2.0). Wikipedia contributors, “Disney Interactive” (https://ru.wikipedia.org/wiki/Disney_Interactive), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Disney Interactive\n\nDisney Interactive Studios, Inc. — разработчик и издатель видеоигр, как правило, связанных с фильмами, которые выпускает The Walt Disney Company. Основана в 1988 году под названием Walt Disney Computer Software, позже была переименована в Disney Interactiv... | {
"type": "exact",
"value": "которое получилось из слияния Disney Interactive Media Group и Walt Disney Internet Group",
"tests": []
} | train |
wiki-read-ru-5cc710b58a3dd359a8be | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-3a46e92b58f82e4f4a1da1 | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-1491694481673713353-3 (Apache-2.0). Wikipedia contributors, “Кантабрия” (https://ru.wikipedia.org/wiki/%D0%9A%D0%B0%D0%BD%D1%82%D0%B0%D0%B1%D1%80%D0%B8%D1%8F), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exer... | [
{
"role": "user",
"content": "Кантабрия\n\nНад вопросом о происхождении слова «Кантабрия» задумывались многие авторы, включая Исидора Севильского, Хулио Каро Бароху, Аурелиано Фернандеса-Гуэрра, Хоакина Гонсалеса Эчегарая. Наиболее общепринятой версией является происхождение названия территории от сочетания... | {
"type": "exact",
"value": "гора, возвышенность",
"tests": []
} | train |
algpy-9477b5a79ca177fe-implement | code | en | TheAlgorithms/Python | MIT | algpy-9477b5a79ca177fe | implement | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, data_structures/binary_tree/number_of_possible_binary_trees.py#catalan_number; adapted exercises | [
{
"role": "user",
"content": "Implement this Python function. For 0 ≤ n ≤ 12 return the nth Catalan number, defined as C(2n,n)/(n+1). The result is an integer.\nSignature: def catalan_number(node_count):\nExamples:\n```python\nassert catalan_number(0) == 1\nassert catalan_number(2) == 2\n```"
},
{
"... | {
"type": "code",
"value": "",
"tests": [
"assert catalan_number(1) == 1",
"assert catalan_number(3) == 5",
"assert catalan_number(4) == 14",
"assert catalan_number(5) == 42",
"assert catalan_number(6) == 132",
"assert catalan_number(7) == 429",
"assert catalan_number(8) == 1430",
... | train |
wiki-read-ru-13389a8f4fc2e5e28a6d | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-c134e27f2ac0dbf0eadf3b | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--7786636891188624856-5 (Apache-2.0). Wikipedia contributors, “Золотая Орда” (https://ru.wikipedia.org/wiki/%D0%97%D0%BE%D0%BB%D0%BE%D1%82%D0%B0%D1%8F_%D0%9E%D1%80%D0%B4%D0%B0), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized.... | [
{
"role": "user",
"content": "Золотая Орда\n\nНазвание «Золотая Орда» впервые было употреблено в 1566 году в историко-публицистическом сочинении «Казанская история», когда самого единого государства уже не существовало. До этого времени во всех русских источниках слово «Орда» использовалось без прилагательн... | {
"type": "exact",
"value": "в зависимости от контекста",
"tests": []
} | train |
wiki-read-en-c959fc6c2313fa17f813 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-fc07d23806e5a3785b1926 | clause | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-1710181034909904139-0 (Apache-2.0). Wikipedia contributors, “The Big Bang Theory (season 1)” (https://en.wikipedia.org/wiki/The_Big_Bang_Theory_(season_1)), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercis... | [
{
"role": "user",
"content": "The Big Bang Theory (season 1)\n\nThe first season of the American sitcom The Big Bang Theory was originally aired on CBS from September 24, 2007, to May 19, 2008, over 17 episodes. An unaired pilot also exists. The Season 1 DVD came without a gag reel and is, so far, the only ... | {
"type": "exact",
"value": "whereas the DVD version had stereo",
"tests": []
} | train |
wiki-read-en-14f1d9e8744c0dbad650 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-f2153a24a8e93d01abf501 | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-9114391735526256465-0 (Apache-2.0). Wikipedia contributors, “Terry Stotts” (https://en.wikipedia.org/wiki/Terry_Stotts), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Terry Stotts\n\nTerry Linn Stotts (born November 25, 1957) is an American professional basketball coach and former player who is the head coach for the Portland Trail Blazers of the National Basketball Association (NBA).\n\nFind the full calendar date whose month is spelled out... | {
"type": "exact",
"value": "1957-11-25",
"tests": []
} | train |
reason2-rotate_grid-057 | reasoning | en | Original | CC0-1.0 | reason2-rotate_grid | workshop_rotate_grid | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "The board's original rows from top to bottom are P Y Q / R G J / L T D. Apply these cyclic shifts in order: row 2 right by 2; column 3 down by 1; row 2 right by 1. Which symbol is now in row 3, column 3? Indices start at 1.\nExplain in a few sentences and use the final line for... | {
"type": "exact",
"value": "R",
"tests": []
} | train |
reason2-room_peak-004 | 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: T [13,21); G [6,11); P [8,12); U [13,20); Y [5,10); A [18,21). A room is free at the right endpoint, and all rooms are interchangeable. What is the minimum room count?\nShow a short check. Give the final answer on ... | {
"type": "number",
"value": "3",
"tests": []
} | train |
wiki-read-ru-4fb22932fd2e8400572c | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-0e89205db6e8c6f830f9b2 | definition | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-5822294182716505285-0 (Apache-2.0). Wikipedia contributors, “Я шагаю по Москве” (https://ru.wikipedia.org/wiki/%D0%AF_%D1%88%D0%B0%D0%B3%D0%B0%D1%8E_%D0%BF%D0%BE_%D0%9C%D0%BE%D1%81%D0%BA%D0%B2%D0%B5), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and refer... | [
{
"role": "user",
"content": "Я шагаю по Москве\n\n«Я шагаю по Москве» — художественный фильм, снятый на киностудии «Мосфильм» режиссёром Георгием Данелией по сценарию Геннадия Шпаликова в 1964 году. Основу киноповествования составили события, происходившие в течение одного дня с молодым метростроевцем Коль... | {
"type": "exact",
"value": "художественный фильм, снятый на киностудии «Мосфильм» режиссёром Георгием Данелией по сценарию Геннадия Шпаликова в 1964 году",
"tests": []
} | train |
verified-code-sum_segment_shortest-repair | code | ru | Original | CC0-1.0 | verified-code-target_subarrays | verified_repair | Original algorithm and independent oracle, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Исправь одну строку. sum_segment_shortest([1, 1, 1], 2) даёт 0, ожидается 2. Рассмотри все непустые непрерывные отрезки списка целых xs с суммой target. Верни минимальную длину такого отрезка, либо 0, если его нет. Числа могут быть нулевыми и отрицательными.\n```python\ndef sum... | {
"type": "code",
"value": "",
"tests": [
"assert sum_segment_shortest([], 0) == 0",
"assert sum_segment_shortest([2], 2) == 1",
"assert sum_segment_shortest([3, -2, 2, 0], 3) == 1",
"assert sum_segment_shortest([0, 0, 1, -1], 0) == 1",
"assert sum_segment_shortest([-2, 1, -1, -1], -2) == 1",
... | train |
wiki-read-ru-fa30318ad9210c1e5c30 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-6522debd0aa04bcd7c8a27 | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--4500324601059737791-0 (Apache-2.0). Wikipedia contributors, “Антоник, Владимир Владимирович” (https://ru.wikipedia.org/wiki/%D0%90%D0%BD%D1%82%D0%BE%D0%BD%D0%B8%D0%BA%2C_%D0%92%D0%BB%D0%B0%D0%B4%D0%B8%D0%BC%D0%B8%D1%80_%D0%92%D0%BB%D0%B0%D0%B4%D0%B8%D0%BC%D0%B8%D1%... | [
{
"role": "user",
"content": "Антоник, Владимир Владимирович\n\nВлади́мир Влади́мирович Анто́ник (белор. Ўладзімір Ўладзіміравіч Антонік, род. 13 февраля 1953, Слоним, Брестская область, Белорусская ССР, СССР) — советский и российский киноактёр, мастер дубляжа.\n\nНайди полную календарную дату, у которой ме... | {
"type": "exact",
"value": "1953-02-13",
"tests": []
} | train |
algpy-eff1648aa25403bf-check-assertions | code | ru | TheAlgorithms/Python | MIT | algpy-eff1648aa25403bf | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/area.py#area_rhombus; adapted exercises | [
{
"role": "user",
"content": "Один из тестов противоречит фактическому поведению этой функции. Определи его и вычисли верный результат. В последней строке запиши букву и результат через двоеточие, например A: 42.\n```python\ndef compute(diagonal_1, diagonal_2):\n if diagonal_1 < 0 or diagonal_2 < 0:\n ... | {
"type": "exact",
"value": "B: 100.0",
"tests": []
} | train |
reason2-pareto-032 | reasoning | ru | Original | CC0-1.0 | reason2-pareto | workshop_pareto | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Для печати плаката доступны заказы (дни, цена): A (9, 37); N (27, 30); H (29, 19); K (16, 14); F (21, 58); L (19, 47). Отбрось любой вариант, для которого другой вариант одновременно дешевле и быстрее. Запиши коды оставшихся в алфавитном порядке через пробел.\nКратко обоснуй от... | {
"type": "exact",
"value": "A K",
"tests": []
} | train |
algpy-a6c510ecc0b65764-trace | code | ru | TheAlgorithms/Python | MIT | algpy-a6c510ecc0b65764 | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/interquartile_range.py#find_median; adapted exercises | [
{
"role": "user",
"content": "```python\ndef compute(nums):\n div, mod = divmod(len(nums), 2)\n if mod:\n return nums[div]\n return (nums[div] + nums[div - 1]) / 2\n```\nЧто вернёт выражение compute(nums=[1, 2, 2, 3, 4])? Запиши repr результата Python."
},
{
"role": "assistant",
... | {
"type": "exact",
"value": "2",
"tests": []
} | train |
reason2-room_peak-000 | 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: D [12,16); J [12,19); K [1,4); B [14,16); V [11,13). A room is free at the right endpoint, and all rooms are interchangeable. What is the minimum room count?\nBriefly justify your result, then put the answer alone ... | {
"type": "number",
"value": "3",
"tests": []
} | train |
wiki-read-en-52e7fe21a8d22ba0698f | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-e7e165e8e529c6d929d5df | definition | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-7288517707359953548-0 (Apache-2.0). Wikipedia contributors, “Big Brothers Big Sisters of America” (https://en.wikipedia.org/wiki/Big_Brothers_Big_Sisters_of_America), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New readi... | [
{
"role": "user",
"content": "Big Brothers Big Sisters of America\n\nBig Brothers Big Sisters of America is a 501(c)(3) non-profit organization whose goal is to help all children reach their potential through professionally supported, one-to-one relationships with volunteer mentors.\n\nHow does the first se... | {
"type": "exact",
"value": "a 501(c)(3) non-profit organization whose goal is to help all children reach their potential through professionally supported, one-to-one relationships with volunteer mentors",
"tests": []
} | train |
verified-code-lighter_left-implement | code | en | Original | CC0-1.0 | verified-code-pivots | verified_implement | Original algorithm and independent oracle, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Implement lighter_left(xs) in Python. Return increasing zero-based indices i where the sum strictly to the left < the sum strictly to the right. Exclude xs[i] from both sums. xs is a list of integers.\nassert lighter_left([2, 1, -1, 2]) == [0]"
},
{
"role": "assistant",... | {
"type": "code",
"value": "",
"tests": [
"assert lighter_left([]) == []",
"assert lighter_left([0]) == []",
"assert lighter_left([5]) == []",
"assert lighter_left([4, -2, 3, 1, 1]) == [0, 1]",
"assert lighter_left([-1, -4, -1]) == [2]",
"assert lighter_left([0, 0, 0]) == []",
"assert ... | train |
algpy-14e2be85b6ed9270-implement | code | en | TheAlgorithms/Python | MIT | algpy-14e2be85b6ed9270 | implement | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/sum_of_digits.py#sum_of_digits_compact; adapted exercises | [
{
"role": "user",
"content": "Implement this Python function. Return the sum of the decimal digits of the absolute value of the input integer.\nSignature: def sum_of_digits_compact(n):\nExamples:\n```python\nassert sum_of_digits_compact(-101) == 2\nassert sum_of_digits_compact(-17) == 8\n```"
},
{
"... | {
"type": "code",
"value": "",
"tests": [
"assert sum_of_digits_compact(-2) == 2",
"assert sum_of_digits_compact(-1) == 1",
"assert sum_of_digits_compact(0) == 0",
"assert sum_of_digits_compact(1) == 1",
"assert sum_of_digits_compact(2) == 2",
"assert sum_of_digits_compact(17) == 8",
"... | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.