mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2026-01-01 21:34:27 +01:00
34 lines
987 B
JSON
34 lines
987 B
JSON
{
|
|
"category": [
|
|
"code",
|
|
"iterate"
|
|
],
|
|
"cutoff": 120,
|
|
"dependencies": [
|
|
"TestReturnCodeWrite"
|
|
],
|
|
"eval_id": "092f3c8a-9723-4262-8e40-93d0cebba98a",
|
|
"ground": {
|
|
"answer": "def multiply_int(num, multiplier):\n return num * multiplier\n",
|
|
"eval": {
|
|
"type": "python"
|
|
},
|
|
"files": [
|
|
"test.py"
|
|
],
|
|
"should_contain": [
|
|
"8",
|
|
"49",
|
|
"-12"
|
|
],
|
|
"should_not_contain": []
|
|
},
|
|
"info": {
|
|
"description": "Builds on the previous function also take a multiplier .",
|
|
"difficulty": "intermediate",
|
|
"side_effects": []
|
|
},
|
|
"name": "ReturnCodeModify",
|
|
"task": "Modify the multiply_int function in sample_code.py to be able to pass in a 'multiplier' argument to multiply the 'num' by 'multiplier'. Both arguments are integers. You can make sure you have correctly done this by running test.py"
|
|
}
|