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 |
|---|---|---|---|---|---|---|---|---|---|---|
algpy-01e50b8a85e21728-change-impact | code | ru | TheAlgorithms/Python | MIT | algpy-01e50b8a85e21728 | change-impact | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, dynamic_programming/minimum_steps_to_one.py#min_steps_to_one; adapted exercises | [
{
"role": "user",
"content": "В показанном коде строку `if i * 3 <= number:` заменяют на `if i * 3 < number:`. Для какого из двух выражений изменится возвращаемое значение? Дай короткое объяснение и запиши букву в последней строке.\n```python\ndef compute(number):\n if number <= 0:\n msg = f'n mus... | {
"type": "exact",
"value": "B",
"tests": []
} | train |
wiki-read-ru-edabe11af32a8bb1e72f | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-9abdcd4b9ab4f7aea6770a | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-2282753602835596490-9 (Apache-2.0). Wikipedia contributors, “Герой Советского Союза” (https://ru.wikipedia.org/wiki/%D0%93%D0%B5%D1%80%D0%BE%D0%B9_%D0%A1%D0%BE%D0%B2%D0%B5%D1%82%D1%81%D0%BA%D0%BE%D0%B3%D0%BE_%D0%A1%D0%BE%D1%8E%D0%B7%D0%B0), snapshot 2019-02-01 (CC-B... | [
{
"role": "user",
"content": "Герой Советского Союза\n\nПервыми, кто был удостоен звания Героя Советского Союза, стали 20 апреля 1934 года полярные лётчики Анатолий Ляпидевский (медаль «Золотая Звезда» № 1), Сигизмунд Леваневский (2; медаль «Золотая Звезда» № 4), Василий Молоков (3), Николай Каманин (4; мед... | {
"type": "exact",
"value": "1934-04-20",
"tests": []
} | train |
math-verified-stock-014 | math | ru | Original | CC0-1.0 | math-verified-stock | verified_math_stock | Original bilingual mathematics exercises, CC0-1.0 | [
{
"role": "user",
"content": "Утром со склада отгрузили 1/6 всех коробок. Затем привезли ещё 36 коробок и отгрузили 1/3 нового запаса. Остаток к вечеру — 84 коробки. Сколько коробок было до первой отгрузки?\nЗапиши точное число в последней строке; нецелый ответ дай несократимой дробью."
},
{
"role":... | {
"type": "number",
"value": "108",
"tests": []
} | train |
wiki-read-en-96e1c42202f768753aa9 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-a2f1b78fb8f0e660f0b75f | chronology | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-7295078997066657712-0 (Apache-2.0). Wikipedia contributors, “Hölderlin's Hymn "The Ister"” (https://en.wikipedia.org/wiki/H%C3%B6lderlin%27s_Hymn_%22The_Ister%22), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading ... | [
{
"role": "user",
"content": "Hölderlin's Hymn \"The Ister\"\n\nHölderlin's Hymn \"The Ister\" (German: Hölderlins Hymne »Der Ister«) is the title given to a lecture course delivered by German philosopher Martin Heidegger at the University of Freiburg in 1942. It was first published in 1984 as volume 53 of ... | {
"type": "exact",
"value": "1942, 1984, 1996",
"tests": []
} | train |
reason2-connected_groups-007 | reasoning | ru | Original | CC0-1.0 | reason2-connected_groups | workshop_connected_groups | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Сначала у каждого кода из списка W, G, X, D, V, J, U, K, A, Y, T свой архив. Связь между двумя кодами объединяет их архивы целиком; это распространяется по цепочке. Все действующие связи: U–Y, T–J, X–V, J–D, D–T, Y–V, T–W, K–V, V–G. Добавляют связь U–A. Сколько кодов будет в об... | {
"type": "number",
"value": "7",
"tests": []
} | train |
algpy-44c629a1326fb892-trace | code | ru | TheAlgorithms/Python | MIT | algpy-44c629a1326fb892 | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, graphs/travelling_salesman_problem.py#euclidean_distance; adapted exercises | [
{
"role": "user",
"content": "```python\nimport math\n\ndef compute(point1, point2):\n try:\n return math.sqrt((point2[0] - point1[0]) ** 2 + (point2[1] - point1[1]) ** 2)\n except TypeError:\n raise ValueError('Invalid input: Points must be numerical coordinates')\n```\nЧто вернёт выраж... | {
"type": "exact",
"value": "5.0",
"tests": []
} | train |
gsm-train-301 | math | en | GSM8K | MIT | gsm8k-69f83b7bd0953f9aa994 | word_problem_6_steps | OpenAI (2021), GSM8K, original train row 301 | [
{
"role": "user",
"content": "It costs $.10 to print one page. Jenny wants to print 7 copies of her 25-page essay. She also wants to buy 7 pens that each cost $1.50. If she pays the store with 2 twenty dollar bills, how much money should she get in change?\nShow a short calculation. Put the final number alo... | {
"type": "number",
"value": "12",
"tests": []
} | train |
algpy-c51be3854676aed1-trace | code | en | TheAlgorithms/Python | MIT | algpy-c51be3854676aed1 | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/special_numbers/harshad_numbers.py#is_harshad_number_in_base; adapted exercises | [
{
"role": "user",
"content": "```python\ndef int_to_base(number, base):\n if base < 2 or base > 36:\n raise ValueError(\"'base' must be between 2 and 36 inclusive\")\n digits = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ'\n result = ''\n if number < 0:\n raise ValueError('number must be ... | {
"type": "exact",
"value": "False",
"tests": []
} | train |
algpy-eff1648aa25403bf-trace | code | en | TheAlgorithms/Python | MIT | algpy-eff1648aa25403bf | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/area.py#area_rhombus; adapted exercises | [
{
"role": "user",
"content": "```python\ndef compute(diagonal_1, diagonal_2):\n if diagonal_1 < 0 or diagonal_2 < 0:\n raise ValueError('compute() only accepts non-negative values')\n return 1 / 2 * diagonal_1 * diagonal_2\n```\nWhat does round(compute(0, 0), 6) return? Give the Python repr of ... | {
"type": "exact",
"value": "0.0",
"tests": []
} | train |
reason2-light_piece-054 | reasoning | en | Original | CC0-1.0 | reason2-light_piece | workshop_light_piece | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Parts T, B, H, Y, K, S, D have identical weights except for one lighter part. Each balance test puts the same number on both pans. Signs compare left weight with right: T+K = B+D; Y+D+H < S+K+T; T+H+K > Y+D+S. Which part is lighter?\nShow a short check. Give the final answer on... | {
"type": "exact",
"value": "Y",
"tests": []
} | train |
wiki-read-ru-61697a8df899ace57bee | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-22d792e08c3ce25c171046 | definition | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-3967705099024135738-0 (Apache-2.0). Wikipedia contributors, “Grumman Goose” (https://ru.wikipedia.org/wiki/Grumman_Goose), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Grumman Goose\n\nGrumman G-21 Goose — самолёт, спроектированный и построенный фирмой Grumman. Выпускался с 1938 по 1945 год. Является амфибией (может садиться и на грунт, и на воду). В годы серийного выпуска построено 345 самолетов. Из них в лётном состоянии 45, ещё 34 находятс... | {
"type": "exact",
"value": "самолёт, спроектированный и построенный фирмой Grumman",
"tests": []
} | train |
wiki-read-ru-7438124c77a5265b6dcb | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-e113d53d0099c36fa670f1 | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--6791916795447692343-21 (Apache-2.0). Wikipedia contributors, “Чувашия” (https://ru.wikipedia.org/wiki/%D0%A7%D1%83%D0%B2%D0%B0%D1%88%D0%B8%D1%8F), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Чувашия\n\nВ Чувашской Республике насчитывается 21 административный район, 9 городов (в том числе 5 городов республиканского значения и 4 города районного значения), 5 поселков городского типа, около 1700 сельских населенных пунктов.\n\nКакое пояснение в скобках автор поместил ... | {
"type": "exact",
"value": "в том числе 5 городов республиканского значения и 4 города районного значения",
"tests": []
} | train |
algpy-575d75ad61d1e811-check-assertions | code | en | TheAlgorithms/Python | MIT | algpy-575d75ad61d1e811 | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, divide_and_conquer/inversions.py#count_inversions_bf; 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(arr):\n num_inversions = 0\n n = len(arr)\n for i in range(n - 1):\n ... | {
"type": "exact",
"value": "B: 4",
"tests": []
} | train |
algpy-f119ed80d7bba915-check-assertions | code | ru | TheAlgorithms/Python | MIT | algpy-f119ed80d7bba915 | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/chebyshev_distance.py#chebyshev_distance; adapted exercises | [
{
"role": "user",
"content": "Один из тестов противоречит фактическому поведению этой функции. Определи его и вычисли верный результат. В последней строке запиши букву и результат через двоеточие, например A: 42.\n```python\ndef compute(point_a, point_b):\n if len(point_a) != len(point_b):\n raise... | {
"type": "exact",
"value": "A: 1.0",
"tests": []
} | train |
verified-code-cancel_identical-trace | code | en | Original | CC0-1.0 | verified-code-cancellation | verified_trace | Original algorithm and independent oracle, release 2; CC0-1.0. | [
{
"role": "user",
"content": "```python\ndef cancel_identical(text):\n out = []\n for c in text:\n if out and (out[-1] == c):\n out.pop()\n else:\n out.append(c)\n return ''.join(out)\n```\nWhat does cancel_identical('aabbaba') return? Give only the Python repr o... | {
"type": "exact",
"value": "'aba'",
"tests": []
} | train |
gsm-train-6897 | math | en | GSM8K | MIT | gsm8k-daa1153c841bd482d5ed | word_problem_3_steps | OpenAI (2021), GSM8K, original train row 6897 | [
{
"role": "user",
"content": "Cindy and Olaf made 15 candied apples which they will be selling for $2 each, and 12 candied grapes which they will be selling for $1.5. How much will they earn if they sell everything?\nShow a short calculation. Put the final number alone on the last line."
},
{
"role"... | {
"type": "number",
"value": "48",
"tests": []
} | train |
wiki-read-ru-945d8d2139c1d363c978 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-fd31d406420586f9196d1d | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--4215409749732669612-2 (Apache-2.0). Wikipedia contributors, “Ботафого” (https://ru.wikipedia.org/wiki/%D0%91%D0%BE%D1%82%D0%B0%D1%84%D0%BE%D0%B3%D0%BE), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Ботафого\n\n1 июля 1894 года в Рио-де-Жанейро был основан Клуб Регат «Ботафого», названный по району города и заливу. Вскоре клуб стал одним из сильнейших в городе. 12 августа 1904 года в том же районе было решено основать футбольную команду, получившую вскоре наименование Футб... | {
"type": "exact",
"value": "чёрный и белый",
"tests": []
} | train |
wiki-read-ru-1a02f6affb5417b435a0 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-5de7e1254f76ff48f7c6e5 | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--7227878595573367125-2 (Apache-2.0). Wikipedia contributors, “Балашиха” (https://ru.wikipedia.org/wiki/%D0%91%D0%B0%D0%BB%D0%B0%D1%88%D0%B8%D1%85%D0%B0), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Балашиха\n\n22 января 2015 года в состав Балашихи согласно закону, принятому Московской областной думой, вошёл город Железнодорожный. Население объединённого города составило 412 689 человек, а объединённого городского округа 423 946 человек (на 1 января 2015 года).\n\nКакое по... | {
"type": "exact",
"value": "на 1 января 2015 года",
"tests": []
} | train |
reason2-editing_history-047 | 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 T. 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 F; write S; undo; undo; redo; undo; redo; undo; redo; write U; write P... | {
"type": "exact",
"value": "V",
"tests": []
} | train |
wiki-read-ru-24729db63ec03a178250 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-fb06ebe8234c90ebb543a6 | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--7894381910541126500-3 (Apache-2.0). Wikipedia contributors, “Бекхэм, Виктория” (https://ru.wikipedia.org/wiki/%D0%91%D0%B5%D0%BA%D1%85%D1%8D%D0%BC%2C_%D0%92%D0%B8%D0%BA%D1%82%D0%BE%D1%80%D0%B8%D1%8F), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and refe... | [
{
"role": "user",
"content": "Бекхэм, Виктория\n\nВиктория Кэролайн Адамс родилась 17 апреля 1974 года в госпитале Princess Alexandra Hospital в Харлоу, графство Эссекс, а выросла в окрестностях деревни Goffs Oak, район Броксбон, графство Хартфордшир, в семье Жаклин и Энтони Адамс. Энтони был инженером-элек... | {
"type": "exact",
"value": "1974-04-17",
"tests": []
} | train |
reason2-frequency_median-004 | 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: 15×11; 25×5; 13×10; 52×4; 16×11; 54×10. 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": "... | {
"type": "number",
"value": "16",
"tests": []
} | train |
reason2-fair_slots-015 | reasoning | ru | Original | CC0-1.0 | reason2-fair_slots | workshop_fair_slots | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Клуб делит часы студии по одному. Веса секций: H=18, M=31, P=26, R=13. Следующий час получает секция с наибольшим отношением «вес / (1 + число уже выделенных часов)». При равенстве выбирают первый код по алфавиту. Какой секции достанется час номер 7, если сначала ни у кого нет ... | {
"type": "exact",
"value": "M",
"tests": []
} | train |
algpy-dc5aadc1e53bcc25-trace | code | en | TheAlgorithms/Python | MIT | algpy-dc5aadc1e53bcc25 | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, dynamic_programming/range_sum_query.py#prefix_sum; adapted exercises | [
{
"role": "user",
"content": "```python\ndef compute(array, queries):\n dp = [0] * len(array)\n dp[0] = array[0]\n for i in range(1, len(array)):\n dp[i] = dp[i - 1] + array[i]\n result = []\n for query in queries:\n left, right = query\n res = dp[right]\n if left ... | {
"type": "exact",
"value": "[9, 9, 7]",
"tests": []
} | train |
wiki-read-en-8d4a705eb831b078d212 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-2f07029665b21f0ec0c23c | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--3976110718008914027-0 (Apache-2.0). Wikipedia contributors, “Bundy standoff” (https://en.wikipedia.org/wiki/Bundy_standoff), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Bundy standoff\n\nThe 2014 Bundy standoff was an armed confrontation between supporters of cattle rancher Cliven Bundy and law enforcement following a 21-year legal dispute in which the United States Bureau of Land Management (BLM) obtained court orders directing Bundy to pay o... | {
"type": "exact",
"value": "BLM",
"tests": []
} | train |
reason2-editing_history-022 | reasoning | ru | Original | CC0-1.0 | reason2-editing_history | workshop_editing_history | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "В редакторе поле сначала содержит D. Запись заменяет значение и стирает возможность повтора отменённых записей. «Отмена» возвращает предыдущее значение, «повтор» восстанавливает отменённую запись. Если действие недоступно, поле не меняется. Команды: записать L; записать R; повт... | {
"type": "exact",
"value": "S",
"tests": []
} | train |
reason2-bottleneck-037 | reasoning | ru | Original | CC0-1.0 | reason2-bottleneck | workshop_bottleneck | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Двусторонние конвейеры допускают коробки шириной не более указанной (см): X–W=4; A–X=12; W–Z=10; X–Z=11; R–B=15; R–K=13; Z–R=10; K–B=6; W–K=14; A–B=7. Нужно перевезти коробку из A в B, не поворачивая её. Какова наибольшая допустимая ширина?\nПокажи короткую проверку, а в конце ... | {
"type": "number",
"value": "10",
"tests": []
} | train |
algpy-2f6de1a43c13466c-implement | code | en | TheAlgorithms/Python | MIT | algpy-2f6de1a43c13466c | implement | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, bit_manipulation/binary_count_setbits.py#binary_count_setbits; adapted exercises | [
{
"role": "user",
"content": "Implement this Python function. Count the ones in the ordinary binary representation of a nonnegative 16-bit integer.\nSignature: def binary_count_setbits(a):\nExamples:\n```python\nassert binary_count_setbits(0) == 0\nassert binary_count_setbits(1) == 1\n```"
},
{
"rol... | {
"type": "code",
"value": "",
"tests": [
"assert binary_count_setbits(2) == 1",
"assert binary_count_setbits(3) == 2",
"assert binary_count_setbits(4) == 1",
"assert binary_count_setbits(7) == 3",
"assert binary_count_setbits(8) == 1",
"assert binary_count_setbits(15) == 4",
"assert b... | train |
algpy-2c1b91c34b085bf4-trace | code | ru | TheAlgorithms/Python | MIT | algpy-2c1b91c34b085bf4 | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/special_numbers/bell_numbers.py#bell_numbers; adapted exercises | [
{
"role": "user",
"content": "```python\ndef _binomial_coefficient(total_elements, elements_to_choose):\n if elements_to_choose in {0, total_elements}:\n return 1\n elements_to_choose = min(elements_to_choose, total_elements - elements_to_choose)\n coefficient = 1\n for i in range(element... | {
"type": "exact",
"value": "[1, 1, 2, 5, 15, 52]",
"tests": []
} | train |
reason2-connected_groups-049 | reasoning | en | Original | CC0-1.0 | reason2-connected_groups | workshop_connected_groups | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Each code in J, Z, H, W, T, B, D, Y initially has its own archive. Linking two codes merges their entire archives, including indirect links. The full list of existing links is Z–Y, D–J, B–H, W–J, Y–T. One new link Z–B is added. How many codes belong to the newly merged archive?... | {
"type": "number",
"value": "5",
"tests": []
} | train |
reason2-frequency_median-027 | reasoning | ru | Original | CC0-1.0 | reason2-frequency_median | workshop_frequency_median | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "В журнале длительности занятий записаны парами «минуты × число занятий»: 45×10; 50×5; 8×4; 23×4; 25×2; 39×6; 46×7; 38×9. Какова медианная длительность одного занятия?\nКратко обоснуй ответ и запиши сам ответ на последней строке."
},
{
"role": "assistant",
"content":... | {
"type": "number",
"value": "39",
"tests": []
} | train |
reason2-rotate_grid-060 | reasoning | ru | Original | CC0-1.0 | reason2-rotate_grid | workshop_rotate_grid | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Исходные строки табло сверху вниз: Z L S X / V E W K / Q Y D C / F A T N. Выполни циклические сдвиги по порядку: столбец 4 на 1 вниз; строка 2 на 3 вправо; столбец 2 на 1 вниз; строка 2 на 2 вправо; столбец 4 на 2 вниз. Какой символ теперь в строке 3, столбце 2? Нумерация с еди... | {
"type": "exact",
"value": "W",
"tests": []
} | train |
wiki-read-en-dec323e22d3641024950 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-ba5dc1f3e08c10d5056633 | measurement | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--1248665716287052322-29 (Apache-2.0). Wikipedia contributors, “Excalibur (film)” (https://en.wikipedia.org/wiki/Excalibur_(film)), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Excalibur (film)\n\nExcalibur was the number one film during its opening weekend of 10–12 April 1981, eventually earning $34,967,437 in the United States. As of 2018, it currently has a 78% \"fresh\" rating on Rotten Tomatoes based on 41 reviews.\n\nWhich value is expressed num... | {
"type": "exact",
"value": "78%",
"tests": []
} | train |
algpy-90909f6885f7eebc-repair | code | en | TheAlgorithms/Python | MIT | algpy-90909f6885f7eebc | repair | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/digital_root.py#digital_root; adapted exercises | [
{
"role": "user",
"content": "Repair this Python function. Repeatedly sum the decimal digits of a nonnegative integer until one digit remains; return that digit.\nFor digital_root(64) it should return 1, but returns 10. Keep the signature.\n```python\ndef digital_root(number):\n number = abs(number)\n ... | {
"type": "code",
"value": "",
"tests": [
"assert digital_root(0) == 0",
"assert digital_root(1) == 1",
"assert digital_root(2) == 2",
"assert digital_root(3) == 3",
"assert digital_root(4) == 4",
"assert digital_root(7) == 7",
"assert digital_root(8) == 8",
"assert digital_root(15... | train |
wiki-read-ru-ebd4dd293dbb7a31c92d | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-bc251ce463192773f28df4 | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-8491596088967619671-23 (Apache-2.0). Wikipedia contributors, “Звёздный путь” (https://ru.wikipedia.org/wiki/%D0%97%D0%B2%D1%91%D0%B7%D0%B4%D0%BD%D1%8B%D0%B9_%D0%BF%D1%83%D1%82%D1%8C), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers norm... | [
{
"role": "user",
"content": "Звёздный путь\n\nДействие шоу «Звёздный путь: Оригинальный сериал» происходит во второй половине XXIII века (2264—2269 годы) и повествует о пятилетней научно-исследовательской миссии звездолёта Объединённой федерации планет «Энтерпрайз NCC-1701». Девиз героев корабля, повторяем... | {
"type": "exact",
"value": "2264—2269 годы",
"tests": []
} | train |
reason2-editing_history-005 | reasoning | ru | Original | CC0-1.0 | reason2-editing_history | workshop_editing_history | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "В редакторе поле сначала содержит K. Запись заменяет значение и стирает возможность повтора отменённых записей. «Отмена» возвращает предыдущее значение, «повтор» восстанавливает отменённую запись. Если действие недоступно, поле не меняется. Команды: записать R; отмена; записать... | {
"type": "exact",
"value": "T",
"tests": []
} | train |
reason2-minimum_cover-065 | 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, 5, 6, 7, 8, 9. Наборы перечислены с типами внутри: W=1/6/7/9; S=2/5/7; T=5/6/9; U=2/5/6/9; G=6/8/9; A=2. Дубли допустимы. Какое наименьшее число наборов покроет все типы?\nКратко обоснуй ответ и запиши сам ответ на последней строке."
... | {
"type": "number",
"value": "3",
"tests": []
} | train |
wiki-read-en-83c67f7877feedc1416f | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-a622b7a2d8247cfa4db2a4 | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-839426674766615122-0 (Apache-2.0). Wikipedia contributors, “Emily Deschanel” (https://en.wikipedia.org/wiki/Emily_Deschanel), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Emily Deschanel\n\nEmily Erin Deschanel (/ˌdeɪʃəˈnɛl/; born October 11, 1976) is an American actress, director and producer. She is best known for her role as Dr. Temperance \"Bones\" Brennan in the FOX series Bones.\n\nFind the full calendar date whose month is spelled out. Wr... | {
"type": "exact",
"value": "1976-10-11",
"tests": []
} | train |
algpy-181b331ed1c93189-implement | code | en | TheAlgorithms/Python | MIT | algpy-181b331ed1c93189 | implement | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/aliquot_sum.py#aliquot_sum; adapted exercises | [
{
"role": "user",
"content": "Implement this Python function. Return the sum of the positive divisors strictly smaller than the positive integer n.\nSignature: def aliquot_sum(input_num):\nExamples:\n```python\nassert aliquot_sum(1) == 0\nassert aliquot_sum(2) == 1\n```"
},
{
"role": "assistant",
... | {
"type": "code",
"value": "",
"tests": [
"assert aliquot_sum(3) == 1",
"assert aliquot_sum(4) == 3",
"assert aliquot_sum(6) == 6",
"assert aliquot_sum(8) == 7",
"assert aliquot_sum(12) == 16",
"assert aliquot_sum(16) == 15",
"assert aliquot_sum(18) == 21",
"assert aliquot_sum(20) ... | train |
reason2-editing_history-003 | 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 L. 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 V; write W; redo; redo; undo; redo; undo; write F; write B; undo; redo... | {
"type": "exact",
"value": "U",
"tests": []
} | train |
reason2-missing_cells-069 | reasoning | ru | Original | CC0-1.0 | reason2-missing_cells | workshop_missing_cells | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "В таблице учёта столбцы идут в порядке K, H, E. После вертикальной черты указан итог строки. Строки: R11: 4 / 5 / 6 | 15; R6: 11 / 9 / 3 | 23; R9: ? / ? / 7 | 27; R5: 9 / 13 / 10 | 32; R10: ? / 9 / 8 | 22. Итоги столбцов: K=44, H=41, E=34. Какое число скрыто в строке R9, столбц... | {
"type": "number",
"value": "15",
"tests": []
} | train |
reason2-rotate_grid-013 | reasoning | en | Original | CC0-1.0 | reason2-rotate_grid | workshop_rotate_grid | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "The board's original rows from top to bottom are U V Y / B K Q / C D P / T E L. Apply these cyclic shifts in order: column 2 down by 3; row 3 right by 1; column 3 down by 2. Which symbol is now in row 1, column 3? Indices start at 1.\nExplain in a few sentences and use the fina... | {
"type": "exact",
"value": "E",
"tests": []
} | train |
math-verified-three_clubs-013 | math | en | Original | CC0-1.0 | math-verified-three_clubs | verified_math_three_clubs | Original bilingual mathematics exercises, CC0-1.0 | [
{
"role": "user",
"content": "Classes A, B and C have 36, 24 and 25 members respectively. There are 16 in A and B, 16 in B and C, and 14 in A and C. Each pairwise count includes the 12 people in all three classes. How many people joined exactly one class?\nGive the exact number on the last line; use a reduc... | {
"type": "number",
"value": "29",
"tests": []
} | train |
reason2-bottleneck-040 | reasoning | ru | Original | CC0-1.0 | reason2-bottleneck | workshop_bottleneck | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Двусторонние конвейеры допускают коробки шириной не более указанной (см): H–M=16; Z–V=12; G–M=7; Z–G=3; Z–W=12; M–V=12; W–H=12; G–V=14; H–G=12. Нужно перевезти коробку из Z в V, не поворачивая её. Какова наибольшая допустимая ширина?\nПриведи ход решения в нескольких фразах. На... | {
"type": "number",
"value": "12",
"tests": []
} | train |
reason2-ballot_points-068 | reasoning | ru | Original | CC0-1.0 | reason2-ballot_points | workshop_ballot_points | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Жюри оценивает макеты J, Y, N. Баллы за места, начиная с первого: 2, 1, 0. Бюллетени записаны как число одинаковых голосов × порядок от лучшего к худшему: 5 × J>Y>N; 5 × Y>N>J; 9 × J>N>Y; 9 × N>J>Y. У какого макета больше всего баллов?\nКратко обоснуй ответ и запиши сам ответ н... | {
"type": "exact",
"value": "J",
"tests": []
} | train |
reason2-critical_path-004 | reasoning | ru | Original | CC0-1.0 | reason2-critical_path | workshop_critical_path | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Число рабочих мест в мастерской не ограничено. Время выполнения каждого этапа в минутах: L=2, D=3, E=8, W=7, A=9. Стрелка X→Y означает, что Y начинает работу после завершения X. Все зависимости: A→E, D→E, W→E, W→L, W→A. Время отсчитывают с нуля. Когда раньше всего можно закончи... | {
"type": "number",
"value": "24",
"tests": []
} | train |
algpy-ba7ac0b7a741bf88-trace | code | ru | TheAlgorithms/Python | MIT | algpy-ba7ac0b7a741bf88 | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, data_structures/arrays/reverse_array.py#reverse_array; adapted exercises | [
{
"role": "user",
"content": "```python\ndef reverse_array(arr):\n left = 0\n right = len(arr) - 1\n while left < right:\n arr[left], arr[right] = (arr[right], arr[left])\n left += 1\n right -= 1\n return arr\n```\nЧто вернёт выражение reverse_array([1, 2, 3, 4, 5])? Запиши ... | {
"type": "exact",
"value": "[5, 4, 3, 2, 1]",
"tests": []
} | train |
wiki-read-en-528dfd075001667b41e6 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-6d6ddad9e8af4c749c9199 | definition | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--643776234792417707-0 (Apache-2.0). Wikipedia contributors, “TV Guide” (https://en.wikipedia.org/wiki/TV_Guide), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "TV Guide\n\nTV Guide is a bi-weekly American magazine that provides television program listings information as well as television-related news, celebrity interviews and gossip, film reviews, crossword puzzles, and, in some issues, horoscopes. The print magazine is owned by NTVB... | {
"type": "exact",
"value": "a bi-weekly American magazine that provides television program listings information as well as television-related news, celebrity interviews and gossip, film reviews, crossword puzzles, and, in some issues, horoscopes",
"tests": []
} | train |
wiki-read-ru-59c6424406aed04de6c2 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-b2c348e934da29c1ddded8 | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-1696826458054335642-12 (Apache-2.0). Wikipedia contributors, “Unix” (https://ru.wikipedia.org/wiki/Unix), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Unix\n\nВ 1969 году Кен Томпсон, стремясь реализовать идеи, которые были положены в основу Multics, но на более скромном аппаратном обеспечении (DEC PDP-7), написал первую версию новой операционной системы для этих мини-компьютеров 70-х. Эта версия получила название «первая ред... | {
"type": "exact",
"value": "1970-01-01",
"tests": []
} | train |
algpy-fe3eb8d86f94ed1c-trace | code | ru | TheAlgorithms/Python | MIT | algpy-fe3eb8d86f94ed1c | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, matrix/largest_square_area_in_matrix.py#largest_square_area_in_matrix_bottom_up_space_optimization; adapted exercises | [
{
"role": "user",
"content": "```python\ndef compute(rows, cols, mat):\n current_row = [0] * (cols + 1)\n next_row = [0] * (cols + 1)\n largest_square_area = 0\n for row in range(rows - 1, -1, -1):\n for col in range(cols - 1, -1, -1):\n right = current_row[col + 1]\n ... | {
"type": "exact",
"value": "2",
"tests": []
} | train |
reason2-event_selection-003 | reasoning | en | Original | CC0-1.0 | reason2-event_selection | workshop_event_selection | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "One photographer wants to cover as many entire demonstrations as possible. Their start and end times are B 13–19; M 17–20; H 15–17; P 17–23; W 7–14; J 5–9; U 5–11. Finishing one at the instant another starts is allowed. What is the maximum count?\nBriefly justify your result, t... | {
"type": "number",
"value": "3",
"tests": []
} | train |
wiki-read-en-cea9c2cdd026ea2342a1 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-d16cd6bf49d228eee17180 | definition | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-4713960711726084286-0 (Apache-2.0). Wikipedia contributors, “History of Doctor Who” (https://en.wikipedia.org/wiki/History_of_Doctor_Who), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "History of Doctor Who\n\nDoctor Who is a British television science fiction series, produced and screened by the BBC on the BBC TV channel from 1963 to 1964, and on BBC1 (later BBC One) from 1964 to 1989 and since 2005. A one-off television movie, co-produced with Universal Pic... | {
"type": "exact",
"value": "a British television science fiction series, produced and screened by the BBC on the BBC TV channel from 1963 to 1964, and on BBC1 (later BBC One) from 1964 to 1989 and since 2005",
"tests": []
} | train |
math-verified-break_even-001 | math | ru | Original | CC0-1.0 | math-verified-break_even | verified_math_break_even | Original bilingual mathematics exercises, CC0-1.0 | [
{
"role": "user",
"content": "Мастерская выбирает тариф на печать. Тариф A стоит 14 руб. в месяц плюс 5 руб. за каждую страницу. Абонентская плата по тарифу B — 93 руб. в месяц за пакет объёмом 6 стр. Каждая страница сверх пакета стоит 3 руб. При каком наименьшем целом числе страниц за месяц B обойдётся стр... | {
"type": "number",
"value": "31",
"tests": []
} | train |
algpy-cdc6dea4628375bf-trace | code | en | TheAlgorithms/Python | MIT | algpy-cdc6dea4628375bf | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, bit_manipulation/single_bit_manipulation_operations.py#clear_bit; adapted exercises | [
{
"role": "user",
"content": "```python\ndef clear_bit(number, position):\n return number & ~(1 << position)\n```\nWhat does clear_bit(0, 5) return? Give the Python repr of the value."
},
{
"role": "assistant",
"content": "0"
}
] | {
"type": "exact",
"value": "0",
"tests": []
} | train |
algpy-64efe1ab2810149a-check-assertions | code | en | TheAlgorithms/Python | MIT | algpy-64efe1ab2810149a | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/area.py#surface_area_cuboid; 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(length, breadth, height):\n if length < 0 or breadth < 0 or height < 0:\n ... | {
"type": "exact",
"value": "A: 22",
"tests": []
} | train |
reason2-connected_groups-004 | reasoning | ru | Original | CC0-1.0 | reason2-connected_groups | workshop_connected_groups | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Сначала у каждого кода из списка W, E, P, V, H, T, U, Z, M, N, X свой архив. Связь между двумя кодами объединяет их архивы целиком; это распространяется по цепочке. Все действующие связи: N–V, W–V, H–W, X–T, V–U, U–H, M–E, Z–V, P–E. Добавляют связь X–U. Сколько кодов будет в об... | {
"type": "number",
"value": "8",
"tests": []
} | train |
math-verified-rounded_scales-019 | 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 мм, другой — до ближайшего числа, кратного 8 мм. Ровно посередине оба выбирают большее значение. Приборы показали соответственно 124 и 120 мм. Сколько целых значений длины соглас... | {
"type": "number",
"value": "2",
"tests": []
} | train |
wiki-read-ru-90d8affa504972515fc1 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-0cea867ffa76d39636ce9e | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--5557532881815852527-19 (Apache-2.0). Wikipedia contributors, “Джоли, Анджелина” (https://ru.wikipedia.org/wiki/%D0%94%D0%B6%D0%BE%D0%BB%D0%B8%2C_%D0%90%D0%BD%D0%B4%D0%B6%D0%B5%D0%BB%D0%B8%D0%BD%D0%B0), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and ref... | [
{
"role": "user",
"content": "Джоли, Анджелина\n\nИ, наконец, в 1999 году на экраны США выходит фильм Джеймса Мэнголда «Прерванная жизнь», который, по всем прогнозам, должен был стать киновозвращением Вайноны Райдер, однако всё обернулось настоящим триумфом Анджелины Джоли, которая за роль необузданной бунт... | {
"type": "exact",
"value": "снова биографическая роль",
"tests": []
} | train |
math-verified-tank_posts-003 | math | ru | Original | CC0-1.0 | math-verified-tank_posts | verified_math_tank_posts | Original bilingual mathematics exercises, CC0-1.0 | [
{
"role": "user",
"content": "Внутренние размеры дна прямоугольного бака — 26 × 24 см. В противоположных углах от дна вертикально стоят два сплошных прямоугольных столбика с основаниями 4 × 7 см и 5 × 3 см. Они выше конечного уровня воды и не перекрываются. Сколько литров воды нужно долить, чтобы уровень вы... | {
"type": "number",
"value": "4067/1000",
"tests": []
} | train |
gsm-train-2814 | math | en | GSM8K | MIT | gsm8k-9d3b303790f70253b229 | word_problem_3_steps | OpenAI (2021), GSM8K, original train row 2814 | [
{
"role": "user",
"content": "Leila went to the supermarket to get some groceries. Then she headed to her mechanic to get her automobile fixed. If fixing her automobile cost $350 which was $50 more than thrice the amount she spent at the supermarket, how much has she spent altogether?\nShow a short calculat... | {
"type": "number",
"value": "450",
"tests": []
} | train |
reason2-missing_cells-048 | 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 B, E, A, in that order. A vertical bar precedes the row total. Rows: R5: 10 / ? / 8 | 29; R9: 11 / ? / ? | 27; R3: 8 / 3 / 11 | 22. Column totals: B=29, E=18, A=31. What is the missing entry in row R9, column E?\nExplain in a few sentences and u... | {
"type": "number",
"value": "4",
"tests": []
} | train |
wiki-read-en-a5644c9f5eb375cb664d | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-7083bdf754269be4fb6bd8 | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--4818224130291824564-35 (Apache-2.0). Wikipedia contributors, “History of supernova observation” (https://en.wikipedia.org/wiki/History_of_supernova_observation), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading e... | [
{
"role": "user",
"content": "History of supernova observation\n\nOn January 22, 2014, students at the University of London Observatory spotted an exploding star SN 2014J in the nearby galaxy M82 (the Cigar Galaxy). At a distance of around 12 million light years, the supernova is one of the nearest to be ob... | {
"type": "exact",
"value": "the Cigar Galaxy",
"tests": []
} | train |
algpy-8f8f86249b7382b8-implement | code | en | TheAlgorithms/Python | MIT | algpy-8f8f86249b7382b8 | implement | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, strings/is_pangram.py#is_pangram_faster; adapted exercises | [
{
"role": "user",
"content": "Implement this Python function. Return True if the text contains every ASCII letter a through z at least once, ignoring case.\nSignature: def is_pangram_faster(input_str='The quick brown fox jumps over the lazy dog'):\nExamples:\n```python\nassert is_pangram_faster('') == False... | {
"type": "code",
"value": "",
"tests": [
"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') == False",
"assert is_pangram_faster('aB... | train |
algpy-7243a7f8722db531-implement | code | en | TheAlgorithms/Python | MIT | algpy-7243a7f8722db531 | implement | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, bit_manipulation/count_number_of_one_bits.py#get_set_bits_count_using_modulo_operator; adapted exercises | [
{
"role": "user",
"content": "Implement this Python function. Count the ones in the ordinary binary representation of a nonnegative 16-bit integer.\nSignature: def get_set_bits_count_using_modulo_operator(number):\nExamples:\n```python\nassert get_set_bits_count_using_modulo_operator(0) == 0\nassert get_set... | {
"type": "code",
"value": "",
"tests": [
"assert get_set_bits_count_using_modulo_operator(2) == 1",
"assert get_set_bits_count_using_modulo_operator(3) == 2",
"assert get_set_bits_count_using_modulo_operator(4) == 1",
"assert get_set_bits_count_using_modulo_operator(7) == 3",
"assert get_set_... | train |
reason2-editing_history-040 | reasoning | ru | Original | CC0-1.0 | reason2-editing_history | workshop_editing_history | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "В редакторе поле сначала содержит Z. Запись заменяет значение и стирает возможность повтора отменённых записей. «Отмена» возвращает предыдущее значение, «повтор» восстанавливает отменённую запись. Если действие недоступно, поле не меняется. Команды: записать J; записать T; повт... | {
"type": "exact",
"value": "R",
"tests": []
} | train |
wiki-read-ru-d6ee00922c31d903c920 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-ba8aecf2dba464f7945f25 | definition | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--3298123882182349351-4 (Apache-2.0). Wikipedia contributors, “Пиво” (https://ru.wikipedia.org/wiki/%D0%9F%D0%B8%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Пиво — один из древнейших напитков, известный с эпохи неолита вместе с мёдом, квасом и вином. По некоторому мнению, выращивание зерновых началось именно ради пива, а не хлеба. Так анализ органических следов в каменных ступках, найденных в израильской пещере Ракефет, пок... | {
"type": "exact",
"value": "один из древнейших напитков, известный с эпохи неолита вместе с мёдом, квасом и вином",
"tests": []
} | train |
algpy-587f68c70149b3d5-check-assertions | code | ru | TheAlgorithms/Python | MIT | algpy-587f68c70149b3d5 | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, bit_manipulation/rotate_bits.py#rotate_left32; adapted exercises | [
{
"role": "user",
"content": "Один из тестов противоречит фактическому поведению этой функции. Определи его и вычисли верный результат. В последней строке запиши букву и результат через двоеточие, например A: 42.\n```python\ndef compute(x, k):\n if not isinstance(x, int) or x < 0:\n raise ValueErr... | {
"type": "exact",
"value": "B: 2",
"tests": []
} | train |
reason2-connected_groups-002 | reasoning | ru | Original | CC0-1.0 | reason2-connected_groups | workshop_connected_groups | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Сначала у каждого кода из списка H, U, G, R, K, C, N свой архив. Связь между двумя кодами объединяет их архивы целиком; это распространяется по цепочке. Все действующие связи: G–U, U–C, K–G, U–K, H–N, R–N. Добавляют связь R–C. Сколько кодов будет в образовавшемся архиве?\nПокаж... | {
"type": "number",
"value": "7",
"tests": []
} | train |
wiki-read-ru-1f72e0bb04d2381d5f6b | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-51dc353941331e02747edc | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--9081461322063495507-1 (Apache-2.0). Wikipedia contributors, “Коцен, Ричи” (https://ru.wikipedia.org/wiki/%D0%9A%D0%BE%D1%86%D0%B5%D0%BD%2C_%D0%A0%D0%B8%D1%87%D0%B8), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New readi... | [
{
"role": "user",
"content": "Коцен, Ричи\n\nРичи Коцен родился 3 февраля 1970-го года в Рединге, штат Пенсильвания. С пяти лет начал осваивать фортепиано. В семь лет будущий музыкант увидел постер группы Kiss, что и побудило его переключиться на гитару. Когда Ричи исполнилось семнадцать лет, его стали приг... | {
"type": "exact",
"value": "1970-02-03",
"tests": []
} | train |
wiki-read-ru-4894bbd8a1aff94b1794 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-7177db9ff187d2e2fb0738 | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-7492487153296192655-3 (Apache-2.0). Wikipedia contributors, “CryEngine 2” (https://ru.wikipedia.org/wiki/CryEngine_2), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "CryEngine 2\n\n23 января 2007 года, ровно через год после анонса Crysis, Crytek провела первую общественную демонстрацию CryEngine 2. Тогда же было объявлено о том, что Crytek предлагает свой движок для продажи другим компаниям.\n\nНайди полную календарную дату, у которой месяц... | {
"type": "exact",
"value": "2007-01-23",
"tests": []
} | train |
algpy-77bbb63a5c8f9f74-change-impact | code | ru | TheAlgorithms/Python | MIT | algpy-77bbb63a5c8f9f74 | change-impact | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, conversions/rgb_cmyk_conversion.py#rgb_to_cmyk; adapted exercises | [
{
"role": "user",
"content": "В показанном коде строку `k = 1 - max(r, g, b)` заменяют на `k = 1 - min(r, g, b)`. Для какого из двух выражений изменится возвращаемое значение? Дай короткое объяснение и запиши букву в последней строке.\n```python\ndef compute(r_input, g_input, b_input):\n if not isinstanc... | {
"type": "exact",
"value": "A",
"tests": []
} | train |
gsm-train-4469 | math | en | GSM8K | MIT | gsm8k-28098555cdf15f467a04 | word_problem_8_steps | OpenAI (2021), GSM8K, original train row 4469 | [
{
"role": "user",
"content": "Owen bought 12 boxes of face masks that cost $9 per box. Each box has 50 pieces of masks. He repacked 6 of these boxes and sold them for $5 per 25 pieces. He sold the remaining 300 face masks in baggies at the rate of 10 pieces of mask for $3. How much profit did he make?\nShow... | {
"type": "number",
"value": "42",
"tests": []
} | train |
wiki-read-ru-afb7b67abf6fa18c0ce2 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-808ebb3f721116891055b7 | chronology | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-6289220011899019209-10 (Apache-2.0). Wikipedia contributors, “Кэтрин, герцогиня Кембриджская” (https://ru.wikipedia.org/wiki/%D0%9A%D1%8D%D1%82%D1%80%D0%B8%D0%BD%2C_%D0%B3%D0%B5%D1%80%D1%86%D0%BE%D0%B3%D0%B8%D0%BD%D1%8F_%D0%9A%D0%B5%D0%BC%D0%B1%D1%80%D0%B8%D0%B4%D0%... | [
{
"role": "user",
"content": "Кэтрин, герцогиня Кембриджская\n\nОкончив колледж в 2000 году, Кейт не стала поступать в университет, устроив годовой перерыв от учёбы. В течение этого года она побывала в двух странах — в Италии, где училась во Флорентийском Британском институте, и в Чили, где участвовала в пр... | {
"type": "exact",
"value": "2000, 2001",
"tests": []
} | train |
math-verified-tank_posts-024 | math | ru | Original | CC0-1.0 | math-verified-tank_posts | verified_math_tank_posts | Original bilingual mathematics exercises, CC0-1.0 | [
{
"role": "user",
"content": "Внутренние размеры дна прямоугольного бака — 33 × 25 см. В противоположных углах от дна вертикально стоят два сплошных прямоугольных столбика с основаниями 6 × 5 см и 6 × 7 см. Они выше конечного уровня воды и не перекрываются. Сколько литров воды нужно долить, чтобы уровень вы... | {
"type": "number",
"value": "1506/125",
"tests": []
} | train |
algpy-599afa4ad30596a5-trace | code | en | TheAlgorithms/Python | MIT | algpy-599afa4ad30596a5 | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, conversions/binary_to_gray.py#binary_to_gray; adapted exercises | [
{
"role": "user",
"content": "```python\ndef compute(binary):\n binary_int = int(binary, 2)\n gray_int = binary_int ^ binary_int >> 1\n gray_code = bin(gray_int)[2:]\n return gray_code.zfill(len(binary))\n```\nWhat does compute('1101') return? Give the Python repr of the value."
},
{
"ro... | {
"type": "exact",
"value": "'1011'",
"tests": []
} | train |
algpy-294e65c225e1bf35-trace | code | en | TheAlgorithms/Python | MIT | algpy-294e65c225e1bf35 | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/average_mean.py#mean; adapted exercises | [
{
"role": "user",
"content": "```python\ndef compute(nums):\n if not nums:\n raise ValueError('List is empty')\n return sum(nums) / len(nums)\n```\nWhat does round(compute([5, 10, 15, 20, 25, 30, 35]), 6) return? Give the Python repr of the value."
},
{
"role": "assistant",
"content... | {
"type": "exact",
"value": "20.0",
"tests": []
} | train |
algpy-3d0eaf7f493a7819-trace | code | en | TheAlgorithms/Python | MIT | algpy-3d0eaf7f493a7819 | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/volume.py#vol_sphere; adapted exercises | [
{
"role": "user",
"content": "```python\nfrom math import pi\n\ndef compute(radius):\n if radius < 0:\n raise ValueError('compute() only accepts non-negative values')\n return 4 / 3 * pi * pow(radius, 3)\n```\nWhat does round(compute(1), 6) return? Give the Python repr of the value."
},
{
... | {
"type": "exact",
"value": "4.18879",
"tests": []
} | train |
algpy-c48c83a2403cdc9a-repair | code | en | TheAlgorithms/Python | MIT | algpy-c48c83a2403cdc9a | repair | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, dynamic_programming/trapped_water.py#trapped_rainwater; adapted exercises | [
{
"role": "user",
"content": "Repair this Python function. Given nonnegative integer heights of adjacent unit-width pillars, return the number of unit squares of rainwater trapped above them.\nFor trapped_rainwater(()) it should return 0, but returns 1. Keep the signature.\n```python\ndef trapped_rainwater(... | {
"type": "code",
"value": "",
"tests": [
"assert trapped_rainwater(()) == 0",
"assert trapped_rainwater((4,)) == 0",
"assert trapped_rainwater((4, 0, 4)) == 4",
"assert trapped_rainwater((1, 3, 2, 4, 1)) == 1",
"assert trapped_rainwater((3, 3, 3)) == 0",
"assert trapped_rainwater((3, 0, 1... | train |
algpy-86424f933c2a03ae-implement | code | en | TheAlgorithms/Python | MIT | algpy-86424f933c2a03ae | implement | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, sorts/pigeon_sort.py#pigeon_sort; adapted exercises | [
{
"role": "user",
"content": "Implement this Python function. Return the input list's nonnegative integers in ascending order, preserving duplicates. The list can be empty.\nSignature: def pigeon_sort(array):\nExamples:\n```python\nassert pigeon_sort([]) == []\nassert pigeon_sort([1]) == [1]\n```"
},
{
... | {
"type": "code",
"value": "",
"tests": [
"assert pigeon_sort([2, 1]) == [1, 2]",
"assert pigeon_sort([4, 0, 4, 1]) == [0, 1, 4, 4]",
"assert pigeon_sort([3, 3]) == [3, 3]",
"assert pigeon_sort([5, 4, 3, 2, 1]) == [1, 2, 3, 4, 5]",
"assert pigeon_sort([0, 2, 6, 1, 7]) == [0, 1, 2, 6, 7]"
]
} | train |
gsm-train-3030 | math | en | GSM8K | MIT | gsm8k-ac99fcec13aef515288a | word_problem_4_steps | OpenAI (2021), GSM8K, original train row 3030 | [
{
"role": "user",
"content": "Mr. Roper cuts his lawn 15 days a month beginning in April and ending in September. From October to the end of March he cuts his lawn three times a month. What is the average number of times that Mr. Roper cuts his yard per month?\nShow a short calculation. Put the final numb... | {
"type": "number",
"value": "9",
"tests": []
} | train |
algpy-e84e52528026030a-change-impact | code | ru | TheAlgorithms/Python | MIT | algpy-e84e52528026030a | change-impact | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, greedy_methods/minimum_waiting_time.py#minimum_waiting_time; adapted exercises | [
{
"role": "user",
"content": "В показанном коде строку `return 0` заменяют на `return 1`. Для какого из двух выражений изменится возвращаемое значение? Дай короткое объяснение и запиши букву в последней строке.\n```python\ndef compute(queries):\n n = len(queries)\n if n in (0, 1):\n return 0\n ... | {
"type": "exact",
"value": "A",
"tests": []
} | train |
math-verified-stock-009 | math | en | Original | CC0-1.0 | math-verified-stock | verified_math_stock | Original bilingual mathematics exercises, CC0-1.0 | [
{
"role": "user",
"content": "A warehouse shipped 1/5 of its boxes, received 16 more, then shipped 1/8 of its new stock. It ended with 350 boxes. How many boxes were there before the first shipment?\nGive the exact number on the last line; use a reduced fraction for a noninteger answer."
},
{
"role"... | {
"type": "number",
"value": "480",
"tests": []
} | train |
wiki-read-en-259787b7c2858b857909 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-6f31e0e5c24301156a071c | clause | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-6879772207595425133-1 (Apache-2.0). Wikipedia contributors, “Adolphe Sax” (https://en.wikipedia.org/wiki/Adolphe_Sax), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Adolphe Sax\n\nAntoine-Joseph Sax was born on 6 November 1814, in Dinant, in what is now Belgium, to Charles-Joseph Sax and his wife. While his given name was Antoine-Joseph, he was referred to as Adolphe from childhood. His father and mother were instrument designers themselve... | {
"type": "exact",
"value": "who made several changes to the design of the French horn",
"tests": []
} | train |
algpy-fead4e5444b12471-trace | code | en | TheAlgorithms/Python | MIT | algpy-fead4e5444b12471 | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/lucas_series.py#recursive_lucas_number; adapted exercises | [
{
"role": "user",
"content": "```python\ndef recursive_lucas_number(n_th_number):\n if not isinstance(n_th_number, int):\n raise TypeError('recursive_lucas_number accepts only integer arguments.')\n if n_th_number == 0:\n return 2\n if n_th_number == 1:\n return 1\n return r... | {
"type": "exact",
"value": "15127",
"tests": []
} | train |
reason2-connected_groups-009 | reasoning | en | Original | CC0-1.0 | reason2-connected_groups | workshop_connected_groups | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Each code in V, U, Z, E, S, Y, X, R, W initially has its own archive. Linking two codes merges their entire archives, including indirect links. The full list of existing links is E–X, V–U, W–U, W–E, X–Z, V–X, Z–R, R–U, Y–S. One new link S–Z is added. How many codes belong to th... | {
"type": "number",
"value": "9",
"tests": []
} | train |
gsm-train-4401 | math | en | GSM8K | MIT | gsm8k-c5cc0e210dc0171a9c05 | word_problem_7_steps | OpenAI (2021), GSM8K, original train row 4401 | [
{
"role": "user",
"content": "Roberto is out for a hike. He travels uphill at 2 MPH and downhill at 3MPH. The trail is 5 miles long. 60% is uphill and the rest is downhill. How long does it take him to complete it in minutes?\nShow a short calculation. Put the final number alone on the last line."
},
{
... | {
"type": "number",
"value": "130",
"tests": []
} | train |
reason2-pareto-038 | reasoning | ru | Original | CC0-1.0 | reason2-pareto | workshop_pareto | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Для печати плаката доступны заказы (дни, цена): A (11, 36); K (13, 31); Y (5, 67); J (19, 19); W (8, 13); N (18, 50); U (25, 47); E (26, 16). Отбрось любой вариант, для которого другой вариант одновременно дешевле и быстрее. Запиши коды оставшихся в алфавитном порядке через про... | {
"type": "exact",
"value": "W Y",
"tests": []
} | train |
math-verified-skipped_payment-022 | math | en | Original | CC0-1.0 | math-verified-skipped_payment | verified_math_skipped_payment | Original bilingual mathematics exercises, CC0-1.0 | [
{
"role": "user",
"content": "A savings schedule starts at 24 dollars on day 1 and increases the scheduled payment by 4 dollars each day for 17 days. Exactly one payment was skipped; all other scheduled amounts were paid. The total paid was 880 dollars. On which day was the payment missed?\nGive the exact n... | {
"type": "number",
"value": "13",
"tests": []
} | train |
gsm-train-816 | math | en | GSM8K | MIT | gsm8k-d34015849e5f6e6ead97 | word_problem_4_steps | OpenAI (2021), GSM8K, original train row 816 | [
{
"role": "user",
"content": "Bingley has 5 bracelets. Kelly gives Bingley a fourth of her 16 bracelets. Then Bingley gives a third of his bracelets to his little sister. How many bracelets does Bingley have remaining?\nShow a short calculation. Put the final number alone on the last line."
},
{
"ro... | {
"type": "number",
"value": "6",
"tests": []
} | train |
algpy-f26eaa79c1062603-trace | code | en | TheAlgorithms/Python | MIT | algpy-f26eaa79c1062603 | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/special_numbers/abundant_numbers.py#is_abundant_number; adapted exercises | [
{
"role": "user",
"content": "```python\ndef is_abundant_number(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 return False\n divisor_sum = 1\n for i in range(2, int(number *... | {
"type": "exact",
"value": "True",
"tests": []
} | train |
reason2-ballot_points-065 | 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 L, E, F. Positions from best to worst earn 2, 1, 0 points. Ballot groups, written as count × ranking from best to worst: 8 × F>E>L; 4 × E>L>F; 6 × L>F>E; 7 × F>L>E. Which design earns the most points?\nShow a short check. Give the final answer on a separate ... | {
"type": "exact",
"value": "F",
"tests": []
} | train |
gsm-train-4914 | math | en | GSM8K | MIT | gsm8k-5c95faffd83e5dc20a7c | word_problem_5_steps | OpenAI (2021), GSM8K, original train row 4914 | [
{
"role": "user",
"content": "In a school, the number of participants in the 2018 Science Quiz Bowl was 150. There were 20 more than twice the number of participants in 2019 as there were in 2018. In 2020, the number of participants was 40 less than half the number of participants in 2019. How many more par... | {
"type": "number",
"value": "200",
"tests": []
} | train |
wiki-read-ru-25e64196b98a4f48b87d | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-5961a4f844078ec72a13ab | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--5935434340343489472-3 (Apache-2.0). Wikipedia contributors, “Агни-йога” (https://ru.wikipedia.org/wiki/%D0%90%D0%B3%D0%BD%D0%B8-%D0%B9%D0%BE%D0%B3%D0%B0), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise... | [
{
"role": "user",
"content": "Агни-йога\n\nНа первых этапах в процессе создания текстов участвовали все члены семьи Рерихов. По утверждению Елены Рерих, учение Живой Этики возникло в процессе «бесед» с «Великим Учителем» (известным в теософских кругах под именем Махатмы Мории), при этом использовалось так н... | {
"type": "exact",
"value": "известным в теософских кругах под именем Махатмы Мории",
"tests": []
} | train |
algpy-c60e90c50b9fbb66-change-impact | code | ru | TheAlgorithms/Python | MIT | algpy-c60e90c50b9fbb66 | change-impact | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, dynamic_programming/smith_waterman.py#score_function; adapted exercises | [
{
"role": "user",
"content": "В показанном коде строку `return match if source_char == target_char else mismatch` заменяют на `return match if source_char != target_char else mismatch`. Для какого из двух выражений изменится возвращаемое значение? Дай короткое объяснение и запиши букву в последней строке.\n... | {
"type": "exact",
"value": "A",
"tests": []
} | train |
reason2-assembly_units-005 | reasoning | en | Original | CC0-1.0 | reason2-assembly_units | workshop_assembly_units | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Each bill of materials lists the contents of one unit: K = 6×Z + 3×F; Z = 6×C + 4×W; F = 2×C + 2×W. The order requires 3 units of K plus 4 additional units of Z. How many individual W parts are needed?\nExplain in a few sentences and use the final line for the answer alone."
... | {
"type": "number",
"value": "106",
"tests": []
} | train |
algpy-d3a99977b76e8e79-trace | code | en | TheAlgorithms/Python | MIT | algpy-d3a99977b76e8e79 | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/primelib.py#fib; adapted exercises | [
{
"role": "user",
"content": "```python\ndef compute(n):\n assert isinstance(n, int) and n >= 0, \"'n' must been an int and >= 0\"\n tmp = 0\n fib1 = 1\n ans = 1\n for _ in range(n - 1):\n tmp = ans\n ans += fib1\n fib1 = tmp\n return ans\n```\nWhat does compute(5) ret... | {
"type": "exact",
"value": "8",
"tests": []
} | train |
algpy-f1fff82f67ee6081-trace | code | en | TheAlgorithms/Python | MIT | algpy-f1fff82f67ee6081 | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, scheduling/round_robin.py#calculate_turn_around_times; adapted exercises | [
{
"role": "user",
"content": "```python\ndef compute(burst_times, waiting_times):\n return [burst + waiting for burst, waiting in zip(burst_times, waiting_times)]\n```\nWhat does compute([10, 3, 7], [10, 6, 11]) return? Give the Python repr of the value."
},
{
"role": "assistant",
"content": ... | {
"type": "exact",
"value": "[20, 9, 18]",
"tests": []
} | train |
wiki-read-ru-9835eabc40dc3a0e5b17 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-b61098fc92d4ebf754df21 | colon_explanation | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--2877017877054587343-1 (Apache-2.0). Wikipedia contributors, “География Хорватии” (https://ru.wikipedia.org/wiki/%D0%93%D0%B5%D0%BE%D0%B3%D1%80%D0%B0%D1%84%D0%B8%D1%8F_%D0%A5%D0%BE%D1%80%D0%B2%D0%B0%D1%82%D0%B8%D0%B8), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; wh... | [
{
"role": "user",
"content": "География Хорватии\n\nТерриторию Хорватии можно поделить на три основных геоморфологических региона: побережье Адриатического моря, Среднедунайская низменность и Динарское нагорье. Более половины территории страны занимают равнины с высотами менее 200 м над уровнем моря. Особен... | {
"type": "exact",
"value": "побережье Адриатического моря, Среднедунайская низменность и Динарское нагорье",
"tests": []
} | train |
algpy-bee355b285dc5566-trace | code | ru | TheAlgorithms/Python | MIT | algpy-bee355b285dc5566 | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/maclaurin_series.py#maclaurin_cos; adapted exercises | [
{
"role": "user",
"content": "```python\nfrom math import factorial\nfrom math import pi\n\ndef compute(theta, accuracy=30):\n if not isinstance(theta, (int, float)):\n raise ValueError('compute() requires either an int or float for theta')\n if not isinstance(accuracy, int) or accuracy <= 0:\n... | {
"type": "exact",
"value": "-0.839072",
"tests": []
} | train |
gsm-train-3789 | math | en | GSM8K | MIT | gsm8k-25c69e4272e2e78fd975 | word_problem_3_steps | OpenAI (2021), GSM8K, original train row 3789 | [
{
"role": "user",
"content": "Mabel is counting sharks in the ocean. She knows that of the fish that she sees, 25% will be sharks and 75% will be another type of fish. On day one she counts 15 fish. On day 2 she counts three times as many. How many sharks did she count over those two days?\nShow a short cal... | {
"type": "number",
"value": "15",
"tests": []
} | train |
wiki-read-en-f3d36f4f69403ede6d1d | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-230bc7588b720aeaf23d06 | definition | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-5876690046840863188-0 (Apache-2.0). Wikipedia contributors, “Fantasy football (American)” (https://en.wikipedia.org/wiki/Fantasy_football_(American)), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Fantasy football (American)\n\nFantasy football is a game in which the participants serve as the general managers of virtual professional gridiron football teams. The competitors choose their team rosters by participating in a draft in which all players of a real football leagu... | {
"type": "exact",
"value": "a game in which the participants serve as the general managers of virtual professional gridiron football teams",
"tests": []
} | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.