aboutsummaryrefslogtreecommitdiff
path: root/benchmark/agbenchmark/challenges/deprecated/code/3_modify/data.json
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/agbenchmark/challenges/deprecated/code/3_modify/data.json')
-rw-r--r--benchmark/agbenchmark/challenges/deprecated/code/3_modify/data.json33
1 files changed, 33 insertions, 0 deletions
diff --git a/benchmark/agbenchmark/challenges/deprecated/code/3_modify/data.json b/benchmark/agbenchmark/challenges/deprecated/code/3_modify/data.json
new file mode 100644
index 000000000..835ac004d
--- /dev/null
+++ b/benchmark/agbenchmark/challenges/deprecated/code/3_modify/data.json
@@ -0,0 +1,33 @@
+{
+ "category": [
+ "code",
+ "iterate"
+ ],
+ "cutoff": 120,
+ "dependencies": [
+ "TestReturnCodeWrite"
+ ],
+ "eval_id": "092f3c8a-9723-4262-8e40-93d0cebba98a",
+ "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"
+}