From cf2b8d3babf29552e5eeb1ab535506408e18a3e5 Mon Sep 17 00:00:00 2001 From: Hassan Abouelela Date: Wed, 2 Jun 2021 04:03:17 +0300 Subject: Adds Code Question Model Adds an explicit model for questions of type `code`, to allow more complex parsing. Updates schema docs. Signed-off-by: Hassan Abouelela --- SCHEMA.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'SCHEMA.md') diff --git a/SCHEMA.md b/SCHEMA.md index 9d89188..57c238a 100644 --- a/SCHEMA.md +++ b/SCHEMA.md @@ -128,8 +128,13 @@ Textareas require no additional configuration. "language": "python", // An optinal mapping of unit tests "unittests": { - "unit_1": "unit_code()", - ... + // Record a submission, even if the tests don't pass + // Default: false + "allow_failure": false, + "tests": { + "unit_1": "unit_code()", + ... + } } } ``` -- cgit v1.2.3