- Published on
Hugging Faceevalplus/humanevalplus
- Price
- Free
- License
- apache-2.0
- Allows
- Commercial
- Labels
- Not stated
- Rows
- 164 in test
- Languages
- en
- Downloads
- 57,366
- Last updated
- 2024-05-01
What each record holds
| Field | Type |
|---|---|
| task_id | string |
| prompt | string |
| canonical_solution | string |
| entry_point | string |
| test | string |
First rows, as published
| task_id | prompt | canonical_solution | entry_point | test |
|---|---|---|---|---|
| HumanEval/0 | from typing import List def has_close_elements(numbers: List[float], threshold: float) -> bool: """ Check if in given list of numbers, | sorted_numbers = sorted(numbers) for i in range(len(sorted_numbers) - 1): if sorted_numbers[i + 1] - sorted_numbers[i] < t | has_close_elements | import numpy as np def is_floats(x) -> bool: # check if it is float; List[float]; Tuple[float] if isinstance(x, float): r |
| HumanEval/1 | from typing import List def separate_paren_groups(paren_string: str) -> List[str]: """ Input to this function is a string containing m | cnt, group, results = 0, "", [] for ch in paren_string: if ch == "(": cnt += 1 if ch == ")": cnt -= 1 if c | separate_paren_groups | import numpy as np def is_floats(x) -> bool: # check if it is float; List[float]; Tuple[float] if isinstance(x, float): r |
| HumanEval/2 | def truncate_number(number: float) -> float: """ Given a positive floating point number, it can be decomposed into and integer par | return number - int(number) | truncate_number | import numpy as np def is_floats(x) -> bool: # check if it is float; List[float]; Tuple[float] if isinstance(x, float): r |
Mora looked inside (rows, columns, first rows) but did not check rights or quality. "Allows" reads the declared license only.