32 lines
887 B
JSON
32 lines
887 B
JSON
{
|
|
"category": [
|
|
"code",
|
|
"iterate"
|
|
],
|
|
"cutoff": 120,
|
|
"dependencies": [
|
|
"TestReturnCodeSimple"
|
|
],
|
|
"eval_id": "a59a1904-e9d6-443b-adb7-2e1ff972843f",
|
|
"ground": {
|
|
"answer": "Just a simple multiple by 2 function. Num is 4 so answer is 8",
|
|
"eval": {
|
|
"type": "python"
|
|
},
|
|
"files": [
|
|
"test.py"
|
|
],
|
|
"should_contain": [
|
|
"8"
|
|
],
|
|
"should_not_contain": []
|
|
},
|
|
"info": {
|
|
"description": "Small step up, just writing the function with a name as well as the return statement.",
|
|
"difficulty": "novice",
|
|
"side_effects": []
|
|
},
|
|
"name": "ReturnCodeWrite",
|
|
"task": "Add a function called multiply_int in sample_code.py that multiplies numbers by 2. You can make sure you have correctly done this by running test.py"
|
|
}
|