Dataset Viewer
Auto-converted to Parquet Duplicate
mutation_id
int64
task_id
string
mutator_prompt
string
solver_prompt
string
response
string
mutation_explanation
string
mutation_info
string
mutator_score
float64
solution_scores
string
solutions
string
solutions_explanation
string
solutions_info
string
consistency_scores
string
1
HumanEval/2
Modify the given function to introduce a subtle bug that causes some unit tests to fail. Rules: 1. Keep the function signature exactly the same. 2. Only modify the function implementation (the code inside the function). 3. Do not include the function signature, docstrings, or comments. Response Format: 1. The modifie...
Your task is to fix the buggy implementation of a function. Rules: 1. Keep the function signature exactly the same. 2. Only modify the function implementation (the code inside the function). 3. Do not include docstrings, comments, or test cases. Respond ONLY with: 1. The corrected function (only the code inside the f...
```python return number // 1.0 ```
Replaced the modulo operator with integer division.
{"task_id": "HumanEval/2", "passed": false, "result": "failed: ", "completion_id": null}
0
[1.0]
["```python\n return number - int(number)\n```"]
["The original implementation used floor division (`// 1.0`) to get the integer part of the number, but it did not subtract this from the original number to get the decimal part. The corrected implementation subtracts the integer part (`int(number)`) from the original number (`number`) to get the decimal part."]
[{"task_id": "HumanEval/2", "passed": true, "result": "passed", "completion_id": null}]
[0.2]
README.md exists but content is empty.
Downloads last month
3