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: 983
Date: 2024-09-13 01:00:36-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": "11450",
        "date": {},
        "open": true,
        "broken": false,
        "number": 1,
        "params": {
            "a": 10,
            "b": 11,
            "c": 34,
            "t0": 0.25,
            "t1": 1.125,
            "t2": 1,
            "ts": [
                {
                    "key": "a",
                    "html": "0.125",
                    "feedback": null
                },
                {
                    "key": "b",
                    "html": "0.75",
                    "feedback": null
                },
                {
                    "key": "c",
                    "html": "1.125",
                    "feedback": null
                },
                {
                    "key": "d",
                    "html": "1.5",
                    "feedback": null
                },
                {
                    "key": "e",
                    "html": "1.625",
                    "feedback": null
                },
                {
                    "key": "f",
                    "html": "1.75",
                    "feedback": null
                },
                {
                    "key": "g",
                    "html": "1.875",
                    "feedback": null
                }
            ],
            "line": "[{\"x\": 50.0,\"y\": 261.0},{\"x\": 225.0,\"y\": 237.00000000000003}]",
            "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.75",
                    "tag": "false"
                },
                {
                    "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.13714285714285698
        },
        "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.125",
                    "feedback": null
                }
            ],
            "va": -2.742857142857141,
            "vi": -9,
            "geo": "slope",
            "geo2": "secant",
            "lines": [
                {
                    "id": 0,
                    "x1": 110,
                    "x2": 285,
                    "y1": 84,
                    "y2": 107.99999999999997,
                    "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": "1k9xvv5",
        "workspace_id": null,
        "authn_user_id": "1",
        "first_duration": null,
        "formatted_date": "2024-09-13 01:00:33 (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": "11450",
        "auth_user_id": "1",
        "submitted_answer": {
            "ts": "a",
            "va": "-2.742857142857141",
            "vi": "-9",
            "geo": "slope",
            "geo2": "secant"
        },
        "raw_submitted_answer": {
            "ts": "a",
            "va": "-2.742857142857141",
            "vi": "-9",
            "geo": "slope",
            "geo2": "secant"
        }
    }
}

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=\"{&quot;x&quot;: 60,&quot;y&quot;: 345}\" end-points=\"[{&quot;x&quot;: 50.0,&quot;y&quot;: 261.0},{&quot;x&quot;: 225.0,&quot;y&quot;: 237.00000000000003}]\" 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": 10,
                        "b": 11,
                        "c": 34,
                        "t0": 0.25,
                        "t1": 1.125,
                        "t2": 1,
                        "ts": [
                            {
                                "key": "a",
                                "html": "0.125",
                                "feedback": null
                            },
                            {
                                "key": "b",
                                "html": "0.75",
                                "feedback": null
                            },
                            {
                                "key": "c",
                                "html": "1.125",
                                "feedback": null
                            },
                            {
                                "key": "d",
                                "html": "1.5",
                                "feedback": null
                            },
                            {
                                "key": "e",
                                "html": "1.625",
                                "feedback": null
                            },
                            {
                                "key": "f",
                                "html": "1.75",
                                "feedback": null
                            },
                            {
                                "key": "g",
                                "html": "1.875",
                                "feedback": null
                            }
                        ],
                        "line": "[{\"x\": 50.0,\"y\": 261.0},{\"x\": 225.0,\"y\": 237.00000000000003}]",
                        "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.75",
                                "tag": "false"
                            },
                            {
                                "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.13714285714285698
                    },
                    "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": 3402803345,
                    "format_errors": {},
                    "correct_answers": {
                        "ts": [
                            {
                                "key": "a",
                                "html": "0.125",
                                "feedback": null
                            }
                        ],
                        "va": -2.742857142857141,
                        "vi": -9,
                        "geo": "slope",
                        "geo2": "secant",
                        "lines": [
                            {
                                "id": 0,
                                "x1": 110,
                                "x2": 285,
                                "y1": 84,
                                "y2": 107.99999999999997,
                                "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": "a",
                        "va": -2.742857142857141,
                        "vi": "-9",
                        "geo": "slope",
                        "geo2": "secant"
                    },
                    "raw_submitted_answers": {
                        "ts": "a",
                        "va": "-2.742857142857141",
                        "vi": "-9",
                        "geo": "slope",
                        "geo2": "secant"
                    }
                }
            ],
            "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: 984
Date: 2024-09-13 01:00:36-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": "11450",
        "date": {},
        "open": true,
        "broken": false,
        "number": 1,
        "params": {
            "a": 10,
            "b": 11,
            "c": 34,
            "t0": 0.25,
            "t1": 1.125,
            "t2": 1,
            "ts": [
                {
                    "key": "a",
                    "html": "0.125",
                    "feedback": null
                },
                {
                    "key": "b",
                    "html": "0.75",
                    "feedback": null
                },
                {
                    "key": "c",
                    "html": "1.125",
                    "feedback": null
                },
                {
                    "key": "d",
                    "html": "1.5",
                    "feedback": null
                },
                {
                    "key": "e",
                    "html": "1.625",
                    "feedback": null
                },
                {
                    "key": "f",
                    "html": "1.75",
                    "feedback": null
                },
                {
                    "key": "g",
                    "html": "1.875",
                    "feedback": null
                }
            ],
            "line": "[{\"x\": 50.0,\"y\": 261.0},{\"x\": 225.0,\"y\": 237.00000000000003}]",
            "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.75",
                    "tag": "false"
                },
                {
                    "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.13714285714285698
        },
        "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.125",
                    "feedback": null
                }
            ],
            "va": -2.742857142857141,
            "vi": -9,
            "geo": "slope",
            "geo2": "secant",
            "lines": [
                {
                    "id": 0,
                    "x1": 110,
                    "x2": 285,
                    "y1": 84,
                    "y2": 107.99999999999997,
                    "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": "1k9xvv5",
        "workspace_id": null,
        "authn_user_id": "1",
        "first_duration": null,
        "formatted_date": "2024-09-13 01:00:33 (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": "576",
        "date": {},
        "mode": null,
        "score": null,
        "broken": true,
        "credit": null,
        "params": {
            "a": 10,
            "b": 11,
            "c": 34,
            "t0": 0.25,
            "t1": 1.125,
            "t2": 1,
            "ts": [
                {
                    "key": "a",
                    "html": "0.125",
                    "feedback": null
                },
                {
                    "key": "b",
                    "html": "0.75",
                    "feedback": null
                },
                {
                    "key": "c",
                    "html": "1.125",
                    "feedback": null
                },
                {
                    "key": "d",
                    "html": "1.5",
                    "feedback": null
                },
                {
                    "key": "e",
                    "html": "1.625",
                    "feedback": null
                },
                {
                    "key": "f",
                    "html": "1.75",
                    "feedback": null
                },
                {
                    "key": "g",
                    "html": "1.875",
                    "feedback": null
                }
            ],
            "line": "[{\"x\": 50.0,\"y\": 261.0},{\"x\": 225.0,\"y\": 237.00000000000003}]",
            "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.75",
                    "tag": "false"
                },
                {
                    "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.13714285714285698
        },
        "correct": null,
        "duration": 1357.172,
        "feedback": {},
        "gradable": false,
        "v2_score": null,
        "graded_at": null,
        "variant_id": "11450",
        "true_answer": {
            "ts": [
                {
                    "key": "a",
                    "html": "0.125",
                    "feedback": null
                }
            ],
            "va": -2.742857142857141,
            "vi": -9,
            "geo": "slope",
            "geo2": "secant",
            "lines": [
                {
                    "id": 0,
                    "x1": 110,
                    "x2": 285,
                    "y1": 84,
                    "y2": 107.99999999999997,
                    "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": "a",
            "va": "-2.742857142857141",
            "vi": "-9",
            "geo": "slope",
            "geo2": "secant"
        },
        "grading_requested_at": null,
        "raw_submitted_answer": {
            "ts": "a",
            "va": "-2.742857142857141",
            "vi": "-9",
            "geo": "slope",
            "geo2": "secant"
        },
        "client_fingerprint_id": null,
        "manual_rubric_grading_id": null
    },
    "expected_submission": {
        "id": "575",
        "date": {},
        "mode": null,
        "score": 1,
        "broken": false,
        "credit": null,
        "params": {
            "a": 10,
            "b": 11,
            "c": 34,
            "t0": 0.25,
            "t1": 1.125,
            "t2": 1,
            "ts": [
                {
                    "key": "a",
                    "html": "0.125",
                    "feedback": null
                },
                {
                    "key": "b",
                    "html": "0.75",
                    "feedback": null
                },
                {
                    "key": "c",
                    "html": "1.125",
                    "feedback": null
                },
                {
                    "key": "d",
                    "html": "1.5",
                    "feedback": null
                },
                {
                    "key": "e",
                    "html": "1.625",
                    "feedback": null
                },
                {
                    "key": "f",
                    "html": "1.75",
                    "feedback": null
                },
                {
                    "key": "g",
                    "html": "1.875",
                    "feedback": null
                }
            ],
            "line": "[{\"x\": 50.0,\"y\": 261.0},{\"x\": 225.0,\"y\": 237.00000000000003}]",
            "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.75",
                    "tag": "false"
                },
                {
                    "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.13714285714285698
        },
        "correct": true,
        "duration": 2584.775,
        "feedback": {},
        "gradable": true,
        "v2_score": null,
        "graded_at": {},
        "variant_id": "11450",
        "true_answer": {
            "ts": [
                {
                    "key": "a",
                    "html": "0.125",
                    "feedback": null
                }
            ],
            "va": -2.742857142857141,
            "vi": -9,
            "geo": "slope",
            "geo2": "secant",
            "lines": [
                {
                    "id": 0,
                    "x1": 110,
                    "x2": 285,
                    "y1": 84,
                    "y2": 107.99999999999997,
                    "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": 1,
                "weight": 1,
                "feedback": {
                    "a": null,
                    "b": null,
                    "c": null,
                    "d": null,
                    "e": null,
                    "f": null,
                    "g": null
                }
            },
            "va": {
                "score": 1,
                "weight": 1,
                "feedback": "The correct answer used for grading was -2.742857142857141"
            },
            "vi": {
                "score": 1,
                "weight": 1,
                "feedback": "The correct answer used for grading was -9.0"
            },
            "geo": {
                "score": 1,
                "weight": 1
            },
            "geo2": {
                "score": 1,
                "weight": 1
            }
        },
        "submitted_answer": {},
        "grading_requested_at": {},
        "raw_submitted_answer": {
            "ts": "a",
            "va": "-2.742857142857141",
            "vi": "-9",
            "geo": "slope",
            "geo2": "secant"
        },
        "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"
}
Check what you learned

A cannon ball is fired from the top of a cliff and its trajectory is described by the following function:

$$ s(t) = - 10 t^2 + 11 t + 30 $$
Part 1

Compute the average rate of the change of the function $s(t)$ on the time interval $[ 0.25, 1.125 ]$.

Average rate of change is

Sketch the line that represents the graphical interpretation for your result above.

Add line:


Delete:


The of the line above provides the average rate of the change of the function $s(t)$ on the time interval $[ 0.25, 1.125 ]$.

Part 2

Compute the instantaneous rate of the change of the function $s(t)$ at time $1$.

Instantaneuous rate of change is

For what values of time $t$ will $s'(t)$ be positive?

Select all possible options that apply.
Correct answer

Average rate of change is -2.74285714286

The slope of the secant line above provides the average rate of the change of the function $s(t)$ on the time interval $[ 0.25, 1.125 ]$.

Instantaneuous rate of change is -9

For what values of time $t$ will $s'(t)$ be positive?

  • (a) 0.125
Submitted answer 2
dev@example.com submitted at 2024-09-13 01:00:36 (CDT)
invalid, not gradable
Broken submission due to error in question code

Average rate of change is Missing Input Why

The 100% of the 100% line above provides the average rate of the change of the function $s(t)$ on the time interval $[ 0.25, 1.125 ]$.

Instantaneuous rate of change is Missing Input Why

For what values of time $t$ will $s'(t)$ be positive?

  100%
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:33 (CDT)
Duration:
3 s
Show/Hide answer
{
  "ts": [
    {
      "key": "a",
      "html": "0.125",
      "feedback": null
    }
  ],
  "va": -2.742857142857141,
  "vi": -9,
  "geo": "slope",
  "geo2": "secant",
  "lines": [
    {
      "id": 0,
      "x1": 110,
      "x2": 285,
      "y1": 84,
      "y2": 107.99999999999997,
      "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
    }
  ]
}