Refactor benchmark (#5247)

Signed-off-by: Merwane Hamadi <merwanehamadi@gmail.com>
This commit is contained in:
merwanehamadi
2023-09-17 06:55:20 -07:00
committed by GitHub
parent 4463f75756
commit f4d319cee4
70 changed files with 199 additions and 628 deletions

View File

@@ -1,8 +1,8 @@
{
"name": "TestReturnCodeModify",
"name": "ReturnCodeModify",
"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"],
"dependencies": ["ReturnCodeWrite"],
"cutoff": 120,
"ground": {
"answer": "def multiply_int(num, multiplier):\n return num * multiplier\n",