context listlengths 1 1 | gen_kwargs dict | repeat_idx int64 0 0 | request_idx int64 0 377 | task_name stringclasses 2
values | metadata dict |
|---|---|---|---|---|---|
[
{
"content": "Please continue to complete the function. You are not allowed to modify the given code and do the completion only. Please return all completed function in a codeblock. Here is the given code to do completion:\n```python\ndef make_a_pile(n):\n \"\"\"\n Given a positive integer n, you have to ... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 100 | HumanEvalPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please continue to complete the function. You are not allowed to modify the given code and do the completion only. Please return all completed function in a codeblock. Here is the given code to do completion:\n```python\ndef words_string(s):\n \"\"\"\n You will be given a string of words sep... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 101 | HumanEvalPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please continue to complete the function. You are not allowed to modify the given code and do the completion only. Please return all completed function in a codeblock. Here is the given code to do completion:\n```python\ndef choose_num(x, y):\n \"\"\"This function takes two positive numbers x a... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 102 | HumanEvalPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please continue to complete the function. You are not allowed to modify the given code and do the completion only. Please return all completed function in a codeblock. Here is the given code to do completion:\n```python\ndef rounded_avg(n, m):\n \"\"\"You are given two positive integers n and m... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 103 | HumanEvalPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please continue to complete the function. You are not allowed to modify the given code and do the completion only. Please return all completed function in a codeblock. Here is the given code to do completion:\n```python\ndef unique_digits(x):\n \"\"\"Given a list of positive integers x. return ... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 104 | HumanEvalPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please continue to complete the function. You are not allowed to modify the given code and do the completion only. Please return all completed function in a codeblock. Here is the given code to do completion:\n```python\ndef by_length(arr):\n \"\"\"\n Given an array of integers, sort the int... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 105 | HumanEvalPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please continue to complete the function. You are not allowed to modify the given code and do the completion only. Please return all completed function in a codeblock. Here is the given code to do completion:\n```python\ndef f(n):\n \"\"\" Implement the function f that takes n as a parameter,\n... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 106 | HumanEvalPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please continue to complete the function. You are not allowed to modify the given code and do the completion only. Please return all completed function in a codeblock. Here is the given code to do completion:\n```python\ndef even_odd_palindrome(n):\n \"\"\"\n Given a positive integer n, retu... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 107 | HumanEvalPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please continue to complete the function. You are not allowed to modify the given code and do the completion only. Please return all completed function in a codeblock. Here is the given code to do completion:\n```python\ndef count_nums(arr):\n \"\"\"\n Write a function count_nums which takes... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 108 | HumanEvalPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please continue to complete the function. You are not allowed to modify the given code and do the completion only. Please return all completed function in a codeblock. Here is the given code to do completion:\n```python\ndef move_one_ball(arr):\n \"\"\"We have an array 'arr' of N integers arr[1... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 109 | HumanEvalPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please continue to complete the function. You are not allowed to modify the given code and do the completion only. Please return all completed function in a codeblock. Here is the given code to do completion:\n```python\ndef exchange(lst1, lst2):\n \"\"\"In this problem, you will implement a fu... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 110 | HumanEvalPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please continue to complete the function. You are not allowed to modify the given code and do the completion only. Please return all completed function in a codeblock. Here is the given code to do completion:\n```python\ndef histogram(test):\n \"\"\"Given a string representing a space separated... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 111 | HumanEvalPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please continue to complete the function. You are not allowed to modify the given code and do the completion only. Please return all completed function in a codeblock. Here is the given code to do completion:\n```python\ndef reverse_delete(s,c):\n \"\"\"Task\n We are given two strings s and ... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 112 | HumanEvalPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please continue to complete the function. You are not allowed to modify the given code and do the completion only. Please return all completed function in a codeblock. Here is the given code to do completion:\n```python\ndef odd_count(lst):\n \"\"\"Given a list of strings, where each string con... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 113 | HumanEvalPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please continue to complete the function. You are not allowed to modify the given code and do the completion only. Please return all completed function in a codeblock. Here is the given code to do completion:\n```python\ndef minSubArraySum(nums):\n \"\"\"\n Given an array of integers nums, f... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 114 | HumanEvalPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please continue to complete the function. You are not allowed to modify the given code and do the completion only. Please return all completed function in a codeblock. Here is the given code to do completion:\n```python\nimport math\n\ndef max_fill(grid, capacity):\n \"\"\"\n You are given a... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 115 | HumanEvalPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please continue to complete the function. You are not allowed to modify the given code and do the completion only. Please return all completed function in a codeblock. Here is the given code to do completion:\n```python\ndef sort_array(arr):\n \"\"\"\n In this Kata, you have to sort an array... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 116 | HumanEvalPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please continue to complete the function. You are not allowed to modify the given code and do the completion only. Please return all completed function in a codeblock. Here is the given code to do completion:\n```python\ndef select_words(s, n):\n \"\"\"Given a string s and a natural number n, y... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 117 | HumanEvalPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please continue to complete the function. You are not allowed to modify the given code and do the completion only. Please return all completed function in a codeblock. Here is the given code to do completion:\n```python\ndef get_closest_vowel(word):\n \"\"\"You are given a word. Your task is to... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 118 | HumanEvalPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please continue to complete the function. You are not allowed to modify the given code and do the completion only. Please return all completed function in a codeblock. Here is the given code to do completion:\n```python\ndef match_parens(lst):\n '''\n You are given a list of two strings, bot... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 119 | HumanEvalPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please continue to complete the function. You are not allowed to modify the given code and do the completion only. Please return all completed function in a codeblock. Here is the given code to do completion:\n```python\ndef maximum(arr, k):\n \"\"\"\n Given an array arr of integers and a po... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 120 | HumanEvalPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please continue to complete the function. You are not allowed to modify the given code and do the completion only. Please return all completed function in a codeblock. Here is the given code to do completion:\n```python\ndef solution(lst):\n \"\"\"Given a non-empty list of integers, return the ... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 121 | HumanEvalPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please continue to complete the function. You are not allowed to modify the given code and do the completion only. Please return all completed function in a codeblock. Here is the given code to do completion:\n```python\ndef add_elements(arr, k):\n \"\"\"\n Given a non-empty array of integer... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 122 | HumanEvalPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please continue to complete the function. You are not allowed to modify the given code and do the completion only. Please return all completed function in a codeblock. Here is the given code to do completion:\n```python\ndef get_odd_collatz(n):\n \"\"\"\n Given a positive integer n, return a... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 123 | HumanEvalPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please continue to complete the function. You are not allowed to modify the given code and do the completion only. Please return all completed function in a codeblock. Here is the given code to do completion:\n```python\ndef valid_date(date):\n \"\"\"You have to write a function which validates... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 124 | HumanEvalPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please continue to complete the function. You are not allowed to modify the given code and do the completion only. Please return all completed function in a codeblock. Here is the given code to do completion:\n```python\ndef split_words(txt):\n '''\n Given a string of words, return a list of... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 125 | HumanEvalPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please continue to complete the function. You are not allowed to modify the given code and do the completion only. Please return all completed function in a codeblock. Here is the given code to do completion:\n```python\ndef is_sorted(lst):\n '''\n Given a list of numbers, return whether or ... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 126 | HumanEvalPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please continue to complete the function. You are not allowed to modify the given code and do the completion only. Please return all completed function in a codeblock. Here is the given code to do completion:\n```python\ndef intersection(interval1, interval2):\n \"\"\"You are given two interval... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 127 | HumanEvalPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please continue to complete the function. You are not allowed to modify the given code and do the completion only. Please return all completed function in a codeblock. Here is the given code to do completion:\n```python\ndef prod_signs(arr):\n \"\"\"\n You are given an array arr of integers ... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 128 | HumanEvalPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please continue to complete the function. You are not allowed to modify the given code and do the completion only. Please return all completed function in a codeblock. Here is the given code to do completion:\n```python\ndef minPath(grid, k):\n \"\"\"\n Given a grid with N rows and N columns... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 129 | HumanEvalPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please continue to complete the function. You are not allowed to modify the given code and do the completion only. Please return all completed function in a codeblock. Here is the given code to do completion:\n```python\ndef tri(n):\n \"\"\"Everyone knows Fibonacci sequence, it was studied deep... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 130 | HumanEvalPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please continue to complete the function. You are not allowed to modify the given code and do the completion only. Please return all completed function in a codeblock. Here is the given code to do completion:\n```python\ndef digits(n):\n \"\"\"Given a positive integer n, return the product of t... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 131 | HumanEvalPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please continue to complete the function. You are not allowed to modify the given code and do the completion only. Please return all completed function in a codeblock. Here is the given code to do completion:\n```python\ndef is_nested(string):\n '''\n Create a function that takes a string as... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 132 | HumanEvalPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please continue to complete the function. You are not allowed to modify the given code and do the completion only. Please return all completed function in a codeblock. Here is the given code to do completion:\n```python\ndef sum_squares(lst):\n \"\"\"You are given a list of numbers.\n You ne... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 133 | HumanEvalPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please continue to complete the function. You are not allowed to modify the given code and do the completion only. Please return all completed function in a codeblock. Here is the given code to do completion:\n```python\ndef check_if_last_char_is_a_letter(txt):\n '''\n Create a function that... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 134 | HumanEvalPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please continue to complete the function. You are not allowed to modify the given code and do the completion only. Please return all completed function in a codeblock. Here is the given code to do completion:\n```python\ndef can_arrange(arr):\n \"\"\"Create a function which returns the largest ... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 135 | HumanEvalPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please continue to complete the function. You are not allowed to modify the given code and do the completion only. Please return all completed function in a codeblock. Here is the given code to do completion:\n```python\ndef largest_smallest_integers(lst):\n '''\n Create a function that retu... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 136 | HumanEvalPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please continue to complete the function. You are not allowed to modify the given code and do the completion only. Please return all completed function in a codeblock. Here is the given code to do completion:\n```python\ndef compare_one(a, b):\n \"\"\"\n Create a function that takes integers... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 137 | HumanEvalPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please continue to complete the function. You are not allowed to modify the given code and do the completion only. Please return all completed function in a codeblock. Here is the given code to do completion:\n```python\ndef is_equal_to_sum_even(n):\n \"\"\"Evaluate whether the given number n c... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 138 | HumanEvalPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please continue to complete the function. You are not allowed to modify the given code and do the completion only. Please return all completed function in a codeblock. Here is the given code to do completion:\n```python\ndef special_factorial(n):\n \"\"\"The Brazilian factorial is defined as:\n... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 139 | HumanEvalPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please continue to complete the function. You are not allowed to modify the given code and do the completion only. Please return all completed function in a codeblock. Here is the given code to do completion:\n```python\ndef fix_spaces(text):\n \"\"\"\n Given a string text, replace all space... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 140 | HumanEvalPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please continue to complete the function. You are not allowed to modify the given code and do the completion only. Please return all completed function in a codeblock. Here is the given code to do completion:\n```python\ndef file_name_check(file_name):\n \"\"\"Create a function which takes a st... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 141 | HumanEvalPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please continue to complete the function. You are not allowed to modify the given code and do the completion only. Please return all completed function in a codeblock. Here is the given code to do completion:\n```python\ndef sum_squares(lst):\n \"\"\"\"\n This function will take a list of in... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 142 | HumanEvalPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please continue to complete the function. You are not allowed to modify the given code and do the completion only. Please return all completed function in a codeblock. Here is the given code to do completion:\n```python\ndef words_in_sentence(sentence):\n \"\"\"\n You are given a string repr... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 143 | HumanEvalPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please continue to complete the function. You are not allowed to modify the given code and do the completion only. Please return all completed function in a codeblock. Here is the given code to do completion:\n```python\ndef simplify(x, n):\n \"\"\"Your task is to implement a function that will... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 144 | HumanEvalPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please continue to complete the function. You are not allowed to modify the given code and do the completion only. Please return all completed function in a codeblock. Here is the given code to do completion:\n```python\ndef order_by_points(nums):\n \"\"\"\n Write a function which sorts the ... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 145 | HumanEvalPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please continue to complete the function. You are not allowed to modify the given code and do the completion only. Please return all completed function in a codeblock. Here is the given code to do completion:\n```python\ndef specialFilter(nums):\n \"\"\"Write a function that takes an array of n... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 146 | HumanEvalPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please continue to complete the function. You are not allowed to modify the given code and do the completion only. Please return all completed function in a codeblock. Here is the given code to do completion:\n```python\ndef get_max_triples(n):\n \"\"\"\n You are given a positive integer n. ... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 147 | HumanEvalPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please continue to complete the function. You are not allowed to modify the given code and do the completion only. Please return all completed function in a codeblock. Here is the given code to do completion:\n```python\ndef bf(planet1, planet2):\n '''\n There are eight planets in our solar ... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 148 | HumanEvalPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please continue to complete the function. You are not allowed to modify the given code and do the completion only. Please return all completed function in a codeblock. Here is the given code to do completion:\n```python\ndef sorted_list_sum(lst):\n \"\"\"Write a function that accepts a list of ... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 149 | HumanEvalPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please continue to complete the function. You are not allowed to modify the given code and do the completion only. Please return all completed function in a codeblock. Here is the given code to do completion:\n```python\ndef x_or_y(n, x, y):\n \"\"\"A simple program which should return the valu... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 150 | HumanEvalPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please continue to complete the function. You are not allowed to modify the given code and do the completion only. Please return all completed function in a codeblock. Here is the given code to do completion:\n```python\ndef double_the_difference(lst):\n '''\n Given a list of numbers, return... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 151 | HumanEvalPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please continue to complete the function. You are not allowed to modify the given code and do the completion only. Please return all completed function in a codeblock. Here is the given code to do completion:\n```python\ndef compare(game,guess):\n \"\"\"I think we all remember that feeling when... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 152 | HumanEvalPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please continue to complete the function. You are not allowed to modify the given code and do the completion only. Please return all completed function in a codeblock. Here is the given code to do completion:\n```python\ndef Strongest_Extension(class_name, extensions):\n \"\"\"You will be given... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 153 | HumanEvalPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please continue to complete the function. You are not allowed to modify the given code and do the completion only. Please return all completed function in a codeblock. Here is the given code to do completion:\n```python\ndef cycpattern_check(a , b):\n \"\"\"You are given 2 words. You need to re... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 154 | HumanEvalPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please continue to complete the function. You are not allowed to modify the given code and do the completion only. Please return all completed function in a codeblock. Here is the given code to do completion:\n```python\ndef even_odd_count(num):\n \"\"\"Given an integer. return a tuple that has... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 155 | HumanEvalPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please continue to complete the function. You are not allowed to modify the given code and do the completion only. Please return all completed function in a codeblock. Here is the given code to do completion:\n```python\ndef int_to_mini_roman(number):\n \"\"\"\n Given a positive integer, obt... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 156 | HumanEvalPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please continue to complete the function. You are not allowed to modify the given code and do the completion only. Please return all completed function in a codeblock. Here is the given code to do completion:\n```python\ndef right_angle_triangle(a, b, c):\n '''\n Given the lengths of the thr... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 157 | HumanEvalPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please continue to complete the function. You are not allowed to modify the given code and do the completion only. Please return all completed function in a codeblock. Here is the given code to do completion:\n```python\ndef find_max(words):\n \"\"\"Write a function that accepts a list of strin... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 158 | HumanEvalPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please continue to complete the function. You are not allowed to modify the given code and do the completion only. Please return all completed function in a codeblock. Here is the given code to do completion:\n```python\ndef eat(number, need, remaining):\n \"\"\"\n You're a hungry rabbit, an... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 159 | HumanEvalPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please continue to complete the function. You are not allowed to modify the given code and do the completion only. Please return all completed function in a codeblock. Here is the given code to do completion:\n```python\ndef do_algebra(operator, operand):\n \"\"\"\n Given two lists operator,... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 160 | HumanEvalPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please continue to complete the function. You are not allowed to modify the given code and do the completion only. Please return all completed function in a codeblock. Here is the given code to do completion:\n```python\ndef solve(s):\n \"\"\"You are given a string s.\n if s[i] is a letter, ... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 161 | HumanEvalPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please continue to complete the function. You are not allowed to modify the given code and do the completion only. Please return all completed function in a codeblock. Here is the given code to do completion:\n```python\ndef string_to_md5(text):\n \"\"\"\n Given a string 'text', return its m... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 162 | HumanEvalPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please continue to complete the function. You are not allowed to modify the given code and do the completion only. Please return all completed function in a codeblock. Here is the given code to do completion:\n```python\ndef generate_integers(a, b):\n \"\"\"\n Given two positive integers a a... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 163 | HumanEvalPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please refer the given examples and generate a python function for my problem.\nExamples are listed as follows:\n- Example 1:\n>>> Problem:\nWrite a python function to identify non-prime numbers.\n>>> Test Cases:\nassert is_not_prime(2) == False\nassert is_not_prime(10) == True\nassert is_not_prim... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 0 | MBPPPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please refer the given examples and generate a python function for my problem.\nExamples are listed as follows:\n- Example 1:\n>>> Problem:\nWrite a python function to identify non-prime numbers.\n>>> Test Cases:\nassert is_not_prime(2) == False\nassert is_not_prime(10) == True\nassert is_not_prim... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 1 | MBPPPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please refer the given examples and generate a python function for my problem.\nExamples are listed as follows:\n- Example 1:\n>>> Problem:\nWrite a python function to identify non-prime numbers.\n>>> Test Cases:\nassert is_not_prime(2) == False\nassert is_not_prime(10) == True\nassert is_not_prim... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 2 | MBPPPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please refer the given examples and generate a python function for my problem.\nExamples are listed as follows:\n- Example 1:\n>>> Problem:\nWrite a python function to identify non-prime numbers.\n>>> Test Cases:\nassert is_not_prime(2) == False\nassert is_not_prime(10) == True\nassert is_not_prim... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 3 | MBPPPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please refer the given examples and generate a python function for my problem.\nExamples are listed as follows:\n- Example 1:\n>>> Problem:\nWrite a python function to identify non-prime numbers.\n>>> Test Cases:\nassert is_not_prime(2) == False\nassert is_not_prime(10) == True\nassert is_not_prim... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 4 | MBPPPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please refer the given examples and generate a python function for my problem.\nExamples are listed as follows:\n- Example 1:\n>>> Problem:\nWrite a python function to identify non-prime numbers.\n>>> Test Cases:\nassert is_not_prime(2) == False\nassert is_not_prime(10) == True\nassert is_not_prim... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 5 | MBPPPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please refer the given examples and generate a python function for my problem.\nExamples are listed as follows:\n- Example 1:\n>>> Problem:\nWrite a python function to identify non-prime numbers.\n>>> Test Cases:\nassert is_not_prime(2) == False\nassert is_not_prime(10) == True\nassert is_not_prim... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 6 | MBPPPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please refer the given examples and generate a python function for my problem.\nExamples are listed as follows:\n- Example 1:\n>>> Problem:\nWrite a python function to identify non-prime numbers.\n>>> Test Cases:\nassert is_not_prime(2) == False\nassert is_not_prime(10) == True\nassert is_not_prim... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 7 | MBPPPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please refer the given examples and generate a python function for my problem.\nExamples are listed as follows:\n- Example 1:\n>>> Problem:\nWrite a python function to identify non-prime numbers.\n>>> Test Cases:\nassert is_not_prime(2) == False\nassert is_not_prime(10) == True\nassert is_not_prim... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 8 | MBPPPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please refer the given examples and generate a python function for my problem.\nExamples are listed as follows:\n- Example 1:\n>>> Problem:\nWrite a python function to identify non-prime numbers.\n>>> Test Cases:\nassert is_not_prime(2) == False\nassert is_not_prime(10) == True\nassert is_not_prim... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 9 | MBPPPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please refer the given examples and generate a python function for my problem.\nExamples are listed as follows:\n- Example 1:\n>>> Problem:\nWrite a python function to identify non-prime numbers.\n>>> Test Cases:\nassert is_not_prime(2) == False\nassert is_not_prime(10) == True\nassert is_not_prim... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 10 | MBPPPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please refer the given examples and generate a python function for my problem.\nExamples are listed as follows:\n- Example 1:\n>>> Problem:\nWrite a python function to identify non-prime numbers.\n>>> Test Cases:\nassert is_not_prime(2) == False\nassert is_not_prime(10) == True\nassert is_not_prim... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 11 | MBPPPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please refer the given examples and generate a python function for my problem.\nExamples are listed as follows:\n- Example 1:\n>>> Problem:\nWrite a python function to identify non-prime numbers.\n>>> Test Cases:\nassert is_not_prime(2) == False\nassert is_not_prime(10) == True\nassert is_not_prim... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 12 | MBPPPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please refer the given examples and generate a python function for my problem.\nExamples are listed as follows:\n- Example 1:\n>>> Problem:\nWrite a python function to identify non-prime numbers.\n>>> Test Cases:\nassert is_not_prime(2) == False\nassert is_not_prime(10) == True\nassert is_not_prim... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 13 | MBPPPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please refer the given examples and generate a python function for my problem.\nExamples are listed as follows:\n- Example 1:\n>>> Problem:\nWrite a python function to identify non-prime numbers.\n>>> Test Cases:\nassert is_not_prime(2) == False\nassert is_not_prime(10) == True\nassert is_not_prim... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 14 | MBPPPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please refer the given examples and generate a python function for my problem.\nExamples are listed as follows:\n- Example 1:\n>>> Problem:\nWrite a python function to identify non-prime numbers.\n>>> Test Cases:\nassert is_not_prime(2) == False\nassert is_not_prime(10) == True\nassert is_not_prim... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 15 | MBPPPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please refer the given examples and generate a python function for my problem.\nExamples are listed as follows:\n- Example 1:\n>>> Problem:\nWrite a python function to identify non-prime numbers.\n>>> Test Cases:\nassert is_not_prime(2) == False\nassert is_not_prime(10) == True\nassert is_not_prim... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 16 | MBPPPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please refer the given examples and generate a python function for my problem.\nExamples are listed as follows:\n- Example 1:\n>>> Problem:\nWrite a python function to identify non-prime numbers.\n>>> Test Cases:\nassert is_not_prime(2) == False\nassert is_not_prime(10) == True\nassert is_not_prim... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 17 | MBPPPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please refer the given examples and generate a python function for my problem.\nExamples are listed as follows:\n- Example 1:\n>>> Problem:\nWrite a python function to identify non-prime numbers.\n>>> Test Cases:\nassert is_not_prime(2) == False\nassert is_not_prime(10) == True\nassert is_not_prim... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 18 | MBPPPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please refer the given examples and generate a python function for my problem.\nExamples are listed as follows:\n- Example 1:\n>>> Problem:\nWrite a python function to identify non-prime numbers.\n>>> Test Cases:\nassert is_not_prime(2) == False\nassert is_not_prime(10) == True\nassert is_not_prim... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 19 | MBPPPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please refer the given examples and generate a python function for my problem.\nExamples are listed as follows:\n- Example 1:\n>>> Problem:\nWrite a python function to identify non-prime numbers.\n>>> Test Cases:\nassert is_not_prime(2) == False\nassert is_not_prime(10) == True\nassert is_not_prim... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 20 | MBPPPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please refer the given examples and generate a python function for my problem.\nExamples are listed as follows:\n- Example 1:\n>>> Problem:\nWrite a python function to identify non-prime numbers.\n>>> Test Cases:\nassert is_not_prime(2) == False\nassert is_not_prime(10) == True\nassert is_not_prim... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 21 | MBPPPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please refer the given examples and generate a python function for my problem.\nExamples are listed as follows:\n- Example 1:\n>>> Problem:\nWrite a python function to identify non-prime numbers.\n>>> Test Cases:\nassert is_not_prime(2) == False\nassert is_not_prime(10) == True\nassert is_not_prim... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 22 | MBPPPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please refer the given examples and generate a python function for my problem.\nExamples are listed as follows:\n- Example 1:\n>>> Problem:\nWrite a python function to identify non-prime numbers.\n>>> Test Cases:\nassert is_not_prime(2) == False\nassert is_not_prime(10) == True\nassert is_not_prim... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 23 | MBPPPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please refer the given examples and generate a python function for my problem.\nExamples are listed as follows:\n- Example 1:\n>>> Problem:\nWrite a python function to identify non-prime numbers.\n>>> Test Cases:\nassert is_not_prime(2) == False\nassert is_not_prime(10) == True\nassert is_not_prim... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 24 | MBPPPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please refer the given examples and generate a python function for my problem.\nExamples are listed as follows:\n- Example 1:\n>>> Problem:\nWrite a python function to identify non-prime numbers.\n>>> Test Cases:\nassert is_not_prime(2) == False\nassert is_not_prime(10) == True\nassert is_not_prim... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 25 | MBPPPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please refer the given examples and generate a python function for my problem.\nExamples are listed as follows:\n- Example 1:\n>>> Problem:\nWrite a python function to identify non-prime numbers.\n>>> Test Cases:\nassert is_not_prime(2) == False\nassert is_not_prime(10) == True\nassert is_not_prim... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 26 | MBPPPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please refer the given examples and generate a python function for my problem.\nExamples are listed as follows:\n- Example 1:\n>>> Problem:\nWrite a python function to identify non-prime numbers.\n>>> Test Cases:\nassert is_not_prime(2) == False\nassert is_not_prime(10) == True\nassert is_not_prim... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 27 | MBPPPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please refer the given examples and generate a python function for my problem.\nExamples are listed as follows:\n- Example 1:\n>>> Problem:\nWrite a python function to identify non-prime numbers.\n>>> Test Cases:\nassert is_not_prime(2) == False\nassert is_not_prime(10) == True\nassert is_not_prim... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 28 | MBPPPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please refer the given examples and generate a python function for my problem.\nExamples are listed as follows:\n- Example 1:\n>>> Problem:\nWrite a python function to identify non-prime numbers.\n>>> Test Cases:\nassert is_not_prime(2) == False\nassert is_not_prime(10) == True\nassert is_not_prim... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 29 | MBPPPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please refer the given examples and generate a python function for my problem.\nExamples are listed as follows:\n- Example 1:\n>>> Problem:\nWrite a python function to identify non-prime numbers.\n>>> Test Cases:\nassert is_not_prime(2) == False\nassert is_not_prime(10) == True\nassert is_not_prim... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 30 | MBPPPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please refer the given examples and generate a python function for my problem.\nExamples are listed as follows:\n- Example 1:\n>>> Problem:\nWrite a python function to identify non-prime numbers.\n>>> Test Cases:\nassert is_not_prime(2) == False\nassert is_not_prime(10) == True\nassert is_not_prim... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 31 | MBPPPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please refer the given examples and generate a python function for my problem.\nExamples are listed as follows:\n- Example 1:\n>>> Problem:\nWrite a python function to identify non-prime numbers.\n>>> Test Cases:\nassert is_not_prime(2) == False\nassert is_not_prime(10) == True\nassert is_not_prim... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 32 | MBPPPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please refer the given examples and generate a python function for my problem.\nExamples are listed as follows:\n- Example 1:\n>>> Problem:\nWrite a python function to identify non-prime numbers.\n>>> Test Cases:\nassert is_not_prime(2) == False\nassert is_not_prime(10) == True\nassert is_not_prim... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 33 | MBPPPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please refer the given examples and generate a python function for my problem.\nExamples are listed as follows:\n- Example 1:\n>>> Problem:\nWrite a python function to identify non-prime numbers.\n>>> Test Cases:\nassert is_not_prime(2) == False\nassert is_not_prime(10) == True\nassert is_not_prim... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 34 | MBPPPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
[
{
"content": "Please refer the given examples and generate a python function for my problem.\nExamples are listed as follows:\n- Example 1:\n>>> Problem:\nWrite a python function to identify non-prime numbers.\n>>> Test Cases:\nassert is_not_prime(2) == False\nassert is_not_prime(10) == True\nassert is_not_prim... | {
"do_sample": false,
"max_new_tokens": 3072
} | 0 | 35 | MBPPPlus | {
"expected_answer": "",
"problem_id": "",
"reference_solution": ""
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.