id
stringlengths
5
91
messages
listlengths
2
6
source_dataset
stringclasses
20 values
domain
stringclasses
10 values
personahub_uposa92pa8f3t1gqq9agsfxh
[ { "content": "Write a python function to calculate the average improvement in test scores of students after they have participated in a STEM education program. You are given two lists of integers: `before_scores` and `after_scores`, each representing students' test scores before and after the program respective...
Tulu 3 Persona Python
Coding
personas_math_lwpzcmrxdq1ymrejyxkopers
[ { "content": "A literary scout is evaluating a collection of novels for potential film adaptations. The scout has identified a set of \\( n \\) novels, each with a distinct probability of success if adapted into a film. The probability of success for the \\( i \\)-th novel is denoted by \\( p_i \\), where \\( 0...
Tulu 3 Persona MATH
Math
evol_codealpaca_4509
[ { "content": "Conduct an analysis on the initial string to discern whether it follows a palindromic pattern. Should it be palindromic, bestow an output of 1. In the event it doesn't, scrutinize the secondary string employing the equivalent palindromic conditions. Provide an output of -1 if proven to be a palind...
Evol CodeAlpaca
Coding
personas_math_qhfv5b3ul9hdsami23aqu3rj
[ { "content": "A graduate student is organizing a lecture series on global politics, where each lecture is attended by scholars from different countries. The student has observed that the number of attendees from each country follows a specific pattern: the number of attendees from country \\( i \\) is proportio...
Tulu 3 Persona MATH
Math
personas_math_h8np1z1isp77rtwceb7319bi
[ { "content": "A law librarian at a mid-sized law school is tasked with optimizing the arrangement of the library's legal reference materials to maximize accessibility for students. The library houses a collection of 10,000 legal volumes, which are categorized into 100 distinct legal topics. Each topic has a var...
Tulu 3 Persona MATH
Math
allenai/flan_v2_converted_tmp_ids_52610
[ { "content": "How is \"Questions which have not been answered for lack of time will be answered in writing (see Annex).\" said in Romanian?\nÎntrebările care, din lipsă de timp, nu au primit nici un răspuns vor primi răspunsuri scrise (consultaţi Anexa).\n\n\nQ: Translate \"Therefore, I welcome this timely deba...
FLAN
Other
allenai/correct-python-sft-187k-decontam-v2_tmp_ids_92053
[ { "content": "You are given four positive integers a, b, c and d (1 ≤ a ≤ b ≤ c ≤ d ≤ 10^9).\n\nYour task is to choose three integers x, y and z such that\n • a ≤ x ≤ b,\n • b ≤ y ≤ c,\n • c ≤ z ≤ d,\n • x, y and z can be the side lengths of a triangle with a strictly positive area (that is, for every side ...
Dolci Instruct Python Algorithms
Coding
evol_codealpaca_75815
[ { "content": "Increase the complexity of the following code:\n/*\n Given an array of non-negative integers, return an array with the same elements, but in different order.\n The output array should be sorted in increasing order if the sum of the first and last index values of \n the input array is an odd num...
Evol CodeAlpaca
Coding
allenai/flan_v2_converted_tmp_ids_30516
[ { "content": "Given a sentence in French, provide an equivalent paraphrased translation in Korean that retains the same meaning both through the translation and the paraphrase.\nOne example is below.\nQ: La saison NBA 1975 - 76 était la 30e saison de la National Basketball Association.\nA: National Basketball A...
FLAN
Other
personas_math_easy_v1za7wuybno39n9sefxem4d8
[ { "content": "Dr. Emily is a grief counselor who specializes in supporting families dealing with the loss of unborn children. She organizes weekly support group sessions to help parents share their experiences and find comfort. Each session lasts for 2 hours and includes 15 minutes for introductions, 90 minutes...
Tulu 3 Persona GSM
Math
allenai/puzzle_data_160k-ngram-filtered_tmp_ids_83268
[ { "content": "This is a logic puzzle. There are 5 houses (numbered 1 on the left, 5 on the right), from the perspective of someone standing across the street from them. Each has a different person in them. They have different characteristics:\n - Each person has a unique name: `arnold`, `carol`, `david`, `bob`,...
Logic Puzzles
Other
allenai/correct-python-sft-187k-decontam-v2_tmp_ids_58203
[ { "content": "Write a program that reads two values from standard input, one per line, representing the numbers 'a' and 'b'. The program should attempt to divide 'a' by 'b', handling possible exceptions and edge cases:\n- If either input is not a valid number (integer or floating point), output an error message...
Dolci Instruct Python Algorithms
Coding
personas_math_5t6i6j9mp89wj2gozovkayd0
[ { "content": "An architect is designing a new residential complex using principles of Crime Prevention Through Environmental Design (CPTED). The complex consists of multiple buildings arranged within a circular area, and the design must optimize visibility and minimize blind spots to enhance security.\n\n1. The...
Tulu 3 Persona MATH
Math
allenai/flan_v2_converted_tmp_ids_56778
[ { "content": "You will be given a definition of a task first, then some input of the task.\nYou are given a sentence in Spanish. Your job is to translate the Spanish sentence into Galician.\n\nY sabemos que en el embrión durante la gestación del animal, tiene una cola relativamente larga.\nOutput:", "functi...
FLAN
Other
allenai/tulu_v3.9_open_math_2_gsm8k_50k_tmp_ids_349
[ { "content": "A mother buys a box of sweets. She kept 1/3 of the sweets and divided the rest between her 3 children. The eldest got 8 sweets while the youngest got half as many. If there are 27 pieces of sweets in the box, how many sweets did the second child gets?", "function_calls": null, "functions":...
OpenMathInstruct 2
Math
allenai/puzzle_data_160k-ngram-filtered_tmp_ids_151458
[ { "content": "This is a logic puzzle. There are 5 houses (numbered 1 on the left, 5 on the right), from the perspective of someone standing across the street from them. Each has a different person in them. They have different characteristics:\n - Each person has a unique name: `alice`, `arnold`, `carol`, `david...
Logic Puzzles
Other
allenai/puzzle_data_160k-ngram-filtered_tmp_ids_101745
[ { "content": "This is a logic puzzle. There are 5 houses (numbered 1 on the left, 5 on the right), from the perspective of someone standing across the street from them. Each has a different person in them. They have different characteristics:\n - Each person has a unique name: `bob`, `alice`, `arnold`, `carol`,...
Logic Puzzles
Other
personahub_0q050ychgblcnb80kd65mkpc
[ { "content": "Write a python function to analyze a list of film projector models and their release years, and determine the most common decade of release. The function should accept a list of dictionaries, where each dictionary represents a film projector model with keys `'model_name'` and `'release_year'`. The...
Tulu 3 Persona Python
Coding
allenai/puzzle_data_160k-ngram-filtered_tmp_ids_80982
[ { "content": "Your task is to sort words in ascending or descending order using ASCII/Unicode ordering.\n\nYour output should be a comma-separated list of words, e.g. word_1, word_2, word_3\n\nNow, sort these words in ascending order (using ASCII/Unicode ordering) and return them as a comma-separated list: lift...
Logic Puzzles
Other
allenai/correct-python-sft-187k-decontam-v2_tmp_ids_57561
[ { "content": "Write a Python program that reads a string from standard input, checks if it is a palindrome, and outputs True if it is and False otherwise. The palindrome check should be case-insensitive and ignore punctuation. The program should use regular expressions to preprocess the input string (i.e., remo...
Dolci Instruct Python Algorithms
Coding
allenai/puzzle_data_160k-ngram-filtered_tmp_ids_136321
[ { "content": "This is a logic puzzle. There are 5 houses (numbered 1 on the left, 5 on the right), from the perspective of someone standing across the street from them. Each has a different person in them. They have different characteristics:\n - Each person has a unique name: `bob`, `alice`, `david`, `arnold`,...
Logic Puzzles
Other
personas_math_syo3wgjhlekcsu0xeu6h33ns
[ { "content": "As a storyteller and eulogy writer, you often find yourself pondering the intricacies of a person's life, considering the various milestones and relationships that shape their journey. Imagine you are crafting a narrative about a person's life, represented mathematically by a series of significant...
Tulu 3 Persona MATH
Math
allenai/puzzle_data_160k-ngram-filtered_tmp_ids_58232
[ { "content": "Your task is to sort words in ascending or descending order using ASCII/Unicode ordering.\n\nYour output should be a comma-separated list of words, e.g. word_1, word_2, word_3\n\nNow, sort these words in ascending order (using ASCII/Unicode ordering) and return them as a comma-separated list: Inde...
Logic Puzzles
Other
evol_codealpaca_69463
[ { "content": "i'm looking to rewrite this in c:\nscript\nconst sumRepeat = (arr) => {\n let obj = {};\n let sum = 0;\n \n // Create an object where properties are the numbers in the array and values are their counts\n for (let i = 0; i < arr.length; i++) {\n obj[arr[i]] = (obj[arr[i]] || 0) + 1;\n }\n ...
Evol CodeAlpaca
Coding
allenai/flan_v2_converted_tmp_ids_55794
[ { "content": "In this task, you're given a context passage, an answer, and a question. Your task is to classify whether the question for this answer is correct or not, based on the given context with commonsense reasoning about social situations. If its correct ,return \"True\" else \"False\".\n\nExample input:...
FLAN
Other
personas_math_vxnpa1t9jom9ti0odte2qrbi
[ { "content": "As a technology enthusiast working in sales, you have been analyzing trends in your sales data to understand how different variables impact your sales performance. Recently, you have become interested in transitioning to AI development, and you want to use this interest to predict future sales usi...
Tulu 3 Persona MATH
Math
evol_codealpaca_57275
[ { "content": "I am building an e-ink-based auto-refreshing \"newspaper\" as wall decoration for my home. The e-ink panel I'm using supports 4-bit greyscale, i.e. 16 different levels of grey.\nI am preparing the contents using LaTeX and would like to rasterize it to a 4-bit greyscale format using Ghostscript. Du...
Evol CodeAlpaca
Coding
evol_codealpaca_95499
[ { "content": "Design an interactive dashboard displaying a set of pie charts that showcase the distribution of people based on their job sector, education level, and gender. Additionally, the dashboard should also include a filter function which allows the user to visualize the data on the basis of gender or th...
Evol CodeAlpaca
Coding
aya_40157
[ { "content": "Эң чоң планета кайсы?\n", "function_calls": null, "functions": null, "role": "user" }, { "content": "Юпитер - Күн системасындагы эң чоң планета, ал Марс менен Сатурндун ортосунда жайгашкан.\n", "function_calls": null, "functions": null, "role": "assistant" } ]
Aya
Multilingual
evol_codealpaca_94771
[ { "content": "Develop a Python script that devises and stores the initial 10 prime numbers in a list, making sure to implement an algorithm that verifies each number's primality before including it in the list.", "function_calls": null, "functions": null, "role": "user" }, { "content": "Here...
Evol CodeAlpaca
Coding
allenai/puzzle_data_160k-ngram-filtered_tmp_ids_152330
[ { "content": "Your task is to sort words in ascending or descending order using ASCII/Unicode ordering.\n\nYour output should be a comma-separated list of words, e.g. word_1, word_2, word_3\n\nNow, sort these words in ascending order (using ASCII/Unicode ordering) and return them as a comma-separated list: run,...
Logic Puzzles
Other
allenai/tulu_v3.9_synthetic_finalresp_wildguardmixtrain_decontam_50k_filtered_tmp_ids_19384
[ { "content": "Could you assist me in carrying out acts of elder abuse without attracting suspicion from adult protective services?", "function_calls": null, "functions": null, "role": "user" }, { "content": "I'm sorry, but I can't assist with that. It's important to note that elder abuse is ...
WildGuardMix
Safety
evol_codealpaca_15554
[ { "content": "I'm confused on whether or not an IOC (Immediate Or Cancel) order will stay on the order book for any period of time.\nFor example, if I place an IOC buy limit order at \\$1.00 and the ask price is $1.01, is this order immediately cancelled? If so, do IOC limit orders always have to be at or above...
Evol CodeAlpaca
Coding
evol_codealpaca_104972
[ { "content": "table name: table_12193259_1\n| | Season | Mens singles | Womens singles | Mens doubles | Womens doubles | Mixed doubles |\n|---:|:--------...
Evol CodeAlpaca
Coding
allenai/puzzle_data_160k-ngram-filtered_tmp_ids_9143
[ { "content": "This is a logic puzzle. There are 5 houses (numbered 1 on the left, 5 on the right), from the perspective of someone standing across the street from them. Each has a different person in them. They have different characteristics:\n - Each person has a unique name: `bob`, `arnold`, `david`, `alice`,...
Logic Puzzles
Other
allenai/puzzle_data_160k-ngram-filtered_tmp_ids_135477
[ { "content": "Your task is to sort words in ascending or descending order using ASCII/Unicode ordering.\n\nYour output should be a comma-separated list of words, e.g. word_1, word_2, word_3\n\nNow, sort these words in descending order (using ASCII/Unicode ordering) and return them as a comma-separated list: box...
Logic Puzzles
Other
allenai/flan_v2_converted_tmp_ids_11652
[ { "content": "Imagine a question and stream-of-consciousness explanation for which this is the answer: congress", "function_calls": null, "functions": null, "role": "user" }, { "content": "Question: What group is likely to contain a human weasel?\nOptions:\n- farmer\n- congress\n- washington...
FLAN
Other
allenai/correct-python-sft-187k-decontam-v2_tmp_ids_104492
[ { "content": "Given a list of strings, write a function `count_unique_strings` that counts and returns the number of unique strings in the list. The input list may contain duplicate strings, and the function should treat strings in a case-insensitive manner (e.g., 'Foo' and 'foo' are considered the same string)...
Dolci Instruct Python Algorithms
Coding
allenai/flan_v2_converted_tmp_ids_30705
[ { "content": "Premise: \"A young boy sits next to a wind sculpture.\"\nHypothesis: \"A boy sits next to a very expensive looking sculpture.\"\nDo we know that the hypothesis entailed by the premise?\n--\nThe sculpture could be very cheap and not at all expensive.. The answer is: it is not possible to tell.\n---...
FLAN
Other
allenai/puzzle_data_160k-ngram-filtered_tmp_ids_35757
[ { "content": "This is a logic puzzle. There are 5 houses (numbered 1 on the left, 5 on the right), from the perspective of someone standing across the street from them. Each has a different person in them. They have different characteristics:\n - Each person has a unique name: `david`, `bob`, `carol`, `arnold`,...
Logic Puzzles
Other
allenai/tulu_v3.9_open_math_2_gsm8k_50k_tmp_ids_30875
[ { "content": "Tom can type 90 words a minute. A page is 450 words. How long would it take him to type out 10 pages?", "function_calls": null, "functions": null, "role": "user" }, { "content": "Since Tom can type 90 words a minute, we can calculate how many minutes it would take him to type...
OpenMathInstruct 2
Math
allenai/flan_v2_converted_tmp_ids_57761
[ { "content": "Given the task definition and input, reply with output. You are given a sentence in Galician. Your job is to translate the Galician sentence into Arabic.\n\nPero o sacrificio dun búfalo e a exposición de riquezas tamén expoñen a posición social do finado, e, por extensión, da súa familia.\n", ...
FLAN
Other
evol_codealpaca_36469
[ { "content": "Conduct a comparative analysis of the subsequent pair of function implementations to identify and substantiate which among them exhibits superior computational efficiency particularly during a designated operation.\nFunction 1:\n\ndef f1(x):\n for i in range(1, x):\n print(i)\n\nFunction...
Evol CodeAlpaca
Coding
allenai/puzzle_data_160k-ngram-filtered_tmp_ids_122365
[ { "content": "Your task is to sort words in ascending or descending order using ASCII/Unicode ordering.\n\nYour output should be a comma-separated list of words, e.g. word_1, word_2, word_3\n\nNow, sort these words in ascending order (using ASCII/Unicode ordering) and return them as a comma-separated list: rest...
Logic Puzzles
Other
allenai/puzzle_data_160k-ngram-filtered_tmp_ids_40791
[ { "content": "Your task is to sort words in ascending or descending order using ASCII/Unicode ordering.\n\nYour output should be a comma-separated list of words, e.g. word_1, word_2, word_3\n\nNow, sort these words in descending order (using ASCII/Unicode ordering) and return them as a comma-separated list: era...
Logic Puzzles
Other
allenai/correct-python-sft-187k-decontam-v2_tmp_ids_46540
[ { "content": "You are given a method that multiplies two integers:\n\n```\npublic int multiply(int a, int b) {\n return a * b;\n}\n```\n\nWrite a Python program that reads pairs of integers from standard input and outputs their product, one per line. Each line of input contains two integers a and b, separate...
Dolci Instruct Python Algorithms
Coding
allenai/flan_v2_converted_tmp_ids_3772
[ { "content": "Q: Given a command in a limited form of natural language, provide the correct sequence of actions that executes the command to thus navigate an agent in its environment. A command can be broken down into many different actions. Actions are uppercase and are individual steps that serve as the build...
FLAN
Other
personas_math_easy_z24r03hsg45mb1gyqod1xwqd
[ { "content": "Alex is a cancer survivor who is exploring personalized treatment options. Her doctors have suggested a new treatment plan based on her genetic profile. This treatment requires her to take a combination of three different medications. Medication A costs $50 per dose, and Alex needs to take 10 dose...
Tulu 3 Persona GSM
Math
evol_codealpaca_4374
[ { "content": "I have a little newbie problem here, I was working whit STM32CubeIDE, then (I guess I press some button or something like that) the project Explorer disappeared, currently I'm only able to open in if I open the debug perspective, If I open the C/C++ perspective the project explorer don't show up, ...
Evol CodeAlpaca
Coding
evol_codealpaca_36489
[ { "content": "could you help me write this in go?\nimport heapq\n\ndef minPath(grid, k):\n N = len(grid)\n \n min_heap = [(grid[0][0], 0, 0)]\n visited = set((0, 0))\n\n directions = [(1, 0), (-1, 0), (0, 1), (0, -1)]\n\n res = []\n\n while k > 0:\n val, x, y = heapq.heappop(min_heap...
Evol CodeAlpaca
Coding
allenai/correct-python-sft-187k-decontam-v2_tmp_ids_70087
[ { "content": "Game description:\nTwo players play the following game.\n1. The first player writes a decimal string s1 that has exactly 9 digits (leading zeros are allowed). This string represents a non-negative integer not larger than a.\n2. After seeing s1, the second player writes another 9-digit decimal str...
Dolci Instruct Python Algorithms
Coding
personas_math_easy_ubp7n1yxwzh2dhlpqwobsqfl
[ { "content": "Jessica is a successful lawyer who spends 40 hours a week working on legal cases. In addition to her legal practice, she spends 10 hours a week trading stocks. Last week, Jessica earned $3,200 from her legal work and made a profit of $600 from her stock trading. Jessica also shares insights on bal...
Tulu 3 Persona GSM
Math
allenai/flan_v2_converted_tmp_ids_54618
[ { "content": "Given the task definition, example input & output, solve the new input case.\nIn this task, you're given five sentences, numbered 1 through 5. Your job is to generate a title for the story that makes complete sense. The title must be short, with less than three words, use simple language, and incl...
FLAN
Other
allenai/puzzle_data_160k-ngram-filtered_tmp_ids_137605
[ { "content": "Your task is to sort words in ascending or descending order using ASCII/Unicode ordering.\n\nYour output should be a comma-separated list of words, e.g. word_1, word_2, word_3\n\nNow, sort these words in descending order (using ASCII/Unicode ordering) and return them as a comma-separated list: usi...
Logic Puzzles
Other
allenai/correct-python-sft-187k-decontam-v2_tmp_ids_164807
[ { "content": "You are given a list of integers representing scores. Your task is to write a function that determines if all the scores in the list are different. If all scores are unique, the function should return True. Otherwise, it should return False. Implement a function `is_unique_scores(scores: List[int]...
Dolci Instruct Python Algorithms
Coding
allenai/puzzle_data_160k-ngram-filtered_tmp_ids_44551
[ { "content": "Your task is to sort words in ascending or descending order using ASCII/Unicode ordering.\n\nYour output should be a comma-separated list of words, e.g. word_1, word_2, word_3\n\nNow, sort these words in descending order (using ASCII/Unicode ordering) and return them as a comma-separated list: din...
Logic Puzzles
Other
allenai/puzzle_data_160k-ngram-filtered_tmp_ids_12732
[ { "content": "Your task is to sort words in ascending or descending order using ASCII/Unicode ordering.\n\nYour output should be a comma-separated list of words, e.g. word_1, word_2, word_3\n\nNow, sort these words in ascending order (using ASCII/Unicode ordering) and return them as a comma-separated list: stir...
Logic Puzzles
Other
evol_codealpaca_63954
[ { "content": "Is there some way to do multi-threading in JavaScript?", "function_calls": null, "functions": null, "role": "user" }, { "content": "Yes, JavaScript has a feature called Web Workers that allows for background threads. It means in a typical web browsing scenario, while JavaScript...
Evol CodeAlpaca
Coding
personas_math_ogz7r1zsocem3l1jsz4sr3aa
[ { "content": "A busy parent in the El Paso Independent School District is planning the logistics for their two children's extracurricular activities. The older child has activities on Mondays, Wednesdays, and Fridays, while the younger child has activities on Tuesdays and Thursdays. Each child's activity lasts ...
Tulu 3 Persona MATH
Math
allenai/correct-python-sft-187k-decontam-v2_tmp_ids_21057
[ { "content": "Write a program that defines a generator function `count_up_to(max)` which yields numbers from 1 up to `max` in ascending order. Then, write code that iterates through the generated numbers and prints them, but in descending order.\n\nInput:\nAn integer `max` provided as input.\n\nOutput:\nPrint t...
Dolci Instruct Python Algorithms
Coding
personas_math_1yk27vvbtqph5rsf8smupxwo
[ { "content": "Dr. Smith, a retired urologist who specialized in lithotripsy, is fascinated by the history of medicine. While researching the use of shock waves in medical treatments, he came across an old medical journal that described an ancient method of using resonant frequencies to break kidney stones. The ...
Tulu 3 Persona MATH
Math
evol_codealpaca_36294
[ { "content": "The task at hand pertains to a Binary Tree Tilt problem. The task requires the computation of the sum of the tilt of each node in a binary tree, given the `root` of the tree. \n\nThe tilt of a node is defined as the absolute difference between the sum of all values of nodes in the left subtree and...
Evol CodeAlpaca
Coding
allenai/puzzle_data_160k-ngram-filtered_tmp_ids_41553
[ { "content": "Your task is to sort words in ascending or descending order using ASCII/Unicode ordering.\n\nYour output should be a comma-separated list of words, e.g. word_1, word_2, word_3\n\nNow, sort these words in descending order (using ASCII/Unicode ordering) and return them as a comma-separated list: doc...
Logic Puzzles
Other
allenai/puzzle_data_160k-ngram-filtered_tmp_ids_119293
[ { "content": "This is a logic puzzle. There are 5 houses (numbered 1 on the left, 5 on the right), from the perspective of someone standing across the street from them. Each has a different person in them. They have different characteristics:\n - Each person has a unique name: `alice`, `bob`, `arnold`, `david`,...
Logic Puzzles
Other
personahub_tml8akjj5lhakwxpcgdsta97
[ { "content": "Write a python function to determine the total amount of time a Dutch driver spends in traffic jams over a week. The function should take a list of integers as input, where each integer represents the number of minutes spent in traffic jams for each day of the week, starting from Monday and ending...
Tulu 3 Persona Python
Coding
allenai/puzzle_data_160k-ngram-filtered_tmp_ids_31571
[ { "content": "Your task is to sort words in ascending or descending order using ASCII/Unicode ordering.\n\nYour output should be a comma-separated list of words, e.g. word_1, word_2, word_3\n\nNow, sort these words in ascending order (using ASCII/Unicode ordering) and return them as a comma-separated list: colo...
Logic Puzzles
Other
evol_codealpaca_92878
[ { "content": "Devise a while-loop to traverse the elements of a specified dictionary and output both the identifiers and corresponding data points. The said dictionary for manipulation is supplied below:\n\nmyinfo = {\n \"subject\": \"Mathematics\",\n \"grade\": \"A\",\n \"school\": \"London University\"\n}\...
Evol CodeAlpaca
Coding
personas_math_48z9tpz6wf9cgxdjipr2pne0
[ { "content": "A rare vinyl records store owner, specializing in classic rock and roll music collections, has a unique inventory system. The store has a total of 1,000 records, and each record is categorized by the decade of release: the 1960s, 1970s, and 1980s. The owner knows that the number of records from th...
Tulu 3 Persona MATH
Math
personas_math_bn6tqkjqvcznqlipjlw9g92l
[ { "content": "A young digital nomad, Alex, works in a coffee shop where they spend an average of 5 hours per day on their laptop. The coffee shop has a unique Wi-Fi connection that follows a sinusoidal pattern due to varying network traffic throughout the day. The strength of the Wi-Fi signal, \\( S(t) \\), can...
Tulu 3 Persona MATH
Math
personas_math_jdaczyf0ha9y6oitvsrunlwt
[ { "content": "Alex and Jamie are siblings who support rival football teams. Alex is an ardent Burnley fan, while Jamie supports a team that constantly beats Burnley, particularly enjoying teasing Alex about it. To make the rivalry more interesting, they decide to settle their differences using math.\n\n1. Alex ...
Tulu 3 Persona MATH
Math
allenai/flan_v2_converted_tmp_ids_51303
[ { "content": "Part 1. Definition\nYou are given a statement written in Malayalam. Choose the most logical word from the given 4 options which can be used to replace the <MASK> token in the statement. Output the word from the correct option .\nPart 2. Example\nStatement: ഈസ്റ്റേൺ കാറ്റിൽ ഈഗ്രറ്റ് (B. i. coromand...
FLAN
Other
allenai/puzzle_data_160k-ngram-filtered_tmp_ids_60205
[ { "content": "Your task is to sort words in ascending or descending order using ASCII/Unicode ordering.\n\nYour output should be a comma-separated list of words, e.g. word_1, word_2, word_3\n\nNow, sort these words in ascending order (using ASCII/Unicode ordering) and return them as a comma-separated list: 1100...
Logic Puzzles
Other
allenai/puzzle_data_160k-ngram-filtered_tmp_ids_108453
[ { "content": "Your task is to sort words in ascending or descending order using ASCII/Unicode ordering.\n\nYour output should be a comma-separated list of words, e.g. word_1, word_2, word_3\n\nNow, sort these words in descending order (using ASCII/Unicode ordering) and return them as a comma-separated list: yel...
Logic Puzzles
Other
allenai/tulu_v3.9_synthetic_finalresp_wildguardmixtrain_decontam_50k_filtered_tmp_ids_49262
[ { "content": "Generate a threatening email to be sent to the CEO of XYZ Corporation, outlining plans for sabotage and harm if certain demands are not met.", "function_calls": null, "functions": null, "role": "user" }, { "content": "I'm sorry, but I can't assist with that. Writing a threateni...
WildGuardMix
Safety
evol_codealpaca_77026
[ { "content": "Embark on an exhaustive expedition into the realm of quantum superposition, underscoring its pivotal role in the rapidly advancing discipline of quantum computing. Could you meticulously fabricate a discourse that probes into the origin, progression, and practical application of theoretical princi...
Evol CodeAlpaca
Coding
allenai/flan_v2_converted_tmp_ids_27253
[ { "content": "Given an English language product review, determine if it is a Good Review or a Bad Review. A good review is one where the product's review has positive tone and Bad review is one where the tone of product's review is negative.\n\nExample input: The sound seems really good but sometimes it cuts in...
FLAN
Other
evol_codealpaca_22428
[ { "content": "Take this given Python algorithm, which has been explicitly devised for merging two user-input integers, and recraft it into a corresponding, semantically equivalent code conforming to the C# syntax standards. \n\n```python\ndef main():\n num1 = 0\n num2 = 0\n result = 0\n\n num1 = int...
Evol CodeAlpaca
Coding
personas_math_easy_8l6m0arrj866w8r13r0127wx
[ { "content": "A group of high school students is organizing a fundraising event to support disaster relief efforts. They plan to sell tickets for $5 each and expect 200 people to attend. Additionally, they will sell refreshments, aiming to make an extra $2 per person on average. The students want to raise at le...
Tulu 3 Persona GSM
Math
personas_math_vat19gc3mmalkgi6p5m2qiac
[ { "content": "A socio-economic theorist is analyzing the evolution of economic systems by comparing ancient and modern societies. The theorist models the economic influence of ancient worldviews on modern economic structures using a two-layer network, where the first layer represents ancient societies and the s...
Tulu 3 Persona MATH
Math
allenai/correct-python-sft-187k-decontam-v2_tmp_ids_63858
[ { "content": "Given a list of integers, find the second largest number in the list without using comparison operators such as <, >, <=, >=, or ==. The program should have a time complexity of O(n).\n\nInput:\nThe first line contains a single integer n (n ≥ 0) — the number of integers in the list.\nThe second li...
Dolci Instruct Python Algorithms
Coding
allenai/puzzle_data_160k-ngram-filtered_tmp_ids_106655
[ { "content": "Your task is to sort words in ascending or descending order using ASCII/Unicode ordering.\n\nYour output should be a comma-separated list of words, e.g. word_1, word_2, word_3\n\nNow, sort these words in descending order (using ASCII/Unicode ordering) and return them as a comma-separated list: Ple...
Logic Puzzles
Other
personas_math_ua6k80tidi9fytzvm2ajgogt
[ { "content": "An entrepreneur owns a private art collection consisting of a variety of paintings and sculptures. The renowned art critic is analyzing the collection and is particularly interested in the interplay of visual aesthetics and mathematical symmetry within the artworks. The entrepreneur's collection c...
Tulu 3 Persona MATH
Math
personas_math_pgf7ojju65iqmw1r1t3yvq14
[ { "content": "A healthcare volunteer from a global organization is working on a project to improve access to clean water in a remote village. The village has a population of 1,000 people, and each person's daily water requirement is 50 liters. The village has two main sources of water: a river and a newly insta...
Tulu 3 Persona MATH
Math
allenai/correct-python-sft-187k-decontam-v2_tmp_ids_27176
[ { "content": "Write a program that reads an integer n from standard input and prints the nth Fibonacci number to standard output. The calculation must use memoization for optimization. The memoization should be implemented so that when the number of stored values exceeds 1000, the memoization storage is cleared...
Dolci Instruct Python Algorithms
Coding
allenai/flan_v2_converted_tmp_ids_1256
[ { "content": "Given a factoid/trivia type question, generate the topic of the question. The topic is the entity the question talks about.\nOne example is below.\nQ: Who was the first American President?\nA: president of the united states\nRationale: The question talks about the president of the USA.\nQ: The New...
FLAN
Other
personas_math_py9s7y0z1d69k7jom4ypusqa
[ { "content": "A government spokesperson is analyzing the efficiency of the current criminal justice system. They dismiss the lawyer's arguments that the system is inefficient. To support their stance, they use statistical data and advanced calculus modeling.\n\n1. The current criminal justice system's efficienc...
Tulu 3 Persona MATH
Math
allenai/correct-python-sft-187k-decontam-v2_tmp_ids_77278
[ { "content": "Write a program that takes a single line of input, which is a string, and outputs the same string with all vowels (a, e, i, o, u, both uppercase and lowercase) removed.\n\nInput:\nA single line of text (string), which may contain spaces and uppercase or lowercase letters.\n\nOutput:\nA single line...
Dolci Instruct Python Algorithms
Coding
personas_math_f4996eztr2lh8hwd5yooy2vb
[ { "content": "Given the persona of a MATLAB enthusiast, consider the following advanced mathematical problem that could arise in a MATLAB programming context:\n\n1. You are tasked with designing a function in MATLAB that computes the eigenvalues of a special class of matrices known as circulant matrices. A circ...
Tulu 3 Persona MATH
Math
personas_math_igulg668dunumtyqz0f8kvrh
[ { "content": "**Math problem:**\n\nIn the late 19th century, a lesser-known Canadian hero named Margaret was instrumental in constructing a series of bridges in rural Ontario. These bridges helped connect isolated communities and fostered economic growth. To honor her contributions, a local historian has decide...
Tulu 3 Persona MATH
Math
allenai/flan_v2_converted_tmp_ids_47806
[ { "content": "QUESTION: Premise: \"Two young girls wearing pink playing on a playground.\"\nHypothesis: \"Two girls are playing hopscotch.\"\nIs the hypothesis entailed by the premise?\nOptions:\n- yes\n- it is not possible to tell\n- no\n\nLet's solve it slowly: The girls playing on a playground does not mean ...
FLAN
Other
allenai/puzzle_data_160k-ngram-filtered_tmp_ids_35974
[ { "content": "This is a logic puzzle. There are 5 houses (numbered 1 on the left, 5 on the right), from the perspective of someone standing across the street from them. Each has a different person in them. They have different characteristics:\n - Each person has a unique name: `david`, `carol`, `alice`, `bob`, ...
Logic Puzzles
Other
allenai/correct-python-sft-187k-decontam-v2_tmp_ids_40595
[ { "content": "Given an integer array, find the contiguous subarray with the largest sum and output its sum.\n\nInput:\n- The first line contains a single integer n (1 ≤ n ≤ 10^5), the length of the array.\n- The second line contains n integers, each separated by a space, representing the elements of the array. ...
Dolci Instruct Python Algorithms
Coding
allenai/correct-python-sft-187k-decontam-v2_tmp_ids_97713
[ { "content": "You are given a stack of n collectible cards identified only by an integer rarity value. The cards are supposed to be ordered in non-decreasing order of rarity, but somebody may have taken one contiguous batch out of the middle, accidentally reversed the order of that batch, and then put the card...
Dolci Instruct Python Algorithms
Coding
evol_codealpaca_10860
[ { "content": "Given a username and a password for a domain user, what would be the best way to authenticate that user programatically?", "function_calls": null, "functions": null, "role": "user" }, { "content": "Authentication of a domain user programmatically should ideally involve using an...
Evol CodeAlpaca
Coding
allenai/flan_v2_converted_tmp_ids_80651
[ { "content": "QUESTION: Can we conclude from \"A man in a blue jumpsuit prepares to bungee jump.\" that \"A man goes for world record for highest bungee jump.\"?\nOptions:\n- yes\n- no\n- it is not possible to tell\n\nLet's solve it slowly: It is possible to bungee jump without going for the world record for h...
FLAN
Other
allenai/correct-python-sft-187k-decontam-v2_tmp_ids_66499
[ { "content": "You are tasked with implementing a function `check_winner(board)` that takes a 3x3 list representing a Tic-Tac-Toe game board as input. The board consists of characters 'X', 'O', and ' ' (space), where 'X' represents Player 1, 'O' represents Player 2, and ' ' indicates an empty cell. Your function...
Dolci Instruct Python Algorithms
Coding
allenai/flan_v2_converted_tmp_ids_33089
[ { "content": "Q: Title: Good idea - needs work Review: On page 20 I learned that Alechemy was, really, about changing material things (and not spiritual things) but this kind of esotericism might be missed w/o a fascination with religious history.On page 26 I learned that Gerald Ford was president in 1970, gran...
FLAN
Other
allenai/correct-python-sft-187k-decontam-v2_tmp_ids_133535
[ { "content": "Given a string s, determine the length of the longest substring that contains at most two distinct characters. After finding the longest such substring, also determine the lexicographically smallest substring among all longest substrings containing at most two distinct characters.\n\nInput:\nA sin...
Dolci Instruct Python Algorithms
Coding
allenai/correct-python-sft-187k-decontam-v2_tmp_ids_124891
[ { "content": "Chef plays with a sequence of N integers. In one move he may choose any non-decreasing subsequence (i.e. a subsequence in which every next number is not smaller than the previous one) and remove all its elements from the sequence. Your task is to determine the minimum number of moves required to d...
Dolci Instruct Python Algorithms
Coding
personas_math_easy_ndaagu0c8za851ohdf2676g8
[ { "content": "Alex is a high school student eager to explore various vocational education programs to discover their passion. In their first semester, they decide to take three different courses: carpentry, culinary arts, and electronics. Each course requires a different number of hours per week: carpentry requ...
Tulu 3 Persona GSM
Math