aboutsummaryrefslogtreecommitdiff
path: root/benchmark/agbenchmark/challenges/deprecated/code/2_write/data.json
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/agbenchmark/challenges/deprecated/code/2_write/data.json')
-rw-r--r--benchmark/agbenchmark/challenges/deprecated/code/2_write/data.json31
1 files changed, 31 insertions, 0 deletions
diff --git a/benchmark/agbenchmark/challenges/deprecated/code/2_write/data.json b/benchmark/agbenchmark/challenges/deprecated/code/2_write/data.json
new file mode 100644
index 000000000..379b19b59
--- /dev/null
+++ b/benchmark/agbenchmark/challenges/deprecated/code/2_write/data.json
@@ -0,0 +1,31 @@
+{
+ "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"
+}