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 |
|---|---|---|---|---|---|---|---|---|---|---|
reason2-critical_path-059 | 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: B=4, M=4, V=3, E=7, N=4, K=9, Z=6. X→Y means Y may start only after X finishes. The full list of dependencies is V→N, B→K, E→K, B→E, B→Z, K→Z, V→Z, E→M, N→M, V→M. Starting at minute zero, when can the whole job f... | {
"type": "number",
"value": "26",
"tests": []
} | train |
reason2-motif_growth-057 | reasoning | ru | Original | CC0-1.0 | reason2-motif_growth | workshop_motif_growth | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Начальный орнамент VF. За проход каждый исходный символ одновременно заменяют по правилам F→FVN; N→VNV; V→VNN; новые символы в том же проходе не заменяются. Сколько символов V будет после 4 проходов?\nПриведи ход решения в нескольких фразах. На последней строке оставь только от... | {
"type": "number",
"value": "81",
"tests": []
} | train |
reason2-assembly_units-065 | 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: E = 1×Z + 5×T; Z = 2×K + 1×N; T = 5×K + 2×N. The order requires 3 units of E plus 7 additional units of Z. How many individual K parts are needed?\nExplain in a few sentences and use the final line for the answer alone."
... | {
"type": "number",
"value": "95",
"tests": []
} | train |
wiki-read-ru-a94956c7a453d8b86b18 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-c449863da25f61ec14e7a5 | clause | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-6339482061986979900-0 (Apache-2.0). Wikipedia contributors, “История феминизма” (https://ru.wikipedia.org/wiki/%D0%98%D1%81%D1%82%D0%BE%D1%80%D0%B8%D1%8F_%D1%84%D0%B5%D0%BC%D0%B8%D0%BD%D0%B8%D0%B7%D0%BC%D0%B0), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace... | [
{
"role": "user",
"content": "История феминизма\n\nФемини́зм (от Latin: femina — женщина) — термин, поясняющий движение за равенство полов во всех сферах общества. В узком смысле слова — это женское движение, целью которого является устранение дискриминации женщин. Данное движение возникло в XVIII веке, но ... | {
"type": "exact",
"value": "но активизировалось с конца 1960-х годов",
"tests": []
} | train |
algpy-c96f9feaafdfed37-trace | code | en | TheAlgorithms/Python | MIT | algpy-c96f9feaafdfed37 | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/three_sum.py#three_sum; adapted exercises | [
{
"role": "user",
"content": "```python\ndef compute(nums):\n nums.sort()\n ans = []\n for i in range(len(nums) - 2):\n if i == 0 or nums[i] != nums[i - 1]:\n low, high, c = (i + 1, len(nums) - 1, 0 - nums[i])\n while low < high:\n if nums[low] + nums[hig... | {
"type": "exact",
"value": "[]",
"tests": []
} | train |
algpy-fe3628cecb6670dc-change-impact | code | ru | TheAlgorithms/Python | MIT | algpy-fe3628cecb6670dc | change-impact | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/trailing_zeroes.py#trailing_zeroes; adapted exercises | [
{
"role": "user",
"content": "В показанном коде строку `if num < 0:` заменяют на `if num <= 0:`. Для какого из двух выражений изменится возвращаемое значение? Дай короткое объяснение и запиши букву в последней строке.\n```python\ndef compute(num):\n ans = 0\n if num < 0:\n return -1\n if num... | {
"type": "exact",
"value": "A",
"tests": []
} | train |
algpy-61612d22f0e755d3-check-assertions | code | ru | TheAlgorithms/Python | MIT | algpy-61612d22f0e755d3 | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/prime_factors.py#unique_prime_factors; adapted exercises | [
{
"role": "user",
"content": "Один из тестов противоречит фактическому поведению этой функции. Определи его и вычисли верный результат. В последней строке запиши букву и результат через двоеточие, например A: 42.\n```python\ndef compute(n):\n i = 2\n factors = []\n while i * i <= n:\n if not... | {
"type": "exact",
"value": "B: []",
"tests": []
} | train |
math-verified-departures-016 | math | ru | Original | CC0-1.0 | math-verified-departures | verified_math_departures | Original bilingual mathematics exercises, CC0-1.0 | [
{
"role": "user",
"content": "Время отсчитывают в целых минутах от открытия станции. Первый трамвай линии A уходит в минуту 3, далее интервал составляет 6 мин. Первый трамвай линии B уходит в минуту 1, интервал составляет 4 мин. На какой минуте, начиная с минуты 140 включительно, обе линии впервые отправятс... | {
"type": "number",
"value": "141",
"tests": []
} | train |
math-verified-binomial_divisibility-010 | math | ru | Original | CC0-1.0 | math-verified-binomial_divisibility | verified_math_binomial_divisibility | Original bilingual mathematics exercises, CC0-1.0 | [
{
"role": "user",
"content": "Из 31 разных элементов выбирают 3 без учёта порядка. Найди наибольшее целое e ≥ 0, при котором число способов C(31,3) делится на 10 в степени e.\nЗапиши точное число в последней строке; нецелый ответ дай несократимой дробью."
},
{
"role": "assistant",
"content": "По... | {
"type": "number",
"value": "0",
"tests": []
} | train |
wiki-read-en-34015fc174472b94696b | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-f300650e65e51a7795ed51 | definition | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--8811967569139539976-0 (Apache-2.0). Wikipedia contributors, “Second Doctor” (https://en.wikipedia.org/wiki/Second_Doctor), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Second Doctor\n\nThe Second Doctor is an incarnation of the Doctor, the protagonist of the BBC science fiction television series Doctor Who. He was portrayed by character actor Patrick Troughton.\n\nHow does the first sentence define “The Second Doctor”? Copy the full predicate... | {
"type": "exact",
"value": "an incarnation of the Doctor, the protagonist of the BBC science fiction television series Doctor Who",
"tests": []
} | train |
wiki-read-en-76e5633aef2bd3ad6ca0 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-3b0754ae59e26e669d4847 | chronology | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--2174188326257179649-0 (Apache-2.0). Wikipedia contributors, “Rhodesian Ridgeback” (https://en.wikipedia.org/wiki/Rhodesian_Ridgeback), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Rhodesian Ridgeback\n\nThe Rhodesian Ridgeback is a dog breed developed in the Southern Africa region. Its forebears can be traced to the semi-domesticated, ridged hunting dogs of the Khoikhoi, which were crossed with European dogs by the early colonists of the Cape Colony of s... | {
"type": "exact",
"value": "1922, 1927",
"tests": []
} | train |
wiki-read-ru-fd75d31b582d273eaa4e | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-dff409b4eedb1d58cb6155 | clause | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-1473988868313522371-2 (Apache-2.0). Wikipedia contributors, “Кукурузная кампания” (https://ru.wikipedia.org/wiki/%D0%9A%D1%83%D0%BA%D1%83%D1%80%D1%83%D0%B7%D0%BD%D0%B0%D1%8F_%D0%BA%D0%B0%D0%BC%D0%BF%D0%B0%D0%BD%D0%B8%D1%8F), snapshot 2019-02-01 (CC-BY-SA-3.0). Excer... | [
{
"role": "user",
"content": "Кукурузная кампания\n\nВ 1955 году Первый секретарь ЦК КПСС Н. С. Хрущёв познакомился с американским фермером Росуэлом Гарстом, который рассказал о роли кукурузы в сельском хозяйстве США и её преимуществах. Впоследствии, во время поездки в США имел возможность лично познакомить... | {
"type": "exact",
"value": "который рассказал о роли кукурузы в сельском хозяйстве США и её преимуществах",
"tests": []
} | train |
reason2-bottleneck-024 | reasoning | ru | Original | CC0-1.0 | reason2-bottleneck | workshop_bottleneck | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Двусторонние конвейеры допускают коробки шириной не более указанной (см): S–B=5; W–C=9; Y–S=10; U–W=11; C–B=8; U–Y=13; C–Y=12. Нужно перевезти коробку из U в B, не поворачивая её. Какова наибольшая допустимая ширина?\nКратко обоснуй ответ и запиши сам ответ на последней строке.... | {
"type": "number",
"value": "8",
"tests": []
} | train |
algpy-16d1fab1561e5db1-trace | code | en | TheAlgorithms/Python | MIT | algpy-16d1fab1561e5db1 | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, matrix/rotate_matrix.py#make_matrix; adapted exercises | [
{
"role": "user",
"content": "```python\ndef compute(row_size=4):\n row_size = abs(row_size) or 4\n return [[1 + x + y * row_size for x in range(row_size)] for y in range(row_size)]\n```\nWhat does compute(1) return? Give the Python repr of the value."
},
{
"role": "assistant",
"content": ... | {
"type": "exact",
"value": "[[1]]",
"tests": []
} | train |
wiki-read-ru-960feec96fe6ceba0c0b | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-8c18a0c305a1ae913d1e23 | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--3848988651911618461-56 (Apache-2.0). Wikipedia contributors, “Pink Floyd” (https://ru.wikipedia.org/wiki/Pink_Floyd), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Pink Floyd\n\n14 августа 2015 года Дэвид Гилмор объявил об окончательном роспуске группы. «Гастролировать и записываться без покойного Рика Райта для Pink Floyd просто немыслимо. Так что хватит. Группа изжила себя, да и я теперь буду свободен делать все, что захочу и как захочу... | {
"type": "exact",
"value": "2015-08-14",
"tests": []
} | train |
algpy-4f96dd839a55e9a5-trace | code | en | TheAlgorithms/Python | MIT | algpy-4f96dd839a55e9a5 | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, strings/ngram.py#create_ngram; adapted exercises | [
{
"role": "user",
"content": "```python\ndef compute(sentence, ngram_size):\n return [sentence[i:i + ngram_size] for i in range(len(sentence) - ngram_size + 1)]\n```\nWhat does compute('This is short', 50) return? Give the Python repr of the value."
},
{
"role": "assistant",
"content": "[]"
... | {
"type": "exact",
"value": "[]",
"tests": []
} | train |
algpy-6257d1bc65af22a2-check-assertions | code | ru | TheAlgorithms/Python | MIT | algpy-6257d1bc65af22a2 | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, strings/levenshtein_distance.py#levenshtein_distance; adapted exercises | [
{
"role": "user",
"content": "Один из тестов противоречит фактическому поведению этой функции. Определи его и вычисли верный результат. В последней строке запиши букву и результат через двоеточие, например A: 42.\n```python\ndef compute(first_word, second_word):\n if len(first_word) < len(second_word):\n... | {
"type": "exact",
"value": "A: 3",
"tests": []
} | train |
wiki-read-ru-ca5c91f386ebaf95ae51 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-5a1c512e0e1efbc48b9a5c | definition | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-772328351261659208-0 (Apache-2.0). Wikipedia contributors, “Теория нарушения ожиданий” (https://ru.wikipedia.org/wiki/%D0%A2%D0%B5%D0%BE%D1%80%D0%B8%D1%8F_%D0%BD%D0%B0%D1%80%D1%83%D1%88%D0%B5%D0%BD%D0%B8%D1%8F_%D0%BE%D0%B6%D0%B8%D0%B4%D0%B0%D0%BD%D0%B8%D0%B9), snaps... | [
{
"role": "user",
"content": "Теория нарушения ожиданий\n\nТеория нарушения ожиданий — это теория коммуникации, которая анализирует, как люди реагируют на непредвиденные нарушения социальных норм и ожиданий. Теория была разработана Джуди К. Бергун в конце 1970-х годов. Первоначально, Бергун анализировала ож... | {
"type": "exact",
"value": "это теория коммуникации, которая анализирует, как люди реагируют на непредвиденные нарушения социальных норм и ожиданий",
"tests": []
} | train |
wiki-read-en-2b138e2a88fbcaf68db8 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-aec7f87ea6bb74680226e2 | chronology | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--309630844618597162-0 (Apache-2.0). Wikipedia contributors, “San Francisco Chronicle” (https://en.wikipedia.org/wiki/San_Francisco_Chronicle), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "San Francisco Chronicle\n\nThe San Francisco Chronicle is a newspaper serving primarily the San Francisco Bay Area of the U.S. state of California. It was founded in 1865 as The Daily Dramatic Chronicle by teenage brothers Charles de Young and Michael H. de Young. The paper is ... | {
"type": "exact",
"value": "1865, 2000",
"tests": []
} | train |
reason2-balanced_load-049 | reasoning | ru | Original | CC0-1.0 | reason2-balanced_load | workshop_balanced_load | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Две тележки должны увезти все ящики без деления содержимого. Масса каждого ящика: R=36, M=69, W=51, X=18, D=15, P=33, E=48. Какой наименьшей разницы масс между тележками можно добиться?\nПриведи ход решения в нескольких фразах. На последней строке оставь только ответ."
},
{... | {
"type": "number",
"value": "0",
"tests": []
} | train |
math-verified-skipped_payment-001 | 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 9 dollars on day 1 and increases the scheduled payment by 6 dollars each day for 16 days. Exactly one payment was skipped; all other scheduled amounts were paid. The total paid was 807 dollars. On which day was the payment missed?\nGive the exact nu... | {
"type": "number",
"value": "9",
"tests": []
} | train |
wiki-read-en-6f10f862266e5153c75e | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-35e59d947cef5bd4f8877b | chronology | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-3534274329210949061-13 (Apache-2.0). Wikipedia contributors, “AMC Hornet” (https://en.wikipedia.org/wiki/AMC_Hornet), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "AMC Hornet\n\nThe Hornet was phased out after 1977 and transformed into a new \"luxury compact\" line of automobiles, the AMC Concord. It also served as the basis of an innovative \"crossover\" all-wheel drive vehicle, the AMC Eagle that was introduced in 1979.\n\nWhich four-di... | {
"type": "exact",
"value": "1977, 1979",
"tests": []
} | train |
reason2-rotate_grid-052 | reasoning | ru | Original | CC0-1.0 | reason2-rotate_grid | workshop_rotate_grid | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Исходные строки табло сверху вниз: Z T C M / F L J X / E P G K / U D H A. Выполни циклические сдвиги по порядку: строка 2 на 2 вправо; столбец 2 на 1 вниз; строка 2 на 1 вправо. Какой символ теперь в строке 2, столбце 4? Нумерация с единицы.\nКратко обоснуй ответ и запиши сам о... | {
"type": "exact",
"value": "F",
"tests": []
} | train |
wiki-read-en-6ea3a981f035790fedc6 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-2768fa6eff9aa4238ed208 | chronology | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--135661913539255802-1 (Apache-2.0). Wikipedia contributors, “List of oldest banks in continuous operation” (https://en.wikipedia.org/wiki/List_of_oldest_banks_in_continuous_operation), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers nor... | [
{
"role": "user",
"content": "List of oldest banks in continuous operation\n\nDepending on the definition, the world's oldest bank is either Banca Monte dei Paschi di Siena or Berenberg Bank. Banca Monte dei Paschi di Siena was founded in its present form in 1624, but traces its history to a mount of piety ... | {
"type": "exact",
"value": "1472, 1590, 1624, 1668",
"tests": []
} | train |
wiki-read-en-e0ae5f0046db076133f0 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-27df9ed9a477af0fcfe369 | chronology | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--785570045892392286-1 (Apache-2.0). Wikipedia contributors, “BMW” (https://en.wikipedia.org/wiki/BMW), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "BMW\n\nThe company was founded in 1916 and has its headquarters in Munich, Bavaria. BMW produces motor vehicles in Germany, Brazil, China, India, South Africa, the United Kingdom, and the United States. In 2015, BMW was the world's twelfth largest producer of motor vehicles, wi... | {
"type": "exact",
"value": "1916, 2015",
"tests": []
} | train |
reason2-light_piece-007 | reasoning | ru | Original | CC0-1.0 | reason2-light_piece | workshop_light_piece | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Детали S, H, C, W, K, A, M, F, R должны весить одинаково, но ровно одна легче. На чаши каждый раз кладут поровну деталей. Результаты (знаки сравнивают массу левой и правой чаш): W+K+S+A > R+F+M+C; F+C+K < W+R+S; C+M+H < R+K+A. Какая деталь легче?\nКратко обоснуй ответ и запиши ... | {
"type": "exact",
"value": "C",
"tests": []
} | train |
wiki-read-en-6c0d403ba46b162a7620 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-df6f26a422d6d374f875d5 | measurement | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--6104567033698603068-1 (Apache-2.0). Wikipedia contributors, “Isle of Man Railway” (https://en.wikipedia.org/wiki/Isle_of_Man_Railway), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Isle of Man Railway\n\nThe 15.3-mile (24.6km) line from Douglas to Port Erin is the last remaining line of the former Isle of Man Railway Company, formed in 1870. Its first line, from Douglas to Peel, opened on 1 July 1873, followed by the Port Erin line on 1 August 1874. Initi... | {
"type": "exact",
"value": "24.6km",
"tests": []
} | train |
wiki-read-ru-afa894809a9eeade9425 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-ec1d8596fff470ac594c9f | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--5877862053484448949-4 (Apache-2.0). Wikipedia contributors, “Экономика (наука)” (https://ru.wikipedia.org/wiki/%D0%AD%D0%BA%D0%BE%D0%BD%D0%BE%D0%BC%D0%B8%D0%BA%D0%B0_(%D0%BD%D0%B0%D1%83%D0%BA%D0%B0)), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and refe... | [
{
"role": "user",
"content": "Экономика (наука)\n\nКак самостоятельная наука экономика выделилась в XVIII веке с выходом в свет книги Адама Смита «Исследование о природе и причинах богатства народов» (распространённое название «Богатство народов») в 1776 году. Однако по замечанию Йозефа Шумпетера, внутренню... | {
"type": "exact",
"value": "распространённое название «Богатство народов»",
"tests": []
} | train |
reason2-missing_cells-008 | 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 L, V, X, in that order. A vertical bar precedes the row total. Rows: R1: ? / 5 / 6 | 19; R6: ? / 2 / ? | 20; R9: 6 / 11 / 3 | 20. Column totals: L=23, V=18, X=18. What is the missing entry in row R6, column L?\nExplain in a few sentences and use... | {
"type": "number",
"value": "9",
"tests": []
} | train |
wiki-read-en-035e9b176cda4945b5b7 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-abb15e06761c201a9ea8ce | definition | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--8662209099382289514-0 (Apache-2.0). Wikipedia contributors, “Forgotten Realms” (https://en.wikipedia.org/wiki/Forgotten_Realms), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Forgotten Realms\n\nForgotten Realms is a campaign setting for the Dungeons & Dragons (D&D) fantasy role-playing game. Commonly referred to by players and game designers alike as \"The Realms\", it was created by game designer Ed Greenwood around 1967 as a setting for his child... | {
"type": "exact",
"value": "a campaign setting for the Dungeons & Dragons (D&D) fantasy role-playing game",
"tests": []
} | train |
reason2-order_count-040 | reasoning | ru | Original | CC0-1.0 | reason2-order_count | workshop_order_count | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Экспонаты T, S, K, X, Y выносят по одному, каждый ровно раз. Правило X→Y требует вынести X раньше Y. Правила: T→Y, X→Y, T→X, T→K. Сколько полных порядков допускают эти условия?\nПокажи короткую проверку, а в конце на отдельной строке дай ответ."
},
{
"role": "assistant"... | {
"type": "number",
"value": "15",
"tests": []
} | train |
algpy-ee95b72ff1342e15-trace | code | en | TheAlgorithms/Python | MIT | algpy-ee95b72ff1342e15 | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/addition_without_arithmetic.py#add; adapted exercises | [
{
"role": "user",
"content": "```python\ndef add(first, second):\n while second != 0:\n c = first & second\n first ^= second\n second = c << 1\n return first\n```\nWhat does add(-7, 2) return? Give the Python repr of the value."
},
{
"role": "assistant",
"content": "-5... | {
"type": "exact",
"value": "-5",
"tests": []
} | train |
gsm-train-1408 | math | en | GSM8K | MIT | gsm8k-f07af04642102e73fdaf | word_problem_3_steps | OpenAI (2021), GSM8K, original train row 1408 | [
{
"role": "user",
"content": "Nina has two pairs of shoes. She bought one of them for $22, and the second one was 50% more expensive. How much did Nina pay for both pairs of shoes?\nShow a short calculation. Put the final number alone on the last line."
},
{
"role": "assistant",
"content": "The ... | {
"type": "number",
"value": "55",
"tests": []
} | train |
wiki-read-ru-5c15fa9ee82f0b8a5198 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-574165788e11283548fc25 | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-7460875404188482700-7 (Apache-2.0). Wikipedia contributors, “Мережковский, Дмитрий Сергеевич” (https://ru.wikipedia.org/wiki/%D0%9C%D0%B5%D1%80%D0%B5%D0%B6%D0%BA%D0%BE%D0%B2%D1%81%D0%BA%D0%B8%D0%B9%2C_%D0%94%D0%BC%D0%B8%D1%82%D1%80%D0%B8%D0%B9_%D0%A1%D0%B5%D1%80%D0%... | [
{
"role": "user",
"content": "Мережковский, Дмитрий Сергеевич\n\n«Я родился 2-го августа 1865 года в Петербурге, на Елагином острове, в одном из дворцовых зданий, где наша семья проводила лето на даче», — писал Мережковский в «Автобиографических заметках». В Петербурге Мережковские жили в старом доме на угл... | {
"type": "exact",
"value": "по дороге к водопаду Учан-Су",
"tests": []
} | train |
wiki-read-en-3f8dc51f3347b475c16d | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-60000fd95651e35b646aa0 | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-6818386076925721685-23 (Apache-2.0). Wikipedia contributors, “Raphael (Teenage Mutant Ninja Turtles)” (https://en.wikipedia.org/wiki/Raphael_(Teenage_Mutant_Ninja_Turtles)), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. Ne... | [
{
"role": "user",
"content": "Raphael (Teenage Mutant Ninja Turtles)\n\nIn the 1990 film adaptation, Raphael is voiced by Josh Pais. He speaks with a distinctive tough-sounding New York accent (that was imitated in the later versions of TMNT), and is the turtle whose character is explored most completely. H... | {
"type": "exact",
"value": "that was imitated in the later versions of TMNT",
"tests": []
} | train |
math-verified-spaced_seats-017 | 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 до 10. Место 6 закрыто. Сколькими способами можно выбрать набор из 2 свободных мест так, чтобы никакие два выбранных номера не были соседними? Учитывается только набор номеров.\nЗапиши точное число в последней строке; нецелый ответ дай несократим... | {
"type": "number",
"value": "29",
"tests": []
} | train |
wiki-read-en-d303027894cef7a14a4a | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-f08689f14e3421bb12d709 | measurement | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-8874017228985913378-23 (Apache-2.0). Wikipedia contributors, “Oyster” (https://en.wikipedia.org/wiki/Oyster), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Oyster\n\nThe largest oyster-producing body of water in the United States is Chesapeake Bay, although these beds have decreased in number due to overfishing and pollution. Willapa Bay in Washington produces more oysters than any other estuary in the US. Other large oyster farmi... | {
"type": "exact",
"value": "80%",
"tests": []
} | train |
wiki-read-en-190ed2f76f519f0d496b | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-43d3193338fecef33ac058 | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--7176331574860162152-1 (Apache-2.0). Wikipedia contributors, “Chronology of home stadiums for current National Football League teams” (https://en.wikipedia.org/wiki/Chronology_of_home_stadiums_for_current_National_Football_League_teams), snapshot 2019-02-01 (CC-BY-S... | [
{
"role": "user",
"content": "Chronology of home stadiums for current National Football League teams\n\nThe oldest stadium in use by an NFL team is the Los Angeles Memorial Coliseum, which opened on May 1, 1923. The Coliseum is currently used by the Los Angeles Rams. The stadium that has been used the longe... | {
"type": "exact",
"value": "1923-05-01",
"tests": []
} | train |
algpy-33fcc1320ac7e0ec-check-assertions | code | ru | TheAlgorithms/Python | MIT | algpy-33fcc1320ac7e0ec | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/check_polygon.py#check_polygon; adapted exercises | [
{
"role": "user",
"content": "Один из тестов противоречит фактическому поведению этой функции. Определи его и вычисли верный результат. В последней строке запиши букву и результат через двоеточие, например A: 42.\n```python\ndef compute(nums):\n if len(nums) < 3:\n raise ValueError('Monogons and D... | {
"type": "exact",
"value": "B: True",
"tests": []
} | train |
algpy-01fae2df856a9bed-trace | code | en | TheAlgorithms/Python | MIT | algpy-01fae2df856a9bed | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/modular_division.py#extended_euclid; adapted exercises | [
{
"role": "user",
"content": "```python\ndef compute(a, b):\n if b == 0:\n return (1, 0)\n x, y = compute(b, a % b)\n k = a // b\n return (y, x - k * y)\n```\nWhat does compute(7, 5) return? Give the Python repr of the value."
},
{
"role": "assistant",
"content": "(-2, 3)"
}... | {
"type": "exact",
"value": "(-2, 3)",
"tests": []
} | train |
reason2-event_selection-031 | 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 L 17–23; A 9–15; D 12–18; H 10–13; T 4–8; V 4–6; G 2–10. Finishing one at the instant another starts is allowed. What is the maximum count?\nShow a short check. Give the fin... | {
"type": "number",
"value": "3",
"tests": []
} | train |
verified-code-best_rewards-trace | code | ru | Original | CC0-1.0 | verified-code-interval_plans | verified_trace | Original algorithm and independent oracle, release 2; CC0-1.0. | [
{
"role": "user",
"content": "```python\ndef best_rewards(events):\n jobs = sorted(events, key=lambda it: it[1])\n best = [0]\n for i, (a, b, w) in enumerate(jobs):\n j = i\n while j > 0 and jobs[j - 1][1] > a:\n j -= 1\n best.append(max(best[i], best[j] + w))\n r... | {
"type": "exact",
"value": "11",
"tests": []
} | train |
algpy-825864d8f2f7d090-implement | code | en | TheAlgorithms/Python | MIT | algpy-825864d8f2f7d090 | implement | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/perfect_number.py#perfect_optimized; 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_optimized(number):\nExamples:\n```python\nassert perfect_optimized(1) == False\nassert perfect_optimized(6) == True\n```"
},
{
"rol... | {
"type": "code",
"value": "",
"tests": [
"assert perfect_optimized(2) == False",
"assert perfect_optimized(3) == False",
"assert perfect_optimized(4) == False",
"assert perfect_optimized(8) == False",
"assert perfect_optimized(12) == False",
"assert perfect_optimized(16) == False",
"a... | train |
reason2-missing_cells-047 | reasoning | ru | Original | CC0-1.0 | reason2-missing_cells | workshop_missing_cells | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "В таблице учёта столбцы идут в порядке S, V, P. После вертикальной черты указан итог строки. Строки: R8: 7 / 2 / 2 | 11; R7: ? / 15 / ? | 37; R9: 14 / 8 / 14 | 36; R1: 12 / 5 / 10 | 27; R3: ? / 11 / 7 | 26. Итоги столбцов: S=50, V=41, P=46. Какое число скрыто в строке R7, столб... | {
"type": "number",
"value": "9",
"tests": []
} | train |
wiki-read-en-43ec4b121cd520adc313 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-ef94bfd0a3b5e627e270a3 | clause | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--1424211091584255105-0 (Apache-2.0). Wikipedia contributors, “Encyclopædia Britannica First Edition” (https://en.wikipedia.org/wiki/Encyclop%C3%A6dia_Britannica_First_Edition), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized.... | [
{
"role": "user",
"content": "Encyclopædia Britannica First Edition\n\nThe Encyclopædia Britannica First Edition (1768–1771) is a 3-volume reference work, an edition of the Encyclopædia Britannica. It was developed during the encyclopaedia's earliest period as a two-man operation founded by Colin Macfarquha... | {
"type": "exact",
"value": "who printed the pages",
"tests": []
} | train |
wiki-read-en-901fd9b4416bbcd08413 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-3a91cd30157605a36a755f | clause | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-351850269582845105-1 (Apache-2.0). Wikipedia contributors, “Commonwealth of Nations” (https://en.wikipedia.org/wiki/Commonwealth_of_Nations), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Commonwealth of Nations\n\nThe Commonwealth dates back to the first half of the 20th century with the decolonisation of the British Empire through increased self-governance of its territories. It was originally created as the British Commonwealth through the Balfour Declaration... | {
"type": "exact",
"value": "who is the Head of the Commonwealth",
"tests": []
} | train |
algpy-a26f84996c4aa415-implement | code | en | TheAlgorithms/Python | MIT | algpy-a26f84996c4aa415 | implement | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, dynamic_programming/max_subarray_sum.py#max_subarray_sum; adapted exercises | [
{
"role": "user",
"content": "Implement this Python function. Return the greatest sum of a nonempty contiguous subarray of the nonempty integer list.\nSignature: def max_subarray_sum(arr, allow_empty_subarrays=False):\nExamples:\n```python\nassert max_subarray_sum([0]) == 0\nassert max_subarray_sum([1]) == ... | {
"type": "code",
"value": "",
"tests": [
"assert max_subarray_sum([-3]) == -3",
"assert max_subarray_sum([1, -1, 0]) == 1",
"assert max_subarray_sum([1, 1, 1]) == 3",
"assert max_subarray_sum([-1, 0, 1, 2, -1, -4]) == 3",
"assert max_subarray_sum([2, 1, -1, 3]) == 5",
"assert max_subarray... | train |
wiki-read-en-55068f92d08753c9b6fc | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-df3a1b2f37ca9012ce639c | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--7676241259013775857-0 (Apache-2.0). Wikipedia contributors, “British Virgin Islands” (https://en.wikipedia.org/wiki/British_Virgin_Islands), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "British Virgin Islands\n\nThe British Virgin Islands (BVI), officially simply the Virgin Islands, are a British Overseas Territory in the Caribbean, to the east of Puerto Rico. The islands are geographically part of the Virgin Islands archipelago and are located in the Leeward ... | {
"type": "exact",
"value": "BVI",
"tests": []
} | train |
wiki-read-en-8070b35c41ddc9955c00 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-01344aea01bb1b62b7f271 | colon_explanation | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--1323861683221892614-0 (Apache-2.0). Wikipedia contributors, “List of Days of Our Lives cast members” (https://en.wikipedia.org/wiki/List_of_Days_of_Our_Lives_cast_members), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. Ne... | [
{
"role": "user",
"content": "List of Days of Our Lives cast members\n\nDays of Our Lives is a long-running American television soap opera drama, airing on NBC. Created by Ted and Betty Corday, the series premiered on November 8, 1965. The longest-running cast member is Suzanne Rogers, who has portrayed Mag... | {
"type": "exact",
"value": "the main and recurring cast members, or those who are debuting, departing or returning to the series",
"tests": []
} | train |
reason2-ballot_points-004 | reasoning | ru | Original | CC0-1.0 | reason2-ballot_points | workshop_ballot_points | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Жюри оценивает макеты N, R, P. Баллы за места, начиная с первого: 2, 1, 0. Бюллетени записаны как число одинаковых голосов × порядок от лучшего к худшему: 3 × N>P>R; 8 × R>P>N; 9 × P>R>N. У какого макета больше всего баллов?\nКратко обоснуй ответ и запиши сам ответ на последней... | {
"type": "exact",
"value": "P",
"tests": []
} | train |
wiki-read-en-23464dca4fa5c30cff8e | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-6490633f7ae1470b7ba193 | measurement | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--2541792793035831967-0 (Apache-2.0). Wikipedia contributors, “Demographics of Hispanic and Latino Americans” (https://en.wikipedia.org/wiki/Demographics_of_Hispanic_and_Latino_Americans), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers ... | [
{
"role": "user",
"content": "Demographics of Hispanic and Latino Americans\n\nThe demographics of Hispanic and Latino Americans depict a population that is the second-largest ethnic group in the United States, 52 million people or 16.7% of the national population, of them, 47 Million are American citizens.... | {
"type": "exact",
"value": "16.7%",
"tests": []
} | train |
reason2-editing_history-043 | 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 S. 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 Y; write R; undo; redo; redo; undo; undo; write A; redo; write L; undo... | {
"type": "exact",
"value": "M",
"tests": []
} | train |
algpy-ef736bbc8d6b693b-change-impact | code | en | TheAlgorithms/Python | MIT | algpy-ef736bbc8d6b693b | change-impact | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, strings/pig_latin.py#pig_latin; adapted exercises | [
{
"role": "user",
"content": "Suppose `if word[0] in 'aeiou':` is replaced by `if word[-1] in 'aeiou':` in the program below. Which expression changes its returned value? Briefly explain and write its letter on the last line.\n```python\ndef compute(word):\n if not (word or '').strip():\n return '... | {
"type": "exact",
"value": "B",
"tests": []
} | train |
wiki-read-en-9e915eb2e479de1c28fe | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-39f63df10e22b8709e972d | definition | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-6647861846216817481-0 (Apache-2.0). Wikipedia contributors, “Mastering the Art of French Cooking” (https://en.wikipedia.org/wiki/Mastering_the_Art_of_French_Cooking), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New readi... | [
{
"role": "user",
"content": "Mastering the Art of French Cooking\n\nMastering the Art of French Cooking is a two-volume French cookbook written by Simone Beck and Louisette Bertholle, both of France, and Julia Child of the United States. The book was written for the American market and published by Knopf i... | {
"type": "exact",
"value": "a two-volume French cookbook written by Simone Beck and Louisette Bertholle, both of France, and Julia Child of the United States",
"tests": []
} | train |
wiki-read-ru-ccdda1f0e95b2a573d27 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-084493af922686e6c00884 | definition | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-3348225561314465318-0 (Apache-2.0). Wikipedia contributors, “Хэлхар (Танец)” (https://ru.wikipedia.org/wiki/%D0%A5%D1%8D%D0%BB%D1%85%D0%B0%D1%80_(%D0%A2%D0%B0%D0%BD%D0%B5%D1%86)), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normaliz... | [
{
"role": "user",
"content": "Хэлхар (Танец)\n\nХэлхар — вайнахский народный танец чеченцев и ингушей. Хэлхар также известен под названием лезгинка, из-за своего сходства с другими танцами Кавказа, но так же и заметно отличается от них своим темпом и резкими движениями, характерными именно вайнахскому «Хэлх... | {
"type": "exact",
"value": "вайнахский народный танец чеченцев и ингушей",
"tests": []
} | train |
reason2-event_selection-046 | reasoning | ru | Original | CC0-1.0 | reason2-event_selection | workshop_event_selection | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Один фотограф хочет целиком снять как можно больше коротких показов. Начала и окончания: Z 12–14; X 2–4; W 19–22; B 7–11; C 11–18; A 2–7; H 15–23; U 14–18. В момент окончания одного показа можно сразу начать следующий. Каково максимальное число показов?\nКратко обоснуй ответ и ... | {
"type": "number",
"value": "5",
"tests": []
} | train |
gsm-train-5106 | math | en | GSM8K | MIT | gsm8k-7b52edefb47581f4b877 | word_problem_4_steps | OpenAI (2021), GSM8K, original train row 5106 | [
{
"role": "user",
"content": "Jerry is cutting up wood for his wood-burning stove. Each pine tree makes 80 logs, each maple tree makes 60 logs, and each walnut tree makes 100 logs. If Jerry cuts up 8 pine trees, 3 maple trees, and 4 walnut trees, how many logs does he get?\nShow a short calculation. Put the... | {
"type": "number",
"value": "1220",
"tests": []
} | train |
math-verified-route_speed-015 | math | en | Original | CC0-1.0 | math-verified-route_speed | verified_math_route_speed | Original bilingual mathematics exercises, CC0-1.0 | [
{
"role": "user",
"content": "A cyclist rode for 70 minutes at 18 km/h, rested for 5 minutes and rode for 30 minutes at 45 km/h. Each riding speed was constant. What was the average speed in km/h over the entire elapsed time, including the stop?\nGive the exact number on the last line; use a reduced fractio... | {
"type": "number",
"value": "174/7",
"tests": []
} | train |
wiki-read-ru-997bb5ce2ad3fcbc88a6 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-e41fb6c5b9a091cf25e796 | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--5949052657398168713-3 (Apache-2.0). Wikipedia contributors, “Покровская епархия” (https://ru.wikipedia.org/wiki/%D0%9F%D0%BE%D0%BA%D1%80%D0%BE%D0%B2%D1%81%D0%BA%D0%B0%D1%8F_%D0%B5%D0%BF%D0%B0%D1%80%D1%85%D0%B8%D1%8F), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; wh... | [
{
"role": "user",
"content": "Покровская епархия\n\n5 октября 2011 года создана самостоятельная Покровская епархия, будучи выделена из состава Саратовской епархии, с кафедральным центром в городе Энгельс, именовавшемся до 1931 года «Покровск», и вторым кафедральным центром в городе Пугачёв, именовавшемся до... | {
"type": "exact",
"value": "2011-10-05",
"tests": []
} | train |
algpy-5226971c2381b54c-implement | code | en | TheAlgorithms/Python | MIT | algpy-5226971c2381b54c | implement | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/primelib.py#is_odd; adapted exercises | [
{
"role": "user",
"content": "Implement this Python function. For a signed integer, return True exactly when it is odd.\nSignature: def is_odd(number):\nExamples:\n```python\nassert is_odd(-101) == True\nassert is_odd(-2) == False\n```"
},
{
"role": "assistant",
"content": "```python\ndef is_odd... | {
"type": "code",
"value": "",
"tests": [
"assert is_odd(-17) == True",
"assert is_odd(-1) == True",
"assert is_odd(0) == False",
"assert is_odd(1) == True",
"assert is_odd(2) == False",
"assert is_odd(17) == True",
"assert is_odd(101) == True",
"assert is_odd(2048) == False"
]
} | train |
wiki-read-ru-1f75f766e7f07e9fd30e | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-3de63b7de9fd55da4202bb | chronology | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-9205011936625432847-2 (Apache-2.0). Wikipedia contributors, “Нижегородские мосты” (https://ru.wikipedia.org/wiki/%D0%9D%D0%B8%D0%B6%D0%B5%D0%B3%D0%BE%D1%80%D0%BE%D0%B4%D1%81%D0%BA%D0%B8%D0%B5_%D0%BC%D0%BE%D1%81%D1%82%D1%8B), snapshot 2019-02-01 (CC-BY-SA-3.0). Excer... | [
{
"role": "user",
"content": "Нижегородские мосты\n\nВ 2009 году открылся первый нижегородский метромост, строительство которого было начато в 1992 году. В 2012 году, после завершения строительства первой нагорной станции, по метромосту поехали поезда.\n\nКакие четырёхзначные календарные годы упомянуты в от... | {
"type": "exact",
"value": "1992, 2009, 2012",
"tests": []
} | train |
reason2-light_piece-014 | reasoning | en | Original | CC0-1.0 | reason2-light_piece | workshop_light_piece | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Parts V, M, X, U, F, T, N, Y, L, P, G have identical weights except for one lighter part. Each balance test puts the same number on both pans. Signs compare left weight with right: X+G+L > M+T+N; V+N+M+G+P < X+F+Y+U+L; N+U+L+V+X < T+P+Y+G+F. Which part is lighter?\nShow a short... | {
"type": "exact",
"value": "N",
"tests": []
} | train |
reason2-assembly_units-044 | reasoning | ru | Original | CC0-1.0 | reason2-assembly_units | workshop_assembly_units | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Для сборки используются спецификации (правая часть — состав одной единицы): X = 3×C + 3×Y; C = 3×E + 4×R; Y = 4×E + 2×R. Заказ включает изделия X в количестве 5 и отдельно узлы C в количестве 3. Сколько отдельных деталей R потребуется?\nПокажи короткую проверку, а в конце на от... | {
"type": "number",
"value": "102",
"tests": []
} | train |
algpy-db906cb7271c1374-trace | code | ru | TheAlgorithms/Python | MIT | algpy-db906cb7271c1374 | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/primelib.py#get_prime; adapted exercises | [
{
"role": "user",
"content": "```python\nfrom math import sqrt\n\ndef is_prime(number):\n assert isinstance(number, int) and number >= 0, \"'number' must been an int and positive\"\n status = True\n if number <= 1:\n status = False\n for divisor in range(2, round(sqrt(number)) + 1):\n ... | {
"type": "exact",
"value": "2",
"tests": []
} | train |
wiki-read-en-098e748efb836e238373 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-4e5247c1623b2070abc54b | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--8749894271617651625-0 (Apache-2.0). Wikipedia contributors, “Han Hyo-joo” (https://en.wikipedia.org/wiki/Han_Hyo-joo), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Han Hyo-joo\n\nHan Hyo-joo (born February 22, 1987) is a South Korean film and television actress. She is best known for her leading roles in television drama series: Spring Waltz (2006); Brilliant Legacy (2009); Dong Yi (2010) and W (2016); as well as the film Cold Eyes (2013)... | {
"type": "exact",
"value": "1987-02-22",
"tests": []
} | train |
verified-code-upper_quartile_rank-implement | code | en | Original | CC0-1.0 | verified-code-weighted_quantile | verified_implement | Original algorithm and independent oracle, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Implement upper_quartile_rank(pairs) in Python. Input pairs are (integer value, nonnegative frequency); values may repeat. In the conceptual sorted sequence of length N, return the value at one-based rank ceil(3·N/4), or None for N=0. Do not materialize the expanded sequence.\n... | {
"type": "code",
"value": "",
"tests": [
"assert upper_quartile_rank([]) == None",
"assert upper_quartile_rank([(1, 0), (9, 0)]) == None",
"assert upper_quartile_rank([(5, 1), (2, 2), (-1, 1)]) == 2",
"assert upper_quartile_rank([(2, 0), (7, 3), (2, 4), (0, 1)]) == 7",
"assert upper_quartile_... | train |
reason2-motif_growth-030 | reasoning | ru | Original | CC0-1.0 | reason2-motif_growth | workshop_motif_growth | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Начальный орнамент CCCC. За проход каждый исходный символ одновременно заменяют по правилам C→LC; L→CC; новые символы в том же проходе не заменяются. Сколько символов L будет после 4 проходов?\nКратко обоснуй ответ и запиши сам ответ на последней строке."
},
{
"role": "... | {
"type": "number",
"value": "20",
"tests": []
} | train |
reason2-bottleneck-010 | reasoning | en | Original | CC0-1.0 | reason2-bottleneck | workshop_bottleneck | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Bidirectional conveyors admit boxes up to their listed width in cm: E–S=18; D–E=11; D–F=15; H–C=8; F–Y=5; H–E=12; D–C=17; S–F=11; H–D=4; Y–C=5; H–Y=18. A box must travel from H to C without rotation. What is its largest possible width?\nBriefly justify your result, then put the... | {
"type": "number",
"value": "11",
"tests": []
} | train |
algpy-0eab9d17912ca59f-implement | code | en | TheAlgorithms/Python | MIT | algpy-0eab9d17912ca59f | implement | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/perfect_square.py#perfect_square_binary_search; adapted exercises | [
{
"role": "user",
"content": "Implement this Python function. For a nonnegative integer, return True exactly when it equals the square of an integer.\nSignature: def perfect_square_binary_search(n):\nExamples:\n```python\nassert perfect_square_binary_search(0) == True\nassert perfect_square_binary_search(2)... | {
"type": "code",
"value": "",
"tests": [
"assert perfect_square_binary_search(1) == True",
"assert perfect_square_binary_search(3) == False",
"assert perfect_square_binary_search(4) == True",
"assert perfect_square_binary_search(7) == False",
"assert perfect_square_binary_search(8) == False",... | train |
wiki-read-en-14cb73b998a3a9134b23 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-4b823f32c035fb85b413aa | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--8534557385112672832-0 (Apache-2.0). Wikipedia contributors, “History of Facebook” (https://en.wikipedia.org/wiki/History_of_Facebook), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "History of Facebook\n\nFacebook is a social networking service launched in July 2003, as FaceMash, later changing to TheFacebook on February 4, 2004. It was founded by Mark Zuckerberg with his college roommate and fellow Harvard University student Eduardo Saverin. The website's... | {
"type": "exact",
"value": "2004-02-04",
"tests": []
} | train |
algpy-26f69244f8616d30-trace | code | ru | TheAlgorithms/Python | MIT | algpy-26f69244f8616d30 | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, conversions/temperature_conversions.py#fahrenheit_to_kelvin; adapted exercises | [
{
"role": "user",
"content": "```python\ndef compute(fahrenheit, ndigits=2):\n return round((float(fahrenheit) - 32) * 5 / 9 + 273.15, ndigits)\n```\nЧто вернёт выражение round(compute(273.354, 3), 6)? Запиши repr результата Python."
},
{
"role": "assistant",
"content": "407.236"
}
] | {
"type": "exact",
"value": "407.236",
"tests": []
} | train |
reason2-ballot_points-026 | reasoning | ru | Original | CC0-1.0 | reason2-ballot_points | workshop_ballot_points | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Жюри оценивает макеты J, G, A. Баллы за места, начиная с первого: 2, 1, 0. Бюллетени записаны как число одинаковых голосов × порядок от лучшего к худшему: 6 × G>J>A; 3 × A>G>J; 9 × G>A>J; 8 × J>G>A; 5 × A>J>G. У какого макета больше всего баллов?\nКратко обоснуй ответ и запиши ... | {
"type": "exact",
"value": "G",
"tests": []
} | train |
math-verified-stock-006 | 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/4 of its boxes, received 45 more, then shipped 1/5 of its new stock. It ended with 132 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": "160",
"tests": []
} | train |
gsm-train-6458 | math | en | GSM8K | MIT | gsm8k-df957a0891de27732a27 | word_problem_7_steps | OpenAI (2021), GSM8K, original train row 6458 | [
{
"role": "user",
"content": "James has a room that is 13 feet by 18 feet. He increases each dimension by 2 feet. He then builds 3 more rooms of equal size and 1 room of twice that size. How much area does he have?\nShow a short calculation. Put the final number alone on the last line."
},
{
"rol... | {
"type": "number",
"value": "1800",
"tests": []
} | train |
algpy-ef48db43a99b7bda-check-assertions | code | ru | TheAlgorithms/Python | MIT | algpy-ef48db43a99b7bda | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, boolean_algebra/and_gate.py#n_input_and_gate; adapted exercises | [
{
"role": "user",
"content": "Один из тестов противоречит фактическому поведению этой функции. Определи его и вычисли верный результат. В последней строке запиши букву и результат через двоеточие, например A: 42.\n```python\ndef compute(inputs):\n if not isinstance(inputs, list):\n raise TypeError... | {
"type": "exact",
"value": "A: 0",
"tests": []
} | train |
reason2-pareto-016 | reasoning | ru | Original | CC0-1.0 | reason2-pareto | workshop_pareto | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Для печати плаката доступны заказы (дни, цена): K (27, 58); F (15, 62); D (12, 21); L (7, 30); W (29, 12); V (20, 27); S (3, 20); B (10, 34). Отбрось любой вариант, для которого другой вариант одновременно дешевле и быстрее. Запиши коды оставшихся в алфавитном порядке через про... | {
"type": "exact",
"value": "S W",
"tests": []
} | train |
algpy-f0e9c1a065f3eb1d-check-assertions | code | en | TheAlgorithms/Python | MIT | algpy-f0e9c1a065f3eb1d | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, strings/reverse_words.py#reverse_words; 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(sentence):\n return ' '.join(sentence.split()[::-1])\n```\n```python\n# A\na... | {
"type": "exact",
"value": "B: 'Python love I'",
"tests": []
} | train |
wiki-read-ru-67bf741a583b8b249406 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-50d1a0eeeca0ef257fe9d5 | parenthetical_detail | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-5598702542370779197-12 (Apache-2.0). Wikipedia contributors, “Нормандия” (https://ru.wikipedia.org/wiki/%D0%9D%D0%BE%D1%80%D0%BC%D0%B0%D0%BD%D0%B4%D0%B8%D1%8F), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exe... | [
{
"role": "user",
"content": "Нормандия\n\nРегион покрывает площадь более чем 29 906 км² с численностью населения 3 342 467 человек. Плотность населения составляет (по состоянию на 2017 год) 111,8 чел./км². Административным центром региона является Руан, региональный совет располагается в Кане.\n\nКакое поя... | {
"type": "exact",
"value": "по состоянию на 2017 год",
"tests": []
} | train |
algpy-c678be9cf5c6ce37-check-assertions | code | en | TheAlgorithms/Python | MIT | algpy-c678be9cf5c6ce37 | check-assertions | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, conversions/int_to_negative_binary_base.py#decimal_to_negative_binary; adapted exercises | [
{
"role": "user",
"content": "Exactly one test misstates what this implementation returns. Identify it and compute the correct result. End with the letter and the corrected Python repr, for example A: 42.\n```python\ndef compute(number):\n if number == 0:\n return 0\n result_str = ''\n while... | {
"type": "exact",
"value": "A: 11110",
"tests": []
} | train |
reason2-connected_groups-028 | reasoning | ru | Original | CC0-1.0 | reason2-connected_groups | workshop_connected_groups | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Сначала у каждого кода из списка B, F, Z, U, X, K, H, J, L, G, A свой архив. Связь между двумя кодами объединяет их архивы целиком; это распространяется по цепочке. Все действующие связи: L–U, Z–L, X–F, F–K, B–A, H–K, J–A, G–Z, U–G. Добавляют связь G–B. Сколько кодов будет в об... | {
"type": "number",
"value": "7",
"tests": []
} | train |
verified-code-coin_combinations-repair | code | en | Original | CC0-1.0 | verified-code-coin_tables | verified_repair | Original algorithm and independent oracle, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Correct one line. coin_combinations([3, 5], 9) returns 0; expected 1. coins contains distinct positive integer denominations in unlimited supply. For integer target ≥ 0 return the number of combinations without regard to coin order. The empty collection makes zero in one way.\n... | {
"type": "code",
"value": "",
"tests": [
"assert coin_combinations([], 0) == 1",
"assert coin_combinations([], 3) == 0",
"assert coin_combinations([2], 4) == 1",
"assert coin_combinations([2, 4], 7) == 0",
"assert coin_combinations([1, 3, 4], 6) == 4",
"assert coin_combinations([4, 3], 12... | train |
wiki-read-en-be7816b973c5f33a4377 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-eb7686b1c2cdb99559d388 | measurement | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--1348460535696370694-7 (Apache-2.0). Wikipedia contributors, “King County, Washington” (https://en.wikipedia.org/wiki/King_County%2C_Washington), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "King County, Washington\n\nAccording to the U.S. Census Bureau, the county has a total area of 2,307 square miles (5,980km2), of which 2,116 square miles (5,480km2) is land and 191 square miles (490km2) (8.3%) is water. King County has nearly twice the land area of the state of... | {
"type": "exact",
"value": "2,426 meters",
"tests": []
} | train |
algpy-a26f84996c4aa415-repair | code | en | TheAlgorithms/Python | MIT | algpy-a26f84996c4aa415 | repair | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, dynamic_programming/max_subarray_sum.py#max_subarray_sum; adapted exercises | [
{
"role": "user",
"content": "Repair this Python function. Return the greatest sum of a nonempty contiguous subarray of the nonempty integer list.\nFor max_subarray_sum([1, 1, 1]) it should return 3, but returns 1. Keep the signature.\n```python\ndef max_subarray_sum(arr, allow_empty_subarrays=False):\n ... | {
"type": "code",
"value": "",
"tests": [
"assert max_subarray_sum([0]) == 0",
"assert max_subarray_sum([1]) == 1",
"assert max_subarray_sum([-3]) == -3",
"assert max_subarray_sum([1, -1, 0]) == 1",
"assert max_subarray_sum([1, 1, 1]) == 3",
"assert max_subarray_sum([-1, 0, 1, 2, -1, -4]) ... | train |
algpy-9998c9ce88d5df78-repair | code | en | TheAlgorithms/Python | MIT | algpy-9998c9ce88d5df78 | repair | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, sorts/kirkpatrick_reisch_sort.py#kirkpatrick_reisch_sort; adapted exercises | [
{
"role": "user",
"content": "Repair this Python function. Return the input list's nonnegative integers in ascending order, preserving duplicates. The list can be empty.\nFor kirkpatrick_reisch_sort([4, 0, 4, 1]) it should return [0, 1, 4, 4], but returns [4, 4, 4, 4]. Keep the signature.\n```python\nimport... | {
"type": "code",
"value": "",
"tests": [
"assert kirkpatrick_reisch_sort([]) == []",
"assert kirkpatrick_reisch_sort([1]) == [1]",
"assert kirkpatrick_reisch_sort([2, 1]) == [1, 2]",
"assert kirkpatrick_reisch_sort([4, 0, 4, 1]) == [0, 1, 4, 4]",
"assert kirkpatrick_reisch_sort([3, 3]) == [3,... | train |
algpy-e57825ab8ff39c2d-trace | code | en | TheAlgorithms/Python | MIT | algpy-e57825ab8ff39c2d | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, conversions/endianness.py#swap_endianness_16; adapted exercises | [
{
"role": "user",
"content": "```python\ndef swap_endianness_16(value):\n if value < 0 or value > 65535:\n msg = f'value must be between 0 and {65535}'\n raise ValueError(msg)\n return (value & 255) << 8 | (value & 65280) >> 8\n```\nWhat does swap_endianness_16(43981) return? Give the Py... | {
"type": "exact",
"value": "52651",
"tests": []
} | train |
wiki-read-ru-52569440fc8760379ac8 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-1f2a43e584a97d5bbc2f6a | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--5356880053245123939-12 (Apache-2.0). Wikipedia contributors, “Восьмичасовой рабочий день” (https://ru.wikipedia.org/wiki/%D0%92%D0%BE%D1%81%D1%8C%D0%BC%D0%B8%D1%87%D0%B0%D1%81%D0%BE%D0%B2%D0%BE%D0%B9_%D1%80%D0%B0%D0%B1%D0%BE%D1%87%D0%B8%D0%B9_%D0%B4%D0%B5%D0%BD%D1%... | [
{
"role": "user",
"content": "Восьмичасовой рабочий день\n\nЗакон РСФСР от 19 апреля 1991 г. «О повышении социальных гарантий для трудящихся» установил продолжительность рабочего времени не более 40 часов в неделю. Данная норма была внесена в ст. 42 гл. IV КЗоТ РФ.\n\nНайди полную календарную дату, у которо... | {
"type": "exact",
"value": "1991-04-19",
"tests": []
} | train |
wiki-read-ru-23b67a90e1a612ed9975 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-4863cf80c56004f5051530 | clause | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--7038354216634349910-8 (Apache-2.0). Wikipedia contributors, “Ихтис” (https://ru.wikipedia.org/wiki/%D0%98%D1%85%D1%82%D0%B8%D1%81), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Ихтис\n\nВ раннехристианском искусстве изображения Христа были недопустимым сюжетом по причине гонений, поэтому возникают различные символические коды. Изображения акронима ΙΧΘΥΣ или символизирующей его рыбы появляются в римских катакомбах во II веке. О широком употреблении дан... | {
"type": "exact",
"value": "поэтому возникают различные символические коды",
"tests": []
} | train |
reason2-balanced_load-056 | reasoning | ru | Original | CC0-1.0 | reason2-balanced_load | workshop_balanced_load | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Две тележки должны увезти все ящики без деления содержимого. Масса каждого ящика: D=44, X=32, H=30, L=36, K=40, N=10, R=38. Какой наименьшей разницы масс между тележками можно добиться?\nПокажи короткую проверку, а в конце на отдельной строке дай ответ."
},
{
"role": "a... | {
"type": "number",
"value": "2",
"tests": []
} | train |
algpy-29457b622b837a2b-implement | code | en | TheAlgorithms/Python | MIT | algpy-29457b622b837a2b | implement | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, strings/is_pangram.py#is_pangram_fastest; 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_fastest(input_str='The quick brown fox jumps over the lazy dog'):\nExamples:\n```python\nassert is_pangram_fastest('') == Fal... | {
"type": "code",
"value": "",
"tests": [
"assert is_pangram_fastest('a') == False",
"assert is_pangram_fastest('A') == False",
"assert is_pangram_fastest('hello') == False",
"assert is_pangram_fastest('AaB') == False",
"assert is_pangram_fastest('a! b') == False",
"assert is_pangram_faste... | train |
wiki-read-en-88e8ec9daa0c0133992a | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-faafa953115f1f0d767721 | clause | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english--7963263532049689606-0 (Apache-2.0). Wikipedia contributors, “Raw (WWE brand)” (https://en.wikipedia.org/wiki/Raw_(WWE_brand)), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Raw (WWE brand)\n\nRaw is a brand of the U.S. based professional wrestling promotion WWE. The brand was first established on March 25, 2002, with a draft on Monday Night Raw and went into effect one week later on April 1. The brand split was discontinued in August 2011, but was... | {
"type": "exact",
"value": "but was brought back in July 2016",
"tests": []
} | train |
reason2-ballot_points-035 | reasoning | ru | Original | CC0-1.0 | reason2-ballot_points | workshop_ballot_points | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Жюри оценивает макеты H, P, N, U. Баллы за места, начиная с первого: 3, 2, 1, 0. Бюллетени записаны как число одинаковых голосов × порядок от лучшего к худшему: 2 × U>N>P>H; 8 × N>P>U>H; 3 × N>U>P>H; 5 × N>H>P>U; 6 × H>U>P>N. У какого макета больше всего баллов?\nПриведи ход ре... | {
"type": "exact",
"value": "N",
"tests": []
} | train |
wiki-read-en-1da73e94784c9c495d42 | en | en | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-en-31f8d828d2134884b61ea8 | definition | Clark et al. (2020), TyDiQA-GoldP v1.1 train, english-854290644129079030-0 (Apache-2.0). Wikipedia contributors, “Guardians of the Universe” (https://en.wikipedia.org/wiki/Guardians_of_the_Universe), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Guardians of the Universe\n\nThe Guardians of the Universe are a fictional race of extraterrestrials appearing in American comic books published by DC Comics, commonly in association with Green Lantern. They first appeared in Green Lantern Vol. 2, Issue 1 (July 1960), and were ... | {
"type": "exact",
"value": "a fictional race of extraterrestrials appearing in American comic books published by DC Comics, commonly in association with Green Lantern",
"tests": []
} | train |
wiki-read-ru-f8613976cc7b9a790d7b | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-b97fb4082e8bf3e593bd4c | clause | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian--8760822444432913210-14 (Apache-2.0). Wikipedia contributors, “Северин, Гай Ильич” (https://ru.wikipedia.org/wiki/%D0%A1%D0%B5%D0%B2%D0%B5%D1%80%D0%B8%D0%BD%2C_%D0%93%D0%B0%D0%B9_%D0%98%D0%BB%D1%8C%D0%B8%D1%87), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespac... | [
{
"role": "user",
"content": "Северин, Гай Ильич\n\nПока Гай ездил по соревнованиям, его сокурсники уже защитили дипломы. Но поскольку он защищали честь МАИ, руководство института пошло навстречу и перенесло ему защиту на следующий год. Поэтому Гай защитил диплом только в 1949 году, хотя работал в ЛИИ на пр... | {
"type": "exact",
"value": "хотя работал в ЛИИ на преддипломной практике с 1947-го",
"tests": []
} | train |
wiki-read-ru-480aa646bbf632089154 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-604391266512a813ad214c | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-6076423024247400159-53 (Apache-2.0). Wikipedia contributors, “Пирс, Пол” (https://ru.wikipedia.org/wiki/%D0%9F%D0%B8%D1%80%D1%81%2C_%D0%9F%D0%BE%D0%BB), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Пирс, Пол\n\n2 июля 2015 года являясь свободным агентом Пол Пирс заключил трехлетнее соглашение с «Лос-Анджелес Клипперс», сообщает Yahoo! Sports. Сумма контракта составила около 10,5 миллиона долларов. Третий сезон будет опциональным для игрока. Благодаря переходу в «Клипперс»... | {
"type": "exact",
"value": "2015-07-02",
"tests": []
} | train |
reason2-order_count-032 | reasoning | ru | Original | CC0-1.0 | reason2-order_count | workshop_order_count | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Экспонаты Y, N, K, X, W, Z выносят по одному, каждый ровно раз. Правило X→Y требует вынести X раньше Y. Правила: N→K, Y→K, K→W, K→X, N→X. Сколько полных порядков допускают эти условия?\nПокажи короткую проверку, а в конце на отдельной строке дай ответ."
},
{
"role": "as... | {
"type": "number",
"value": "24",
"tests": []
} | train |
algpy-376812135eee0790-trace | code | ru | TheAlgorithms/Python | MIT | algpy-376812135eee0790 | trace | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, data_structures/arrays/merge_sorted.py#merge_sorted_arrays; adapted exercises | [
{
"role": "user",
"content": "```python\ndef merge_sorted_arrays(nums1, nums2):\n for nums in (nums1, nums2):\n if list(nums) != sorted(nums):\n msg = f'nums = {nums!r} is not sorted'\n raise ValueError(msg)\n if not nums1:\n return nums2\n if not nums2:\n ... | {
"type": "exact",
"value": "[0, 0, 0, 0]",
"tests": []
} | train |
reason2-critical_path-010 | reasoning | ru | Original | CC0-1.0 | reason2-critical_path | workshop_critical_path | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Число рабочих мест в мастерской не ограничено. Время выполнения каждого этапа в минутах: C=9, A=5, E=3, U=3, V=2, F=7, S=4. Стрелка X→Y означает, что Y начинает работу после завершения X. Все зависимости: A→U, E→C, F→C, U→C, U→F, S→V, U→V. Время отсчитывают с нуля. Когда раньше... | {
"type": "number",
"value": "24",
"tests": []
} | train |
reason2-fair_slots-020 | reasoning | ru | Original | CC0-1.0 | reason2-fair_slots | workshop_fair_slots | Original procedural reasoning, release 2; CC0-1.0. | [
{
"role": "user",
"content": "Клуб делит часы студии по одному. Веса секций: A=28, K=22, W=24. Следующий час получает секция с наибольшим отношением «вес / (1 + число уже выделенных часов)». При равенстве выбирают первый код по алфавиту. Какой секции достанется час номер 4, если сначала ни у кого нет часов?... | {
"type": "exact",
"value": "A",
"tests": []
} | train |
algpy-f26eaa79c1062603-implement | code | en | TheAlgorithms/Python | MIT | algpy-f26eaa79c1062603 | implement | TheAlgorithms and contributors, TheAlgorithms/Python@30507bbe41397065728167fb09aa820f9fce8dc7, maths/special_numbers/abundant_numbers.py#is_abundant_number; adapted exercises | [
{
"role": "user",
"content": "Implement this Python function. For positive n, return True when the sum of its proper positive divisors is greater than n.\nSignature: def is_abundant_number(number):\nExamples:\n```python\nassert is_abundant_number(1) == False\nassert is_abundant_number(12) == True\n```"
},... | {
"type": "code",
"value": "",
"tests": [
"assert is_abundant_number(2) == False",
"assert is_abundant_number(3) == False",
"assert is_abundant_number(4) == False",
"assert is_abundant_number(6) == False",
"assert is_abundant_number(8) == False",
"assert is_abundant_number(16) == False",
... | train |
wiki-read-ru-17bd124878030002e674 | ru | ru | TyDiQA-GoldP | Apache-2.0 AND CC-BY-SA-3.0 | tydi-wiki-ru-c1e8af31767db3c8495fdc | date_normalization | Clark et al. (2020), TyDiQA-GoldP v1.1 train, russian-4473273327029770663-6 (Apache-2.0). Wikipedia contributors, “Дело Pussy Riot” (https://ru.wikipedia.org/wiki/%D0%94%D0%B5%D0%BB%D0%BE_Pussy_Riot), snapshot 2019-02-01 (CC-BY-SA-3.0). Excerpt; whitespace and reference markers normalized. New reading exercise. | [
{
"role": "user",
"content": "Дело Pussy Riot\n\n17 августа 2012 года судьёй Хамовнического районного суда города Москвы Мариной Сыровой был оглашён приговор трём обвиняемым участницам группы. Надежда Толоконникова, Мария Алёхина и Екатерина Самуцевич были приговорены к двум годам колонии общего режима.\n\n... | {
"type": "exact",
"value": "2012-08-17",
"tests": []
} | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.