Benchmark changes

Signed-off-by: Merwane Hamadi <merwanehamadi@gmail.com>
This commit is contained in:
Merwane Hamadi
2023-09-12 12:10:03 -07:00
parent 978a980d72
commit 1b14d304d4
281 changed files with 428 additions and 718 deletions

View File

@@ -0,0 +1,21 @@
{
"name": "TestReturnCodeModify",
"category": ["code", "iterate"],
"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",
"dependencies": ["TestReturnCodeWrite"],
"cutoff": 120,
"ground": {
"answer": "def multiply_int(num, multiplier):\n return num * multiplier\n",
"should_contain": ["8", "49", "-12"],
"should_not_contain": [],
"files": ["test.py"],
"eval": {
"type": "python"
}
},
"info": {
"difficulty": "intermediate",
"description": "Builds on the previous function also take a multiplier .",
"side_effects": []
}
}