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 |
|---|---|---|---|---|---|---|---|---|---|---|
math-verified-three_clubs-023 | math | ru | Original | CC0-1.0 | math-verified-three_clubs | verified_math_three_clubs | Original bilingual mathematics exercises, CC0-1.0 | [
{
"role": "user",
"content": "Численность трёх учебных групп: A — 24, B — 29, C — 32. На A и B записаны 15, на B и C — 16, на A и C — 7. Число участников всех трёх групп — 5; они включены в каждое парное пересечение. Сколько человек записалось ровно на одно занятие?\nЗапиши точное число в последней строке; ... | {
"type": "number",
"value": "24",
"tests": []
} | train |
math-verified-route_speed-019 | math | ru | Original | CC0-1.0 | math-verified-route_speed | verified_math_route_speed | Original bilingual mathematics exercises, CC0-1.0 | [
{
"role": "user",
"content": "Велосипедист ехал 40 мин со скоростью 30 км/ч, отдыхал 10 мин, затем ехал 50 мин со скоростью 48 км/ч. На обеих частях пути скорость была постоянной. Какова средняя скорость в км/ч за всё время от старта до финиша вместе с остановкой?\nЗапиши точное число в последней строке; не... | {
"type": "number",
"value": "36",
"tests": []
} | train |
wiki-read-en-850bd13aa131a31faa71 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-7bb7f5032710c8f10d1cd9 | clause | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-6836493592710039982-2 (Apache-2.0). Wikipedia contributors, “Circuit de Barcelona-Catalunya” (https://en.wikipedia.org/wiki/Circuit_de_Barcelona-Catalunya), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercis... | [
{
"role": "user",
"content": "Circuit de Barcelona-Catalunya\n\nThe Circuit de Barcelona-Catalunya was built in 1991 and began hosting the Spanish Grand Prix that same year. Construction also coincided with the Olympic Games scheduled to take place in Barcelona the next year, where the circuit acted as the ... | {
"type": "exact",
"value": "where the circuit acted as the start and finish line for the road team time trial cycling event",
"tests": []
} | train |
reason2-critical_path-008 | reasoning | ru | Original | CC0-1.0 | reason2-critical_path | workshop_critical_path | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Число рабочих мест в мастерской не ограничено. Время выполнения каждого этапа в минутах: T=6, B=6, D=9, K=4, V=4, F=9, U=4. Стрелка X→Y означает, что Y начинает работу после завершения X. Все зависимости: D→B, U→B, U→D, B→T, F→T, V→T, D→V, U→V, B→F, U→F. Время отсчитывают с нул... | {
"type": "number",
"value": "34",
"tests": []
} | train |
reason2-missing_cells-029 | reasoning | ru | Original | CC0-1.0 | reason2-missing_cells | workshop_missing_cells | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "В таблице учёта столбцы идут в порядке E, M, N. После вертикальной черты указан итог строки. Строки: R5: 12 / ? / ? | 26; R10: 14 / ? / 7 | 33; R4: 7 / 3 / 6 | 16; R9: 10 / 14 / 2 | 26. Итоги столбцов: E=43, M=41, N=17. Какое число скрыто в строке R5, столбце M?\nКратко обоснуй... | {
"type": "number",
"value": "12",
"tests": []
} | train |
reason2-critical_path-011 | reasoning | en | Original | CC0-1.0 | reason2-critical_path | workshop_critical_path | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "A workshop has unlimited workstations. Step durations in minutes: N=6, C=7, W=6, S=5, F=6, K=7, U=3. X→Y means Y may start only after X finishes. The full list of dependencies is N→W, K→S, C→F, N→F, F→K, N→K, C→U, F→U, W→U. Starting at minute zero, when can the whole job first ... | {
"type": "number",
"value": "25",
"tests": []
} | train |
reason2-missing_cells-005 | reasoning | ru | Original | CC0-1.0 | reason2-missing_cells | workshop_missing_cells | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "В таблице учёта столбцы идут в порядке X, A, T. После вертикальной черты указан итог строки. Строки: R5: 9 / 5 / 5 | 19; R10: 8 / 9 / 7 | 24; R2: ? / ? / 13 | 31; R4: 2 / 2 / 14 | 18; R1: 8 / ? / 5 | 18. Итоги столбцов: X=36, A=30, T=44. Какое число скрыто в строке R2, столбце ... | {
"type": "number",
"value": "9",
"tests": []
} | train |
gsm-train-7055 | math | en | GSM8K | MIT | gsm8k-b278ce6573eb7f5bfd7b | word_problem_3_steps | OpenAI (2021), GSM8K, original train row 7055 | [
{
"role": "user",
"content": "The bakery makes 3 batches of baguettes a day. Each batch has 48 baguettes. After the first batch came out, he sold 37. After the second batch, he sold 52. After the third batch he sold 49. How many baguettes are left?\nShow a short calculation. Put the final number alone ... | {
"type": "number",
"value": "6",
"tests": []
} | train |
algpy-2184ddda2ffd169c-trace | code | ru | TheAlgorithms/Python | MIT | algpy-2184ddda2ffd169c | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, searches/double_linear_search.py#double_linear_search; adapted exercises | [
{
"role": "user",
"content": "```python\ndef compute(array, search_item):\n start_ind, end_ind = (0, len(array) - 1)\n while start_ind <= end_ind:\n if array[start_ind] == search_item:\n return start_ind\n elif array[end_ind] == search_item:\n return end_ind\n ... | {
"type": "exact",
"value": "0",
"tests": []
} | train |
wiki-read-ru-8cabdbbe345ab25051d3 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-822ae0b1deda2aac4c7391 | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--458627470502405311-22 (Apache-2.0). Wikipedia contributors, “Официальные символы Тольятти” (https://ru.wikipedia.org/wiki/%D0%9E%D1%84%D0%B8%D1%86%D0%B8%D0%B0%D0%BB%D1%8C%D0%BD%D1%8B%D0%B5_%D1%81%D0%B8%D0%BC%D0%B2%D0%BE%D0%BB%D1%8B_%D0%A2%D0%BE%D0%BB%D1%8C%D1%8F%D1... | [
{
"role": "user",
"content": "Официальные символы Тольятти\n\nФлаг города Тольятти представляет собой одноцветное прямоугольное полотнище пропорций 2:3 с синим цветом гербового поля и расположенными в центре фигурами герба Тольятти золотого (жёлтого) цвета.\n\nКакое пояснение в скобках автор поместил сразу ... | {
"type": "exact",
"value": "жёлтого",
"tests": []
} | train |
wiki-read-en-ae8431e11d51a03fe5be | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-bd8ff3f32bf733b7120e88 | chronology | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--7228323789119377797-0 (Apache-2.0). Wikipedia contributors, “Transistor radio” (https://en.wikipedia.org/wiki/Transistor_radio), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Transistor radio\n\nA transistor radio is a small portable radio receiver that uses transistor-based circuitry. Following their development in 1954, made possible by the invention of the transistor in 1947, they became the most popular electronic communication device in history... | {
"type": "exact",
"value": "1947, 1954",
"tests": []
} | train |
algpy-c549ba104b13f2f5-check-assertions | code | ru | TheAlgorithms/Python | MIT | algpy-c549ba104b13f2f5 | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, greedy_methods/minimum_coin_change.py#find_minimum_change; adapted exercises | [
{
"role": "user",
"content": "Один из тестов противоречит фактическому поведению этой функции. Определи его и вычисли верный результат. В последней строке запиши букву и результат через двоеточие, например A: 42.\n```python\ndef compute(denominations, value):\n total_value = int(value)\n answer = []\n... | {
"type": "exact",
"value": "A: [2000, 2000, 2000, 2000, 2000, 2000, 2000, 2000, 2000, 500, 200, 20, 20, 5]",
"tests": []
} | train |
wiki-read-ru-26a37069be147b4fa139 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-000bed20f3260ca0114df0 | measurement | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-5310825426411272318-1 (Apache-2.0). Wikipedia contributors, “Чебоксарская ГЭС” (https://ru.wikipedia.org/wiki/%D0%A7%D0%B5%D0%B1%D0%BE%D0%BA%D1%81%D0%B0%D1%80%D1%81%D0%BA%D0%B0%D1%8F_%D0%93%D0%AD%D0%A1), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and re... | [
{
"role": "user",
"content": "Чебоксарская ГЭС\n\nСтроительство Чебоксарского гидроузла, начатое в 1968 году, не завершено до настоящего времени в связи с противоречиями между регионами по поводу оптимальной отметки уровня воды водохранилища. С 1981 года Чебоксарская ГЭС функционирует на пониженной отметке ... | {
"type": "exact",
"value": "63 метра",
"tests": []
} | train |
wiki-read-ru-5ed3f0b2dc0e5a786b19 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-d3f0782d2e3836440f795b | definition | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-7388386774116601465-0 (Apache-2.0). Wikipedia contributors, “Вифлеемская звезда” (https://ru.wikipedia.org/wiki/%D0%92%D0%B8%D1%84%D0%BB%D0%B5%D0%B5%D0%BC%D1%81%D0%BA%D0%B0%D1%8F_%D0%B7%D0%B2%D0%B5%D0%B7%D0%B4%D0%B0), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whi... | [
{
"role": "user",
"content": "Вифлеемская звезда\n\nВифлее́мская звезда́ — загадочное небесное явление, которое, согласно Евангелию от Матфея, волхвы назвали «звездой». Увидев эту «звезду» на востоке (более точный перевод: на восходе) и решив, что родился «царь Иудейский», они пришли в Иерусалим, чтобы покл... | {
"type": "exact",
"value": "загадочное небесное явление, которое, согласно Евангелию от Матфея, волхвы назвали «звездой»",
"tests": []
} | train |
reason2-room_peak-066 | reasoning | ru | Original | CC0-1.0 | reason2-room_peak | workshop_room_peak | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Репетиции занимают отдельные комнаты в такие минуты: M [9,17); C [14,16); J [12,20); G [10,15); X [18,26); L [18,22); E [16,19); T [19,25). Конец интервала уже свободен; одна комната подходит любой группе. Сколько комнат как минимум требуется одновременно?\nПокажи короткую пров... | {
"type": "number",
"value": "4",
"tests": []
} | train |
reason2-line_breaks-021 | reasoning | ru | Original | CC0-1.0 | reason2-line_breaks | workshop_line_breaks | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Длины слов заголовка в символах, от первого слова к последнему: 8, 3, 8, 7, 7, 5, 2. Предельная длина строки — 14. Между соседними словами ровно один пробел. Менять порядок и переносить часть слова нельзя. Каково наименьшее число строк?\nПокажи короткую проверку, а в конце на о... | {
"type": "number",
"value": "5",
"tests": []
} | train |
wiki-read-en-243de3a3c1f346227226 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-3df9c2b224ea7db36825f9 | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--4258341610710891729-0 (Apache-2.0). Wikipedia contributors, “WrestleMania XXVI” (https://en.wikipedia.org/wiki/WrestleMania_XXVI), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "WrestleMania XXVI\n\nWrestleMania XXVI was the twenty-sixth annual WrestleMania professional wrestling pay-per-view (PPV) event produced by World Wrestling Entertainment (WWE), which took place on March 28, 2010, at the University of Phoenix Stadium in the Phoenix suburb of Gle... | {
"type": "exact",
"value": "2010-03-28",
"tests": []
} | train |
reason2-join_catalogs-047 | reasoning | ru | Original | CC0-1.0 | reason2-join_catalogs | workshop_join_catalogs | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Каталог связывает код книги с полкой: B90=S7, B94=S8, B35=S7, B29=S2, B64=S7, B19=S7, B21=S8. Соответствие полок и залов: S8=M, S2=A, S7=V. Число выданных экземпляров по коду книги: B64=9, B35=15, B21=2, B90=3, B29=16, B19=6, B94=3. В каком зале больше всего выдач?\nКратко обос... | {
"type": "exact",
"value": "V",
"tests": []
} | train |
wiki-read-ru-86dd43b0f65b9779e63f | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-828bf2dcafb02580b4593c | colon_explanation | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-6380925819692555999-3 (Apache-2.0). Wikipedia contributors, “The Clash” (https://ru.wikipedia.org/wiki/The_Clash), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "The Clash\n\nThe Clash образовались в начале июня 1976 года в Лондоне в результате объединения участников двух групп, The 101ers и London SS: из первой пришёл вокалист и гитарист Джо Страммер, из второй — барабанщик Кит Левен, бас-гитарист Пол Симонон и гитарист Мик Джонс.\n\nК... | {
"type": "exact",
"value": "из первой пришёл вокалист и гитарист Джо Страммер, из второй — барабанщик Кит Левен, бас-гитарист Пол Симонон и гитарист Мик Джонс",
"tests": []
} | train |
wiki-read-ru-56c99dbbbbd140816d76 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-1660262ed81b9aa049ba24 | measurement | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-3352864083134169846-0 (Apache-2.0). Wikipedia contributors, “Холатчахль” (https://ru.wikipedia.org/wiki/%D0%A5%D0%BE%D0%BB%D0%B0%D1%82%D1%87%D0%B0%D1%85%D0%BB%D1%8C), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New readi... | [
{
"role": "user",
"content": "Холатчахль\n\nХолатча́хль, также Хо́лат-Сяхль, Хо́лат-Сяхл, Хо́лат-Ся́хыл, Солатчахл и высота 1079, — гора на Северном Урале, на границе Республики Коми и Свердловской области, высотой 1096,7 метров над уровнем моря.\n\nКакое значение записано цифрами в метрах? Выпиши только чи... | {
"type": "exact",
"value": "1096,7 метров",
"tests": []
} | train |
reason2-assembly_units-012 | reasoning | ru | Original | CC0-1.0 | reason2-assembly_units | workshop_assembly_units | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Для сборки используются спецификации (правая часть — состав одной единицы): W = 6×T + 1×J; T = 5×A + 1×K; J = 2×A + 2×K. Заказ включает изделия W в количестве 6 и отдельно узлы T в количестве 5. Сколько отдельных деталей A потребуется?\nПриведи ход решения в нескольких фразах. ... | {
"type": "number",
"value": "217",
"tests": []
} | train |
verified-code-coin_minimum-trace | code | en | Original | CC0-1.0 | verified-code-coin_tables | verified_trace | Original algorithm and independent oracle, release 2; CC0-1.0. | [
{
"role": "user",
"content": "```python\ndef coin_minimum(coins, target):\n huge = target + 1\n dp = [0] + [huge] * target\n for c in coins:\n for s in range(c, target + 1):\n dp[s] = min(dp[s], dp[s-c] + 1)\n return dp[-1] if dp[-1] < huge else -1\n```\nWhat does coin_minimum(... | {
"type": "exact",
"value": "3",
"tests": []
} | train |
wiki-read-en-5aa6342838c5e66d2a84 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-3c4f9d8b068ad746f51399 | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--2185356568495821389-11 (Apache-2.0). Wikipedia contributors, “Silicon Knights” (https://en.wikipedia.org/wiki/Silicon_Knights), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Silicon Knights\n\nOn May 16, 2014, following the loss of the court case, Silicon Knights filed for bankruptcy and a Certificate of Appointment was issued by the Office of the Superintendent of Bankruptcy, with Collins Barrow Toronto Limited being appointed as Trustee in Bankru... | {
"type": "exact",
"value": "2014-05-16",
"tests": []
} | train |
wiki-read-ru-4a0035e7531f8f70d01e | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-ebd5a512b1677cd5f80e1d | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--8668513091475767859-1 (Apache-2.0). Wikipedia contributors, “Докучаев, Василий Васильевич” (https://ru.wikipedia.org/wiki/%D0%94%D0%BE%D0%BA%D1%83%D1%87%D0%B0%D0%B5%D0%B2%2C_%D0%92%D0%B0%D1%81%D0%B8%D0%BB%D0%B8%D0%B9_%D0%92%D0%B0%D1%81%D0%B8%D0%BB%D1%8C%D0%B5%D0%B2... | [
{
"role": "user",
"content": "Докучаев, Василий Васильевич\n\nИзвестен как основоположник школы научного почвоведения и географии почв. Создал учение о почве как о самостоятельном природном теле, открыл основные закономерности генезиса и распространения почв (природная зональность).\n\nКакое пояснение в ско... | {
"type": "exact",
"value": "природная зональность",
"tests": []
} | train |
wiki-read-ru-6e64909f12922d8b0c1a | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-c8000fb030a0e326a7ec4f | definition | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--6600604117471240509-6 (Apache-2.0). Wikipedia contributors, “Байкал” (https://ru.wikipedia.org/wiki/%D0%91%D0%B0%D0%B9%D0%BA%D0%B0%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Байкал — самое глубокое озеро на Земле. Современное значение максимальной глубины озера — 1642 м — было установлено в 1983 году Л. Г. Колотило и А. И. Сулимовым во время выполнения гидрографических работ ГУНиО МО СССР в точке с координатами .\n\nКак в начале отрывка о... | {
"type": "exact",
"value": "самое глубокое озеро на Земле",
"tests": []
} | train |
wiki-read-ru-00045e2b2eced055ad20 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-c026792f49d6afa153fdcb | chronology | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-6476981918177662327-6 (Apache-2.0). Wikipedia contributors, “Малый ключ Соломона” (https://ru.wikipedia.org/wiki/%D0%9C%D0%B0%D0%BB%D1%8B%D0%B9_%D0%BA%D0%BB%D1%8E%D1%87_%D0%A1%D0%BE%D0%BB%D0%BE%D0%BC%D0%BE%D0%BD%D0%B0), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; w... | [
{
"role": "user",
"content": "Малый ключ Соломона\n\nПо своему содержанию «Гоетия» очень похожа на каталог демонов из приложения к книге «Об обманах демонов» Вейера — «Pseudomonarchia Daemonum». Сам автор в качестве источника называет некую рукопись, озаглавленную «Книгой о служебных обязанностях духов или ... | {
"type": "exact",
"value": "1563, 1904",
"tests": []
} | train |
wiki-read-en-f73f8781eea46ba4e836 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-e81b819ed521a0709cfbaa | clause | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--7409343364639642124-2 (Apache-2.0). Wikipedia contributors, “First Fleet” (https://en.wikipedia.org/wiki/First_Fleet), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "First Fleet\n\nThe First Fleet was commanded by Commodore Arthur Phillip, who was given instructions authorising him to make regulations and land grants in the colony. The ships arrived at Botany Bay between 18 and 20 January 1788; HMS Supply arrived on 18 January, Alexander, S... | {
"type": "exact",
"value": "who was given instructions authorising him to make regulations and land grants in the colony",
"tests": []
} | train |
reason2-editing_history-055 | reasoning | en | Original | CC0-1.0 | reason2-editing_history | workshop_editing_history | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "An editor field starts at Z. Writing replaces its value and discards any redo history. Undo moves to the previous value, redo restores an undone edit, and an unavailable action has no effect. Commands: write T; redo; redo; redo; write P; undo; redo; redo; undo; write C; write H... | {
"type": "exact",
"value": "X",
"tests": []
} | train |
gsm-train-921 | math | en | GSM8K | MIT | gsm8k-aa34e18a3a5d1d228112 | word_problem_4_steps | OpenAI (2021), GSM8K, original train row 921 | [
{
"role": "user",
"content": "Betty is planning to host her friends over for a party. She buys drinks, cakes, and ice creams at a unit cost of $2, $10, and $5 respectively. How much does she spend if she buys 10 drinks, 5 cakes, and 100 ice creams?\nShow a short calculation. Put the final number alone on th... | {
"type": "number",
"value": "570",
"tests": []
} | train |
wiki-read-en-8d4bb5f6fbc8239465b6 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-5fe1711b852f3bb7a0724c | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-1859986663753785104-0 (Apache-2.0). Wikipedia contributors, “WrestleMania 35” (https://en.wikipedia.org/wiki/WrestleMania_35), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "WrestleMania 35\n\nWrestleMania 35 will be the thirty-fifth annual WrestleMania professional wrestling pay-per-view (PPV) event and WWE Network event produced by WWE for their Raw, and SmackDown brands. It will take place on April 7, 2019 at MetLife Stadium in East Rutherford, ... | {
"type": "exact",
"value": "PPV",
"tests": []
} | train |
wiki-read-ru-e45e6652cb599e2ea984 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-c763c073e8ebee08fb2906 | measurement | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-4800978986062235093-0 (Apache-2.0). Wikipedia contributors, “Фауна Израиля” (https://ru.wikipedia.org/wiki/%D0%A4%D0%B0%D1%83%D0%BD%D0%B0_%D0%98%D0%B7%D1%80%D0%B0%D0%B8%D0%BB%D1%8F), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers norma... | [
{
"role": "user",
"content": "Фауна Израиля\n\nФа́уна Изра́иля — один из основных компонентов природы Израиля. В Израиле зафиксировано свыше ста видов млекопитающих, около ста видов рептилий, более 500 видов птиц (из которых более 200 видов выводят в Израиле птенцов) и около 30 тысяч видов беспозвоночных. П... | {
"type": "exact",
"value": "14 %",
"tests": []
} | train |
algpy-ae20088fa744790c-check-assertions | code | ru | TheAlgorithms/Python | MIT | algpy-ae20088fa744790c | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/perfect_cube.py#perfect_cube; adapted exercises | [
{
"role": "user",
"content": "Один из тестов противоречит фактическому поведению этой функции. Определи его и вычисли верный результат. В последней строке запиши букву и результат через двоеточие, например A: 42.\n```python\ndef compute(n):\n val = n ** (1 / 3)\n return val * val * val == n\n```\n```p... | {
"type": "exact",
"value": "B: True",
"tests": []
} | train |
reason2-join_catalogs-043 | reasoning | ru | Original | CC0-1.0 | reason2-join_catalogs | workshop_join_catalogs | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Каталог связывает код книги с полкой: B37=S5, B93=S2, B15=S1, B43=S3, B36=S2. Соответствие полок и залов: S2=P, S3=V, S1=S, S5=V. Число выданных экземпляров по коду книги: B36=17, B93=12, B15=9, B37=5, B43=17. В каком зале больше всего выдач?\nПокажи короткую проверку, а в конц... | {
"type": "exact",
"value": "P",
"tests": []
} | train |
algpy-81a503c85aa72795-check-assertions | code | ru | TheAlgorithms/Python | MIT | algpy-81a503c85aa72795 | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, conversions/temperature_conversions.py#reaumur_to_rankine; adapted exercises | [
{
"role": "user",
"content": "Один из тестов противоречит фактическому поведению этой функции. Определи его и вычисли верный результат. В последней строке запиши букву и результат через двоеточие, например A: 42.\n```python\ndef compute(reaumur, ndigits=2):\n return round(float(reaumur) * 2.25 + 32 + 459... | {
"type": "exact",
"value": "B: 491.67",
"tests": []
} | train |
wiki-read-en-762c0b2db8eefdacdb0f | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-448415ea4903cae8351239 | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--8030412658637045994-1 (Apache-2.0). Wikipedia contributors, “American Sign Language” (https://en.wikipedia.org/wiki/American_Sign_Language), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "American Sign Language\n\nASL originated in the early 19th century in the American School for the Deaf (ASD) in Hartford, Connecticut, from a situation of language contact. Since then, ASL use has propagated widely via schools for the deaf and Deaf community organizations. Desp... | {
"type": "exact",
"value": "ASD",
"tests": []
} | train |
algpy-4e9d1aa075d70242-trace | code | ru | TheAlgorithms/Python | MIT | algpy-4e9d1aa075d70242 | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/area.py#area_rectangle; adapted exercises | [
{
"role": "user",
"content": "```python\ndef compute(length, width):\n if length < 0 or width < 0:\n raise ValueError('compute() only accepts non-negative values')\n return length * width\n```\nЧто вернёт выражение compute(0, 0)? Запиши repr результата Python."
},
{
"role": "assistant",... | {
"type": "exact",
"value": "0",
"tests": []
} | train |
reason2-ballot_points-025 | reasoning | en | Original | CC0-1.0 | reason2-ballot_points | workshop_ballot_points | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Jurors rank designs G, A, T. Positions from best to worst earn 2, 1, 0 points. Ballot groups, written as count × ranking from best to worst: 4 × A>G>T; 6 × G>T>A; 3 × T>A>G. Which design earns the most points?\nBriefly justify your result, then put the answer alone on the last ... | {
"type": "exact",
"value": "G",
"tests": []
} | train |
wiki-read-en-b867cfd5ca45a59a5338 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-170c2b1ea952836fbc888a | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--998904934957193138-3 (Apache-2.0). Wikipedia contributors, “Septic tank” (https://en.wikipedia.org/wiki/Septic_tank), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Septic tank\n\nA septic tank consists of one or more concrete or plastic tanks of between 4000 and 7500 liters (1,000 and 2,000 gallons); one end is connected to an inlet wastewater pipe and the other to a septic drain field. Generally these pipe connections are made with a T p... | {
"type": "exact",
"value": "1,000 and 2,000 gallons",
"tests": []
} | train |
wiki-read-en-ac46ecb0970cfb116581 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-07cf8fb3a9c57b7aa357bc | definition | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-5709545749650497888-0 (Apache-2.0). Wikipedia contributors, “Chemical compound” (https://en.wikipedia.org/wiki/Chemical_compound), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Chemical compound\n\nA chemical compound is a chemical substance composed of many identical molecules (or molecular entities) composed of atoms from more than one element held together by chemical bonds. A chemical element bonded to an identical chemical element is not a chemic... | {
"type": "exact",
"value": "a chemical substance composed of many identical molecules (or molecular entities) composed of atoms from more than one element held together by chemical bonds",
"tests": []
} | train |
wiki-read-ru-e08b1392002189bb0952 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-59312120501feaea22062e | definition | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--4970008140025330880-0 (Apache-2.0). Wikipedia contributors, “Черепахи” (https://ru.wikipedia.org/wiki/%D0%A7%D0%B5%D1%80%D0%B5%D0%BF%D0%B0%D1%85%D0%B8), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Черепахи\n\nЧерепа́хи — один из четырёх современных отрядов пресмыкающихся, ископаемые останки которых прослеживаются на протяжении более 220 миллионов лет. Отряд содержит около 328 современных видов, группируемых в 14 семейств и два подотряда. Экологически черепах подразделяют... | {
"type": "exact",
"value": "один из четырёх современных отрядов пресмыкающихся, ископаемые останки которых прослеживаются на протяжении более 220 миллионов лет",
"tests": []
} | train |
reason2-line_breaks-043 | reasoning | ru | Original | CC0-1.0 | reason2-line_breaks | workshop_line_breaks | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Длины слов заголовка в символах, от первого слова к последнему: 2, 8, 2, 2, 7, 9, 5, 9, 8. Предельная длина строки — 19. Между соседними словами ровно один пробел. Менять порядок и переносить часть слова нельзя. Каково наименьшее число строк?\nПриведи ход решения в нескольких ф... | {
"type": "number",
"value": "4",
"tests": []
} | train |
reason2-pareto-002 | reasoning | ru | Original | CC0-1.0 | reason2-pareto | workshop_pareto | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Для печати плаката доступны заказы (дни, цена): N (5, 17); E (23, 36); V (28, 43); X (9, 54); D (26, 48); K (4, 56); J (7, 70); B (13, 69); Z (17, 27). Отбрось любой вариант, для которого другой вариант одновременно дешевле и быстрее. Запиши коды оставшихся в алфавитном порядке... | {
"type": "exact",
"value": "K N",
"tests": []
} | train |
reason2-minimum_cover-045 | reasoning | ru | Original | CC0-1.0 | reason2-minimum_cover | workshop_minimum_cover | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Для выставки нужны образцы всех типов 1, 2, 3, 5, 6, 7, 8, 9. Наборы перечислены с типами внутри: B=9; F=3/6/7/8; E=1/3/5/6; D=2/6/7/8; G=1/2/6/7; J=2/3/7/8; X=5/6. Дубли допустимы. Какое наименьшее число наборов покроет все типы?\nПокажи короткую проверку, а в конце на отдельн... | {
"type": "number",
"value": "3",
"tests": []
} | train |
algpy-d24633c3323815de-check-assertions | code | en | TheAlgorithms/Python | MIT | algpy-d24633c3323815de | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/numerical_analysis/bisection_2.py#equation; 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(x):\n return 10 - x * x\n```\n```python\n# A\nassert compute(5) == 10\n# B\n... | {
"type": "exact",
"value": "A: -15",
"tests": []
} | train |
wiki-read-en-5b8cf9fbe2fbe96fc678 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-45a9dfc00999fbbdfb3010 | chronology | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-5756592914071744710-24 (Apache-2.0). Wikipedia contributors, “Bleach (manga)” (https://en.wikipedia.org/wiki/Bleach_(manga)), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Bleach (manga)\n\nThere are four animated feature films based on the Bleach series, all of which are directed by Noriyuki Abe, director of the Bleach anime series. The films were released annually each December starting in 2006, though none were released in 2009. Each movie fea... | {
"type": "exact",
"value": "2006, 2009",
"tests": []
} | train |
gsm-train-1712 | math | en | GSM8K | MIT | gsm8k-bf599391eb57cfaf0eee | word_problem_8_steps | OpenAI (2021), GSM8K, original train row 1712 | [
{
"role": "user",
"content": "A waterpark opens up and charges $30 for admission. Kids' tickets are half price. If a group of people brings a soda, they can get 20% off the total price of admission. Janet gets tickets for 10 people and 4 of them are children. She buys a soda for $5 to take advantage of ... | {
"type": "number",
"value": "197",
"tests": []
} | train |
wiki-read-en-b9975fd9fb24efa91d9b | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-862d65006732aca3f3ba4c | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-3967861784111255454-80 (Apache-2.0). Wikipedia contributors, “Preterm birth” (https://en.wikipedia.org/wiki/Preterm_birth), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Preterm birth\n\nJames Elgin Gill (born on 20 May 1987 in Ottawa, Ontario, Canada) was the earliest premature baby in the world, until that record was broken in 2014. He was 128 days premature (21 weeks and 5 days' gestation) and weighed 1pound 6ounces (624g). He survived.\n\nF... | {
"type": "exact",
"value": "1987-05-20",
"tests": []
} | train |
reason2-event_selection-018 | reasoning | ru | Original | CC0-1.0 | reason2-event_selection | workshop_event_selection | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Один фотограф хочет целиком снять как можно больше коротких показов. Начала и окончания: J 11–16; X 7–10; F 17–22; U 11–15; P 9–11; V 2–5; N 6–14. В момент окончания одного показа можно сразу начать следующий. Каково максимальное число показов?\nПокажи короткую проверку, а в ко... | {
"type": "number",
"value": "4",
"tests": []
} | train |
wiki-read-ru-eac808dc5ff1eb7a0ce5 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-e4b2fcfc8df3e18f28121c | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-2627199020249284503-7 (Apache-2.0). Wikipedia contributors, “Моаи” (https://ru.wikipedia.org/wiki/%D0%9C%D0%BE%D0%B0%D0%B8), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Моаи\n\nА вообще крупнейшая статуя — El Gigante размером около 21 м (по разным сведениям — 20,9 м, 21,6 м, 21,8 м, 69 футов). Называют примерный вес — и 145—165 т, и 270 т. Она находится в каменоломне и не отделена от основания.\n\nКакое пояснение в скобках автор поместил сразу... | {
"type": "exact",
"value": "по разным сведениям — 20,9 м, 21,6 м, 21,8 м, 69 футов",
"tests": []
} | train |
wiki-read-ru-e39b68a5217cb2aed47a | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-946188215fc48732284ed1 | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-8641160465577069116-2 (Apache-2.0). Wikipedia contributors, “Птицы” (https://ru.wikipedia.org/wiki/%D0%9F%D1%82%D0%B8%D1%86%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Птицы населяют все экосистемы земного шара, включая внутренние части Антарктиды. Согласно данным Международного союза орнитологов, науке известно 10,711 видов ныне живущих птиц (20,055 подвидов), а также 158 видов, вымерших в современное историческое время. Это делает ... | {
"type": "exact",
"value": "20,055 подвидов",
"tests": []
} | train |
algpy-78c70b88bdb1fa41-change-impact | code | ru | TheAlgorithms/Python | MIT | algpy-78c70b88bdb1fa41 | change-impact | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/volume.py#vol_spheres_intersect; adapted exercises | [
{
"role": "user",
"content": "В показанном коде строку `return vol_spherical_cap(h1, radius_2) + vol_spherical_cap(h2, radius_1)` заменяют на `return vol_spherical_cap(h1, radius_2) - vol_spherical_cap(h2, radius_1)`. Для какого из двух выражений изменится возвращаемое значение? Дай короткое объяснение и за... | {
"type": "exact",
"value": "A",
"tests": []
} | train |
wiki-read-ru-7cba1a9772f1afcdbc01 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-100070fcb2065e14e7def1 | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--924681364220741608-3 (Apache-2.0). Wikipedia contributors, “Право на забвение” (https://ru.wikipedia.org/wiki/%D0%9F%D1%80%D0%B0%D0%B2%D0%BE_%D0%BD%D0%B0_%D0%B7%D0%B0%D0%B1%D0%B2%D0%B5%D0%BD%D0%B8%D0%B5), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and ... | [
{
"role": "user",
"content": "Право на забвение\n\nОднако стремительное развитие Веб 2.0 стало причиной значительных изменений в сфере распространения информации, которая благодаря социальным сетям, блогам и поисковым системам стала не только доступной любому пользователю в любой точке мира, но также и прак... | {
"type": "exact",
"value": "прежде всего в Европе",
"tests": []
} | train |
reason2-rotate_grid-031 | reasoning | ru | Original | CC0-1.0 | reason2-rotate_grid | workshop_rotate_grid | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Исходные строки табло сверху вниз: K Y W / S J N / L G A / V Q U. Выполни циклические сдвиги по порядку: строка 2 на 1 вправо; столбец 1 на 3 вниз; строка 3 на 1 вправо; столбец 2 на 2 вниз; строка 3 на 1 вправо. Какой символ теперь в строке 3, столбце 1? Нумерация с единицы.\n... | {
"type": "exact",
"value": "G",
"tests": []
} | train |
wiki-read-en-785a7bd82eccd9aa8bb4 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-1f65896b357bf188f17eb9 | definition | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-2137952393138476599-1 (Apache-2.0). Wikipedia contributors, “Tariff” (https://en.wikipedia.org/wiki/Tariff), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Tariff\n\nA tariff is a tax on imports or exports between sovereign states. It is a form of regulation of foreign trade. It is a policy that taxes foreign products to encourage or protect domestic industry. It helps limit trade deficits. The tariff is historically used to prote... | {
"type": "exact",
"value": "a tax on imports or exports between sovereign states",
"tests": []
} | train |
wiki-read-ru-6627ffabcb09f5b76aab | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-15cd19cd6bdc25793839ee | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-1254306199180415067-3 (Apache-2.0). Wikipedia contributors, “Пётр Великий (броненосец)” (https://ru.wikipedia.org/wiki/%D0%9F%D1%91%D1%82%D1%80_%D0%92%D0%B5%D0%BB%D0%B8%D0%BA%D0%B8%D0%B9_(%D0%B1%D1%80%D0%BE%D0%BD%D0%B5%D0%BD%D0%BE%D1%81%D0%B5%D1%86)), snapshot 2019-... | [
{
"role": "user",
"content": "Пётр Великий (броненосец)\n\nВ августе 1872 года корабль был спущен на воду и переведен в Кронштадт для достройки. Первым командиром корабля был назначен капитан 2 ранга В. И. Попов. Достройка окончена в 1877 году. Первоначально квалифицирован как монитор, с 1 февраля 1892 года... | {
"type": "exact",
"value": "1892-02-01",
"tests": []
} | train |
wiki-read-ru-6bdfa615d6b78ec54bbe | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-a164233eeb5d106aad2eb1 | measurement | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--7445119549393459513-22 (Apache-2.0). Wikipedia contributors, “Ртищево” (https://ru.wikipedia.org/wiki/%D0%A0%D1%82%D0%B8%D1%89%D0%B5%D0%B2%D0%BE), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Ртищево\n\nГеографическое положение города можно увидеть на со спутника. Город Ртищево расположен на западной окраине Приволжской возвышенности в 214 км к северо-западу от Саратова. Занимает площадь 32 км². Протяженность города — 5,25 км в длину и 4,5 км в ширину, высота над ур... | {
"type": "exact",
"value": "210 метров",
"tests": []
} | train |
reason2-room_peak-010 | reasoning | ru | Original | CC0-1.0 | reason2-room_peak | workshop_room_peak | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Репетиции занимают отдельные комнаты в такие минуты: C [3,10); R [5,8); H [3,6); S [13,20); K [14,17); N [4,10). Конец интервала уже свободен; одна комната подходит любой группе. Сколько комнат как минимум требуется одновременно?\nКратко обоснуй ответ и запиши сам ответ на посл... | {
"type": "number",
"value": "4",
"tests": []
} | train |
algpy-8f8f86249b7382b8-repair | code | en | TheAlgorithms/Python | MIT | algpy-8f8f86249b7382b8 | repair | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, strings/is_pangram.py#is_pangram_faster; adapted exercises | [
{
"role": "user",
"content": "Repair this Python function. Return True if the text contains every ASCII letter a through z at least once, ignoring case.\nFor is_pangram_faster('a') it should return False, but returns True. Keep the signature.\n```python\ndef is_pangram_faster(input_str='The quick brown fox ... | {
"type": "code",
"value": "",
"tests": [
"assert is_pangram_faster('') == False",
"assert is_pangram_faster('a') == False",
"assert is_pangram_faster('A') == False",
"assert is_pangram_faster('hello') == False",
"assert is_pangram_faster('AaB') == False",
"assert is_pangram_faster('a! b')... | train |
reason2-balanced_load-022 | reasoning | ru | Original | CC0-1.0 | reason2-balanced_load | workshop_balanced_load | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Две тележки должны увезти все ящики без деления содержимого. Масса каждого ящика: H=9, R=4, B=16, X=14, C=19, U=25, T=6. Какой наименьшей разницы масс между тележками можно добиться?\nКратко обоснуй ответ и запиши сам ответ на последней строке."
},
{
"role": "assistant"... | {
"type": "number",
"value": "1",
"tests": []
} | train |
algpy-69c2fcfd42546626-trace | code | ru | TheAlgorithms/Python | MIT | algpy-69c2fcfd42546626 | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/special_numbers/hexagonal_number.py#hexagonal; adapted exercises | [
{
"role": "user",
"content": "```python\ndef hexagonal(number):\n if not isinstance(number, int):\n msg = f'Input value of [number={number}] must be an integer'\n raise TypeError(msg)\n if number < 1:\n raise ValueError('Input must be a positive integer')\n return number * (2 *... | {
"type": "exact",
"value": "946",
"tests": []
} | train |
wiki-read-ru-90eef6e346e1ef8fb748 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-5e33c1b955b423b0266c4d | clause | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--1021979160452171241-6 (Apache-2.0). Wikipedia contributors, “Уивер, Сигурни” (https://ru.wikipedia.org/wiki/%D0%A3%D0%B8%D0%B2%D0%B5%D1%80%2C_%D0%A1%D0%B8%D0%B3%D1%83%D1%80%D0%BD%D0%B8), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers ... | [
{
"role": "user",
"content": "Уивер, Сигурни\n\nДебютом на большом экране для Сигурни Уивер стал крохотный эпизод у Вуди Аллена в фильме «Энни Холл» 1977 года. Однако уже через два года, благодаря роли лейтенанта Эллен Рипли в фантастическом боевике Ридли Скотта «Чужой», вышедшем на экраны в 1979 году, актр... | {
"type": "exact",
"value": "но и у поклонников кино вообще",
"tests": []
} | train |
reason2-critical_path-039 | reasoning | en | Original | CC0-1.0 | reason2-critical_path | workshop_critical_path | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "A workshop has unlimited workstations. Step durations in minutes: F=4, A=9, N=7, G=3, J=5, S=3, U=3. X→Y means Y may start only after X finishes. The full list of dependencies is A→J, G→J, U→N, N→G, S→G, U→F. Starting at minute zero, when can the whole job first be finished?\nS... | {
"type": "number",
"value": "18",
"tests": []
} | train |
math-verified-spaced_seats-004 | math | ru | Original | CC0-1.0 | math-verified-spaced_seats | verified_math_spaced_seats | Original bilingual mathematics exercises, CC0-1.0 | [
{
"role": "user",
"content": "В ряду места пронумерованы от 1 до 11. Место 10 закрыто. Сколькими способами можно выбрать набор из 3 свободных мест так, чтобы никакие два выбранных номера не были соседними? Учитывается только набор номеров.\nЗапиши точное число в последней строке; нецелый ответ дай несократи... | {
"type": "number",
"value": "63",
"tests": []
} | train |
verified-code-cache_hits-repair | code | en | Original | CC0-1.0 | verified-code-cache_order | verified_repair | Original algorithm and independent oracle, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Correct one line. cache_hits([1, 2, 1, 3, 2], 2) returns []; expected [1]. An initially empty cache holds capacity ≥ 1 distinct keys. Each integer request makes its key most recent. Adding a missing key to a full cache evicts the least recently requested key. Return keys for ca... | {
"type": "code",
"value": "",
"tests": [
"assert cache_hits([], 2) == []",
"assert cache_hits([1], 1) == []",
"assert cache_hits([2, 2, 1], 1) == [2]",
"assert cache_hits([9, 8, 7, 6], 2) == []",
"assert cache_hits([3, 5, 3, 6, 5, 2], 2) == [3]",
"assert cache_hits([4, 4, 4], 3) == [4, 4]... | train |
reason2-bottleneck-059 | reasoning | ru | Original | CC0-1.0 | reason2-bottleneck | workshop_bottleneck | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Двусторонние конвейеры допускают коробки шириной не более указанной (см): R–T=13; P–M=3; T–P=9; T–H=18; H–V=5; H–P=17; P–V=4; M–V=10; R–P=5. Нужно перевезти коробку из R в V, не поворачивая её. Какова наибольшая допустимая ширина?\nПокажи короткую проверку, а в конце на отдельн... | {
"type": "number",
"value": "5",
"tests": []
} | train |
wiki-read-ru-b8e2d7437c9e56ed32ec | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-5772bf18096a15e11f85ff | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-2107646377662422807-0 (Apache-2.0). Wikipedia contributors, “Моррисси, Дэвид” (https://ru.wikipedia.org/wiki/%D0%9C%D0%BE%D1%80%D1%80%D0%B8%D1%81%D1%81%D0%B8%2C_%D0%94%D1%8D%D0%B2%D0%B8%D0%B4), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference ma... | [
{
"role": "user",
"content": "Моррисси, Дэвид\n\nДэвид Марк Моррисси (English: David Mark Morrissey; род. 21 июня 1964 года, Кенсингтон, Ливерпуль, Англия) — английский актёр и режиссёр. Моррисси дебютировал на телевидении в возрасте восемнадцати лет, в 1983 году получив роль в телесериале , которая принесл... | {
"type": "exact",
"value": "1964-06-21",
"tests": []
} | train |
algpy-8d1a86f7d861c56c-check-assertions | code | ru | TheAlgorithms/Python | MIT | algpy-8d1a86f7d861c56c | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/solovay_strassen_primality_test.py#jacobi_symbol; adapted exercises | [
{
"role": "user",
"content": "Один из тестов противоречит фактическому поведению этой функции. Определи его и вычисли верный результат. В последней строке запиши букву и результат через двоеточие, например A: 42.\n```python\ndef compute(random_a, number):\n if random_a in (0, 1):\n return random_a... | {
"type": "exact",
"value": "A: -1",
"tests": []
} | train |
wiki-read-en-f7ee33a4e2ad749bf642 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-785fda1a603ed310abeb27 | definition | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--8933500269110693527-0 (Apache-2.0). Wikipedia contributors, “High-speed rail” (https://en.wikipedia.org/wiki/High-speed_rail), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "High-speed rail\n\nHigh-speed rail is a type of rail transport that operates significantly faster than traditional rail traffic, using an integrated system of specialized rolling stock and dedicated tracks. While there is no single standard that applies worldwide, new lines in ... | {
"type": "exact",
"value": "a type of rail transport that operates significantly faster than traditional rail traffic, using an integrated system of specialized rolling stock and dedicated tracks",
"tests": []
} | train |
reason2-assembly_units-019 | reasoning | ru | Original | CC0-1.0 | reason2-assembly_units | workshop_assembly_units | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Для сборки используются спецификации (правая часть — состав одной единицы): G = 1×H + 3×Y; H = 4×U + 5×E; Y = 4×U + 6×E. Заказ включает изделия G в количестве 4 и отдельно узлы H в количестве 4. Сколько отдельных деталей E потребуется?\nКратко обоснуй ответ и запиши сам ответ н... | {
"type": "number",
"value": "112",
"tests": []
} | train |
reason2-editing_history-042 | reasoning | ru | Original | CC0-1.0 | reason2-editing_history | workshop_editing_history | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "В редакторе поле сначала содержит Z. Запись заменяет значение и стирает возможность повтора отменённых записей. «Отмена» возвращает предыдущее значение, «повтор» восстанавливает отменённую запись. Если действие недоступно, поле не меняется. Команды: записать E; записать V; отме... | {
"type": "exact",
"value": "W",
"tests": []
} | train |
algpy-dde77e2028b14d23-check-assertions | code | ru | TheAlgorithms/Python | MIT | algpy-dde77e2028b14d23 | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/primelib.py#prime_factorization; adapted exercises | [
{
"role": "user",
"content": "Один из тестов противоречит фактическому поведению этой функции. Определи его и вычисли верный результат. В последней строке запиши букву и результат через двоеточие, например A: 42.\n```python\nfrom math import sqrt\n\ndef is_prime(number):\n assert isinstance(number, int) ... | {
"type": "exact",
"value": "B: [0]",
"tests": []
} | train |
algpy-492573d68a92f97c-check-assertions | code | ru | TheAlgorithms/Python | MIT | algpy-492573d68a92f97c | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, boolean_algebra/quine_mc_cluskey.py#is_for_table; adapted exercises | [
{
"role": "user",
"content": "Один из тестов противоречит фактическому поведению этой функции. Определи его и вычисли верный результат. В последней строке запиши букву и результат через двоеточие, например A: 42.\n```python\ndef compute(string1, string2, count):\n list1 = list(string1)\n list2 = list(... | {
"type": "exact",
"value": "B: True",
"tests": []
} | train |
algpy-5891c3f4ec7bc326-check-assertions | code | ru | TheAlgorithms/Python | MIT | algpy-5891c3f4ec7bc326 | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, data_structures/stacks/postfix_to_infix_conversion.py#postfix_to_infix; adapted exercises | [
{
"role": "user",
"content": "Один из тестов противоречит фактическому поведению этой функции. Определи его и вычисли верный результат. В последней строке запиши букву и результат через двоеточие, например A: 42.\n```python\ndef compute(postfix_expression):\n if postfix_expression is None or postfix_expr... | {
"type": "exact",
"value": "A: '((1*(2+3))+4)'",
"tests": []
} | train |
verified-code-sum_segment_longest-repair | code | en | Original | CC0-1.0 | verified-code-target_subarrays | verified_repair | Original algorithm and independent oracle, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Correct one line. sum_segment_longest([2, -1, 2, 1, -2], 2) returns 1; expected 5. Consider every nonempty contiguous segment of integer list xs whose sum is target. Return the longest such length, or 0 if none. Values may be negative or zero.\n```python\ndef sum_segment_longes... | {
"type": "code",
"value": "",
"tests": [
"assert sum_segment_longest([], 0) == 0",
"assert sum_segment_longest([2], 2) == 1",
"assert sum_segment_longest([1, 1, 1], 2) == 2",
"assert sum_segment_longest([3, -2, 2, 0], 3) == 4",
"assert sum_segment_longest([0, 0, 1, -1], 0) == 4",
"assert ... | train |
verified-code-edit_unit_cost-implement | code | ru | Original | CC0-1.0 | verified-code-edit_cost | verified_implement | Original algorithm and independent oracle, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Реализуй на Python edit_unit_cost(a, b). Найди минимальную стоимость превращения строки a в b. Вставка символа стоит 1, удаление 1, замена одного символа другим 1. Совпадающие символы сохраняются бесплатно. Строки могут быть пустыми.\nassert edit_unit_cost('zo', '') == 2"
},
... | {
"type": "code",
"value": "",
"tests": [
"assert edit_unit_cost('', '') == 0",
"assert edit_unit_cost('', 'ab') == 2",
"assert edit_unit_cost('ab', 'ab') == 0",
"assert edit_unit_cost('cab', 'a') == 2",
"assert edit_unit_cost('ab', 'ba') == 2",
"assert edit_unit_cost('aab', 'aba') == 2",
... | train |
reason2-order_count-013 | reasoning | ru | Original | CC0-1.0 | reason2-order_count | workshop_order_count | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Экспонаты L, U, A, M, T выносят по одному, каждый ровно раз. Правило X→Y требует вынести X раньше Y. Правила: M→T, A→M, L→M, L→A. Сколько полных порядков допускают эти условия?\nКратко обоснуй ответ и запиши сам ответ на последней строке."
},
{
"role": "assistant",
... | {
"type": "number",
"value": "5",
"tests": []
} | train |
reason2-pareto-053 | reasoning | ru | Original | CC0-1.0 | reason2-pareto | workshop_pareto | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Для печати плаката доступны заказы (дни, цена): Z (29, 61); P (3, 66); R (17, 20); M (15, 46); K (27, 36); S (24, 38); D (12, 14); G (22, 15); E (5, 44). Отбрось любой вариант, для которого другой вариант одновременно дешевле и быстрее. Запиши коды оставшихся в алфавитном поряд... | {
"type": "exact",
"value": "D E P",
"tests": []
} | train |
wiki-read-en-c63b105b47b8f9cfa17c | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-a6c683cd3de7601c43aa14 | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-7693902344269415205-1 (Apache-2.0). Wikipedia contributors, “List of Black Cat episodes” (https://en.wikipedia.org/wiki/List_of_Black_Cat_episodes), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "List of Black Cat episodes\n\nBlack Cat premiered in Japan on October 6, 2005, on Animax and Tokyo Broadcasting System (TBS), and aired for 24 episodes, ending on March 30, 2006. The first 20 episodes adapt the entirety of Yabuki's manga, while the last four episodes feature a ... | {
"type": "exact",
"value": "TBS",
"tests": []
} | train |
algpy-0a1c995ec36da7aa-trace | code | ru | TheAlgorithms/Python | MIT | algpy-0a1c995ec36da7aa | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/tonelli_shanks.py#legendre_symbol; adapted exercises | [
{
"role": "user",
"content": "```python\ndef compute(residue, prime):\n if prime <= 2 or prime % 2 == 0:\n raise ValueError('prime must be an odd prime')\n symbol = pow(residue % prime, (prime - 1) // 2, prime)\n return -1 if symbol == prime - 1 else symbol\n```\nЧто вернёт выражение compute... | {
"type": "exact",
"value": "0",
"tests": []
} | train |
reason2-light_piece-033 | reasoning | ru | Original | CC0-1.0 | reason2-light_piece | workshop_light_piece | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Детали K, Z, F, J, R, T, D, P должны весить одинаково, но ровно одна легче. На чаши каждый раз кладут поровну деталей. Результаты (знаки сравнивают массу левой и правой чаш): R+P+J > F+Z+T; T+K+F < P+Z+D; Z+K+J+F > T+P+R+D. Какая деталь легче?\nПокажи короткую проверку, а в кон... | {
"type": "exact",
"value": "T",
"tests": []
} | train |
reason2-critical_path-065 | reasoning | ru | Original | CC0-1.0 | reason2-critical_path | workshop_critical_path | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Число рабочих мест в мастерской не ограничено. Время выполнения каждого этапа в минутах: D=3, V=9, M=8, B=5, P=4, X=7. Стрелка X→Y означает, что Y начинает работу после завершения X. Все зависимости: B→M, B→X, M→X, B→P, D→P, M→P, B→V. Время отсчитывают с нуля. Когда раньше всег... | {
"type": "number",
"value": "20",
"tests": []
} | train |
algpy-02bb5961cc81f838-implement | code | en | TheAlgorithms/Python | MIT | algpy-02bb5961cc81f838 | implement | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/special_numbers/perfect_number.py#perfect; adapted exercises | [
{
"role": "user",
"content": "Implement this Python function. For positive n, return True when the sum of its proper positive divisors equals n.\nSignature: def perfect(number):\nExamples:\n```python\nassert perfect(1) == False\nassert perfect(6) == True\n```"
},
{
"role": "assistant",
"content"... | {
"type": "code",
"value": "",
"tests": [
"assert perfect(2) == False",
"assert perfect(3) == False",
"assert perfect(4) == False",
"assert perfect(8) == False",
"assert perfect(12) == False",
"assert perfect(16) == False",
"assert perfect(18) == False",
"assert perfect(20) == Fals... | train |
reason2-balanced_load-034 | reasoning | ru | Original | CC0-1.0 | reason2-balanced_load | workshop_balanced_load | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Две тележки должны увезти все ящики без деления содержимого. Масса каждого ящика: S=80, J=36, L=12, H=44, M=64, U=28. Какой наименьшей разницы масс между тележками можно добиться?\nПриведи ход решения в нескольких фразах. На последней строке оставь только ответ."
},
{
"... | {
"type": "number",
"value": "8",
"tests": []
} | train |
verified-code-edit_delete_cost_two-implement | code | ru | Original | CC0-1.0 | verified-code-edit_cost | verified_implement | Original algorithm and independent oracle, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Реализуй на Python edit_delete_cost_two(a, b). Найди минимальную стоимость превращения строки a в b. Вставка символа стоит 1, удаление 2, замена одного символа другим 1. Совпадающие символы сохраняются бесплатно. Строки могут быть пустыми.\nassert edit_delete_cost_two('zo', '')... | {
"type": "code",
"value": "",
"tests": [
"assert edit_delete_cost_two('', '') == 0",
"assert edit_delete_cost_two('', 'ab') == 2",
"assert edit_delete_cost_two('ab', 'ab') == 0",
"assert edit_delete_cost_two('cab', 'a') == 4",
"assert edit_delete_cost_two('ab', 'ba') == 2",
"assert edit_d... | train |
algpy-8c51fdd0aad55e3c-trace | code | ru | TheAlgorithms/Python | MIT | algpy-8c51fdd0aad55e3c | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, bit_manipulation/binary_count_trailing_zeros.py#binary_count_trailing_zeros; adapted exercises | [
{
"role": "user",
"content": "```python\nfrom math import log2\n\ndef binary_count_trailing_zeros(a):\n if not isinstance(a, int):\n raise TypeError('Input value must be an integer')\n if a == 0:\n raise ValueError('Trailing zeros for 0 are undefined')\n if a < 0:\n raise Value... | {
"type": "exact",
"value": "32",
"tests": []
} | train |
math-verified-spaced_seats-027 | 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 11. Seat 5 is closed. How many sets of exactly 2 available seats can be chosen so that no two chosen numbers are consecutive? The order of selection does not matter.\nGive the exact number on the last line; use a reduced fraction for a noninteger ans... | {
"type": "number",
"value": "37",
"tests": []
} | train |
reason2-ballot_points-013 | reasoning | en | Original | CC0-1.0 | reason2-ballot_points | workshop_ballot_points | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Jurors rank designs K, H, N, T. Positions from best to worst earn 3, 2, 1, 0 points. Ballot groups, written as count × ranking from best to worst: 4 × T>K>H>N; 5 × T>K>N>H; 4 × N>T>K>H; 5 × K>T>H>N; 9 × T>N>H>K. Which design earns the most points?\nExplain in a few sentences an... | {
"type": "exact",
"value": "T",
"tests": []
} | train |
reason2-critical_path-027 | reasoning | en | Original | CC0-1.0 | reason2-critical_path | workshop_critical_path | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "A workshop has unlimited workstations. Step durations in minutes: F=2, T=9, J=8, K=9, G=5, Y=4. X→Y means Y may start only after X finishes. The full list of dependencies is K→Y, T→Y, Y→G, K→J, T→J, F→T. Starting at minute zero, when can the whole job first be finished?\nExplai... | {
"type": "number",
"value": "20",
"tests": []
} | train |
wiki-read-ru-f829f28fe5396a028d46 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-eed35fcd5150379ccecc82 | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-8002622499624063869-28 (Apache-2.0). Wikipedia contributors, “Психиатрическая больница” (https://ru.wikipedia.org/wiki/%D0%9F%D1%81%D0%B8%D1%85%D0%B8%D0%B0%D1%82%D1%80%D0%B8%D1%87%D0%B5%D1%81%D0%BA%D0%B0%D1%8F_%D0%B1%D0%BE%D0%BB%D1%8C%D0%BD%D0%B8%D1%86%D0%B0), snaps... | [
{
"role": "user",
"content": "Психиатрическая больница\n\nДо 1917 года общее число психиатрических коек в России было сравнительно невелико: в 1905 году — 128 психиатрических больниц с 33 607 койками (на 10 000 населения при этом приходилось 2,1 койки), в 1914 году — 96 психиатрических стационаров с 27 146 ... | {
"type": "exact",
"value": "на 10 000 населения при этом приходилось 2,1 койки",
"tests": []
} | train |
algpy-1527064db8dc86de-implement | code | en | TheAlgorithms/Python | MIT | algpy-1527064db8dc86de | implement | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, bit_manipulation/single_bit_manipulation_operations.py#clear_least_significant_set_bit; adapted exercises | [
{
"role": "user",
"content": "Implement this Python function. Clear the lowest set bit of a nonnegative integer and return the resulting integer. For zero return zero.\nSignature: def clear_least_significant_set_bit(number):\nExamples:\n```python\nassert clear_least_significant_set_bit(0) == 0\nassert clear... | {
"type": "code",
"value": "",
"tests": [
"assert clear_least_significant_set_bit(1) == 0",
"assert clear_least_significant_set_bit(2) == 0",
"assert clear_least_significant_set_bit(4) == 0",
"assert clear_least_significant_set_bit(7) == 6",
"assert clear_least_significant_set_bit(8) == 0",
... | train |
wiki-read-ru-5ce99f036b55e3c556d9 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-30f19ece35d8adeb5f0a0e | clause | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--1193194197526280466-0 (Apache-2.0). Wikipedia contributors, “Регби в России” (https://ru.wikipedia.org/wiki/%D0%A0%D0%B5%D0%B3%D0%B1%D0%B8_%D0%B2_%D0%A0%D0%BE%D1%81%D1%81%D0%B8%D0%B8), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers no... | [
{
"role": "user",
"content": "Регби в России\n\nРегби в России является одним из популярных игровых видов спорта. В стране зарегистрированы 365 клубов и 21670 регбистов, а также регулярно проводится чемпионат России по регби. Национальная сборная занимает 19-е место в рейтинге World Rugby. Однако при этом л... | {
"type": "exact",
"value": "в котором российские сборные регулярно соревнуются с ведущими командами Европы и мира",
"tests": []
} | train |
gsm-train-5661 | math | en | GSM8K | MIT | gsm8k-ba9dcf3bb07cb9ef28ba | word_problem_6_steps | OpenAI (2021), GSM8K, original train row 5661 | [
{
"role": "user",
"content": "Mr. Willson worked on making his furniture for 3/4 an hour on Monday. On Tuesday, he worked for half an hour. Then he worked for 2/3 an hour on Wednesday and 5/6 of an hour on Thursday. If he worked for 75 minutes on Friday, how many hours in all did he work from Monday to Frid... | {
"type": "number",
"value": "4",
"tests": []
} | train |
algpy-3e3006543c37b25a-repair | code | en | TheAlgorithms/Python | MIT | algpy-3e3006543c37b25a | repair | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, dynamic_programming/max_product_subarray.py#max_product_subarray; adapted exercises | [
{
"role": "user",
"content": "Repair this Python function. Return the greatest product of a nonempty contiguous subarray of the nonempty list of integers.\nFor max_product_subarray([1, -1, 0]) it should return 1, but returns 0. Keep the signature.\n```python\ndef max_product_subarray(numbers):\n if not n... | {
"type": "code",
"value": "",
"tests": [
"assert max_product_subarray([0]) == 0",
"assert max_product_subarray([1]) == 1",
"assert max_product_subarray([-3]) == -3",
"assert max_product_subarray([1, -1, 0]) == 1",
"assert max_product_subarray([1, 1, 1]) == 1",
"assert max_product_subarray... | train |
wiki-read-ru-e939130984b19aa10404 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-9fbf261b62c1d7c00db73a | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--1378442516855763836-7 (Apache-2.0). Wikipedia contributors, “Microsoft” (https://ru.wikipedia.org/wiki/Microsoft), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Microsoft\n\nКомпания начинает свою историю с 1975 года, когда друзья-студенты Гарварда Билл Гейтс и Пол Аллен, прочитав опубликованную 1 января 1975 года в журнале «» статью о новом персональном компьютере Altair 8800, разработали для него интерпретатор языка Basic. Через меся... | {
"type": "exact",
"value": "1975-01-01",
"tests": []
} | train |
algpy-d705f2524e665892-trace | code | ru | TheAlgorithms/Python | MIT | algpy-d705f2524e665892 | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, dynamic_programming/smith_waterman.py#traceback; adapted exercises | [
{
"role": "user",
"content": "```python\ndef score_function(source_char, target_char, match=1, mismatch=-1, gap=-2):\n if '-' in (source_char, target_char):\n return gap\n return match if source_char == target_char else mismatch\n\ndef compute(score, query, subject):\n query = query.upper()\... | {
"type": "exact",
"value": "''",
"tests": []
} | train |
algpy-7ee134299265e592-check-assertions | code | en | TheAlgorithms/Python | MIT | algpy-7ee134299265e592 | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/line_intersection.py#determinant; 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(m00, m01, m10, m11):\n return m00 * m11 - m10 * m01\n```\n```python\n# A\nas... | {
"type": "exact",
"value": "A: 1",
"tests": []
} | train |
algpy-37bea3ce1c77ad4e-check-assertions | code | ru | TheAlgorithms/Python | MIT | algpy-37bea3ce1c77ad4e | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, scheduling/first_come_first_served.py#calculate_waiting_times; adapted exercises | [
{
"role": "user",
"content": "Один из тестов противоречит фактическому поведению этой функции. Определи его и вычисли верный результат. В последней строке запиши букву и результат через двоеточие, например A: 42.\n```python\ndef compute(duration_times):\n waiting_times = [0] * len(duration_times)\n fo... | {
"type": "exact",
"value": "A: [0, 5, 15]",
"tests": []
} | train |
wiki-read-ru-77d5afbc00a4c8b87401 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-563aeca2307744498c2ab6 | definition | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--6908353402683001270-0 (Apache-2.0). Wikipedia contributors, “Комплекс Наполеона” (https://ru.wikipedia.org/wiki/%D0%9A%D0%BE%D0%BC%D0%BF%D0%BB%D0%B5%D0%BA%D1%81_%D0%9D%D0%B0%D0%BF%D0%BE%D0%BB%D0%B5%D0%BE%D0%BD%D0%B0), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; wh... | [
{
"role": "user",
"content": "Комплекс Наполеона\n\n«Комплекс Наполеона» — набор психологических особенностей, якобы свойственных людям небольшого роста. Характеризуется чрезмерно агрессивной манерой поведения, что предположительно является компенсацией недостатка роста. Известен также как синдром Наполеона... | {
"type": "exact",
"value": "набор психологических особенностей, якобы свойственных людям небольшого роста",
"tests": []
} | train |
wiki-read-ru-dd3b672f5b0eedff5de0 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-2e7d2c03a9507ae265ecf5 | clause | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-248832765709457885-4 (Apache-2.0). Wikipedia contributors, “C++” (https://ru.wikipedia.org/wiki/C%2B%2B), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "C++\n\nЯзык возник в начале 1980-х годов, когда сотрудник фирмы Bell Labs Бьёрн Страуструп придумал ряд усовершенствований к языку C под собственные нужды. Когда в конце 1970-х годов Страуструп начал работать в Bell Labs над задачами теории очередей (в приложении к моделировани... | {
"type": "exact",
"value": "когда сотрудник фирмы Bell Labs Бьёрн Страуструп придумал ряд усовершенствований к языку C под собственные нужды",
"tests": []
} | train |
verified-code-peak_score-trace | code | en | Original | CC0-1.0 | verified-code-keyed_rows | verified_trace | Original algorithm and independent oracle, release 2; CC0-1.0. | [
{
"role": "user",
"content": "```python\ndef peak_score(rows):\n acc = {}\n for k, score in rows:\n if k not in acc or score > acc[k]:\n acc[k] = score\n return sorted(acc.items())\n```\nWhat does peak_score([('x', 3), ('a', -3), ('x', 0), ('a', 8)]) return? Give only the Python r... | {
"type": "exact",
"value": "[('a', 8), ('x', 3)]",
"tests": []
} | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.