prompt
stringlengths 98
11.7k
| response
stringlengths 1
1.45k
|
---|---|
In this task you will be given a list of integers. You should remove any integer that is not prime. A prime integer is an integer that is only divisible by '1' and itself. The output should be the list of prime numbers in the input list. If there are no primes in the input list an empty list ("[]") should be returned.
One example is below.
Q: [47, 444, 859, 530, 197, 409]
A: [47, 859, 197, 409]
Rationale: The integers '444' and '530' are not prime integers and they were removed from the list.
Q: [830, 28, 463]
A: | [463] |
Generate a 3-star review (1 being lowest and 5 being highest) about an app with package com.google.android.marvin.talkback.
A: | Sometimes it doesn't even get what I say puts in something wrong. |
You will be given a definition of a task first, then some input of the task.
The provided text is in English, and we ask you to translate the text to the Croatian language. Please bear in mind the following guidelines while translating: 1) We want a natural translation, a formal form. 2) Use the symbols like '#@%$-+_=^&!*' as-is. *Include* the special characters as suited when translating to Croatian. 3) Quantities like millions or billions should be translated to their equivalent in Croatian language 4) Note the input is all case-sensitive except for special placeholders and output is expected to be case-sensitive. 5) The output must have Croatian characters like Ž or č and the output must preserve the Croatian language characters. 6) The input contains punctuations and output is expected to have relevant punctuations for grammatical accuracy.
But if you're Boltzmann, you know that, if you wait long enough, the random fluctuations of those molecules will occasionally bring them into lower entropy configurations.
Output: | Ali Boltzmann zna da ako dovoljno čekaš, slučajne fluktuacije molekula će ih ponekad dovesti u konfiguraciju niske entropije. |
Q: Turn the given fact into a question by a simple rearrangement of words. This typically involves replacing some part of the given fact with a WH word. For example, replacing the subject of the provided fact with the word "what" can form a valid question. Don't be creative! You just need to rearrange the words to turn the fact into a question - easy! Don't just randomly remove a word from the given fact to form a question. Remember that your question must evaluate scientific understanding. Pick a word or a phrase in the given fact to be the correct answer, then make the rest of the question. You can also form a question without any WH words. For example, "A radio converts electricity into?"
Fact: Black holes are formed by stars that have mass larger than 25 solar masses.
A: | Stars that have mass larger than 25 solar masses can form what? |
Detailed Instructions: In this task you are expected to write an SQL query that will return the data asked for in the question. An SQL query works by selecting data from a table where certain conditions apply. A table contains columns where every row in that table must have a value for each column. Every table has a primary key that uniquely identifies each row, usually an id. To choose which columns are returned you specify that after the "SELECT" statement. Next, you use a "FROM" statement to specify what tables you want to select the data from. When you specify a table you can rename it with the "AS" statement. You can reference that table by whatever name follows the "AS" statement. If you want to select data from multiple tables you need to use the "JOIN" statement. This will join the tables together by pairing a row in one table with every row in the other table (Cartesian Product). To limit the number of rows returned you should use the "ON" statement. This will only return rows where the condition specified after the statement is true, this is usually an equals operator with primary keys. You can also use the "WHERE" statement to specify that only rows with column values statisfying a certain condition, should be returned. The "GROUP BY" statement will group rows together that have equal column values for whatever columns follows the statement. The "HAVING" statement will return groups that statisfy whatever condition follows the statement. Any column(s) being returned from grouped rows must either be an aggregate function, (AVG, MAX, COUNT, SUM, ...) of a column, or the column(s) that the data was grouped by. To sort the returned data you can use the "ORDER BY" command which will order the data by whatever aggregate function or column follows the statement. The "DESC" statement will sort in descending order and the "ASC" statement will sort in ascending order. Finally, you can use the "LIMIT" statement to return a certain number of rows. When "*" is used in an SQL statement every column is returned. For example, SELECT * FROM table WHERE attribute = 1, will select every column from rows with the attribute column equal to 1.
Problem:Find the name of each user and number of tweets tweeted by each of them.
Solution: | SELECT T1.name , count(*) FROM user_profiles AS T1 JOIN tweets AS T2 ON T1.uid = T2.uid GROUP BY T2.uid |
Instructions: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Input: password = e2XDBhlI
Output: | 0 |
Part 1. Definition
In this task you will be given a list of integers. You should remove any integer that is not prime. A prime integer is an integer that is only divisible by '1' and itself. The output should be the list of prime numbers in the input list. If there are no primes in the input list an empty list ("[]") should be returned.
Part 2. Example
[47, 444, 859, 530, 197, 409]
Answer: [47, 859, 197, 409]
Explanation: The integers '444' and '530' are not prime integers and they were removed from the list.
Part 3. Exercise
[709, 270, 641, 111, 751, 383, 103, 254, 572, 952, 619, 858, 631, 463, 945, 293, 991, 781]
Answer: | [709, 641, 751, 383, 103, 619, 631, 463, 293, 991] |
In this task, you are given a date in "mm/dd/yyyy" format. You need to check if the date is valid or not. Return 1 if it is valid, else return 0. A date is valid is the components month("mm"), day("dd") and year("yyyy") are all valid individually. A day(dd) is valid if it is greater than or equal to 1 and less than 30 or 31 depending upon the month(mm). Months which have 31 days are January, March, May, July, August, October, December. Rest of the months have 30 days except February which has 28 days if it is not a leap year and 29 days if it is a leap year. A month(mm) is valid if it lies in the range from 1 to 12 as there are 12 months in a year. A year is always valid if it is expressed in the form of "yyyy".
03/20/1699 | 1 |
Definition: In this task you will be given a string that only contains single digit numbers spelled out. The input string will not contain spaces between the different numbers. Your task is to return the number that the string spells out. The string will spell out each digit of the number for example '1726' will be 'oneseventwosix' instead of 'one thousand seven hundred six'.
Input: zerothreethreeninezeroseven
Output: | 033907 |
Please answer this: Generate a 4-star review (1 being lowest and 5 being highest) about an app with package org.telegram.messenger.
++++++++
Answer: Problem Why would automatically be sent an invitation to the channel? Although the settings I have set my contacts.
Problem: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package com.ichi2.anki.
A: Muito bom Otimo aplicativo
Problem: Given the question: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package net.androgames.level.
++++++++++++++++++++++++++++++++
The answer is:
Works great Installed on my moto x and works great
input question: Generate a 1-star review (1 being lowest and 5 being highest) about an app with package com.easytarget.micopi.???
output answer: Doesn't update contact pictures When selected all contacts it does not update the contact pictures
Generate a 3-star review (1 being lowest and 5 being highest) about an app with package com.google.android.gms.
----
Answer: Nice Better yet
Q: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package org.ppsspp.ppsspp.
A: | Very nice to |
In this task, you will be given a list of numbers. The goal is to divide all the numbers in the list by a constant such that the sum of the resulting list is 1. The output should be rounded to 3 decimals.
[239.945, 42.333]
[0.85 0.15]
[181.925, -32.407]
[ 1.217 -0.217]
[1.198, -53.11, 169.788, 247.168, -1.251]
| [ 0.003 -0.146 0.467 0.679 -0.003]
|
Definition: In this task, you are given commands (in terms of logical operations) and natural interpretation of the given command to select relevant rows from the given table. Your job is to generate a label "yes" if the interpretation is appropriate for the command, otherwise generate label "no".
Here are the definitions of logical operators:
1. count: returns the number of rows in the view.
2. only: returns whether there is exactly one row in the view.
3. hop: returns the value under the header column of the row.
4. and: returns the boolean operation result of two arguments.
5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column.
6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column.
7. argmax/argmin: returns the row with the max/min value in header column.
8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column.
9. eq/not_eq: returns if the two arguments are equal.
10. round_eq: returns if the two arguments are roughly equal under certain tolerance.
11. greater/less: returns if the first argument is greater/less than the second argument.
12. diff: returns the difference between two arguments.
13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument.
14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument.
15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument.
16. filter_all: returns the view itself for the case of describing the whole table
17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument.
18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument.
19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument.
20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument.
21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument.
22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument.
Input: Command: and { only { filter_eq { all_rows ; branch ; us marine corps } } ; eq { hop { filter_eq { all_rows ; branch ; us marine corps } ; name } ; general james l jones } }, interpretation: the average of the bronze record of all rows is 1.67 .
Output: | no |
Given the task definition and input, reply with output. In this task, you are given two questions about a domain. Your task is to combine the main subjects of the questions to write a new, natural-sounding question. For example, if the first question is about the tallness of the president and the second question is about his performance at college, the new question can be about his tallness at college. Try to find the main idea of each question, then combine them; you can use different words or make the subjects negative (i.e., ask about shortness instead of tallness) to combine the subjects. The questions are in three domains: presidents, national parks, and dogs. Each question has a keyword indicating its domain. Keywords are "this national park", "this dog breed", and "this president", which will be replaced with the name of an actual president, a national park, or a breed of dog. Hence, in the new question, this keyword should also be used the same way. Do not write unnatural questions. (i.e., would not be a question someone might normally ask about domains). Do not write open-ended or subjective questions. (e.g., questions that can be answered differently by different people.) If you couldn't find the answer to your question from a single Google search, try to write a different question. You do not have to stick with the original question word for word, but you should try to create a question that combines the main subjects of the question.
Can a dog from this dog breed have only one color on their fur? Does this dog breed have long and straight fur?
| Can the long fur of this dog breed be more than one color? |
We would like you to assess the QUALITY of each of the following argument (discussing Death Penalty) and determine if the argument is Valid or Invalid. A valid argument is clearly interpretable and either expresses an argument, or a premise or a conclusion that can be used in an argument for the topic of death penalty. An invalid argument is a phrase that cannot be interpreted as an argument or not on the topic of death penalty.
Q: In the practice of the death penalty, vengeance seems to be part of the reason (which I am also hearing in your responses) and that is what started my entry into this debate.
A: | Valid |
Please answer the following question: Generate a 1-star review (1 being lowest and 5 being highest) about an app with package org.telegram.messenger.
A: | Big Video player does not work properly on Android 5 |
Given a premise, an initial context, an original ending, and a counterfactual context, the task is to generate a new story ending aligned with the counterfactual context and as close to the original ending as possible. Each instance consists of a five-sentence story. The premise is the first sentence of a story, and the second sentence, which is the initial context, provides more information about the story's context and the story's general plot. The original ending is the last three sentences of the story. Also, a counterfactual context is a slight modification to the initial context. You should write a new story ending that edits the original story ending as little as possible to regain coherence with the counterfactual context. To sum up, you should write the last three sentences of a story based on the premise(first sentence) and the counterfactual context(second sentence) of the story.
Ex Input:
Premise: Jessie was on a whale watching cruise.
Initial Context: She hadn't seen any animals and was beginning to feel sick.
Original Ending: Suddenly, she had to run into the bathroom. When she came out, everyone said that she had missed the whales. They didn't see anymore for the rest of the trip and Jessie was upset.
Counterfactual Context: She was tired of watching for them and really wanted to go home.
Ex Output:
She took a break and went to the bathroom. When she came out, everyone said that she had missed the whales. They didn't see anymore for the rest of the trip and Jessie really didn't care.
Ex Input:
Premise: Tyrone had a big job interview in an hour.
Initial Context: He decided to wear a gaudy Christmas tree tie to the interview.
Original Ending: The interviewer noticed Tyrone's gaudy tie. The interviewer used to dress up as Santa Claus on Christmas. Tyrone was hired on the spot because of his gaudy tie.
Counterfactual Context: He decided not to wear a gaudy Christmas tree tie to the interview.
Ex Output:
The interviewer noticed Tyrone's plain tie. The interviewer used to wear similar ties. Tyrone was hired on the spot because of his plain tie.
Ex Input:
Premise: We went to the mid south fair.
Initial Context: We rode on a bunch of the rides.
Original Ending: Some of them scared me pretty badly. I hated flipping on the rollercoaster. In the end it was a fun day for all.
Counterfactual Context: It was so crowded we could barely move.
Ex Output:
| Some of the rides scared me pretty badly. I hated flipping on the rollercoaster. In the end it wasn't a fun day for all.
|
Given a premise, an initial context, an original ending, and a counterfactual context, the task is to generate a new story ending aligned with the counterfactual context and as close to the original ending as possible. Each instance consists of a five-sentence story. The premise is the first sentence of a story, and the second sentence, which is the initial context, provides more information about the story's context and the story's general plot. The original ending is the last three sentences of the story. Also, a counterfactual context is a slight modification to the initial context. You should write a new story ending that edits the original story ending as little as possible to regain coherence with the counterfactual context. To sum up, you should write the last three sentences of a story based on the premise(first sentence) and the counterfactual context(second sentence) of the story.
Q: Premise: Cass loved sweet potatoes.
Initial Context: His mom would always make them for him.
Original Ending: However, he could not cook them. He tried a recipe and they never came out right. Cass finally gave up.
Counterfactual Context: His mom taught him how to make them so he cooked them himself.
A: He could cook them. He tried a new recipe and they came out right. Cass was pleased.
****
Q: Premise: Max's dog was a messy eater.
Initial Context: Max decided to buy her different bowls.
Original Ending: He bought bigger ones and put them on a mat. The dog didn't make a mess anymore! Max was happy he didn't have to clean up spills anymore.
Counterfactual Context: Max decided to buy her dry food.
A: He bought bigger kibble and put the bowl on a mat. The dog didn't make a mess anymore! Max was happy he didn't have to clean up spills anymore.
****
Q: Premise: Yin wanted to learn how to eat with chopsticks.
Initial Context: Her mother said that she would help her learn.
Original Ending: She gave Yin a very special pair of chopsticks. They made learning much easier. Soon Yi was the best out of all her friends at using chopsticks.
Counterfactual Context: Her father said that she would help her learn.
A: | He gave Yin a very special pair of chopsticks. They made learning much easier. Soon Yi was the best out of all her friends at using chopsticks.
****
|
Given the task definition and input, reply with output. In this task, you are given commands (in terms of logical operations) and natural interpretation of the given command to select relevant rows from the given table. Your job is to generate a label "yes" if the interpretation is appropriate for the command, otherwise generate label "no".
Here are the definitions of logical operators:
1. count: returns the number of rows in the view.
2. only: returns whether there is exactly one row in the view.
3. hop: returns the value under the header column of the row.
4. and: returns the boolean operation result of two arguments.
5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column.
6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column.
7. argmax/argmin: returns the row with the max/min value in header column.
8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column.
9. eq/not_eq: returns if the two arguments are equal.
10. round_eq: returns if the two arguments are roughly equal under certain tolerance.
11. greater/less: returns if the first argument is greater/less than the second argument.
12. diff: returns the difference between two arguments.
13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument.
14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument.
15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument.
16. filter_all: returns the view itself for the case of describing the whole table
17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument.
18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument.
19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument.
20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument.
21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument.
22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument.
Command: round_eq { avg { all_rows ; high points } ; 27-28 }, interpretation: select the row whose silver record of all rows is 1st maximum . the nation record of this row is france .
| no |
Part 1. Definition
A ploynomial equation is a sum of terms. Here each term is either a constant number, or consists of the variable x raised to a certain power and multiplied by a number. These numbers are called weights. For example, in the polynomial: 2x^2+3x+4, the weights are: 2,3,4. You can present a polynomial with the list of its weights, for example, equation weights = [6, 4] represent the equation 6x + 4 and equation weights = [1, 3, 4] represent the equation 1x^2 + 3x + 4. In this task, you need to compute the result of a polynomial expression by substituing a given value of x in the given polynomial equation. Equation weights are given as a list.
Part 2. Example
x = 3, equation weights = [4, 2]
Answer: 14
Explanation: Here, the weights represent the polynomial: 4x + 2, so we should multiply 4 by 3, and add it to 2 which results in (4*3 + 2 =) 14.
Part 3. Exercise
x = 9, equation weights = [8, 1, 9]
Answer: | 666 |
Teacher:Given two entities as input, classify as "yes" if second entity is the part of the first entity. Otherwise classify them as "no". These are entities of meronym In linguistics, meronymy is a semantic relation between a meronym denoting a part and a holonym denoting a whole. In simpler terms, a meronym (i.e., second entity) is in a part-of relationship with its holonym (i.e., first entity).
Teacher: Now, understand the problem? Solve this instance: Entity 1: penis
Entity 2: nickel
Student: | no |
Please answer this: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package com.namelessdev.mpdroid.
++++++++
Answer: Very few crashes. Excellent UI. We use this to control our MPD server at our hip coffee shop. Works great even with big playlists. Buttery smooth on my Nexus 4 and 5. Would be perfect if it had profiles support to pick the small custom MPD servers I have in different rooms at home. Keep up the good work!
Please answer this: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package net.momodalo.app.vimtouch.
++++++++
Answer: Vim Touch is an Android port of Vim and it works very closely like Vim on desktop computers. There are some additional features and UI layouts that make using Vim on a mobile platform easier to use with visual buttons and shortcuts to make editing on a touchscreen or small device more usable. Other than that it's Vim all the way down with the typical features to expect from Vim being included here. Aside from some roughness caused by the UI suited for small devices and the Android system changing the behavior of Vim a bit Vim Touch is an excellent port of the text editor for editing files with a familiar interface.
Please answer this: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package com.menny.android.anysoftkeyboard.
++++++++
Answer: | Really really perfect. I am using it on my android tab as well and it does what is coded for. Thank you. |
Detailed Instructions: We would like you to assess the QUALITY of each of the following argument (discussing Death Penalty) and determine if the argument is Valid or Invalid. A valid argument is clearly interpretable and either expresses an argument, or a premise or a conclusion that can be used in an argument for the topic of death penalty. An invalid argument is a phrase that cannot be interpreted as an argument or not on the topic of death penalty.
Q: Mandela wasn't a convicted murderer or a violent man at all.
A: | Invalid |
Generate a 5-star review (1 being lowest and 5 being highest) about an app with package com.nilhcem.hostseditor.
A: | Rishabh |
Given a sequence of actions to navigate an agent in its environment, provide the correct command in a limited form of natural language that matches the sequence of actions when executed. Commands are lowercase and encapsulate the logic of the sequence of actions. Actions are individual steps that serve as the building blocks for a command. There are only six actions: 'I_LOOK', 'I_WALK', 'I_RUN', 'I_JUMP', 'I_TURN_LEFT', and 'I_TURN_RIGHT'. These actions respectively align with the commands 'look', 'walk', 'run', 'jump', 'turn left', and 'turn right'. For commands, 'left' and 'right' are used to denote the direction of an action. opposite turns the agent backward in the specified direction. The word 'around' makes the agent execute an action while turning around in the specified direction. The word 'and' means to execute the next scope of the command following the previous scope of the command. The word 'after' signifies to execute the previous scope of the command following the next scope of the command. The words 'twice' and 'thrice' trigger repetition of a command that they scope over two times or three times, respectively. Actions and commands do not have quotations in the input and output.
One example: I_TURN_LEFT I_JUMP
Solution is here: jump left
Explanation: If the agent turned to the left and jumped, then the agent jumped to the left.
Now, solve this: I_TURN_LEFT I_TURN_LEFT I_TURN_LEFT I_TURN_LEFT I_TURN_LEFT I_TURN_LEFT I_TURN_LEFT I_TURN_LEFT I_TURN_RIGHT I_WALK I_TURN_RIGHT I_WALK I_TURN_RIGHT I_WALK I_TURN_RIGHT I_WALK
Solution: | walk around right after turn around left twice |
Detailed Instructions: Given news headlines and an edited word. The original sentence has word within given format {word}. Create new headlines by replacing {word} in the original sentence with edit word. Classify news headlines into "Funny" and "Not Funny" that have been modified by humans using an edit word to make them funny.
Problem:News Headline: Le Pen 's Euro Contortions {Underline} French Reluctance to Exit
Edit: contort
Solution: | Not Funny |
In this task, you are given a hateful post in Bengali that expresses hate or encourages violence towards a person or a group based on the protected characteristics such as race, religion, sex, and sexual orientation. You are expected to classify the post into two classes: religious or non-political religious on the topic.
Example Input: তোমার দুধ খুব সুন্দর , দুধের ছবি দিও
Example Output: non-religious
Example Input: ভুয়া অভিযোগে ঢুকে লুটপাট চালানোর পর এখন ভালোমানুষ সাজার চেষ্টা
Example Output: non-religious
Example Input: ইসলামে ভাই বোন বিবাহ জায়েজ নাই! আপনি ভালো করে জেনে নিন!
Example Output: | religious
|
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task.
Given a sequence of actions to navigate an agent in its environment, provide the correct command in a limited form of natural language that matches the sequence of actions when executed. Commands are lowercase and encapsulate the logic of the sequence of actions. Actions are individual steps that serve as the building blocks for a command. There are only six actions: 'I_LOOK', 'I_WALK', 'I_RUN', 'I_JUMP', 'I_TURN_LEFT', and 'I_TURN_RIGHT'. These actions respectively align with the commands 'look', 'walk', 'run', 'jump', 'turn left', and 'turn right'. For commands, 'left' and 'right' are used to denote the direction of an action. opposite turns the agent backward in the specified direction. The word 'around' makes the agent execute an action while turning around in the specified direction. The word 'and' means to execute the next scope of the command following the previous scope of the command. The word 'after' signifies to execute the previous scope of the command following the next scope of the command. The words 'twice' and 'thrice' trigger repetition of a command that they scope over two times or three times, respectively. Actions and commands do not have quotations in the input and output.
I_TURN_LEFT I_JUMP
Solution: jump left
Why? If the agent turned to the left and jumped, then the agent jumped to the left.
New input: I_TURN_LEFT I_JUMP I_TURN_LEFT I_JUMP I_TURN_LEFT I_JUMP I_TURN_LEFT I_JUMP I_LOOK I_LOOK I_LOOK
Solution: | look thrice after jump around left |
You are given an array of integers, check if it is monotonic or not. If the array is monotonic, then return 1, else return 2. An array is monotonic if it is either monotonically increasing or monotonocally decreasing. An array is monotonically increasing/decreasing if its elements increase/decrease as we move from left to right
Let me give you an example: [1,2,2,3]
The answer to this example can be: 1
Here is why: The array is monotonic as 1 < 2 <= 2 < 3
OK. solve this:
[72, 36, 69, 43, 88, 14, 49, 82, 83, 26]
Answer: | 2 |
Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.
Ex Input:
THEM: hello, ranger. what would you like in order to help defend angel grove from rita? YOU: i need the book and ball THEM: ranger. i'm sorry. i can't do this deal. it seems you are working on more than one hit at a time and that slows this down.
Ex Output:
No
Ex Input:
THEM: hi, i want the book and the hat YOU: fine.
Ex Output:
Yes
Ex Input:
THEM: i'd like the ball and the books and you can have the 2 hats YOU: if i take the hats i need the books as well THEM: no deal. you can have the hats only. YOU: i can't accept that deal... i would need the ball if i can not have the rest THEM: no deal. YOU: okay no deal. THEM: okay, setting all numbers to 0 until no deal button shows up YOU: okay no deal. THEM: no deal was agreed. YOU: no deal.
Ex Output:
| No
|
Given the task definition, example input & output, solve the new input case.
This task is to find the number of 'For' loops present in the given cpp program.
Example: main()
{
float a[4];
float k;
float c;
int i;
for(i=0;i<4;i++)
{
scanf("%f",&a[i]);
}
scanf("%f",&c);
c=2*3.1415926*c/360;
k=(a[0]+a[1]+a[2]+a[3])/2;
double s,sq;
sq=(k-a[0])*(k-a[1])*(k-a[2])*(k-a[3]) - a[0]*a[1]*a[2]*a[3]*(double)cos(c/2)*(double)cos(c/2);
if(sq<0)
printf("Invalid input");
else
{
s=sqrt(sq);
printf("%.4f",s);
}
}
Output: 1
The number of 'for' loops in the code is given by the number of 'for' string present in the code. Since we can find the exact number of for loops, this is a good example.
New input case for you: /*
* 1000012850_34.1.cpp
* ????????????a??????????????? ?????????
* Created on: 2010-11-27
* Author: william
*/
int resolution_into_factors(int j,int i)
{
int m, sum=0, k=0;
for(m=j ;m<=sqrt(i); m++)
{
if(i%m==0)
{
sum=resolution_into_factors(m, i/m)+sum+1;
k++;
}
}
if(k==0) return 0;
return sum;
}
int main()
{
int n, k, i;
cin>>n;
for(k=1; k<=n; k++)
{
cin>>i;
cout<<resolution_into_factors(2,i)+1<<endl;
}
return 0;
}
Output: | 2 |
You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Example input: password = a
Example output: 5
Example explanation: Using 5 steps, it can become a strong password
Q: password = icOh
A: | 2 |
In this task, you are given two sets, and you need to count the number of elements at the union of two given sets. A Set is shown by two curly braces and comma-separated numbers inside, like {1, 2, 3}. Union of two given sets is the smallest set which contains all the elements of both the sets. To find the union of two given sets, A and B is a set that consists of all the elements of A and all the elements of B such that no element is repeated.
Example input: Set1: '{2, 3, 6, 9, 10, 14, 15, 20}', Set2: '{3, 5, 7, 9, 12, 15, 16}'. How many elements are there in the union of Set1 and Set2 ?
Example output: 12
Example explanation: The union of Set1 and Set2 is {2, 3, 5, 6, 7, 9, 10, 12, 14, 15, 16, 20}. It has 12 elements. So, the answer is 12.
Q: Set1: '{19, 15}', Set2: '{5, 7, 8, 9, 10, 12, 13, 16, 17, 19}'. How many elements are there in the union of Set1 and Set2 ?
A: | 11 |
Detailed Instructions: In this task, we ask you to parse restaurant descriptions into a structured data table of key-value pairs. Here are the attributes (keys) and their examples values. You should preserve this order when creating the answer:
name: The Eagle,...
eatType: restaurant, coffee shop,...
food: French, Italian,...
priceRange: cheap, expensive,...
customerRating: 1 of 5 (low), 4 of 5 (high)
area: riverside, city center, ...
familyFriendly: Yes / No
near: Panda Express,...
The output table may contain all or only some of the attributes but must not contain unlisted attributes. For the output to be considered correct, it also must parse all of the attributes existant in the input sentence; in other words, incomplete parsing would be considered incorrect.
Problem:The Wrestlers is moderately-priced Italian with a rating of 1 out of 5 and is kid friendly.
Solution: | name[The Wrestlers], food[Italian], priceRange[moderate], customer rating[1 out of 5], familyFriendly[yes] |
Given the task definition and input, reply with output. You will be given two sentences. One of them is created by paraphrasing the original one, with changes on an aspect, or using synonyms. Your task is to decide what is the difference between two sentences. Types of change are explained below:
Tense: The verbs in the sentence are changed in tense.
Number: Plural nouns, verbs and pronouns are changed into single ones or the other way around.
Voice: If the verbs are in active voice, they're changed to passive or the other way around.
Adverb: The paraphrase has one adverb or more than the original sentence.
Gender: The paraphrase differs from the original sentence in the gender of the names and pronouns.
Synonym: Some words or phrases of the original sentence are replaced with synonym words or phrases. Changes in the names of people are also considered a synonym change. Classify your answers into Tense, Number, Voice, Adverb, Gender, and Synonym.
original sentence: Kirilov ceded the presidency to Shatov because he was more popular . paraphrase: The presidency was ceded by Kirilov to Shatov because he was more popular .
| Voice |
Definition: Determine if the provided SQL statement properly addresses the given question. Output 1 if the SQL statement is correct and 0 otherwise. An SQL query works by selecting data from a table where certain conditions apply. A table contains columns where every row in that table must have a value for each column. Every table has a primary key that uniquely identifies each row, usually an id. To choose which columns are returned you specify that after the "SELECT" statement. Next, you use a "FROM" statement to specify what tables you want to select the data from. When you specify a table you can rename it with the "AS" statement. You can reference that table by whatever name follows the "AS" statement. If you want to select data from multiple tables you need to use the "JOIN" statement. This will join the tables together by pairing a row in one table with every row in the other table (Cartesian Product). To limit the number of rows returned you should use the "ON" statement. This will only return rows where the condition specified after the statement is true, this is usually an equals operator with primary keys. You can also use the "WHERE" statement to specify that only rows with column values statisfying a certain condition, should be returned. The "GROUP BY" statement will group rows together that have equal column values for whatever columns follows the statement. The "HAVING" statement will return groups that statisfy whatever condition follows the statement. Any column(s) being returned from grouped rows must either be an aggregate function, (AVG, MAX, COUNT, SUM, ...) of a column, or the column(s) that the data was grouped by. To sort the returned data you can use the "ORDER BY" command which will order the data by whatever aggregate function or column follows the statement. The "DESC" statement will sort in descending order and the "ASC" statement will sort in ascending order. Finally, you can use the "LIMIT" statement to return a certain number of rows. When "*" is used in an SQL statement every column is returned. For example, SELECT * FROM table WHERE attribute = 1, will select every column from rows with the attribute column equal to 1.
Input: Query: SELECT count(*) WHERE {
?x0 ns:film.actor.film/ns:film.performance.film M1 .
?x0 ns:people.person.gender ns:m.02zsn .
?x0 ns:people.person.nationality ns:m.09c7w0 .
M3 ns:film.film.directed_by ?x0 .
M3 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
M3 ns:film.film.written_by ?x0
} Question: Was M3 written by , produced by , and directed by a female American star of M1
Output: | 1 |
In this task, you are given two strings A,B. You must perform the following operations to generate the required output list: (i) Find the longest common substring in the strings A and B, (ii) Convert this substring to all lowercase and sort it alphabetically, (iii) Replace the substring at its respective positions in the two lists with the updated substring.
Let me give you an example: bYubMFxyTqR, AcDbMFxSnI
The answer to this example can be: bYubfmxyTqR, AcDbfmxSnI
Here is why: Here, 'bMFx' is the longest common substring in both the input strings 'bYubMFxyTqR' and 'AcDbMFxSnI'. Sorting it and converting to lowercase gives 'bfmx'. Replacing 'bfmx' instead of 'bMFx' in the two strings gives 'bYubfmxyTqR' and 'AcDbfmxSnI'
OK. solve this:
RNtzwTASY, GylzwTAiL
Answer: | RNtatwzSY, GylatwziL |
TASK DEFINITION: In this task you will be given a list of numbers and you should remove all duplicates in the list. If every number is repeated in the list an empty list should be returned. Your list should be numbers inside brackets, just like the given list.
PROBLEM: [4, 6, 2, 1, 4, 3]
SOLUTION: [6, 2, 1, 3]
PROBLEM: [1, 1, 1, 2, 2, 5, 0, 5, 0]
SOLUTION: []
PROBLEM: [4, 2, 1, 2, 4, 1, 4, 3]
SOLUTION: | [3]
|
Given an adjective, generate its antonym. An antonym of a word is a word opposite in meaning to it.
[EX Q]: shallow
[EX A]: deep
[EX Q]: domineering
[EX A]: submissive
[EX Q]: breasted
[EX A]: | breastless
|
In this task, you are given two sets, and you need to count the number of elements at the union of two given sets. A Set is shown by two curly braces and comma-separated numbers inside, like {1, 2, 3}. Union of two given sets is the smallest set which contains all the elements of both the sets. To find the union of two given sets, A and B is a set that consists of all the elements of A and all the elements of B such that no element is repeated.
[Q]: Set1: '{1}', Set2: '{2, 5, 7, 11, 15, 17, 18}'. How many elements are there in the union of Set1 and Set2 ?
[A]: 8
[Q]: Set1: '{4, 7, 13, 14, 15}', Set2: '{2, 3, 4, 6, 8, 10, 17, 18, 19, 20}'. How many elements are there in the union of Set1 and Set2 ?
[A]: 14
[Q]: Set1: '{13}', Set2: '{10, 5, 7}'. How many elements are there in the union of Set1 and Set2 ?
[A]: | 4
|
Generate a 1-star review (1 being lowest and 5 being highest) about an app with package com.manor.currentwidget.
| no current p8 |
Teacher:In this task you will be given a list of integers. You should remove any integer that is not prime. A prime integer is an integer that is only divisible by '1' and itself. The output should be the list of prime numbers in the input list. If there are no primes in the input list an empty list ("[]") should be returned.
Teacher: Now, understand the problem? Solve this instance: [997, 787, 766, 457, 23, 277, 672, 738, 809, 55, 175, 73, 11, 919, 13, 773, 991]
Student: | [997, 787, 457, 23, 277, 809, 73, 11, 919, 13, 773, 991] |
Given a part of privacy policy text, identify the purpose for which the user information is collected/used. The purpose should be given inside the policy text, answer as 'Not Specified' otherwise
The site collects your demographic information for personalization or customization. Collection happens in an unspecified way. You can configure your privacy with user settings provided by the site. | Personalization/Customization |
In this task, we ask you to parse restaurant descriptions into a structured data table of key-value pairs. Here are the attributes (keys) and their examples values. You should preserve this order when creating the answer:
name: The Eagle,...
eatType: restaurant, coffee shop,...
food: French, Italian,...
priceRange: cheap, expensive,...
customerRating: 1 of 5 (low), 4 of 5 (high)
area: riverside, city center, ...
familyFriendly: Yes / No
near: Panda Express,...
The output table may contain all or only some of the attributes but must not contain unlisted attributes. For the output to be considered correct, it also must parse all of the attributes existant in the input sentence; in other words, incomplete parsing would be considered incorrect.
[Q]: There is a cheap, family friendly French coffee shop called Cocum. It has a customer Rating of 5 out of 5.
[A]: name[Cocum], eatType[coffee shop], food[French], priceRange[cheap], customer rating[5 out of 5], familyFriendly[yes]
[Q]: The kids-friendly coffee shop called The Wrestlers near riverside next to Raja Indian Cuisine also serve Indian foods with high price.
[A]: name[The Wrestlers], eatType[coffee shop], food[Indian], priceRange[more than £30], area[riverside], familyFriendly[yes], near[Raja Indian Cuisine]
[Q]: Wildwood is an expensive coffee shop located near Ranch, it is rated 5 stars
[A]: | name[Wildwood], eatType[coffee shop], food[Fast food], priceRange[£20-25], customer rating[high], near[Ranch]
|
Detailed Instructions: The input is taken from a negotiation between two participants who take the role of campsite neighbors and negotiate for Food, Water, and Firewood packages, based on their individual preferences and requirements. Given an utterance and recent dialogue context containing past 3 utterances (wherever available), output Yes if the utterance contains the self-need strategy, otherwise output No. self-need is a selfish negotiation strategy. It is used to create a personal need for an item in the negotiation, such as by pointing out that the participant sweats a lot to show preference towards water packages.
Q: Context: 'Are you bringing guest?' 'I am a campaign partner' 'Oh. What does that mean?'
Utterance: 'No I am the only person who come with you'
A: | No |
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task.
Given news headlines and an edited word. The original sentence has word within given format {word}. Create new headlines by replacing {word} in the original sentence with edit word. Classify news headlines into "Funny" and "Not Funny" that have been modified by humans using an edit word to make them funny.
News Headline: France is ‘ hunting down its citizens who joined {Isis} without trial in Iraq
Edit: twins
Solution: Not Funny
Why? The edited sentence is not making much sense, therefore it's not funny.
New input: News Headline: California Democrats propose adding third , nonbinary gender option for driver 's licenses and other official {documents}
Edit: parties
Solution: | Not Funny |
Teacher:A ploynomial equation is a sum of terms. Here each term is either a constant number, or consists of the variable x raised to a certain power and multiplied by a number. These numbers are called weights. For example, in the polynomial: 2x^2+3x+4, the weights are: 2,3,4. You can present a polynomial with the list of its weights, for example, equation weights = [6, 4] represent the equation 6x + 4 and equation weights = [1, 3, 4] represent the equation 1x^2 + 3x + 4. In this task, you need to compute the result of a polynomial expression by substituing a given value of x in the given polynomial equation. Equation weights are given as a list.
Teacher: Now, understand the problem? Solve this instance: x = 8, equation weights = [0, 6, 2, 4, 7]
Student: | 3239 |
You will be given a definition of a task first, then some input of the task.
In this task, you are given a date in a particular format and you need to convert to another format. If given format is "dd/mm/yyyy" then convert to "mm/dd/yyyy". If given format is "mm/dd/yyyy" then convert to "dd/mm/yyyy".
29/07/1629, input_format=dd/mm/yyyy
Output: | 07/29/1629 |
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task.
In this task you will be given a string that only contains single digit numbers spelled out. The input string will not contain spaces between the different numbers. Your task is to return the number that the string spells out. The string will spell out each digit of the number for example '1726' will be 'oneseventwosix' instead of 'one thousand seven hundred six'.
twotwoonesixzeronine
Solution: 221609
Why? The string is properly converted into a number based on the spelling of each digit. The string started with 'twotwo' therefore the number also started with '22'. This is a good example.
New input: twoseventwosixtwofoursevensevenfour
Solution: | 272624774 |
Q: In this task, we ask you to parse restaurant descriptions into a structured data table of key-value pairs. Here are the attributes (keys) and their examples values. You should preserve this order when creating the answer:
name: The Eagle,...
eatType: restaurant, coffee shop,...
food: French, Italian,...
priceRange: cheap, expensive,...
customerRating: 1 of 5 (low), 4 of 5 (high)
area: riverside, city center, ...
familyFriendly: Yes / No
near: Panda Express,...
The output table may contain all or only some of the attributes but must not contain unlisted attributes. For the output to be considered correct, it also must parse all of the attributes existant in the input sentence; in other words, incomplete parsing would be considered incorrect.
The Waterman is a French pub located in Riverside. It has an average customer rating.
A: | name[The Waterman], eatType[pub], food[French], customer rating[average], area[riverside] |
Detailed Instructions: In this task, you need to provide the parts-of-speech tag of a word present in a sentence specified within curly braces ( '{{ ... }}' ). The parts-of-speech tags are fine labels that represent a category of words with similar grammatical properties. The list of part-of-speech tags i.e tagset of this corpus is : '$': Dollar Sign, "''": Single Quotes, ',': Comma Symbol, '-LRB-': Left Parantheses, '-RRB-': Right Parantheses, '.': Period, ':': Colon, 'ADD': Email Address, 'AFX': Affix, 'CC': Coordinating conjunction, 'CD': Cardinal Number, 'DT': Determiner, 'EX': Existential there, 'FW': Foreign Word, 'GW': Go with, 'HYPH': Hyphen symbol, 'IN': Preposition or a subordinating conjunction, 'JJ': Adjective, 'JJR': A comparative Adjective, 'JJS': A Superlative Adjective, 'LS': List item Marker, 'MD': Modal, 'NFP': Superfluous punctuation, 'NN': Singular Noun, 'NNP': Singular Proper Noun, 'NNPS': Prural Proper Noun, 'NNS': Prural Noun, 'PDT': Pre-determiner, 'POS': Possessive Ending, 'PRP': Personal pronoun, 'PRP$': Possessive Pronoun, 'RB': Adverb, 'RBR': Comparative Adverb, 'RBS': Superlative Adverb, 'RP': Particle, 'SYM': Symbol, 'TO': To , 'UH': Interjection, 'VB': Base form Verb, 'VBD': Verb in Past tense, 'VBG': Verb in present participle, 'VBN': Verb in past participle, 'VBP': Verb in non-3rd person singular present, 'VBZ': Verb in 3rd person singular present, 'WDT': Wh-determiner, 'WP': Wh-pronoun, 'WP$' Possessive Wh-pronoun, 'WRB': Wh-adverb, 'XX': Unknown, '``': Double backticks.
Q: Sentence: It {{ was }} sure beautiful coming up last night .
Word: was
A: | VBD |
Given the sentence, generate "yes, and" response. "Yes, and" is a rule-of-thumb in improvisational comedy that suggests that a participant in a dialogue should accept what another participant has stated ("Yes") and then expand on that line of thought or context ("and..."). 1 In short, a "Yes, and" is a dialogue exchange in which a speaker responds by adding new information on top of the information/setting that was constructed by another speaker. Note that a "Yes, and" does not require someone explicitly saying 'yes, and...' as part of a dialogue exchange, although it could be the case if it agrees with the description above. There are many ways in which a response could implicitly/explicitly agree to the prompt without specifically saying 'yes, and...'.
Those nine girls are my nieces. | Wow, that's complicated. |
TASK DEFINITION: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
PROBLEM: [-76.034 -64.645]
SOLUTION: -76.034
PROBLEM: [ -4.512 -47.977 -4.94 47.368 -70.056 -5.618]
SOLUTION: -70.056
PROBLEM: [ -6.761 59.51 -23.046 95.183 60.686 38.113]
SOLUTION: | 95.183
|
Adverse drug reactions are appreciably harmful or unpleasant reactions resulting from an intervention related to the use of medical products, which predicts hazard from future administration and warrants prevention or specific treatment, or alteration of the dosage regimen, or withdrawal of the product. Given medical case reports extracted from MEDLINE, the task is to classify whether the case report mentions the presence of any adverse drug reaction. Classify your answers into non-adverse drug event and adverse drug event.
[Q]: Tacrolimus was substituted for cyclosporine on day 20; on day 21 amlodipine was initiated to manage hypertension.
[A]: non-adverse drug event
[Q]: Rifampin (RFP) increases hepatic microsomal enzyme activity, and there are case reports of RFP-induced hypothyroidism, all associated with Hashimoto's thyroiditis.
[A]: adverse drug event
[Q]: This particular form of hyperthyroidism is long-lasting because of the slow elimination of amiodarone.
[A]: | non-adverse drug event
|
Definition: In this task, you are given two sets, and you need to count the number of elements at the union of two given sets. A Set is shown by two curly braces and comma-separated numbers inside, like {1, 2, 3}. Union of two given sets is the smallest set which contains all the elements of both the sets. To find the union of two given sets, A and B is a set that consists of all the elements of A and all the elements of B such that no element is repeated.
Input: Set1: '{8, 11, 5}', Set2: '{12}'. How many elements are there in the union of Set1 and Set2 ?
Output: | 4 |
You will be given a definition of a task first, then some input of the task.
In this task you will be given a string and you should find the longest substring that is a palindrome. A palindrome is a string that is the same backwards as it is forwards. If the shortest possible palindrome is length 1 you should return the first character.
eggeglegll
Output: | egge |
Detailed Instructions: In this task, you are given a date in "mm/dd/yyyy" format. You need to check if the date is valid or not. Return 1 if it is valid, else return 0. A date is valid is the components month("mm"), day("dd") and year("yyyy") are all valid individually. A day(dd) is valid if it is greater than or equal to 1 and less than 30 or 31 depending upon the month(mm). Months which have 31 days are January, March, May, July, August, October, December. Rest of the months have 30 days except February which has 28 days if it is not a leap year and 29 days if it is a leap year. A month(mm) is valid if it lies in the range from 1 to 12 as there are 12 months in a year. A year is always valid if it is expressed in the form of "yyyy".
Problem:16/43/1694
Solution: | 0 |
Q: In this task, you are given commands (in terms of logical operations) and natural interpretation of the given command to select relevant rows from the given table. Your job is to generate a label "yes" if the interpretation is appropriate for the command, otherwise generate label "no".
Here are the definitions of logical operators:
1. count: returns the number of rows in the view.
2. only: returns whether there is exactly one row in the view.
3. hop: returns the value under the header column of the row.
4. and: returns the boolean operation result of two arguments.
5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column.
6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column.
7. argmax/argmin: returns the row with the max/min value in header column.
8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column.
9. eq/not_eq: returns if the two arguments are equal.
10. round_eq: returns if the two arguments are roughly equal under certain tolerance.
11. greater/less: returns if the first argument is greater/less than the second argument.
12. diff: returns the difference between two arguments.
13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument.
14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument.
15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument.
16. filter_all: returns the view itself for the case of describing the whole table
17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument.
18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument.
19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument.
20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument.
21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument.
22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument.
Command: and { only { filter_eq { all_rows ; high points ; gerald wallace } } ; eq { hop { filter_eq { all_rows ; high points ; gerald wallace } ; date } ; february 8 } }, interpretation: select the row whose points record of all rows is 2nd maximum . the song record of this row is are you sure .
A: | no |
Detailed Instructions: In this task you will be given a string that only contains single digit numbers spelled out. The input string will not contain spaces between the different numbers. Your task is to return the number that the string spells out. The string will spell out each digit of the number for example '1726' will be 'oneseventwosix' instead of 'one thousand seven hundred six'.
Problem:fiveeightnineonethreesixoneonezeronine
Solution: | 5891361109 |
Generate a 2-star review (1 being lowest and 5 being highest) about an app with package org.torproject.android.
A: | uPNP not working I have tried Orbot on 2 different networks now with uPNP enabled in both routers. The routers seem to cope happily with other uPNP devices and software but the IP address that Orbot is running on shows no uPNP entries. Please fix this! |
Given a short bio of a person, find the minimal text span containing the date of birth of the person. The output must be the minimal text span that contains the birth date, month and year as long as they are present. For instance, given a bio like 'I was born on 27th of Decemeber 1990, and graduated high school on 23rd October 2008.' the output should be '27th of December 1990'.
[Q]: Widmark was born December 26, 1914 in Sunrise Township, Minnesota, the son of Ethel Mae (née Barr) and Carl Henry Widmark
[A]: December 26, 1914
[Q]: Garrett John Hedlund was born on September 3, 1984, in Roseau, Minnesota, to Kristine Anne (née Yanish) and Robert Martin Hedlund
[A]: September 3, 1984
[Q]: Bryan Lee Cranston was born on March 7, 1956, in Hollywood, Los Angeles, California, the second of three children born to Annalisa (née Sell; 1923–2004), a radio actress, and Joseph Louis Cranston (1924–2014), an actor and former amateur boxer
[A]: | March 7, 1956
|
Instructions: Given a concept word, generate a hypernym for it. A hypernym is a superordinate, i.e. a word with a broad meaning constituting a category, that generalizes another word. For example, color is a hypernym of red.
Input: zone
Output: | look |
instruction:
Given an input word generate a word that rhymes exactly with the input word. If not rhyme is found return "No"
question:
soldier
answer:
bolger
question:
straight
answer:
strait
question:
skin
answer:
| din
|
Generate a 1-star review (1 being lowest and 5 being highest) about an app with package eu.faircode.netguard.
| Lags Android ? 5-10 sec delay upon every lock & unlock. Any playing music is briefly paused user interaction is impossible until after wait. Haven't changed any of the stock internal settings.. Subnet Routing was already disabled; turning off Filtering didn't help. It's not the VPN it's the app. Force Stopping the app solves the lag. 'No-Root Firewall' is older but works fine & is free! EDIT: I paid 9$ in IAP for Netguard just so I could be told that Samsung is too buggy to be fixed.. """"""""""""""""support"""""""""""""""" at its finest! ?"" |
Given the task definition and input, reply with output. We would like you to assess the QUALITY of each of the following argument (discussing Death Penalty) and determine if the argument is Valid or Invalid. A valid argument is clearly interpretable and either expresses an argument, or a premise or a conclusion that can be used in an argument for the topic of death penalty. An invalid argument is a phrase that cannot be interpreted as an argument or not on the topic of death penalty.
The murder rate for the state of New York, a state without the death penalty has increased this year with a higher rate of murder than it was in 2009.
| Valid |
Definition: This task is to find the number of 'For' loops present in the given cpp program.
Input: int f(int a,int min){
if(a<min)
return 0;
int sum=1;
for(int i=min;i<a;i++){
if(a%i==0)
sum+=f(a/i,i);
}
return sum;
}
int main(){
int n;
int a[100];
scanf("%d",&n);
for(int i=0;i<n;i++){
scanf("%d",&a[i]);
a[i]=f(a[i],2);
}
for(int i=0;i<n;i++){
printf("%d\n",a[i]);
}
return 0;
}
Output: | 3 |
Teacher:In this task, you will be given a list of numbers. The goal is to divide all the numbers in the list by a constant such that the sum of the resulting list is 1. The output should be rounded to 3 decimals.
Teacher: Now, understand the problem? Solve this instance: [-69.51, 150.064, 222.486]
Student: | [-0.229 0.495 0.734] |
Teacher: Given a concept word, generate a hypernym for it. A hypernym is a superordinate, i.e. a word with a broad meaning constituting a category, that generalizes another word. For example, color is a hypernym of red.
Teacher: Now, understand the problem? If you are still confused, see the following example:
crystal
Solution: rock
Reason: A crystal is a type of rock, so rock is a valid hypernym output.
Now, solve this instance: taxonomic
Student: | biological |
Teacher:You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Teacher: Now, understand the problem? Solve this instance: password = 2!!!5UhrECzy.CLAKUk.8ZNCw12!KMx7kpL.z.AyWbX
Student: | 23 |
In this task you will be given a list of integers. A list contains numbers separated by a comma. You need to round every integer to the closest power of 2. A power of 2 is a number in the form '2^n', it is a number that is the result of multiplying by 2 n times. The following are all powers of 2, '2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096'. If an integer is exactly in equally far from two different powers of 2 then you should output the larger power of 2. The output should be a list of integers that is the result of rounding each integer int the input list to the closest power of 2. The output should include a '[' to denote the start of the output list and ']' to denote the end of the output list.
--------
Question: [197, 1788, 3463, 4152, 13, 66, 2, 135, 155, 2121, 2595, 11]
Answer: [256, 2048, 4096, 4096, 16, 64, 2, 128, 128, 2048, 2048, 8]
Question: [104, 1900, 3676, 1056, 22, 68, 3, 21, 103, 3139, 1823, 22]
Answer: [128, 2048, 4096, 1024, 16, 64, 4, 16, 128, 4096, 2048, 16]
Question: [7, 868, 2532, 2936, 12, 87, 2, 10, 1824, 2039, 937]
Answer: | [8, 1024, 2048, 2048, 16, 64, 2, 8, 2048, 2048, 1024]
|
You will be given two sentences. One of them is created by paraphrasing the original one, with changes on an aspect, or using synonyms. Your task is to decide what is the difference between two sentences. Types of change are explained below:
Tense: The verbs in the sentence are changed in tense.
Number: Plural nouns, verbs and pronouns are changed into single ones or the other way around.
Voice: If the verbs are in active voice, they're changed to passive or the other way around.
Adverb: The paraphrase has one adverb or more than the original sentence.
Gender: The paraphrase differs from the original sentence in the gender of the names and pronouns.
Synonym: Some words or phrases of the original sentence are replaced with synonym words or phrases. Changes in the names of people are also considered a synonym change. Classify your answers into Tense, Number, Voice, Adverb, Gender, and Synonym.
Q: original sentence: Sam took French classes from Adam , because he was known to speak it fluently . paraphrase: Jane took French classes from Lucy , because she was known to speak it fluently .
A: Gender
****
Q: original sentence: Mary took out her flute and played one of her favorite pieces . She has had it since she was a child . paraphrase: Mary is taking out her flute and playing one of her favorite pieces . She has had it since she was a child .
A: Tense
****
Q: original sentence: The painting in Mark's living room shows an oak tree . it is to the right of a house . paraphrase: An oak tree is shown in the painting in Mark's living room . it is to the right of a house .
A: | Voice
****
|
Given the task definition and input, reply with output. Given a part of privacy policy text, identify the purpose for which the user information is collected/used. The purpose should be given inside the policy text, answer as 'Not Specified' otherwise
A user's unspecified information is retained for a stated period of time to perform a requested service, and then it is deleted..
| Not Specified |
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task.
In this task you will be given a list of dictionaries. A dictionary is a set of key-value pairs, where each key is unique and has a value associated with that key. You should sort the list of dictionaries from smallest to largest by their 'first' key. If there is two dictionaries with the same 'first' value then sort them by their 'second' key. Negative numbers should come before positive numbers.
[{'first': 8, 'second': 7}, {'first': -7, 'second': -2}, {'first': 8, 'second': 2}]
Solution: [{'first': -7, 'second': -2}, {'first': 8, 'second': 2}, {'first': 8, 'second': 7}]
Why? The two dictionaries that had the same 'first' value were sorted by their 'second' value and the smaller one was listed first. So this is a good example.
New input: [{'first': 41, 'second': 3}, {'first': 29, 'second': -9}, {'first': 37, 'second': 51}]
Solution: | [{'first': 29, 'second': -9}, {'first': 37, 'second': 51}, {'first': 41, 'second': 3}] |
Given a short bio of a person, find the minimal text span containing the date of birth of the person. The output must be the minimal text span that contains the birth date, month and year as long as they are present. For instance, given a bio like 'I was born on 27th of Decemeber 1990, and graduated high school on 23rd October 2008.' the output should be '27th of December 1990'.
[EX Q]: Benson was born on December 18, 1989, in Anaheim Hills, California, to parents Shannon and Jeff Benson
[EX A]: December 18, 1989
[EX Q]: Luke George Evans was born on Easter Sunday, 15 April 1979, in Pontypool, and brought up in Aberbargoed, a small village in the Rhymney Valley, Wales, the only child of Yvonne and David Evans
[EX A]: Sunday, 15 April 1979
[EX Q]: Pine was born on August 26, 1980, in Los Angeles, California
[EX A]: | August 26, 1980
|
You will be given a definition of a task first, then some input of the task.
In this task, you are given a movie review in Persian, and you have to extract aspects of the movie mentioned in the text. We define aspects as music(موسیقی), directing(کارگردانی), screenplay/story(داستان), acting/performance(بازی), cinematography(فیلمبرداری), and scene(صحنه). Although there might be multiple aspects in a review, we only need you to write one aspect.
بسیار به دل نشست!!...اگرچه باز هم سوژه تکراری اینکه مسوولیت کسی را به عهده نگیرید وگرنه خانه خراب می شوید را داشت!...اما بازیهای فوق العاده، باعث میشد باز هم از این سوژه تکراری لذت ببری!
Output: | داستان |
Detailed Instructions: Given a sentence in Korean, provide an equivalent paraphrased translation in French that retains the same meaning both through the translation and the paraphrase.
See one example below:
Problem: 1975 년부터 76 년까지 NBA 시즌은 전국 농구 협회 (National Basketball Association)의 30 번째 시즌이었다.
Solution: La saison 1975-1976 de la National Basketball Association était la 30e saison de la NBA.
Explanation: This is a correct and accurate translation from Korean to French because the translated paraphrase retains the main message that between the years 1975-1976, the 30th NBA season occurred.
Problem: 그는 이전에 울버햄튼 원더러스, 키더 민스터 해리어스, 맨스필드 타운, 링컨 시티, 노 샘프 턴 타운, 체스터 필드, 게이츠 헤드에서 뛰었습니다.
Solution: | Il a déjà joué pour Wolverhampton Wanderers, Kidderminster Harriers, Mansfield Town, Chesterfield, Northampton Town, Lincoln City et Gateshead. |
Detailed Instructions: Read the given story and classify it as 'imagined', 'recalled', or 'retold'. If a story is imagined, the person who wrote the story is making it up, pretending they experienced it. If a story is recalled, the person who wrote the story really experienced it and is recalling it from memory. If a story is retold, it is a real memory like the 'recalled' stories, but written down much later after previously writing a 'recalled' story about the same events. So, recalled stories and retold stories will be fairly similar, in that they both were real experiences for the writer. Imagined stories have a more linear flow and contain more commonsense knowledge, whereas recalled stories are less connected and contain more specific concrete events. Additionally, higher levels of self reference are found in imagined stories. Between recalled and retold stories, retold stories flow significantly more linearly than recalled stories, and retold stories are significantly higher in scores for cognitive processes and positive tone.
Problem:My mom has always been a bit of an addictive personality type. Growing up she always dreamed of winning the lottery and couldnt stop. This caused my dad to leave. After he left she turned to alcohol. She ended up losing her job and her home and came to live with me. In my culture it is seen as taboo to turn away family so I just couldnt. 3 weeks ago it hit a tipping point though. I came back from the gym and mom was passed out. She puked on the floor and an entire bottle of wine was unwrapped and consumed. I woke her up and she sarcastically apologized. She asked me to clean it up and that she would be better and i couldnt stand it. I went to my room and slammed the bathroom door shut. because i moved it so quickly it pushed the towel rack over and ended up falling into the wall leaving a huge dent in the drywall. Not only is my house a mess because of her, now i broke my wall. I cant stand her and something needs to change.
Solution: | imagined |
You will be given a definition of a task first, then some input of the task.
Given two entities as input, classify as "yes" if second entity is the part of the first entity. Otherwise classify them as "no". These are entities of meronym In linguistics, meronymy is a semantic relation between a meronym denoting a part and a holonym denoting a whole. In simpler terms, a meronym (i.e., second entity) is in a part-of relationship with its holonym (i.e., first entity).
Entity 1: digestive system
Entity 2: large intestine
Output: | yes |
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task.
In this task, you are given a movie review in Persian, and you have to extract aspects of the movie mentioned in the text. We define aspects as music(موسیقی), directing(کارگردانی), screenplay/story(داستان), acting/performance(بازی), cinematography(فیلمبرداری), and scene(صحنه). Although there might be multiple aspects in a review, we only need you to write one aspect.
فیلم متوسطی بود از لحاظ داستان ولی خوشحالم که سینمای ایران یک نیم نگاهی به این قشر از جامعه مون کرد.نا گفته نماندگفتگو های پر تامل و تاثیرگذاری داشت با این حال امیدوارم که تماشاچیان عزیز در دام "خطالی عاطفی" نیوفتاده باشند.
Solution: داستان
Why? This is a good example. The review is about the story of the movie.
New input: افتضاح :) به خصوص بازی پگاه آهنگرانی!
Solution: | بازی |
Detailed Instructions: In this task you will be given a string that only contains single digit numbers spelled out. The input string will not contain spaces between the different numbers. Your task is to return the number that the string spells out. The string will spell out each digit of the number for example '1726' will be 'oneseventwosix' instead of 'one thousand seven hundred six'.
See one example below:
Problem: twotwoonesixzeronine
Solution: 221609
Explanation: The string is properly converted into a number based on the spelling of each digit. The string started with 'twotwo' therefore the number also started with '22'. This is a good example.
Problem: threesevenfoureightfournineeight
Solution: | 3748498 |
Definition: The provided file includes inquiries about restaurants in Spanish, and we ask you to translate those to English language. Please bear in mind the following guidelines while doing the translation: 1) We are looking for the most naturally written and formal form of each sentence in your language. We are *NOT* looking for colloquial forms of the sentence. We are looking for formal form which is how you would type your queries in a text-based virtual assistant. 2) The words between quotation marks *SHOULD NOT* be translated. We expect you to keep those values intact and include the quotation marks around them as well. 3) The fully capitalized words like DATE_0, or DURATION_0 *SHOULD NOT* be translated. Please keep them as they are in the translations. 4) Please do not localize measurement units like miles to kilometers during your translation. miles should be translated to its equivalent in your language. 6) Note the input is all lowercased except for fully capitalized special placeholders (e.g. NUMBER, DATE, TIME). Please do the same in your translations.
Input: encuentra todos los restaurantes con valoración superior a 2
Output: | find all restaurants rated higher than 2 |
The provided file includes inquiries about restaurants in Spanish, and we ask you to translate those to English language. Please bear in mind the following guidelines while doing the translation: 1) We are looking for the most naturally written and formal form of each sentence in your language. We are *NOT* looking for colloquial forms of the sentence. We are looking for formal form which is how you would type your queries in a text-based virtual assistant. 2) The words between quotation marks *SHOULD NOT* be translated. We expect you to keep those values intact and include the quotation marks around them as well. 3) The fully capitalized words like DATE_0, or DURATION_0 *SHOULD NOT* be translated. Please keep them as they are in the translations. 4) Please do not localize measurement units like miles to kilometers during your translation. miles should be translated to its equivalent in your language. 6) Note the input is all lowercased except for fully capitalized special placeholders (e.g. NUMBER, DATE, TIME). Please do the same in your translations.
busque restaurantes de "steakhouse" en mi ciudad
search for " steakhouse " restaurants in my city
busca un " red lobster " en el código postal " 85053 " .
look for a " red lobster " in the " 85053 " zip code .
¿dónde está " thai kitchen "?
| where is " thai kitchen " ?
|
Turn the given fact into a question by a simple rearrangement of words. This typically involves replacing some part of the given fact with a WH word. For example, replacing the subject of the provided fact with the word "what" can form a valid question. Don't be creative! You just need to rearrange the words to turn the fact into a question - easy! Don't just randomly remove a word from the given fact to form a question. Remember that your question must evaluate scientific understanding. Pick a word or a phrase in the given fact to be the correct answer, then make the rest of the question. You can also form a question without any WH words. For example, "A radio converts electricity into?"
Q: Fact: Thirst is used to make a cow realize that it needs to replenish its bodily water by the body.
A: Thirst is used to make a cow realize that it needs to replenish its bodily what by the body?
****
Q: Fact: TRH stimulates prolactin release.
A: TRH stimulates what?
****
Q: Fact: a front is followed by snow.
A: | what is a front followed by?
****
|
Definition: Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.
Input: THEM: i'll take the balls and a hat if that's cool? YOU: how about the balls and the books? THEM: books have a zero value on my end YOU: okay then i will do 1 hat and 2 balls for you and 1 hat and 2 books for me THEM: cool =)
Output: | Yes |
Teacher:In this task you will be given a list of integers. You should find the minimum absolute difference between 2 integers in the list. The absolute difference is the absolute value of one integer subtracted by another. The output should be a single integer which is the smallest possible absolute distance.
Teacher: Now, understand the problem? Solve this instance: [-29, 97, 7]
Student: | 36 |
You will be given a definition of a task first, then some input of the task.
The input is taken from a negotiation between two participants who take the role of campsite neighbors and negotiate for Food, Water, and Firewood packages, based on their individual preferences and requirements. Given an utterance and recent dialogue context containing past 3 utterances (wherever available), output Yes if the utterance contains the self-need strategy, otherwise output No. self-need is a selfish negotiation strategy. It is used to create a personal need for an item in the negotiation, such as by pointing out that the participant sweats a lot to show preference towards water packages.
Context: 'I need 2 woods first ' 'That is fine since there are 3 wood and I want 1. ' 'Then it is good deal. I need two wood, 1 food, and 1 water.'
Utterance: 'I really need all the food, I have a lot of people to feed'
Output: | No |
In this task you will be given a list of dictionaries. A dictionary is a set of key-value pairs, where each key is unique and has a value associated with that key. You should sort the list of dictionaries from smallest to largest by their 'first' key. If there is two dictionaries with the same 'first' value then sort them by their 'second' key. Negative numbers should come before positive numbers.
[Q]: [{'first': -95, 'second': 81}, {'first': 91, 'second': -54}, {'first': -69, 'second': -88}, {'first': 71, 'second': 82}]
[A]: [{'first': -95, 'second': 81}, {'first': -69, 'second': -88}, {'first': 71, 'second': 82}, {'first': 91, 'second': -54}]
[Q]: [{'first': 59, 'second': 96}, {'first': -88, 'second': 67}, {'first': 18, 'second': -48}, {'first': -89, 'second': -15}, {'first': 54, 'second': 83}, {'first': 55, 'second': -71}]
[A]: [{'first': -89, 'second': -15}, {'first': -88, 'second': 67}, {'first': 18, 'second': -48}, {'first': 54, 'second': 83}, {'first': 55, 'second': -71}, {'first': 59, 'second': 96}]
[Q]: [{'first': -20, 'second': -100}, {'first': -2, 'second': -42}, {'first': 8, 'second': -19}, {'first': -37, 'second': 83}, {'first': 42, 'second': -72}, {'first': 11, 'second': 34}, {'first': 98, 'second': -55}, {'first': 31, 'second': -47}]
[A]: | [{'first': -37, 'second': 83}, {'first': -20, 'second': -100}, {'first': -2, 'second': -42}, {'first': 8, 'second': -19}, {'first': 11, 'second': 34}, {'first': 31, 'second': -47}, {'first': 42, 'second': -72}, {'first': 98, 'second': -55}]
|
Given an adjective, generate its antonym. An antonym of a word is a word opposite in meaning to it.
commodious
incommodious
tapped
untapped
visible
| invisible
|
In this task, you are given two sets, and you need to count the number of elements at the union of two given sets. A Set is shown by two curly braces and comma-separated numbers inside, like {1, 2, 3}. Union of two given sets is the smallest set which contains all the elements of both the sets. To find the union of two given sets, A and B is a set that consists of all the elements of A and all the elements of B such that no element is repeated.
Example Input: Set1: '{4, 5, 6, 9, 10, 11, 13, 14, 18}', Set2: '{3, 5, 9, 12, 13, 18, 19}'. How many elements are there in the union of Set1 and Set2 ?
Example Output: 12
Example Input: Set1: '{10}', Set2: '{14}'. How many elements are there in the union of Set1 and Set2 ?
Example Output: 2
Example Input: Set1: '{4, 7, 13, 14, 15}', Set2: '{2, 3, 4, 6, 8, 10, 17, 18, 19, 20}'. How many elements are there in the union of Set1 and Set2 ?
Example Output: | 14
|
You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
password = a41MVa29gErbIgG | 0 |
instruction:
The input is taken from a negotiation between two participants who take the role of campsite neighbors and negotiate for Food, Water, and Firewood packages, based on their individual preferences and requirements. Given an utterance and recent dialogue context containing past 3 utterances (wherever available), output Yes if the utterance contains the self-need strategy, otherwise output No. self-need is a selfish negotiation strategy. It is used to create a personal need for an item in the negotiation, such as by pointing out that the participant sweats a lot to show preference towards water packages.
question:
Context: 'Hello! And happy camping! 🙂 To start off, I am thinking that I will need at least 3 firewood, 2 water and 1 food. Last time my axe broke and we ran out of wood! What do you think/need?'
Utterance: 'I also was really needing some firewood. It's supposed to get pretty cold at night where we are camping and I need to make sure I can keep my kids warm.'
answer:
Yes
question:
Context: 'Hello, what do you expect from me?' 'Hi! I'm really excited for the camping trip, but I guess can we talk about it first? I don't think we're supposed to rush into a decision.'
Utterance: 'Okay, What did you thing about the camping trip?'
answer:
No
question:
Context: 'That could work, but I'm still a little worried I won't have enough food for 6 people. How long are you guys going to be camping for?' 'I will be camping for 3 day so I gotta have some food. Although, I do understand your situation.' 'I see. Yeah, if any of us knew how to fish or forage, we wouldn't need as much, but we're all from the city, so our survival skills are pretty bad and we're going to be camping for almost a week. But I get that fish aren't super reliable for food either... ☹️'
Utterance: 'I understand. So we have came to an agreement that I get 2 water, 1 firewood, and 1 food, is that right?'
answer:
| No
|
Q: We would like you to assess the QUALITY of each of the following argument (discussing Death Penalty) and determine if the argument is Valid or Invalid. A valid argument is clearly interpretable and either expresses an argument, or a premise or a conclusion that can be used in an argument for the topic of death penalty. An invalid argument is a phrase that cannot be interpreted as an argument or not on the topic of death penalty.
On the topic of the innocent - The Innocence Project lists 80 people who were wrongfully convicted from 1990-2008, and were luckily exonerated later.
A: | Valid |
You will be given a definition of a task first, then some input of the task.
The provided text is in English, and we ask you to translate the text to the Croatian language. Please bear in mind the following guidelines while translating: 1) We want a natural translation, a formal form. 2) Use the symbols like '#@%$-+_=^&!*' as-is. *Include* the special characters as suited when translating to Croatian. 3) Quantities like millions or billions should be translated to their equivalent in Croatian language 4) Note the input is all case-sensitive except for special placeholders and output is expected to be case-sensitive. 5) The output must have Croatian characters like Ž or č and the output must preserve the Croatian language characters. 6) The input contains punctuations and output is expected to have relevant punctuations for grammatical accuracy.
So I contacted NOAA, and I asked if they'd share their data on the tsunami, and translated it into this.
Output: | Stoga sam kontaktirala NOAA, i pitala da li bi oni podijelili svoje podatke o tsunamiju, i preveli ih u ovo. |
In this task, you will be given sentences in which you have to recognize the name of the body cells. A cell is a mass of cytoplasm that is bound externally by a cell membrane. Usually microscopic in size, cells are the smallest structural units of living matter and compose all living things. Although there might be several correct answers, you need to write one of them.
[Q]: There had been delayed separation of the umbilical cord and repeated infections associated with a defect of neutrophil motility .
[A]: neutrophil
[Q]: Dextransucrase ( EC 2 . 4 . 1 . 5 ) , which catalyses soluble glucan synthesis , was most active in the supernatant fluid from cultures grown with excess glucose , fructose or sucrose , but full activity was detected only when the enzyme was incubated with both sucrose and dextran .
[A]: EC
[Q]: These signals were evident in both the pigmented and non - pigmented epithelial cell layers of the pars plicata region of the ciliary processes , but not in the pars plana or in the ciliary musculature .
[A]: | epithelial cell
|
TASK DEFINITION: A ploynomial equation is a sum of terms. Here each term is either a constant number, or consists of the variable x raised to a certain power and multiplied by a number. These numbers are called weights. For example, in the polynomial: 2x^2+3x+4, the weights are: 2,3,4. You can present a polynomial with the list of its weights, for example, equation weights = [6, 4] represent the equation 6x + 4 and equation weights = [1, 3, 4] represent the equation 1x^2 + 3x + 4. In this task, you need to compute the result of a polynomial expression by substituing a given value of x in the given polynomial equation. Equation weights are given as a list.
PROBLEM: x = 0, equation weights = [0, 8, 3, 6]
SOLUTION: 6
PROBLEM: x = 9, equation weights = [9, 3, 0]
SOLUTION: 756
PROBLEM: x = 0, equation weights = [7, 9, 6, 8]
SOLUTION: | 8
|
Definition: Given a sequence of actions to navigate an agent in its environment, provide the correct command in a limited form of natural language that matches the sequence of actions when executed. Commands are lowercase and encapsulate the logic of the sequence of actions. Actions are individual steps that serve as the building blocks for a command. There are only six actions: 'I_LOOK', 'I_WALK', 'I_RUN', 'I_JUMP', 'I_TURN_LEFT', and 'I_TURN_RIGHT'. These actions respectively align with the commands 'look', 'walk', 'run', 'jump', 'turn left', and 'turn right'. For commands, 'left' and 'right' are used to denote the direction of an action. opposite turns the agent backward in the specified direction. The word 'around' makes the agent execute an action while turning around in the specified direction. The word 'and' means to execute the next scope of the command following the previous scope of the command. The word 'after' signifies to execute the previous scope of the command following the next scope of the command. The words 'twice' and 'thrice' trigger repetition of a command that they scope over two times or three times, respectively. Actions and commands do not have quotations in the input and output.
Input: I_TURN_LEFT I_RUN I_TURN_LEFT I_RUN I_TURN_RIGHT I_JUMP I_TURN_RIGHT I_JUMP I_TURN_RIGHT I_JUMP I_TURN_RIGHT I_JUMP I_TURN_RIGHT I_JUMP I_TURN_RIGHT I_JUMP I_TURN_RIGHT I_JUMP I_TURN_RIGHT I_JUMP
Output: | run left twice and jump around right twice |
Given an adjective, generate its antonym. An antonym of a word is a word opposite in meaning to it.
masculine
feminine
immodest
modest
unknown
| known
|
Generate a 5-star review (1 being lowest and 5 being highest) about an app with package org.kde.necessitas.ministro.
| Usefull Perfect |
Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.
THEM: i would like the books. YOU: deal, i think. | Yes |
Definition: In this task you will be given a string that only contains single digit numbers spelled out. The input string will not contain spaces between the different numbers. Your task is to return the number that the string spells out. The string will spell out each digit of the number for example '1726' will be 'oneseventwosix' instead of 'one thousand seven hundred six'.
Input: onesevenfiveeightzero
Output: | 17580 |
Definition: In this task, you are given commands (in terms of logical operations) and natural interpretation of the given command to select relevant rows from the given table. Your job is to generate a label "yes" if the interpretation is appropriate for the command, otherwise generate label "no".
Here are the definitions of logical operators:
1. count: returns the number of rows in the view.
2. only: returns whether there is exactly one row in the view.
3. hop: returns the value under the header column of the row.
4. and: returns the boolean operation result of two arguments.
5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column.
6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column.
7. argmax/argmin: returns the row with the max/min value in header column.
8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column.
9. eq/not_eq: returns if the two arguments are equal.
10. round_eq: returns if the two arguments are roughly equal under certain tolerance.
11. greater/less: returns if the first argument is greater/less than the second argument.
12. diff: returns the difference between two arguments.
13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument.
14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument.
15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument.
16. filter_all: returns the view itself for the case of describing the whole table
17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument.
18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument.
19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument.
20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument.
21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument.
22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument.
Input: Command: eq { hop { nth_argmax { all_rows ; money ; 2 } ; player } ; tom watson }, interpretation: select the row whose money record of all rows is 2nd maximum . the player record of this row is tom watson .
Output: | yes |
Subsets and Splits