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 |
|---|---|---|---|---|---|---|---|---|---|---|
gsm-train-6298 | math | en | GSM8K | MIT | gsm8k-414885cad778ddda85f1 | word_problem | OpenAI (2021), GSM8K, original train row 6298 | [
{
"role": "user",
"content": "Jordan decides to start an exercise program when he weighs 250 pounds. For the first 4 weeks, he loses 3 pounds a week. After that, he loses 2 pounds a week for 8 weeks. How much does Jordan now weigh?\nShow a short calculation. Put the final number alone on the last line."
... | {
"type": "number",
"value": "222",
"tests": []
} | train |
tatoeba-489445-4059898 | ru | ru | Tatoeba | CC-BY-2.0-FR | tatoeba-component-489445 | translate | CC-BY 2.0 (France) Attribution: tatoeba.org #489445 (adjusting) & #4059898 (odexed); export: www.manythings.org/anki | [
{
"role": "user",
"content": "Переведи на русский.\nHe will hire someone who speaks English."
},
{
"role": "assistant",
"content": "Он наймёт кого-нибудь, кто говорит по-английски."
}
] | {
"type": "reference",
"value": "Он наймёт кого-нибудь, кто говорит по-английски.",
"tests": []
} | train |
gsm-train-506 | math | en | GSM8K | MIT | gsm8k-eddab5dc1a91a6d016a7 | word_problem | OpenAI (2021), GSM8K, original train row 506 | [
{
"role": "user",
"content": "Carla's sheepdog rounded up 90% of her sheep, but the remaining 10% wandered off into the hills. If there are 81 sheep in the pen, how many are out in the wilderness?\nShow a short calculation. Put the final number alone on the last line."
},
{
"role": "assistant",
... | {
"type": "number",
"value": "9",
"tests": []
} | train |
logic-weighted_route-31 | reasoning | en | Original | CC0-1.0 | logic-weighted_route | weighted_route | [
{
"role": "user",
"content": "Edges of a map have lengths AC=6, CD=21, AB=8, BD=37, AD=7. Compare the routes ACD, ABD and AD. What is the length of the shortest?\nBriefly justify, then give the answer alone on the last line."
},
{
"role": "assistant",
"content": "Compare their lengths: ACD = 27,... | {
"type": "number",
"value": "7",
"tests": []
} | train | |
tatoeba-272899-4934228 | ru | ru | Tatoeba | CC-BY-2.0-FR | tatoeba-component-272899 | translate | CC-BY 2.0 (France) Attribution: tatoeba.org #272899 (CK) & #4934228 (odexed); export: www.manythings.org/anki | [
{
"role": "user",
"content": "Переведи на русский.\nThe teacher stressed the importance of taking notes."
},
{
"role": "assistant",
"content": "Учитель подчеркнул, как важно вести конспекты."
}
] | {
"type": "reference",
"value": "Учитель подчеркнул, как важно вести конспекты.",
"tests": []
} | train |
mbpp-701-write | code | en | MBPP | CC-BY-4.0 | mbpp-701 | implement | Austin et al. (2021), Google Research MBPP, task 701 | [
{
"role": "user",
"content": "Write a function to find the equilibrium index of the given array.\nUse Python and match this example.\n```python\nassert equilibrium_index([1, 2, 3, 4, 1, 2, 3]) == 3\n```"
},
{
"role": "assistant",
"content": "```python\ndef equilibrium_index(arr):\n total_sum = ... | {
"type": "code",
"value": "",
"tests": [
"assert equilibrium_index([-7, 1, 5, 2, -4, 3, 0]) == 3",
"assert equilibrium_index([1, 2, 3]) == -1"
]
} | train |
logic-unique_clue-15 | reasoning | en | Original | CC0-1.0 | logic-unique_clue | unique_clue | [
{
"role": "user",
"content": "Four entries have scores {'D': 39, 'F': 37, 'A': 4, 'C': 30}. Which entry has the smallest score strictly greater than 30?\nBriefly justify, then give the answer alone on the last line."
},
{
"role": "assistant",
"content": "Sort the scores: [4, 30, 37, 39]. The fir... | {
"type": "exact",
"value": "F",
"tests": []
} | train | |
gsm-train-6171 | math | en | GSM8K | MIT | gsm8k-758dcfa65fd3461b360a | word_problem | OpenAI (2021), GSM8K, original train row 6171 | [
{
"role": "user",
"content": "Lydia is planning a road trip with her family and is trying to plan a route. She has 60 liters of fuel and she will use all of this during her trip. She isn't sure how much fuel she is going to use in the first third of the trip but she knows she will need a third of all of her... | {
"type": "number",
"value": "30",
"tests": []
} | train |
wiki-read-ru-d21f48c3d87ff67682ae | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-7589b565baef21f6a56756 | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--291418405397981721-4 (Apache-2.0). Wikipedia contributors, “Hewlett-Packard” (https://ru.wikipedia.org/wiki/Hewlett-Packard), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Hewlett-Packard\n\nОснована 1 января 1939 года как производитель измерительного оборудования Уильямом Хьюлеттом и Дэвидом Паккардом — выпускниками Стэнфордского университета 1934 года. Название компании было составлено из фамилий сооснователей, — чья фамилия будет первой частью... | {
"type": "exact",
"value": "1939-01-01",
"tests": []
} | train |
wiki-read-en-14f5319210899b5141e9 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-d2e0b5b00aa45d1bd636e3 | definition | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-7619600183437852647-0 (Apache-2.0). Wikipedia contributors, “James Gordon (comics)” (https://en.wikipedia.org/wiki/James_Gordon_(comics)), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "James Gordon (comics)\n\nJames \"Jim\" Gordon is a fictional character appearing in American comic books published by DC Comics, most commonly in association with the superhero Batman. The character debuted in the first panel of Detective Comics #27 (May 1939), Batman's first a... | {
"type": "exact",
"value": "a fictional character appearing in American comic books published by DC Comics, most commonly in association with the superhero Batman",
"tests": []
} | train |
wiki-read-ru-10ba87ab8f16e11e0bb3 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-55170562ddbe3a710cd2ed | clause | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-4032029740232390835-1 (Apache-2.0). Wikipedia contributors, “Чемпионат мира по футболу 2018” (https://ru.wikipedia.org/wiki/%D0%A7%D0%B5%D0%BC%D0%BF%D0%B8%D0%BE%D0%BD%D0%B0%D1%82_%D0%BC%D0%B8%D1%80%D0%B0_%D0%BF%D0%BE_%D1%84%D1%83%D1%82%D0%B1%D0%BE%D0%BB%D1%83_2018),... | [
{
"role": "user",
"content": "Чемпионат мира по футболу 2018\n\nЧемпионом во 2-й раз стала сборная Франции, обыгравшая в финале сборную Хорватии (4:2). Бронзовым призёром стала сборная Бельгии, победившая в матче за 3-е место сборную Англии (2:0). Финальный матч был сыгран 15 июля на стадионе «Лужники» в Мо... | {
"type": "exact",
"value": "который выиграла европейская сборная",
"tests": []
} | train |
verified-code-run_lengths-implement | code | ru | Original | CC0-1.0 | verified-code-runs | verified_implement | Original algorithm and independent oracle, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Реализуй на Python run_lengths(xs). Разбей список целых xs на максимальные серии равных соседей. Для каждой серии запиши пару (значение, длина). Верни список в исходном порядке серий. Для пустого входа верни [].\nassert run_lengths([1, 1]) == [(1, 2)]"
},
{
"role": "ass... | {
"type": "code",
"value": "",
"tests": [
"assert run_lengths([]) == []",
"assert run_lengths([4]) == [(4, 1)]",
"assert run_lengths([9, 9, 3, 1, 1]) == [(9, 2), (3, 1), (1, 2)]",
"assert run_lengths([0, 9, 0, 9]) == [(0, 1), (9, 1), (0, 1), (9, 1)]",
"assert run_lengths([7, 7, 7]) == [(7, 3)]... | train |
wiki-read-en-b2430995f1cc22caf9d1 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-95bec768a77e43f7d9bf65 | definition | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-8954558111755295652-0 (Apache-2.0). Wikipedia contributors, “Mahwah, New Jersey” (https://en.wikipedia.org/wiki/Mahwah%2C_New_Jersey), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Mahwah, New Jersey\n\nMahwah is a township in Bergen County, New Jersey, United States. As of the 2010 United States Census, the township's population was 25,890. The population increased by 1,828 (+7.6%) from the 24,062 counted in the 2000 Census, which had in turn increased b... | {
"type": "exact",
"value": "a township in Bergen County, New Jersey, United States",
"tests": []
} | train |
reason2-event_selection-006 | reasoning | ru | Original | CC0-1.0 | reason2-event_selection | workshop_event_selection | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Один фотограф хочет целиком снять как можно больше коротких показов. Начала и окончания: K 7–11; A 11–16; X 16–20; L 6–9; C 9–14; P 3–6. В момент окончания одного показа можно сразу начать следующий. Каково максимальное число показов?\nПокажи короткую проверку, а в конце на отд... | {
"type": "number",
"value": "4",
"tests": []
} | train |
wiki-read-en-f6678f95d63382392abc | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-72f930f6a6517d07ff89e8 | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-4200427366384915987-30 (Apache-2.0). Wikipedia contributors, “Dodger Stadium” (https://en.wikipedia.org/wiki/Dodger_Stadium), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Dodger Stadium\n\nIn order to comply with a conditional-use permit limiting Dodger Stadium's seating capacity to 56,000 it was the only current MLB park (through 2005 ) that had never increased its capacity. Whenever higher revenue lower seats were added some in the upper deck ... | {
"type": "exact",
"value": "through 2005",
"tests": []
} | train |
wiki-read-ru-381a30e7874ff26dc3ab | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-05dde01dd23f0485659a80 | clause | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--8283482675982361102-1 (Apache-2.0). Wikipedia contributors, “Франческо Петрарка” (https://ru.wikipedia.org/wiki/%D0%A4%D1%80%D0%B0%D0%BD%D1%87%D0%B5%D1%81%D0%BA%D0%BE_%D0%9F%D0%B5%D1%82%D1%80%D0%B0%D1%80%D0%BA%D0%B0), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; wh... | [
{
"role": "user",
"content": "Франческо Петрарка\n\nПетрарка родился 20 июля 1304 года в Ареццо, где нашёл себе убежище. Его отец, флорентийский юрист Пьетро ди сер Паренцо (прозвище Петракко), был изгнанный из Флоренции — одновременно с Данте — за принадлежность к партии «белых» гвельфов. После долгих скит... | {
"type": "exact",
"value": "где нашёл себе убежище",
"tests": []
} | train |
gsm-train-5798 | math | en | GSM8K | MIT | gsm8k-2a420ddd13f299485aa6 | word_problem_3_steps | OpenAI (2021), GSM8K, original train row 5798 | [
{
"role": "user",
"content": "At a coffee shop, 7 customers order coffee at $5 each and 8 customers order tea at $4 each. How much money did the coffee shop make?\nShow a short calculation. Put the final number alone on the last line."
},
{
"role": "assistant",
"content": "Sale from coffee is 7 ... | {
"type": "number",
"value": "67",
"tests": []
} | train |
algpy-9fcb3aec27a34d7f-check-assertions | code | en | TheAlgorithms/Python | MIT | algpy-9fcb3aec27a34d7f | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, backtracking/m_coloring_problem.py#is_safe; 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(node, color, graph, num_vertices, col):\n return all((not (graph[node][k] ==... | {
"type": "exact",
"value": "B: False",
"tests": []
} | train |
reason2-join_catalogs-038 | reasoning | ru | Original | CC0-1.0 | reason2-join_catalogs | workshop_join_catalogs | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Каталог связывает код книги с полкой: B63=S7, B81=S8, B70=S2, B37=S8, B69=S8, B32=S8. Соответствие полок и залов: S2=Y, S8=E, S7=L. Число выданных экземпляров по коду книги: B81=16, B70=3, B69=15, B32=7, B63=11, B37=8. В каком зале больше всего выдач?\nПокажи короткую проверку,... | {
"type": "exact",
"value": "E",
"tests": []
} | train |
gsm-train-4960 | math | en | GSM8K | MIT | gsm8k-c961819b76df7de1ebf7 | word_problem_5_steps | OpenAI (2021), GSM8K, original train row 4960 | [
{
"role": "user",
"content": "Meryll wants to write 35 multiple-choice questions and 15 problem-solving questions for her Chemistry class. She already has written 2/5 of the multiple-choice and 1/3 of the problem-solving questions. How many more questions does she need to write for both multiple-choice and ... | {
"type": "number",
"value": "31",
"tests": []
} | train |
wiki-read-en-4721b5e6367857cf16d8 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-4844bbbbd400af08313c6a | chronology | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--6272421342123178473-36 (Apache-2.0). Wikipedia contributors, “Rugby union in Wales” (https://en.wikipedia.org/wiki/Rugby_union_in_Wales), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Rugby union in Wales\n\nWales' four professional rugby regions play in the Pro14 league and take part in the European Rugby Champions Cup, European Rugby Challenge Cup and Anglo-Welsh Cup. The first two of these competitions, set to launch in 2014–15, replace the now-defunct He... | {
"type": "exact",
"value": "2006, 2014",
"tests": []
} | train |
algpy-725e0c97f101df41-check-assertions | code | en | TheAlgorithms/Python | MIT | algpy-725e0c97f101df41 | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/series/geometric.py#geometric_mean; 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(series):\n if not isinstance(series, list):\n raise ValueError('Input... | {
"type": "exact",
"value": "B: 4.0",
"tests": []
} | train |
wiki-read-ru-b20b270026cf203ab13f | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-86980151a48ad12f9cb5db | definition | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--6548246444249002788-0 (Apache-2.0). Wikipedia contributors, “Посадка Ту-124 на Неву” (https://ru.wikipedia.org/wiki/%D0%9F%D0%BE%D1%81%D0%B0%D0%B4%D0%BA%D0%B0_%D0%A2%D1%83-124_%D0%BD%D0%B0_%D0%9D%D0%B5%D0%B2%D1%83), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whit... | [
{
"role": "user",
"content": "Посадка Ту-124 на Неву\n\nПосадка Ту-124 на Неву — авиационное происшествие, случившееся в небе над Ленинградом 21 августа 1963 года. В результате стечения обстоятельств пассажирский самолёт Ту-124 приводнился на Неву.\n\nКак в начале отрывка определяется «Посадка Ту-124 на Нев... | {
"type": "exact",
"value": "авиационное происшествие, случившееся в небе над Ленинградом 21 августа 1963 года",
"tests": []
} | train |
reason2-room_peak-068 | 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: Z [15,21); E [1,5); H [11,13); G [16,21); Y [15,17); C [3,6); W [6,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 use th... | {
"type": "number",
"value": "3",
"tests": []
} | train |
reason2-missing_cells-019 | reasoning | ru | Original | CC0-1.0 | reason2-missing_cells | workshop_missing_cells | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "В таблице учёта столбцы идут в порядке L, N, W. После вертикальной черты указан итог строки. Строки: R7: 2 / ? / ? | 14; R8: 7 / 8 / 5 | 20; R4: 4 / 11 / 6 | 21; R2: 9 / 6 / 4 | 19; R5: 3 / 7 / ? | 20. Итоги столбцов: L=25, N=35, W=34. Какое число скрыто в строке R7, столбце W?... | {
"type": "number",
"value": "9",
"tests": []
} | train |
wiki-read-en-7611e62de90aec23fc05 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-ea4f50c90ad18fd2d4a116 | clause | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-1829388293198251539-9 (Apache-2.0). Wikipedia contributors, “Domestic pig” (https://en.wikipedia.org/wiki/Domestic_pig), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Domestic pig\n\nArchaeological evidence suggests that pigs were domesticated from wild boar as early as 13,000–12,700 BC in the Near East in the Tigris Basin, Çayönü, Cafer Höyük, Nevalı Çori being managed in the wild in a way similar to the way they are managed by some modern ... | {
"type": "exact",
"value": "which suggests domestication in the adjacent mainland by then",
"tests": []
} | train |
algpy-3fede07968b0715e-implement | code | en | TheAlgorithms/Python | MIT | algpy-3fede07968b0715e | implement | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, boolean_algebra/xnor_gate.py#xnor_gate; adapted exercises | [
{
"role": "user",
"content": "Implement this Python function. For integer bits a,b return integer 1 exactly when the inputs agree, else 0.\nSignature: def xnor_gate(input_1, input_2):\nExamples:\n```python\nassert xnor_gate(0, 0) == 1\nassert xnor_gate(0, 1) == 0\n```"
},
{
"role": "assistant",
... | {
"type": "code",
"value": "",
"tests": [
"assert xnor_gate(1, 0) == 0",
"assert xnor_gate(1, 1) == 1"
]
} | train |
math-verified-route_speed-018 | 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 70 minutes at 12 km/h, rested for 5 minutes and rode for 20 minutes at 30 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 fractio... | {
"type": "number",
"value": "288/19",
"tests": []
} | train |
wiki-read-en-7252faf8aefa05ee7525 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-7016edca4d72a86971dcb6 | definition | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--5149703175442122535-11 (Apache-2.0). Wikipedia contributors, “Red-eared firetail” (https://en.wikipedia.org/wiki/Red-eared_firetail), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Red-eared firetail\n\nThe red-eared firetail is a seed eating estrildid, discreet and unusually solitary for an Australian grass finch species. This species often remains unobserved in dense vegetation while foraging in the lower storey. Their presence is revealed by distinctiv... | {
"type": "exact",
"value": "a seed eating estrildid, discreet and unusually solitary for an Australian grass finch species",
"tests": []
} | train |
algpy-a31a3f2232caf913-trace | code | en | TheAlgorithms/Python | MIT | algpy-a31a3f2232caf913 | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/segmented_sieve.py#sieve; adapted exercises | [
{
"role": "user",
"content": "```python\nimport math\n\ndef compute(n):\n if n <= 0 or isinstance(n, float):\n msg = f'Number {n} must instead be a positive integer'\n raise ValueError(msg)\n in_prime = []\n start = 2\n end = int(math.sqrt(n))\n temp = [True] * (end + 1)\n pr... | {
"type": "exact",
"value": "[2, 3, 5, 7, 11, 13, 17, 19, 23]",
"tests": []
} | train |
reason2-minimum_cover-000 | reasoning | en | Original | CC0-1.0 | reason2-minimum_cover | workshop_minimum_cover | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "The exhibition needs all sample types 1, 3, 4, 5, 6, 8. Available kits and the types they contain: D=4/6/8; T=1; V=5; N=6/8; M=1/4/6; K=3; X=3/4/6/8. Duplicate samples are allowed. What is the fewest kits that cover every type?\nBriefly justify your result, then put the answer ... | {
"type": "number",
"value": "3",
"tests": []
} | train |
algpy-a8d97d6db14d566f-trace | code | en | TheAlgorithms/Python | MIT | algpy-a8d97d6db14d566f | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, strings/strip.py#strip; adapted exercises | [
{
"role": "user",
"content": "```python\ndef compute(user_string, characters=' \\t\\n\\r'):\n start = 0\n end = len(user_string)\n while start < end and user_string[start] in characters:\n start += 1\n while end > start and user_string[end - 1] in characters:\n end -= 1\n return... | {
"type": "exact",
"value": "''",
"tests": []
} | train |
reason2-frequency_median-068 | 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: 14×6; 24×8; 41×11; 26×6; 16×3; 19×11. 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": "Th... | {
"type": "number",
"value": "24",
"tests": []
} | train |
math-verified-stock-025 | math | ru | Original | CC0-1.0 | math-verified-stock | verified_math_stock | Original bilingual mathematics exercises, CC0-1.0 | [
{
"role": "user",
"content": "Утром со склада отгрузили 1/2 всех коробок. Затем привезли ещё 88 коробок и отгрузили 1/8 нового запаса. Остаток к вечеру — 140 коробок. Сколько коробок было до первой отгрузки?\nЗапиши точное число в последней строке; нецелый ответ дай несократимой дробью."
},
{
"role"... | {
"type": "number",
"value": "144",
"tests": []
} | train |
math-verified-quadratic_samples-010 | math | ru | Original | CC0-1.0 | math-verified-quadratic_samples | verified_math_quadratic_samples | Original bilingual mathematics exercises, CC0-1.0 | [
{
"role": "user",
"content": "Известно, что f — квадратный многочлен. Даны значения f(5) = -6, f(7) = 6, f(9) = 26. Чему равно f(11)?\nЗапиши точное число в последней строке; нецелый ответ дай несократимой дробью."
},
{
"role": "assistant",
"content": "Аргументы идут с шагом 2. Две соседние разн... | {
"type": "number",
"value": "54",
"tests": []
} | train |
reason2-frequency_median-061 | 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; 9×10; 23×2; 10×8; 46×2; 34×11. Какова медианная длительность одного занятия?\nПриведи ход решения в нескольких фразах. На последней строке оставь только ответ."
},
{
"role": "assistant",
... | {
"type": "number",
"value": "22",
"tests": []
} | train |
wiki-read-en-00c0ae00a6477c722b30 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-5509ac3a888ed998aa6e2d | measurement | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--3293295556002706550-14 (Apache-2.0). Wikipedia contributors, “Golden jackal” (https://en.wikipedia.org/wiki/Golden_jackal), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Golden jackal\n\nThe golden jackal is similar to the gray wolf but is distinguished by its smaller size, lighter weight, more elongated torso, less-prominent forehead, shorter legs and tail, and a muzzle that is narrower and more pointed. The legs are long in relation to its bo... | {
"type": "exact",
"value": "20kg",
"tests": []
} | train |
math-verified-tank_posts-026 | math | ru | Original | CC0-1.0 | math-verified-tank_posts | verified_math_tank_posts | Original bilingual mathematics exercises, CC0-1.0 | [
{
"role": "user",
"content": "Внутренние размеры дна прямоугольного бака — 27 × 22 см. В противоположных углах от дна вертикально стоят два сплошных прямоугольных столбика с основаниями 7 × 5 см и 7 × 2 см. Они выше конечного уровня воды и не перекрываются. Сколько литров воды нужно долить, чтобы уровень вы... | {
"type": "number",
"value": "218/25",
"tests": []
} | train |
wiki-read-en-259e99cdf5c1583bd191 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-dba4aea6e0fee7e4fc158d | chronology | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-8745369045944158984-0 (Apache-2.0). Wikipedia contributors, “Sábado Gigante” (https://en.wikipedia.org/wiki/S%C3%A1bado_Gigante), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Sábado Gigante\n\nSábado Gigante (English translation: \"Giant Saturday\" or \"Gigantic Saturday\"; known officially as Sábado Gigante Internacional outside Chile) was a Spanish-language television program broadcast by Spanish International Network in the United States. It was ... | {
"type": "exact",
"value": "1962, 1986, 1991",
"tests": []
} | train |
wiki-read-ru-5aad893d4642e821b3a8 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-ea9d81e2de65b72baeb253 | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-5374911657830840333-0 (Apache-2.0). Wikipedia contributors, “Гимн Азербайджанской Республики” (https://ru.wikipedia.org/wiki/%D0%93%D0%B8%D0%BC%D0%BD_%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%BE%D0%B9_%D0%A0%D0%B5%D1%81%D0%BF%... | [
{
"role": "user",
"content": "Гимн Азербайджанской Республики\n\n«Марш Азербайджана» (Azerbaijani: «Azərbaycan Marşı») — государственный гимн Азербайджанской Республики, один из главных государственных символов Азербайджана, наряду с флагом и гербом. Мелодия гимна написана в 1919 году азербайджанским композ... | {
"type": "exact",
"value": "1992-05-27",
"tests": []
} | train |
algpy-70b4ff97174c1e1d-implement | code | en | TheAlgorithms/Python | MIT | algpy-70b4ff97174c1e1d | implement | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/special_numbers/jacobsthal_number.py#jacobsthal_sequence; adapted exercises | [
{
"role": "user",
"content": "Implement this Python function. Return the first n Jacobsthal numbers starting at J(0)=0, J(1)=1 with J(k)=J(k−1)+2*J(k−2). For n=0 return [].\nSignature: def jacobsthal_sequence(length):\nExamples:\n```python\nassert jacobsthal_sequence(0) == []\nassert jacobsthal_sequence(1) ... | {
"type": "code",
"value": "",
"tests": [
"assert jacobsthal_sequence(2) == [0, 1]",
"assert jacobsthal_sequence(3) == [0, 1, 1]",
"assert jacobsthal_sequence(4) == [0, 1, 1, 3]",
"assert jacobsthal_sequence(5) == [0, 1, 1, 3, 5]",
"assert jacobsthal_sequence(6) == [0, 1, 1, 3, 5, 11]",
"a... | train |
wiki-read-en-d17b49a100dae8b1ce43 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-4eb33ea65765f4877a74a7 | clause | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--4578228314290993544-4 (Apache-2.0). Wikipedia contributors, “Autódromo Hermanos Rodríguez” (https://en.wikipedia.org/wiki/Aut%C3%B3dromo_Hermanos_Rodr%C3%ADguez), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading ... | [
{
"role": "user",
"content": "Autódromo Hermanos Rodríguez\n\nBuilt in the Magdalena Mixhuca public park in 1959, the circuit hosted its first Formula One Grand Prix in 1962, as a non-Championship race. The following year the Mexican Grand Prix became a full World Championship event. The circuit remained pa... | {
"type": "exact",
"value": "when spectator overcrowding caused unsafe conditions",
"tests": []
} | train |
wiki-read-ru-0b8569153623f31fe23a | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-fdcc8ed0e3d55794848cf9 | chronology | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-8242154927263930-48 (Apache-2.0). Wikipedia contributors, “История почты” (https://ru.wikipedia.org/wiki/%D0%98%D1%81%D1%82%D0%BE%D1%80%D0%B8%D1%8F_%D0%BF%D0%BE%D1%87%D1%82%D1%8B), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normali... | [
{
"role": "user",
"content": "История почты\n\nВ 1820 году торговцем бумаги Бревером в Брайтоне изобретён конверт. Важной вехой в истории почтовой связи стал выпуск почтовой марки в 1840 году в Великобритании. Позднее в Англии и её колониях стали употребляться заказные конверты.\n\nКакие четырёхзначные кале... | {
"type": "exact",
"value": "1820, 1840",
"tests": []
} | train |
algpy-bc2ac76af4c5cbdd-check-assertions | code | ru | TheAlgorithms/Python | MIT | algpy-bc2ac76af4c5cbdd | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/area.py#area_trapezium; adapted exercises | [
{
"role": "user",
"content": "Один из тестов противоречит фактическому поведению этой функции. Определи его и вычисли верный результат. В последней строке запиши букву и результат через двоеточие, например A: 42.\n```python\ndef compute(base1, base2, height):\n if base1 < 0 or base2 < 0 or height < 0:\n ... | {
"type": "exact",
"value": "A: 450.0",
"tests": []
} | train |
wiki-read-ru-47d834ac85658ad56f40 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-2e9c274e8bb85afab25db1 | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-1173497973865298751-1 (Apache-2.0). Wikipedia contributors, “Девичья башня (Баку)” (https://ru.wikipedia.org/wiki/%D0%94%D0%B5%D0%B2%D0%B8%D1%87%D1%8C%D1%8F_%D0%B1%D0%B0%D1%88%D0%BD%D1%8F_(%D0%91%D0%B0%D0%BA%D1%83)), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whit... | [
{
"role": "user",
"content": "Девичья башня (Баку)\n\nДата постройки Девичьей Башни неизвестна. Хотя в верхнюю часть башни справа от входа вмонтирована каменная плита с двустрочной куфической надписью. Надпись гласит: «губбе (купол, свод) Масуда ибн-Давуда». Долгое время, исходя из этой надписи, башню датир... | {
"type": "exact",
"value": "купол, свод",
"tests": []
} | train |
wiki-read-en-744ffc6c5fd2d17230b2 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-d9f91bd24da682172ad1e9 | definition | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--3449091914402899900-0 (Apache-2.0). Wikipedia contributors, “The Writer's Almanac” (https://en.wikipedia.org/wiki/The_Writer%27s_Almanac), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "The Writer's Almanac\n\nThe Writer's Almanac is a daily podcast and newsletter of poetry and historical interest pieces, usually of literary significance. Begun as a radio program in 1993, it is hosted by Garrison Keillor and was produced and distributed by American Public Medi... | {
"type": "exact",
"value": "a daily podcast and newsletter of poetry and historical interest pieces, usually of literary significance",
"tests": []
} | train |
reason2-ballot_points-066 | reasoning | ru | Original | CC0-1.0 | reason2-ballot_points | workshop_ballot_points | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Жюри оценивает макеты N, M, P, S. Баллы за места, начиная с первого: 3, 2, 1, 0. Бюллетени записаны как число одинаковых голосов × порядок от лучшего к худшему: 4 × N>S>M>P; 6 × S>N>M>P; 3 × M>P>N>S; 5 × P>S>M>N. У какого макета больше всего баллов?\nПриведи ход решения в неско... | {
"type": "exact",
"value": "S",
"tests": []
} | train |
algpy-0b49b904453dabf9-change-impact | code | ru | TheAlgorithms/Python | MIT | algpy-0b49b904453dabf9 | change-impact | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/special_numbers/hamming_numbers.py#hamming; adapted exercises | [
{
"role": "user",
"content": "В показанном коде строку `while hamming_list[k] * 5 <= hamming_list[-1]:` заменяют на `while hamming_list[k] * 5 < hamming_list[-1]:`. Для какого из двух выражений изменится возвращаемое значение? Дай короткое объяснение и запиши букву в последней строке.\n```python\ndef comput... | {
"type": "exact",
"value": "A",
"tests": []
} | train |
wiki-read-en-647faf09bc7369f05be1 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-9fed26c560fcf01f46561e | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-5711555387948465200-0 (Apache-2.0). Wikipedia contributors, “Magnetoreception” (https://en.wikipedia.org/wiki/Magnetoreception), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Magnetoreception\n\nMagnetoreception (also magnetoception) is a sense which allows an organism to detect a magnetic field to perceive direction, altitude or location. This sensory modality is used by a range of animals for orientation and navigation, and as a method for animals... | {
"type": "exact",
"value": "also magnetoception",
"tests": []
} | train |
reason2-pareto-056 | reasoning | ru | Original | CC0-1.0 | reason2-pareto | workshop_pareto | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Для печати плаката доступны заказы (дни, цена): D (28, 17); T (5, 64); V (13, 43); J (21, 57); A (11, 66); P (29, 28); S (19, 25); R (6, 60); K (4, 29). Отбрось любой вариант, для которого другой вариант одновременно дешевле и быстрее. Запиши коды оставшихся в алфавитном порядк... | {
"type": "exact",
"value": "D K S",
"tests": []
} | train |
reason2-fair_slots-029 | reasoning | ru | Original | CC0-1.0 | reason2-fair_slots | workshop_fair_slots | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Клуб делит часы студии по одному. Веса секций: E=11, N=14, Y=25. Следующий час получает секция с наибольшим отношением «вес / (1 + число уже выделенных часов)». При равенстве выбирают первый код по алфавиту. Какой секции достанется час номер 6, если сначала ни у кого нет часов?... | {
"type": "exact",
"value": "N",
"tests": []
} | train |
math-verified-quadratic_samples-008 | 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(5) = 39, f(6) = 66, f(7) = 99. Find f(9).\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": "183",
"tests": []
} | train |
wiki-read-ru-100adb3856cf5868fcbb | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-06928c169a3f29aedb15b9 | definition | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--2024261838852891529-0 (Apache-2.0). Wikipedia contributors, “Карл” (https://ru.wikipedia.org/wiki/%D0%9A%D0%B0%D1%80%D0%BB), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Карл\n\nКарл — мужское личное имя и распространенная фамилия. Происходит от Old High German: *karlon — «мужчина». Прижилось в различных европейских языках, адаптировавшись к их фонетическим нормам.\n\nКак в начале отрывка определяется «Карл»? Выпиши всю часть первого предложени... | {
"type": "exact",
"value": "мужское личное имя и распространенная фамилия",
"tests": []
} | train |
wiki-read-ru-c6d37793a930fe1f0656 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-719e14f27d779c108309c5 | measurement | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-7647372150624286762-21 (Apache-2.0). Wikipedia contributors, “Тибет” (https://ru.wikipedia.org/wiki/%D0%A2%D0%B8%D0%B1%D0%B5%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Уровень грамотности среди тибетцев составляет менее 50 %. Уровень грамотности до вторжения КНР точно неизвестен. Образование было в основном монастырским, почти в каждой семье кто-нибудь был монахом, большинство монахов были грамотными. Светское образование стало распр... | {
"type": "exact",
"value": "50 %",
"tests": []
} | train |
reason2-rotate_grid-044 | reasoning | ru | Original | CC0-1.0 | reason2-rotate_grid | workshop_rotate_grid | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Исходные строки табло сверху вниз: E F J H / T R Q Z / B C L D / G P K A. Выполни циклические сдвиги по порядку: строка 3 на 1 вправо; столбец 3 на 2 вниз; строка 1 на 2 вправо; столбец 4 на 2 вниз; строка 4 на 3 вправо. Какой символ теперь в строке 1, столбце 1? Нумерация с ед... | {
"type": "exact",
"value": "C",
"tests": []
} | train |
reason2-motif_growth-060 | 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 RRRP. During each pass, replace every current symbol simultaneously using P→PRP; R→P. Newly produced symbols wait for the next pass. After 3 passes, how many R symbols are there?\nExplain in a few sentences and use the final line for the answer alone."
},
... | {
"type": "number",
"value": "11",
"tests": []
} | train |
wiki-read-ru-c788c3d1a1431ebc4ab5 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-e47b51bd46c6be79daaffc | chronology | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--5726677361269301114-26 (Apache-2.0). Wikipedia contributors, “Лондон” (https://ru.wikipedia.org/wiki/%D0%9B%D0%BE%D0%BD%D0%B4%D0%BE%D0%BD), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Лондон\n\nВ XIX веке в облике Лондона произошли кардинальные изменения. В 1836 году была открыта первая железная дорога, соединившая Лондонский мост и Гринвич, и меньше чем за 20 лет открылось 6 вокзалов. В 1863 году в Лондоне появилось первое в мире метро. Кроме того, в XIX ве... | {
"type": "exact",
"value": "1836, 1863",
"tests": []
} | train |
wiki-read-ru-04c8402c2e1676ddf408 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-adad4a620492b266796ae7 | measurement | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-2768756262545747488-1 (Apache-2.0). Wikipedia contributors, “Альпы” (https://ru.wikipedia.org/wiki/%D0%90%D0%BB%D1%8C%D0%BF%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Альпы представляют собой сложную систему хребтов и массивов, протянувшуюся выпуклой к северо-западу дугой от Лигурийского моря до Среднедунайской низменности. Альпы располагаются на территории 8 стран: Франции, Монако, Италии, Швейцарии, Германии, Австрии, Лихтенштейна... | {
"type": "exact",
"value": "4810 метров",
"tests": []
} | train |
wiki-read-ru-481f9e671848b6eaa094 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-5b9542a4bf7d0d49f379b7 | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--8970215486313078614-3 (Apache-2.0). Wikipedia contributors, “Титаник” (https://ru.wikipedia.org/wiki/%D0%A2%D0%B8%D1%82%D0%B0%D0%BD%D0%B8%D0%BA), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Титаник\n\n10 апреля 1912 года «Титаник» отправился из Саутгемптона в Нью-Йорк, в свой первый и единственный рейс. Совершив остановки во французском Шербуре и ирландском Квинстауне, лайнер вышел в Атлантический океан с 1317 пассажирами и 908 членами экипажа на борту. Командовал... | {
"type": "exact",
"value": "1912-04-10",
"tests": []
} | train |
algpy-54d001201d65cd9a-trace | code | ru | TheAlgorithms/Python | MIT | algpy-54d001201d65cd9a | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/area.py#surface_area_cube; adapted exercises | [
{
"role": "user",
"content": "```python\ndef compute(side_length):\n if side_length < 0:\n raise ValueError('compute() only accepts non-negative values')\n return 6 * side_length ** 2\n```\nЧто вернёт выражение compute(0)? Запиши repr результата Python."
},
{
"role": "assistant",
"c... | {
"type": "exact",
"value": "0",
"tests": []
} | train |
wiki-read-ru-7aad387a16e2d0875897 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-c7a4fa84a120a5c8e1082f | clause | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-983414606015071945-5 (Apache-2.0). Wikipedia contributors, “Пауэрлифтинг” (https://ru.wikipedia.org/wiki/%D0%9F%D0%B0%D1%83%D1%8D%D1%80%D0%BB%D0%B8%D1%84%D1%82%D0%B8%D0%BD%D0%B3), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normaliz... | [
{
"role": "user",
"content": "Пауэрлифтинг\n\nПауэрлифтинг возник из упражнений, которые тяжелоатлеты использовали для увеличения результатов в основных движениях. Первоначально набор и порядок упражнений отличались от современных — кроме привычных сейчас приседаний, жима лежа, становой тяги, пауэрлифтинг в... | {
"type": "exact",
"value": "которые тяжелоатлеты использовали для увеличения результатов в основных движениях",
"tests": []
} | train |
algpy-34182954d6a08ace-repair | code | en | TheAlgorithms/Python | MIT | algpy-34182954d6a08ace | repair | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, conversions/binary_to_gray_code.py#decimal_to_gray; adapted exercises | [
{
"role": "user",
"content": "Repair this Python function. Encode nonnegative integer n in reflected Gray code. Return the binary digit string of n XOR (n shifted right by 1), with no prefix and no leading zeros except the single digit for zero.\nFor decimal_to_gray(0) it should return '0', but returns ''. ... | {
"type": "code",
"value": "",
"tests": [
"assert decimal_to_gray(0) == '0'",
"assert decimal_to_gray(1) == '1'",
"assert decimal_to_gray(2) == '11'",
"assert decimal_to_gray(3) == '10'",
"assert decimal_to_gray(4) == '110'",
"assert decimal_to_gray(7) == '100'",
"assert decimal_to_gra... | train |
wiki-read-ru-f204265745e95d2cfca6 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-8ade8fa1dc5e7b4ca4c1d8 | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--119981900575871892-114 (Apache-2.0). Wikipedia contributors, “Shattered Horizon” (https://ru.wikipedia.org/wiki/Shattered_Horizon), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Shattered Horizon\n\n16 февраля 2011 года компания Акелла заявила о выходе игры в розничную продажу на территории России, переведенной на русский язык под названием «Shattered Horizon: Взорвать горизонт».\n\nНайди полную календарную дату, у которой месяц написан словом, и запиш... | {
"type": "exact",
"value": "2011-02-16",
"tests": []
} | train |
verified-code-cluster_sizes-trace | code | en | Original | CC0-1.0 | verified-code-components | verified_trace | Original algorithm and independent oracle, release 2; CC0-1.0. | [
{
"role": "user",
"content": "```python\ndef cluster_sizes(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": "[2, 3]",
"tests": []
} | train |
algpy-f95c8e335603ede7-trace | code | en | TheAlgorithms/Python | MIT | algpy-f95c8e335603ede7 | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/special_numbers/jacobsthal_number.py#jacobsthal_number; adapted exercises | [
{
"role": "user",
"content": "```python\ndef jacobsthal_number(n):\n if not isinstance(n, int) or isinstance(n, bool) or n < 0:\n msg = f'n must be a non-negative integer, got {n!r}'\n raise ValueError(msg)\n previous, current = (0, 1)\n for _ in range(n):\n previous, current =... | {
"type": "exact",
"value": "341",
"tests": []
} | train |
wiki-read-en-1bdeed503dc825602fd9 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-c6e52e6699e6fb646398a0 | definition | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-1632522096321433000-0 (Apache-2.0). Wikipedia contributors, “Visible spectrum” (https://en.wikipedia.org/wiki/Visible_spectrum), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Visible spectrum\n\nThe visible spectrum is the portion of the electromagnetic spectrum that is visible to the human eye. Electromagnetic radiation in this range of wavelengths is called visible light or simply light. A typical human eye will respond to wavelengths from about 3... | {
"type": "exact",
"value": "the portion of the electromagnetic spectrum that is visible to the human eye",
"tests": []
} | train |
reason2-critical_path-002 | reasoning | ru | Original | CC0-1.0 | reason2-critical_path | workshop_critical_path | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Число рабочих мест в мастерской не ограничено. Время выполнения каждого этапа в минутах: H=3, B=8, V=5, R=6, L=2, C=2, Y=4. Стрелка X→Y означает, что Y начинает работу после завершения X. Все зависимости: C→L, Y→L, H→V, Y→V, C→B, B→H, C→H, Y→H. Время отсчитывают с нуля. Когда р... | {
"type": "number",
"value": "18",
"tests": []
} | train |
algpy-6257d1bc65af22a2-trace | code | ru | TheAlgorithms/Python | MIT | algpy-6257d1bc65af22a2 | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, strings/levenshtein_distance.py#levenshtein_distance; adapted exercises | [
{
"role": "user",
"content": "```python\ndef compute(first_word, second_word):\n if len(first_word) < len(second_word):\n return compute(second_word, first_word)\n if len(second_word) == 0:\n return len(first_word)\n previous_row = list(range(len(second_word) + 1))\n for i, c1 in e... | {
"type": "exact",
"value": "4",
"tests": []
} | train |
wiki-read-ru-1a7bda6f5f32e0982601 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-78515bd2a4dfffe79cbbbc | clause | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-3334541785711708335-0 (Apache-2.0). Wikipedia contributors, “Властелин колец” (https://ru.wikipedia.org/wiki/%D0%92%D0%BB%D0%B0%D1%81%D1%82%D0%B5%D0%BB%D0%B8%D0%BD_%D0%BA%D0%BE%D0%BB%D0%B5%D1%86), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference... | [
{
"role": "user",
"content": "Властелин колец\n\n«Властели́н коле́ц» (English: The Lord of the Rings) — роман-эпопея английского писателя Дж. Р. Р. Толкина, одно из самых известных произведений жанра фэнтези. «Властелин колец» был написан как единая книга, но из-за объёма при первом издании его разделили на... | {
"type": "exact",
"value": "хотя часто в едином томе",
"tests": []
} | train |
reason2-missing_cells-009 | reasoning | ru | Original | CC0-1.0 | reason2-missing_cells | workshop_missing_cells | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "В таблице учёта столбцы идут в порядке M, B, L. После вертикальной черты указан итог строки. Строки: R1: 8 / ? / 9 | 22; R9: 7 / 2 / 8 | 17; R6: ? / ? / 15 | 34. Итоги столбцов: M=19, B=22, L=32. Какое число скрыто в строке R6, столбце B?\nПокажи короткую проверку, а в конце на... | {
"type": "number",
"value": "15",
"tests": []
} | train |
reason2-editing_history-066 | reasoning | ru | Original | CC0-1.0 | reason2-editing_history | workshop_editing_history | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "В редакторе поле сначала содержит A. Запись заменяет значение и стирает возможность повтора отменённых записей. «Отмена» возвращает предыдущее значение, «повтор» восстанавливает отменённую запись. Если действие недоступно, поле не меняется. Команды: записать U; записать M; отме... | {
"type": "exact",
"value": "B",
"tests": []
} | train |
reason2-room_peak-042 | reasoning | ru | Original | CC0-1.0 | reason2-room_peak | workshop_room_peak | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Репетиции занимают отдельные комнаты в такие минуты: C [18,21); P [13,16); F [0,4); H [6,12); A [4,7); K [3,11). Конец интервала уже свободен; одна комната подходит любой группе. Сколько комнат как минимум требуется одновременно?\nПриведи ход решения в нескольких фразах. На пос... | {
"type": "number",
"value": "3",
"tests": []
} | train |
reason2-balanced_load-028 | reasoning | ru | Original | CC0-1.0 | reason2-balanced_load | workshop_balanced_load | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Две тележки должны увезти все ящики без деления содержимого. Масса каждого ящика: E=24, K=48, S=76, G=44, C=36, W=20, H=56. Какой наименьшей разницы масс между тележками можно добиться?\nПриведи ход решения в нескольких фразах. На последней строке оставь только ответ."
},
{... | {
"type": "number",
"value": "0",
"tests": []
} | train |
wiki-read-ru-af604c7e0b49bd5abcd7 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-fc99813aa9a071162a860e | measurement | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--2762299534326474856-22 (Apache-2.0). Wikipedia contributors, “Железнодорожный транспорт в России” (https://ru.wikipedia.org/wiki/%D0%96%D0%B5%D0%BB%D0%B5%D0%B7%D0%BD%D0%BE%D0%B4%D0%BE%D1%80%D0%BE%D0%B6%D0%BD%D1%8B%D0%B9_%D1%82%D1%80%D0%B0%D0%BD%D1%81%D0%BF%D0%BE%D1... | [
{
"role": "user",
"content": "Железнодорожный транспорт в России\n\nОбщая протяжённость эксплуатационной длины железнодорожных путей составляет 124 тыс. км, в том числе 86 тыс. км путей общего пользования (электрифицировано 43 тыс. км) и 38 тыс. км путей необщего пользования (на территориях предприятий и в ... | {
"type": "exact",
"value": "7,3 км",
"tests": []
} | train |
algpy-1b1b919ee449b878-trace | code | ru | TheAlgorithms/Python | MIT | algpy-1b1b919ee449b878 | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, conversions/temperature_conversions.py#reaumur_to_fahrenheit; adapted exercises | [
{
"role": "user",
"content": "```python\ndef compute(reaumur, ndigits=2):\n return round(float(reaumur) * 2.25 + 32, ndigits)\n```\nЧто вернёт выражение round(compute(20.0), 6)? Запиши repr результата Python."
},
{
"role": "assistant",
"content": "77.0"
}
] | {
"type": "exact",
"value": "77.0",
"tests": []
} | train |
algpy-1d4e795259d82ed4-check-assertions | code | en | TheAlgorithms/Python | MIT | algpy-1d4e795259d82ed4 | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/special_numbers/polygonal_numbers.py#polygonal_num; 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(num, sides):\n if num < 0 or sides < 3:\n raise ValueError('Invalid i... | {
"type": "exact",
"value": "B: 0",
"tests": []
} | train |
gsm-train-2485 | math | en | GSM8K | MIT | gsm8k-89cfebfb2bb797390b0f | word_problem_3_steps | OpenAI (2021), GSM8K, original train row 2485 | [
{
"role": "user",
"content": "There are 3 rows of people relaxing at the beach. The first row is made up of 24 people until 3 people get up to wade in the water. 5 people from the second row, which originally held 20 people, go to join them. The third row is made up of 18 people. How many people are left re... | {
"type": "number",
"value": "54",
"tests": []
} | train |
wiki-read-ru-ed44718ff6bdfe31cc26 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-d01a7dbd2e27f574c9ccc2 | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--5518037265920970551-40 (Apache-2.0). Wikipedia contributors, “Сатурн” (https://ru.wikipedia.org/wiki/%D0%A1%D0%B0%D1%82%D1%83%D1%80%D0%BD), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Сатурн\n\nВ октябре 2008 года «Кассини» передал изображения северного полушария планеты. С 2004 года, когда «Кассини» подлетел к ней, произошли заметные изменения, и теперь она окрашена в необычные цвета. Причины этого пока непонятны. Предполагается, что недавнее изменение цвет... | {
"type": "exact",
"value": "2009-11-02",
"tests": []
} | train |
wiki-read-en-c37642b7e8f14528ec91 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-c7031208aa483ec5f1fe5d | measurement | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-6171594911382529108-4 (Apache-2.0). Wikipedia contributors, “Navajo County, Arizona” (https://en.wikipedia.org/wiki/Navajo_County%2C_Arizona), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Navajo County, Arizona\n\nAccording to the U.S. Census Bureau, the county has a total area of 9,960 square miles (25,800km2), of which 9,950 square miles (25,800km2) is land and 9.3 square miles (24km2) (0.09%) is water.\n\nWhich value is expressed numerically in percent? Copy ... | {
"type": "exact",
"value": "0.09%",
"tests": []
} | train |
wiki-read-ru-9621cfbb475c4a64a25c | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-2e772660887e6eb3866c2b | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--4576626742101778661-1 (Apache-2.0). Wikipedia contributors, “Рабочее (район Иркутска)” (https://ru.wikipedia.org/wiki/%D0%A0%D0%B0%D0%B1%D0%BE%D1%87%D0%B5%D0%B5_(%D1%80%D0%B0%D0%B9%D0%BE%D0%BD_%D0%98%D1%80%D0%BA%D1%83%D1%82%D1%81%D0%BA%D0%B0)), snapshot 2019-02-01 ... | [
{
"role": "user",
"content": "Рабочее (район Иркутска)\n\nПервоначально на месте предместья Рабочее располагался лес в западной части и болотистая местность с кустарниками в восточной. С пологих гор в реку Иду (сейчас Ушаковка) впадало множество ручьев и небольших рек. Самая крупная из них — Сарафановка.\n\... | {
"type": "exact",
"value": "сейчас Ушаковка",
"tests": []
} | train |
wiki-read-en-e0c24df4d10b73b57a81 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-034f00f3a7e4c2749f67b5 | measurement | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-5570692656346973426-32 (Apache-2.0). Wikipedia contributors, “History of mobile phones” (https://en.wikipedia.org/wiki/History_of_mobile_phones), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "History of mobile phones\n\nPrior to 1973, mobile telephony was limited to phones installed in cars and other vehicles. Motorola was the first company to produce a handheld mobile phone. On April 3, 1973, Martin Cooper, a Motorola researcher and executive, made the first mobile... | {
"type": "exact",
"value": "1.1 kilograms",
"tests": []
} | train |
wiki-read-ru-83506333484dacb33b22 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-0024f63f93c475e5d86e2c | clause | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-5137646290934714720-7 (Apache-2.0). Wikipedia contributors, “Федерер, Роджер” (https://ru.wikipedia.org/wiki/%D0%A4%D0%B5%D0%B4%D0%B5%D1%80%D0%B5%D1%80%2C_%D0%A0%D0%BE%D0%B4%D0%B6%D0%B5%D1%80), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference ma... | [
{
"role": "user",
"content": "Федерер, Роджер\n\nПервые серьёзные успехи на юниорском уровне пришли к Федереру в 1998 году. В этом году Роджер выиграл Уимблдонский турнир в соревнованиях одиночного и парного разряда среди юношей. В июле, получив специальное приглашение от организаторов турнира в Гштаде, он ... | {
"type": "exact",
"value": "в котором уступил Давиду Налбандяну",
"tests": []
} | train |
wiki-read-ru-e0138910ff71f1c427e6 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-05d420b7387d5092f466fd | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--7810519956063685187-20 (Apache-2.0). Wikipedia contributors, “Ганимед (спутник)” (https://ru.wikipedia.org/wiki/%D0%93%D0%B0%D0%BD%D0%B8%D0%BC%D0%B5%D0%B4_(%D1%81%D0%BF%D1%83%D1%82%D0%BD%D0%B8%D0%BA)), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and ref... | [
{
"role": "user",
"content": "Ганимед (спутник)\n\nТочная толщина различных слоёв в недрах Ганимеда зависит от принятого значения состава силикатов (доли оливина и пироксенов), а также от количества серы в ядре. Наиболее вероятное значение радиуса ядра — 700—900 км, а толщины внешней ледяной мантии — 800—10... | {
"type": "exact",
"value": "доли оливина и пироксенов",
"tests": []
} | train |
gsm-train-4044 | math | en | GSM8K | MIT | gsm8k-17782c28ed6f8c5e32d8 | word_problem_4_steps | OpenAI (2021), GSM8K, original train row 4044 | [
{
"role": "user",
"content": "John buys 3 puzzles. The first puzzle has 1000 pieces. The second and third puzzles have the same number of pieces and each has 50% more pieces. How many total pieces are all the puzzles?\nShow a short calculation. Put the final number alone on the last line."
},
{
"... | {
"type": "number",
"value": "4000",
"tests": []
} | train |
reason2-critical_path-000 | reasoning | ru | Original | CC0-1.0 | reason2-critical_path | workshop_critical_path | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Число рабочих мест в мастерской не ограничено. Время выполнения каждого этапа в минутах: V=7, Y=9, T=3, Z=5, R=4, N=2. Стрелка X→Y означает, что Y начинает работу после завершения X. Все зависимости: Z→Y, R→T, N→R, Y→R, Z→R, Z→N, T→V, Y→V. Время отсчитывают с нуля. Когда раньше... | {
"type": "number",
"value": "28",
"tests": []
} | train |
math-verified-rounded_scales-016 | math | ru | Original | CC0-1.0 | math-verified-rounded_scales | verified_math_rounded_scales | Original bilingual mathematics exercises, CC0-1.0 | [
{
"role": "user",
"content": "Длина детали — целое число миллиметров. Один прибор округляет длину до ближайшего числа, кратного 4 мм, другой — до ближайшего числа, кратного 16 мм. Ровно посередине оба выбирают большее значение. Приборы показали соответственно 156 и 160 мм. Сколько целых значений длины согла... | {
"type": "number",
"value": "4",
"tests": []
} | train |
reason2-critical_path-060 | reasoning | ru | Original | CC0-1.0 | reason2-critical_path | workshop_critical_path | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Число рабочих мест в мастерской не ограничено. Время выполнения каждого этапа в минутах: S=6, H=8, J=2, A=9, R=4, P=3, M=8. Стрелка X→Y означает, что Y начинает работу после завершения X. Все зависимости: A→R, J→R, M→R, P→R, S→R, P→J, A→P, A→S, M→S, H→A. Время отсчитывают с нул... | {
"type": "number",
"value": "27",
"tests": []
} | train |
reason2-missing_cells-049 | reasoning | ru | Original | CC0-1.0 | reason2-missing_cells | workshop_missing_cells | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "В таблице учёта столбцы идут в порядке U, J, X. После вертикальной черты указан итог строки. Строки: R9: ? / 14 / ? | 26; R10: 13 / 15 / ? | 41; R6: 8 / 6 / 14 | 28; R3: 12 / 15 / 10 | 37. Итоги столбцов: U=36, J=50, X=46. Какое число скрыто в строке R9, столбце X?\nПокажи коро... | {
"type": "number",
"value": "9",
"tests": []
} | train |
wiki-read-en-2afad78ca4c4cb4f7654 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-a9ac0cb7c57922af666ead | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--4587168511875692404-0 (Apache-2.0). Wikipedia contributors, “Jean Rollin” (https://en.wikipedia.org/wiki/Jean_Rollin), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Jean Rollin\n\nJean Michel Rollin Roth Le Gentil (3 November 1938–15 December 2010) was a French film director, actor, and novelist best known for his work in the fantastique genre.\n\nWhat parenthetical detail immediately follows “Rollin Roth Le Gentil”? Quote the entire detai... | {
"type": "exact",
"value": "3 November 1938–15 December 2010",
"tests": []
} | train |
reason2-motif_growth-052 | 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 NNNN. During each pass, replace every current symbol simultaneously using A→N; N→AN. Newly produced symbols wait for the next pass. After 5 passes, how many A symbols are there?\nExplain in a few sentences and use the final line for the answer alone."
},
... | {
"type": "number",
"value": "20",
"tests": []
} | train |
algpy-b9b63d9de243287d-check-assertions | code | en | TheAlgorithms/Python | MIT | algpy-b9b63d9de243287d | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/series/geometric.py#is_geometric_series; 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(series):\n if not isinstance(series, list):\n raise ValueError('Input... | {
"type": "exact",
"value": "A: True",
"tests": []
} | train |
algpy-41e3482618df8423-trace | code | en | TheAlgorithms/Python | MIT | algpy-41e3482618df8423 | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/sum_of_digits.py#sum_of_digits_recursion; adapted exercises | [
{
"role": "user",
"content": "```python\ndef sum_of_digits_recursion(n):\n n = abs(n)\n return n if n < 10 else n % 10 + sum_of_digits_recursion(n // 10)\n```\nWhat does sum_of_digits_recursion(0) return? Give the Python repr of the value."
},
{
"role": "assistant",
"content": "0"
}
] | {
"type": "exact",
"value": "0",
"tests": []
} | train |
reason2-minimum_cover-021 | 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, 4, 6, 8, 9. Наборы перечислены с типами внутри: U=1; L=2/6; S=4/9; R=8; X=2/8/9; D=1/4. Дубли допустимы. Какое наименьшее число наборов покроет все типы?\nПриведи ход решения в нескольких фразах. На последней строке оставь только отве... | {
"type": "number",
"value": "3",
"tests": []
} | train |
reason2-missing_cells-068 | reasoning | en | Original | CC0-1.0 | reason2-missing_cells | workshop_missing_cells | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "In a tally table the columns are J, C, K, in that order. A vertical bar precedes the row total. Rows: R11: 8 / 4 / 4 | 16; R2: 14 / ? / 8 | 30; R8: 4 / ? / ? | 21. Column totals: J=26, C=26, K=15. What is the missing entry in row R8, column C?\nExplain in a few sentences and us... | {
"type": "number",
"value": "14",
"tests": []
} | train |
wiki-read-ru-1babd653a2ccd5b2a210 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-0fee8d6ca161a7dceaf8d5 | definition | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--4813590268694263433-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%A0%D0%BE%D1%81%D1%81%D0%B8%D0%B8_%D0%BF%D0%BE_%D1%85%D0%BE%D0%BA%D0%BA%D0%B5%D1%8E_%D1%81_%... | [
{
"role": "user",
"content": "Сборная России по хоккею с шайбой\n\nСборная России по хоккею с шайбой — национальная команда, представляющая Россию на международных турнирах по хоккею с шайбой. Управляется Федерацией хоккея России. Впервые была собрана в 1992 году, получив право выступать в группе сильнейших... | {
"type": "exact",
"value": "национальная команда, представляющая Россию на международных турнирах по хоккею с шайбой",
"tests": []
} | train |
reason2-missing_cells-040 | reasoning | en | Original | CC0-1.0 | reason2-missing_cells | workshop_missing_cells | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "In a tally table the columns are D, Y, W, in that order. A vertical bar precedes the row total. Rows: R1: ? / ? / 10 | 20; R3: ? / 8 / 7 | 20; R8: 4 / 5 / 14 | 23; R5: 8 / 3 / 4 | 15. Column totals: D=22, Y=21, W=35. What is the missing entry in row R1, column D?\nExplain in a ... | {
"type": "number",
"value": "5",
"tests": []
} | train |
algpy-45e52de8dd70015e-check-assertions | code | ru | TheAlgorithms/Python | MIT | algpy-45e52de8dd70015e | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/extended_euclidean_algorithm.py#extended_euclidean_algorithm; adapted exercises | [
{
"role": "user",
"content": "Один из тестов противоречит фактическому поведению этой функции. Определи его и вычисли верный результат. В последней строке запиши букву и результат через двоеточие, например A: 42.\n```python\ndef compute(a, b):\n if abs(a) == 1:\n return (a, 0)\n elif abs(b) == ... | {
"type": "exact",
"value": "B: (1, 0)",
"tests": []
} | train |
algpy-2863b2ea3863a7eb-check-assertions | code | en | TheAlgorithms/Python | MIT | algpy-2863b2ea3863a7eb | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/josephus_problem.py#josephus_iterative; 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(num_people, step_size):\n circle = list(range(1, num_people + 1))\n curre... | {
"type": "exact",
"value": "A: 3",
"tests": []
} | train |
wiki-read-ru-f0fc121a90bd0b77f5be | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-6e4226d6ea1c34c2da7387 | definition | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--3305453489781859561-0 (Apache-2.0). Wikipedia contributors, “Юридическое лицо” (https://ru.wikipedia.org/wiki/%D0%AE%D1%80%D0%B8%D0%B4%D0%B8%D1%87%D0%B5%D1%81%D0%BA%D0%BE%D0%B5_%D0%BB%D0%B8%D1%86%D0%BE), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and r... | [
{
"role": "user",
"content": "Юридическое лицо\n\nЮриди́ческое лицо́ — организация, которая имеет обособленное имущество и отвечает им по своим обязательствам, может от своего имени приобретать и осуществлять гражданские права и нести гражданские обязанности, быть истцом и ответчиком в суде.\n\nКак в начале... | {
"type": "exact",
"value": "организация, которая имеет обособленное имущество и отвечает им по своим обязательствам, может от своего имени приобретать и осуществлять гражданские права и нести гражданские обязанности, быть истцом и ответчиком в суде",
"tests": []
} | train |
algpy-23e3745dbe8bcfc6-implement | code | en | TheAlgorithms/Python | MIT | algpy-23e3745dbe8bcfc6 | implement | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, bit_manipulation/is_even.py#is_even_using_shift_operator; adapted exercises | [
{
"role": "user",
"content": "Implement this Python function. For a signed integer, return True exactly when it is even.\nSignature: def is_even_using_shift_operator(number):\nExamples:\n```python\nassert is_even_using_shift_operator(-101) == False\nassert is_even_using_shift_operator(-2) == True\n```"
},... | {
"type": "code",
"value": "",
"tests": [
"assert is_even_using_shift_operator(-17) == False",
"assert is_even_using_shift_operator(-1) == False",
"assert is_even_using_shift_operator(0) == True",
"assert is_even_using_shift_operator(1) == False",
"assert is_even_using_shift_operator(2) == Tru... | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.