Issue
User: | Dev User (dev@example.com) |
---|---|
Student message: | Error parsing submission |
Instructor message: | CourseIssueError: /PrairieLearn/apps/prairielearn/elements/pl-drawing/pl-drawing.py: Error calling parse(): Error: CodeCallerNative child process exited unexpectedly, code = 1, signal = null |
ID: | 991 |
Date: | 2024-09-13 01:00:51-05 (CDT) |
Console log:
Traceback (most recent call last): File "/PrairieLearn/apps/prairielearn/python/zygote.py", line 395, in <module> worker_loop() File "/PrairieLearn/apps/prairielearn/python/zygote.py", line 303, in worker_loop val = method(*args) File "/PrairieLearn/apps/prairielearn/elements/pl-drawing/pl-drawing.py", line 390, in parse data["submitted_answers"][name] = json.loads(data["submitted_answers"][name]) KeyError: 'lines' Traceback (most recent call last): File "/PrairieLearn/apps/prairielearn/python/zygote.py", line 437, in <module> raise Exception( Exception: worker process exited unexpectedly with status 256
Associated data:
{ "course": { "id": 1, "path": "/PrairieLearn/exampleCourse", "title": "Example Course", "branch": "master", "options": { "devModeFeatures": [], "useNewQuestionRenderer": true }, "created_at": "2024-07-23T18:37:20.684105+00:00", "deleted_at": null, "repository": null, "short_name": "XC 101", "commit_hash": null, "sync_errors": null, "sharing_name": null, "sharing_token": "ed2b3e6f-95df-417d-b7ae-f2c3611aaa08", "sync_warnings": "", "example_course": true, "institution_id": 1, "template_course": false, "display_timezone": "America/Chicago", "sync_job_sequence_id": null, "yearly_enrollment_limit": null, "course_instance_enrollment_limit": null }, "variant": { "id": "11454", "date": {}, "open": true, "broken": false, "number": 1, "params": { "a": 11, "b": 13, "c": 31, "t0": 0.125, "t1": 1.75, "t2": 1, "ts": [ { "key": "a", "html": "0.25", "feedback": null }, { "key": "b", "html": "0.375", "feedback": null }, { "key": "c", "html": "0.875", "feedback": null }, { "key": "d", "html": "1.0", "feedback": null }, { "key": "e", "html": "1.25", "feedback": null }, { "key": "f", "html": "1.5", "feedback": null }, { "key": "g", "html": "1.75", "feedback": null } ], "line": "[{\"x\": 25.0,\"y\": 225.0},{\"x\": 350.0,\"y\": 101.00000000000001}]", "sign": "positive", "V_origin": "{\"x\": 60,\"y\": 345}", "t_options": [ { "ans": "0.125", "tag": "true" }, { "ans": "0.25", "tag": "true" }, { "ans": "0.375", "tag": "true" }, { "ans": "0.875", "tag": "false" }, { "ans": "1.0", "tag": "false" }, { "ans": "1.125", "tag": "false" }, { "ans": "1.25", "tag": "false" }, { "ans": "1.375", "tag": "false" }, { "ans": "1.5", "tag": "false" }, { "ans": "1.625", "tag": "false" }, { "ans": "1.75", "tag": "false" }, { "ans": "1.875", "tag": "false" }, { "ans": "2.0", "tag": "false" } ], "slope_canvas": -0.3815384615384615 }, "options": { "question_path": "/PrairieLearn/exampleCourse/questions/demo/annotated/LectureVelocity/4-KnowledgeTest", "course_extensions_path": "/PrairieLearn/exampleCourse/elementExtensions", "client_files_course_path": "/PrairieLearn/exampleCourse/clientFilesCourse", "server_files_course_path": "/PrairieLearn/exampleCourse/serverFilesCourse", "client_files_question_path": "/PrairieLearn/exampleCourse/questions/demo/annotated/LectureVelocity/4-KnowledgeTest/clientFilesQuestion" }, "user_id": "1", "duration": 0, "group_id": null, "broken_at": null, "broken_by": null, "course_id": "1", "num_tries": 0, "question_id": "4", "true_answer": { "ts": [ { "key": "a", "html": "0.25", "feedback": null }, { "key": "b", "html": "0.375", "feedback": null } ], "va": -7.63076923076923, "vi": -9, "geo": "slope", "geo2": "secant", "lines": [ { "id": 0, "x1": 85, "x2": 410, "y1": 120, "y2": 244, "type": "pl-controlled-line", "graded": true, "stroke": "#ff0000", "offset_x": 5, "offset_y": 5, "gradingName": "pl-controlled-line", "strokeWidth": 4, "drawErrorBox": true, "handleRadius": 6, "widthErrorBox": 30, "heightErrorBox": 30, "offset_control_x": 0, "offset_control_y": 0, "objectDrawErrorBox": null, "widthErrorBoxControl": 20, "heightErrorBoxControl": 20 } ] }, "variant_seed": "170crai", "workspace_id": null, "authn_user_id": "1", "first_duration": null, "formatted_date": "2024-09-13 01:00:49 (CDT)", "course_instance_id": null, "instance_question_id": null }, "question": { "id": 4, "qid": "demo/annotated/LectureVelocity/4-KnowledgeTest", "type": "Freeform", "uuid": "f4701174-2276-4473-bfd6-0ec1b09a2011", "title": "Check what you learned", "number": 249, "options": null, "topic_id": 19, "course_id": 1, "directory": "demo/annotated/LectureVelocity/4-KnowledgeTest", "deleted_at": null, "sync_errors": null, "client_files": [ "client.js", "question.html", "answer.html" ], "dependencies": {}, "sync_warnings": "", "grading_method": "Internal", "partial_credit": true, "single_variant": false, "workspace_args": null, "workspace_home": null, "workspace_port": null, "shared_publicly": false, "workspace_image": null, "template_directory": null, "show_correct_answer": true, "sync_job_sequence_id": null, "workspace_environment": {}, "workspace_url_rewrite": null, "external_grading_files": null, "external_grading_image": null, "workspace_graded_files": null, "external_grading_enabled": null, "external_grading_timeout": null, "external_grading_entrypoint": null, "shared_publicly_with_source": false, "workspace_enable_networking": null, "external_grading_environment": {}, "external_grading_enable_networking": null }, "submission": { "gradable": true, "variant_id": "11454", "auth_user_id": "1", "submitted_answer": { "ts": [ "b", "d", "e", "g" ], "va": "-3.6579005739306516", "vi": "-12.106163148867246", "geo": "length", "geo2": "axis" }, "raw_submitted_answer": { "ts": [ "b", "d", "e", "g" ], "va": "-3.6579005739306516", "vi": "-12.106163148867246", "geo": "length", "geo2": "axis" } } }
System data:
{ "stack": "CourseIssueError: /PrairieLearn/apps/prairielearn/elements/pl-drawing/pl-drawing.py: Error calling parse(): Error: CodeCallerNative child process exited unexpectedly, code = 1, signal = null\n at visitNode (file:///PrairieLearn/apps/prairielearn/dist/question-servers/freeform.js:519:23)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async visitNode (file:///PrairieLearn/apps/prairielearn/dist/question-servers/freeform.js:567:30)\n at async visitNode (file:///PrairieLearn/apps/prairielearn/dist/question-servers/freeform.js:567:30)\n at async visitNode (file:///PrairieLearn/apps/prairielearn/dist/question-servers/freeform.js:567:30)\n at async traverseQuestionAndExecuteFunctions (file:///PrairieLearn/apps/prairielearn/dist/question-servers/freeform.js:583:21)\n at async processQuestionHtml (file:///PrairieLearn/apps/prairielearn/dist/question-servers/freeform.js:736:102)\n at async file:///PrairieLearn/apps/prairielearn/dist/question-servers/freeform.js:843:93\n at async instrumentedWithMetrics (file:///PrairieLearn/packages/opentelemetry/dist/metrics.js:47:16)\n at async file:///PrairieLearn/apps/prairielearn/dist/question-servers/freeform.js:1319:56\n at async withCodeCaller (file:///PrairieLearn/apps/prairielearn/dist/lib/code-caller/index.js:195:20)\n at async file:///PrairieLearn/packages/opentelemetry/dist/tracing.js:7:28\n at async saveSubmission (file:///PrairieLearn/apps/prairielearn/dist/lib/grading.js:135:36)\n at async testVariant (file:///PrairieLearn/apps/prairielearn/dist/lib/question-testing.js:126:32)\n at async testQuestion (file:///PrairieLearn/apps/prairielearn/dist/lib/question-testing.js:186:57)\n at async runTest (file:///PrairieLearn/apps/prairielearn/dist/lib/question-testing.js:210:70)\n at async file:///PrairieLearn/apps/prairielearn/dist/lib/question-testing.js:271:28", "courseErrData": { "stack": "Error\n at CodeCallerNative._errorData (file:///PrairieLearn/apps/prairielearn/dist/lib/code-caller/code-caller-native.js:546:29)\n at CodeCallerNative._callCallback (file:///PrairieLearn/apps/prairielearn/dist/lib/code-caller/code-caller-native.js:470:29)\n at CodeCallerNative._handleChildExit (file:///PrairieLearn/apps/prairielearn/dist/lib/code-caller/code-caller-native.js:398:18)\n at ChildProcess.emit (node:events:519:28)\n at ChildProcess._handle.onexit (node:internal/child_process:294:12)\n at Process.callbackTrampoline (node:internal/async_hooks:130:17)", "outputBoth": "Traceback (most recent call last):\n File \"/PrairieLearn/apps/prairielearn/python/zygote.py\", line 395, in <module>\n worker_loop()\n File \"/PrairieLearn/apps/prairielearn/python/zygote.py\", line 303, in worker_loop\n val = method(*args)\n File \"/PrairieLearn/apps/prairielearn/elements/pl-drawing/pl-drawing.py\", line 390, in parse\n data[\"submitted_answers\"][name] = json.loads(data[\"submitted_answers\"][name])\nKeyError: 'lines'\nTraceback (most recent call last):\n File \"/PrairieLearn/apps/prairielearn/python/zygote.py\", line 437, in <module>\n raise Exception(\nException: worker process exited unexpectedly with status 256\n", "outputData": "", "childIsNull": true, "lastCallData": { "cwd": "/PrairieLearn/apps/prairielearn/elements/pl-drawing", "fcn": "parse", "args": [ "<pl-drawing answers-name=\"lines\" gradable=\"true\" width=\"500\" height=\"400\" grid-size=\"0\" show-tolerance-hint=\"false\" hide-answer-panel=\"false\">\n <pl-drawing-answer draw-error-box=\"true\">\n <pl-graph-line origin=\"{"x": 60,"y": 345}\" end-points=\"[{"x": 25.0,"y": 225.0},{"x": 350.0,"y": 101.00000000000001}]\" offset-tol-x=\"5\" offset-tol-y=\"5\"></pl-graph-line>\n </pl-drawing-answer>\n <pl-controls>\n <pl-controls-group label=\"Add line:\">\n <pl-drawing-button type=\"pl-controlled-line\"></pl-drawing-button>\n </pl-controls-group>\n <pl-controls-group label=\"Delete:\">\n <pl-drawing-button type=\"delete\"></pl-drawing-button>\n </pl-controls-group>\n </pl-controls>\n </pl-drawing>", { "params": { "a": 11, "b": 13, "c": 31, "t0": 0.125, "t1": 1.75, "t2": 1, "ts": [ { "key": "a", "html": "0.25", "feedback": null }, { "key": "b", "html": "0.375", "feedback": null }, { "key": "c", "html": "0.875", "feedback": null }, { "key": "d", "html": "1.0", "feedback": null }, { "key": "e", "html": "1.25", "feedback": null }, { "key": "f", "html": "1.5", "feedback": null }, { "key": "g", "html": "1.75", "feedback": null } ], "line": "[{\"x\": 25.0,\"y\": 225.0},{\"x\": 350.0,\"y\": 101.00000000000001}]", "sign": "positive", "V_origin": "{\"x\": 60,\"y\": 345}", "t_options": [ { "ans": "0.125", "tag": "true" }, { "ans": "0.25", "tag": "true" }, { "ans": "0.375", "tag": "true" }, { "ans": "0.875", "tag": "false" }, { "ans": "1.0", "tag": "false" }, { "ans": "1.125", "tag": "false" }, { "ans": "1.25", "tag": "false" }, { "ans": "1.375", "tag": "false" }, { "ans": "1.5", "tag": "false" }, { "ans": "1.625", "tag": "false" }, { "ans": "1.75", "tag": "false" }, { "ans": "1.875", "tag": "false" }, { "ans": "2.0", "tag": "false" } ], "slope_canvas": -0.3815384615384615 }, "options": { "question_path": "/PrairieLearn/exampleCourse/questions/demo/annotated/LectureVelocity/4-KnowledgeTest", "course_extensions_path": "/PrairieLearn/exampleCourse/elementExtensions", "client_files_course_path": "/PrairieLearn/exampleCourse/clientFilesCourse", "server_files_course_path": "/PrairieLearn/exampleCourse/serverFilesCourse", "client_files_question_path": "/PrairieLearn/exampleCourse/questions/demo/annotated/LectureVelocity/4-KnowledgeTest/clientFilesQuestion" }, "feedback": {}, "gradable": true, "extensions": { "example-logo": { "name": "example-logo", "directory": "/PrairieLearn/exampleCourse/elementExtensions/pl-drawing/example-logo", "controller": "example-logo.py", "dependencies": { "extensionScripts": [ "example-logo.js" ] } } }, "variant_seed": 2600640810, "format_errors": {}, "correct_answers": { "ts": [ { "key": "a", "html": "0.25", "feedback": null }, { "key": "b", "html": "0.375", "feedback": null } ], "va": -7.63076923076923, "vi": -9, "geo": "slope", "geo2": "secant", "lines": [ { "id": 0, "x1": 85, "x2": 410, "y1": 120, "y2": 244, "type": "pl-controlled-line", "graded": true, "stroke": "#ff0000", "offset_x": 5, "offset_y": 5, "gradingName": "pl-controlled-line", "strokeWidth": 4, "drawErrorBox": true, "handleRadius": 6, "widthErrorBox": 30, "heightErrorBox": 30, "offset_control_x": 0, "offset_control_y": 0, "objectDrawErrorBox": null, "widthErrorBoxControl": 20, "heightErrorBoxControl": 20 } ] }, "submitted_answers": { "ts": [ "b", "d", "e", "g" ], "va": -3.6579005739306516, "vi": "-12.106163148867246", "geo": "length", "geo2": "axis" }, "raw_submitted_answers": { "ts": [ "b", "d", "e", "g" ], "va": "-3.6579005739306516", "vi": "-12.106163148867246", "geo": "length", "geo2": "axis" } } ], "file": "pl-drawing", "paths": [ "/PrairieLearn/apps/prairielearn/python" ], "forbidden_modules": [] }, "outputStderr": "Traceback (most recent call last):\n File \"/PrairieLearn/apps/prairielearn/python/zygote.py\", line 395, in <module>\n worker_loop()\n File \"/PrairieLearn/apps/prairielearn/python/zygote.py\", line 303, in worker_loop\n val = method(*args)\n File \"/PrairieLearn/apps/prairielearn/elements/pl-drawing/pl-drawing.py\", line 390, in parse\n data[\"submitted_answers\"][name] = json.loads(data[\"submitted_answers\"][name])\nKeyError: 'lines'\nTraceback (most recent call last):\n File \"/PrairieLearn/apps/prairielearn/python/zygote.py\", line 437, in <module>\n raise Exception(\nException: worker process exited unexpectedly with status 256\n", "outputStdout": "", "callbackIsNull": false, "timeoutIDIsNull": true } }
Issue
User: | Dev User (dev@example.com) |
---|---|
Student message: | Question test failure |
Instructor message: | Error: test_submission is broken, skipping tests |
ID: | 992 |
Date: | 2024-09-13 01:00:51-05 (CDT) |
Associated data:
{ "course": { "id": 1, "path": "/PrairieLearn/exampleCourse", "title": "Example Course", "branch": "master", "options": { "devModeFeatures": [], "useNewQuestionRenderer": true }, "created_at": "2024-07-23T18:37:20.684105+00:00", "deleted_at": null, "repository": null, "short_name": "XC 101", "commit_hash": null, "sync_errors": null, "sharing_name": null, "sharing_token": "ed2b3e6f-95df-417d-b7ae-f2c3611aaa08", "sync_warnings": "", "example_course": true, "institution_id": 1, "template_course": false, "display_timezone": "America/Chicago", "sync_job_sequence_id": null, "yearly_enrollment_limit": null, "course_instance_enrollment_limit": null }, "variant": { "id": "11454", "date": {}, "open": true, "broken": false, "number": 1, "params": { "a": 11, "b": 13, "c": 31, "t0": 0.125, "t1": 1.75, "t2": 1, "ts": [ { "key": "a", "html": "0.25", "feedback": null }, { "key": "b", "html": "0.375", "feedback": null }, { "key": "c", "html": "0.875", "feedback": null }, { "key": "d", "html": "1.0", "feedback": null }, { "key": "e", "html": "1.25", "feedback": null }, { "key": "f", "html": "1.5", "feedback": null }, { "key": "g", "html": "1.75", "feedback": null } ], "line": "[{\"x\": 25.0,\"y\": 225.0},{\"x\": 350.0,\"y\": 101.00000000000001}]", "sign": "positive", "V_origin": "{\"x\": 60,\"y\": 345}", "t_options": [ { "ans": "0.125", "tag": "true" }, { "ans": "0.25", "tag": "true" }, { "ans": "0.375", "tag": "true" }, { "ans": "0.875", "tag": "false" }, { "ans": "1.0", "tag": "false" }, { "ans": "1.125", "tag": "false" }, { "ans": "1.25", "tag": "false" }, { "ans": "1.375", "tag": "false" }, { "ans": "1.5", "tag": "false" }, { "ans": "1.625", "tag": "false" }, { "ans": "1.75", "tag": "false" }, { "ans": "1.875", "tag": "false" }, { "ans": "2.0", "tag": "false" } ], "slope_canvas": -0.3815384615384615 }, "options": { "question_path": "/PrairieLearn/exampleCourse/questions/demo/annotated/LectureVelocity/4-KnowledgeTest", "course_extensions_path": "/PrairieLearn/exampleCourse/elementExtensions", "client_files_course_path": "/PrairieLearn/exampleCourse/clientFilesCourse", "server_files_course_path": "/PrairieLearn/exampleCourse/serverFilesCourse", "client_files_question_path": "/PrairieLearn/exampleCourse/questions/demo/annotated/LectureVelocity/4-KnowledgeTest/clientFilesQuestion" }, "user_id": "1", "duration": 0, "group_id": null, "broken_at": null, "broken_by": null, "course_id": "1", "num_tries": 0, "question_id": "4", "true_answer": { "ts": [ { "key": "a", "html": "0.25", "feedback": null }, { "key": "b", "html": "0.375", "feedback": null } ], "va": -7.63076923076923, "vi": -9, "geo": "slope", "geo2": "secant", "lines": [ { "id": 0, "x1": 85, "x2": 410, "y1": 120, "y2": 244, "type": "pl-controlled-line", "graded": true, "stroke": "#ff0000", "offset_x": 5, "offset_y": 5, "gradingName": "pl-controlled-line", "strokeWidth": 4, "drawErrorBox": true, "handleRadius": 6, "widthErrorBox": 30, "heightErrorBox": 30, "offset_control_x": 0, "offset_control_y": 0, "objectDrawErrorBox": null, "widthErrorBoxControl": 20, "heightErrorBoxControl": 20 } ] }, "variant_seed": "170crai", "workspace_id": null, "authn_user_id": "1", "first_duration": null, "formatted_date": "2024-09-13 01:00:49 (CDT)", "course_instance_id": null, "instance_question_id": null }, "question": { "id": 4, "qid": "demo/annotated/LectureVelocity/4-KnowledgeTest", "type": "Freeform", "uuid": "f4701174-2276-4473-bfd6-0ec1b09a2011", "title": "Check what you learned", "number": 249, "options": null, "topic_id": 19, "course_id": 1, "directory": "demo/annotated/LectureVelocity/4-KnowledgeTest", "deleted_at": null, "sync_errors": null, "client_files": [ "client.js", "question.html", "answer.html" ], "dependencies": {}, "sync_warnings": "", "grading_method": "Internal", "partial_credit": true, "single_variant": false, "workspace_args": null, "workspace_home": null, "workspace_port": null, "shared_publicly": false, "workspace_image": null, "template_directory": null, "show_correct_answer": true, "sync_job_sequence_id": null, "workspace_environment": {}, "workspace_url_rewrite": null, "external_grading_files": null, "external_grading_image": null, "workspace_graded_files": null, "external_grading_enabled": null, "external_grading_timeout": null, "external_grading_entrypoint": null, "shared_publicly_with_source": false, "workspace_enable_networking": null, "external_grading_environment": {}, "external_grading_enable_networking": null }, "test_submission": { "id": "584", "date": {}, "mode": null, "score": null, "broken": true, "credit": null, "params": { "a": 11, "b": 13, "c": 31, "t0": 0.125, "t1": 1.75, "t2": 1, "ts": [ { "key": "a", "html": "0.25", "feedback": null }, { "key": "b", "html": "0.375", "feedback": null }, { "key": "c", "html": "0.875", "feedback": null }, { "key": "d", "html": "1.0", "feedback": null }, { "key": "e", "html": "1.25", "feedback": null }, { "key": "f", "html": "1.5", "feedback": null }, { "key": "g", "html": "1.75", "feedback": null } ], "line": "[{\"x\": 25.0,\"y\": 225.0},{\"x\": 350.0,\"y\": 101.00000000000001}]", "sign": "positive", "V_origin": "{\"x\": 60,\"y\": 345}", "t_options": [ { "ans": "0.125", "tag": "true" }, { "ans": "0.25", "tag": "true" }, { "ans": "0.375", "tag": "true" }, { "ans": "0.875", "tag": "false" }, { "ans": "1.0", "tag": "false" }, { "ans": "1.125", "tag": "false" }, { "ans": "1.25", "tag": "false" }, { "ans": "1.375", "tag": "false" }, { "ans": "1.5", "tag": "false" }, { "ans": "1.625", "tag": "false" }, { "ans": "1.75", "tag": "false" }, { "ans": "1.875", "tag": "false" }, { "ans": "2.0", "tag": "false" } ], "slope_canvas": -0.3815384615384615 }, "correct": null, "duration": 1331.646, "feedback": {}, "gradable": false, "v2_score": null, "graded_at": null, "variant_id": "11454", "true_answer": { "ts": [ { "key": "a", "html": "0.25", "feedback": null }, { "key": "b", "html": "0.375", "feedback": null } ], "va": -7.63076923076923, "vi": -9, "geo": "slope", "geo2": "secant", "lines": [ { "id": 0, "x1": 85, "x2": 410, "y1": 120, "y2": 244, "type": "pl-controlled-line", "graded": true, "stroke": "#ff0000", "offset_x": 5, "offset_y": 5, "gradingName": "pl-controlled-line", "strokeWidth": 4, "drawErrorBox": true, "handleRadius": 6, "widthErrorBox": 30, "heightErrorBox": 30, "offset_control_x": 0, "offset_control_y": 0, "objectDrawErrorBox": null, "widthErrorBoxControl": 20, "heightErrorBoxControl": 20 } ] }, "auth_user_id": "1", "format_errors": {}, "grading_method": null, "override_score": null, "partial_scores": null, "submitted_answer": { "ts": [ "b", "d", "e", "g" ], "va": "-3.6579005739306516", "vi": "-12.106163148867246", "geo": "length", "geo2": "axis" }, "grading_requested_at": null, "raw_submitted_answer": { "ts": [ "b", "d", "e", "g" ], "va": "-3.6579005739306516", "vi": "-12.106163148867246", "geo": "length", "geo2": "axis" }, "client_fingerprint_id": null, "manual_rubric_grading_id": null }, "expected_submission": { "id": "583", "date": {}, "mode": null, "score": 0, "broken": false, "credit": null, "params": { "a": 11, "b": 13, "c": 31, "t0": 0.125, "t1": 1.75, "t2": 1, "ts": [ { "key": "a", "html": "0.25", "feedback": null }, { "key": "b", "html": "0.375", "feedback": null }, { "key": "c", "html": "0.875", "feedback": null }, { "key": "d", "html": "1.0", "feedback": null }, { "key": "e", "html": "1.25", "feedback": null }, { "key": "f", "html": "1.5", "feedback": null }, { "key": "g", "html": "1.75", "feedback": null } ], "line": "[{\"x\": 25.0,\"y\": 225.0},{\"x\": 350.0,\"y\": 101.00000000000001}]", "sign": "positive", "V_origin": "{\"x\": 60,\"y\": 345}", "t_options": [ { "ans": "0.125", "tag": "true" }, { "ans": "0.25", "tag": "true" }, { "ans": "0.375", "tag": "true" }, { "ans": "0.875", "tag": "false" }, { "ans": "1.0", "tag": "false" }, { "ans": "1.125", "tag": "false" }, { "ans": "1.25", "tag": "false" }, { "ans": "1.375", "tag": "false" }, { "ans": "1.5", "tag": "false" }, { "ans": "1.625", "tag": "false" }, { "ans": "1.75", "tag": "false" }, { "ans": "1.875", "tag": "false" }, { "ans": "2.0", "tag": "false" } ], "slope_canvas": -0.3815384615384615 }, "correct": false, "duration": 2616.605, "feedback": {}, "gradable": true, "v2_score": null, "graded_at": {}, "variant_id": "11454", "true_answer": { "ts": [ { "key": "a", "html": "0.25", "feedback": null }, { "key": "b", "html": "0.375", "feedback": null } ], "va": -7.63076923076923, "vi": -9, "geo": "slope", "geo2": "secant", "lines": [ { "id": 0, "x1": 85, "x2": 410, "y1": 120, "y2": 244, "type": "pl-controlled-line", "graded": true, "stroke": "#ff0000", "offset_x": 5, "offset_y": 5, "gradingName": "pl-controlled-line", "strokeWidth": 4, "drawErrorBox": true, "handleRadius": 6, "widthErrorBox": 30, "heightErrorBox": 30, "offset_control_x": 0, "offset_control_y": 0, "objectDrawErrorBox": null, "widthErrorBoxControl": 20, "heightErrorBoxControl": 20 } ] }, "auth_user_id": "1", "format_errors": {}, "grading_method": "Internal", "override_score": null, "partial_scores": { "ts": { "score": 0, "weight": 1, "feedback": { "a": null, "b": null, "c": null, "d": null, "e": null, "f": null, "g": null } }, "va": { "score": 0, "weight": 1 }, "vi": { "score": 0, "weight": 1 }, "geo": { "score": 0, "weight": 1 }, "geo2": { "score": 0, "weight": 1 } }, "submitted_answer": {}, "grading_requested_at": {}, "raw_submitted_answer": { "ts": [ "b", "d", "e", "g" ], "va": "-3.6579005739306516", "vi": "-12.106163148867246", "geo": "length", "geo2": "axis" }, "client_fingerprint_id": null, "manual_rubric_grading_id": null } }
System data:
{ "stack": "Error: test_submission is broken, skipping tests\n at compareSubmissions (file:///PrairieLearn/apps/prairielearn/dist/lib/question-testing.js:95:27)\n at testVariant (file:///PrairieLearn/apps/prairielearn/dist/lib/question-testing.js:129:26)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async testQuestion (file:///PrairieLearn/apps/prairielearn/dist/lib/question-testing.js:186:57)\n at async runTest (file:///PrairieLearn/apps/prairielearn/dist/lib/question-testing.js:210:70)\n at async file:///PrairieLearn/apps/prairielearn/dist/lib/question-testing.js:271:28" }
Correct answer
Average rate of change is -7.63076923077
Theslope
of the
secant
line above provides the average rate of the change of the function $s(t)$ on the time interval $[ 0.125, 1.75 ]$.
Instantaneuous rate of change is -9
For what values of time $t$ will $s'(t)$ be positive?
- (a) 0.25
- (b) 0.375
Submitted answer 2
dev@example.com submitted at 2024-09-13 01:00:51 (CDT)
invalid, not gradable
Broken submission due to error in question code
Submitted answer 1
dev@example.com submitted at 2024-09-13 01:00:50 (CDT)
0%
Student view placeholder
In student views this area is used for assessment and score info.
Staff information
Staff user:
Dev User
dev@example.com
Question:
Title:
Check what you learned
Started at:
2024-09-13 01:00:49 (CDT)
Duration:
3 s
Show/Hide answer
{
"ts": [
{
"key": "a",
"html": "0.25",
"feedback": null
},
{
"key": "b",
"html": "0.375",
"feedback": null
}
],
"va": -7.63076923076923,
"vi": -9,
"geo": "slope",
"geo2": "secant",
"lines": [
{
"id": 0,
"x1": 85,
"x2": 410,
"y1": 120,
"y2": 244,
"type": "pl-controlled-line",
"graded": true,
"stroke": "#ff0000",
"offset_x": 5,
"offset_y": 5,
"gradingName": "pl-controlled-line",
"strokeWidth": 4,
"drawErrorBox": true,
"handleRadius": 6,
"widthErrorBox": 30,
"heightErrorBox": 30,
"offset_control_x": 0,
"offset_control_y": 0,
"objectDrawErrorBox": null,
"widthErrorBoxControl": 20,
"heightErrorBoxControl": 20
}
]
}