Files
Auto-GPT/benchmark/agbenchmark/challenges/deprecated/code/3_modify/data.json
merwanehamadi f4e7b1c61c Add eval_id and sync Skill Tree with Frontend(#5287)
Add eval_id to skill tree

Signed-off-by: Merwane Hamadi <merwanehamadi@gmail.com>
2023-09-21 13:36:17 -07:00

34 lines
987 B
JSON

{
"category": [
"code",
"iterate"
],
"cutoff": 120,
"dependencies": [
"TestReturnCodeWrite"
],
"eval_id": "cffd9e7f-a1d5-478b-a04d-9504f372639a",
"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"
}