Skip to content

Problem report: https://runestone.academy/ns/course/indhttps://runestone.academy/assignment/student/doAssignment?assignment_id=278790ex #1496

Description

@irunestone

A problem was reported through the Runestone "Report a Problem" form.

Field Value
Reporter aukadlecek
Email aukadlecek@s.sfusd.edu
Course CSAwesome_26-27
Page https://runestone.academy/ns/course/indhttps://runestone.academy/assignment/student/doAssignment?assignment_id=278790ex
Reported at 2026-09-10T20:03:25.776913

Description

The assignment GregorianCalendar2 does not make a request on bookevent which gives the score to the client.

Browser console log

Error with Permissions-Policy header: Unrecognized feature: 'attribution-reporting'.
12:55:15.832 doAssignment?assignment_id=278790:73  GET https://media.ethicalads.io/media/client/ethicalads.min.js net::ERR_BLOCKED_BY_CLIENT
12:55:17.612 bookfuncs.js:78 {unit1: {…}}
12:55:17.612 bookfuncs.js:78 (13) [{…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}]
12:55:17.689 doAssignment?assignment_id=278790:2990  GET https://static.cloudflareinsights.com/beacon.min.js/v31edd6df95cf4e85bb4c19e7a9bdbcba1788362987495 net::ERR_BLOCKED_BY_CLIENT
12:55:17.731 bookfuncs.js:78 Timezone cookie matches, not sending timezone to server
12:55:17.731 bookfuncs.js:78 This page served by undefined
12:55:17.731 bookfuncs.js:78 triggering runestone:pre-login-complete
12:55:17.731 bookfuncs.js:78 Runestone pre-login complete
12:55:17.731 bookfuncs.js:78 Loading Runestone component: multiplechoice
12:55:17.732 bookfuncs.js:78 Loading Runestone component: answer
12:55:17.732 bookfuncs.js:78 Loading Runestone component: feedback
12:55:17.732 bookfuncs.js:78 Loading Runestone component: activecode
12:55:17.806 speech-worker.js:1 Fetch finished loading: GET "https://cdn.jsdelivr.net/npm/mathjax@4/sre/mathmaps/base.json".
o.g.getMap @ speech-worker.js:1
custom @ speech-worker.js:1
(anonymous) @ speech-worker.js:1
(anonymous) @ speech-worker.js:1
Cc @ speech-worker.js:1
(anonymous) @ speech-worker.js:1
(anonymous) @ speech-worker.js:1
bc @ speech-worker.js:1
yc @ speech-worker.js:1
(anonymous) @ speech-worker.js:1
(anonymous) @ speech-worker.js:1
wc @ speech-worker.js:1
Pc @ speech-worker.js:1
(anonymous) @ speech-worker.js:1
(anonymous) @ speech-worker.js:1
_c @ speech-worker.js:1
xc @ speech-worker.js:1
(anonymous) @ speech-worker.js:1
(anonymous) @ speech-worker.js:1
_c @ speech-worker.js:1
kc @ speech-worker.js:1
(anonymous) @ speech-worker.js:1
s @ speech-worker.js:1
Promise.then
c @ speech-worker.js:1
(anonymous) @ speech-worker.js:1
t @ speech-worker.js:1
(anonymous) @ speech-worker.js:1
(anonymous) @ speech-worker.js:1
(anonymous) @ speech-worker.js:1
(anonymous) @ b24ab217-352f-44a5-be14-5e67f490e1cc:3
Worker Created
(anonymous) @ tex-mml-chtml.js:1
(anonymous) @ tex-mml-chtml.js:1
Ki @ tex-mml-chtml.js:1
createWorker @ tex-mml-chtml.js:1
(anonymous) @ tex-mml-chtml.js:1
(anonymous) @ tex-mml-chtml.js:1
zE @ tex-mml-chtml.js:1
Start @ tex-mml-chtml.js:1
getWebworker @ tex-mml-chtml.js:1
attachSpeech @ tex-mml-chtml.js:1
(anonymous) @ tex-mml-chtml.js:1
renderDoc @ tex-mml-chtml.js:1
render @ tex-mml-chtml.js:1
(anonymous) @ tex-mml-chtml.js:1
(anonymous) @ tex-mml-chtml.js:1
Fn @ tex-mml-chtml.js:1
(anonymous) @ tex-mml-chtml.js:1
e @ tex-mml-chtml.js:1
Pn @ tex-mml-chtml.js:1
(anonymous) @ tex-mml-chtml.js:1
(anonymous) @ tex-mml-chtml.js:1
Promise.then
whenReady @ tex-mml-chtml.js:1
renderPromise @ tex-mml-chtml.js:1
(anonymous) @ tex-mml-chtml.js:1
(anonymous) @ tex-mml-chtml.js:1
zi @ tex-mml-chtml.js:1
(anonymous) @ tex-mml-chtml.js:1
(anonymous) @ tex-mml-chtml.js:1
Promise.then
whenReady @ tex-mml-chtml.js:1
typesetPromise @ tex-mml-chtml.js:1
(anonymous) @ tex-mml-chtml.js:1
Promise.then
defaultPageReady @ tex-mml-chtml.js:1
pageReady @ mathjax_startup.js:101
(anonymous) @ tex-mml-chtml.js:1
Promise.then
defaultReady @ tex-mml-chtml.js:1
ready @ mathjax_startup.js:98
defaultReady @ tex-mml-chtml.js:1
(anonymous) @ tex-mml-chtml.js:1
Promise.then
(anonymous) @ tex-mml-chtml.js:1
Promise.then
loadFont @ tex-mml-chtml.js:1
(anonymous) @ tex-mml-chtml.js:1
(anonymous) @ tex-mml-chtml.js:1
(anonymous) @ tex-mml-chtml.js:1
(anonymous) @ tex-mml-chtml.js:1
12:55:17.810 bookfuncs.js:78 before get hist
12:55:17.836 bookfuncs.js:78 before get hist
12:55:17.853 speech-worker.js:1 Fetch finished loading: GET "https://cdn.jsdelivr.net/npm/mathjax@4/sre/mathmaps/en.json".
o.g.getMap @ speech-worker.js:1
custom @ speech-worker.js:1
(anonymous) @ speech-worker.js:1
(anonymous) @ speech-worker.js:1
Cc @ speech-worker.js:1
(anonymous) @ speech-worker.js:1
(anonymous) @ speech-worker.js:1
bc @ speech-worker.js:1
(anonymous) @ speech-worker.js:1
Promise.then
(anonymous) @ speech-worker.js:1
(anonymous) @ speech-worker.js:1
bc @ speech-worker.js:1
yc @ speech-worker.js:1
(anonymous) @ speech-worker.js:1
(anonymous) @ speech-worker.js:1
wc @ speech-worker.js:1
Pc @ speech-worker.js:1
(anonymous) @ speech-worker.js:1
(anonymous) @ speech-worker.js:1
_c @ speech-worker.js:1
xc @ speech-worker.js:1
(anonymous) @ speech-worker.js:1
(anonymous) @ speech-worker.js:1
_c @ speech-worker.js:1
kc @ speech-worker.js:1
(anonymous) @ speech-worker.js:1
s @ speech-worker.js:1
Promise.then
c @ speech-worker.js:1
(anonymous) @ speech-worker.js:1
t @ speech-worker.js:1
(anonymous) @ speech-worker.js:1
(anonymous) @ speech-worker.js:1
(anonymous) @ speech-worker.js:1
(anonymous) @ b24ab217-352f-44a5-be14-5e67f490e1cc:3
Worker Created
(anonymous) @ tex-mml-chtml.js:1
(anonymous) @ tex-mml-chtml.js:1
Ki @ tex-mml-chtml.js:1
createWorker @ tex-mml-chtml.js:1
(anonymous) @ tex-mml-chtml.js:1
(anonymous) @ tex-mml-chtml.js:1
zE @ tex-mml-chtml.js:1
Start @ tex-mml-chtml.js:1
getWebworker @ tex-mml-chtml.js:1
attachSpeech @ tex-mml-chtml.js:1
(anonymous) @ tex-mml-chtml.js:1
renderDoc @ tex-mml-chtml.js:1
render @ tex-mml-chtml.js:1
(anonymous) @ tex-mml-chtml.js:1
(anonymous) @ tex-mml-chtml.js:1
Fn @ tex-mml-chtml.js:1
(anonymous) @ tex-mml-chtml.js:1
e @ tex-mml-chtml.js:1
Pn @ tex-mml-chtml.js:1
(anonymous) @ tex-mml-chtml.js:1
(anonymous) @ tex-mml-chtml.js:1
Promise.then
whenReady @ tex-mml-chtml.js:1
renderPromise @ tex-mml-chtml.js:1
(anonymous) @ tex-mml-chtml.js:1
(anonymous) @ tex-mml-chtml.js:1
zi @ tex-mml-chtml.js:1
(anonymous) @ tex-mml-chtml.js:1
(anonymous) @ tex-mml-chtml.js:1
Promise.then
whenReady @ tex-mml-chtml.js:1
typesetPromise @ tex-mml-chtml.js:1
(anonymous) @ tex-mml-chtml.js:1
Promise.then
defaultPageReady @ tex-mml-chtml.js:1
pageReady @ mathjax_startup.js:101
(anonymous) @ tex-mml-chtml.js:1
Promise.then
defaultReady @ tex-mml-chtml.js:1
ready @ mathjax_startup.js:98
defaultReady @ tex-mml-chtml.js:1
(anonymous) @ tex-mml-chtml.js:1
Promise.then
(anonymous) @ tex-mml-chtml.js:1
Promise.then
loadFont @ tex-mml-chtml.js:1
(anonymous) @ tex-mml-chtml.js:1
(anonymous) @ tex-mml-chtml.js:1
(anonymous) @ tex-mml-chtml.js:1
(anonymous) @ tex-mml-chtml.js:1
12:55:17.868 bookfuncs.js:78 before get hist
12:55:17.868 bookfuncs.js:78 Error rendering Activecode Problem GregorianCalendar2
                Details: TypeError: Cannot read properties of null (reading 'textContent')
(anonymous) @ bookfuncs.js:78
(anonymous) @ acfactory.js:297
(anonymous) @ acfactory.js:285
(anonymous) @ webpack.index.js:179
Promise.then
runestone_auto_import @ webpack.index.js:177
12:55:17.868 bookfuncs.js:78 TypeError: Cannot read properties of null (reading 'textContent')
    at new b (activecode.js:84:39)
    at T.createActiveCode (acfactory.js:95:24)
    at acfactory.js:292:35
    at NodeList.forEach (<anonymous>)
    at HTMLDocument.<anonymous> (acfactory.js:285:10)
    at webpack.index.js:179:22
(anonymous) @ bookfuncs.js:78
(anonymous) @ acfactory.js:299
(anonymous) @ acfactory.js:285
(anonymous) @ webpack.index.js:179
Promise.then
runestone_auto_import @ webpack.index.js:177
12:55:17.938 bookfuncs.js:78 before get hist
12:55:17.990 bookfuncs.js:78 before get hist
12:55:17.995 bookfuncs.js:78 before get hist
12:55:18.130 user-highlights.js:18  GET https://runestone.academy/ns/logger/getCompletionStatus?lastPageUrl=%2Fassignment%2Fstudent%2FdoAssignment&isPtxBook=true 422 (Unprocessable Content)
fetchJson @ user-highlights.js:18
(anonymous) @ user-highlights.js:48
(anonymous) @ user-highlights.js:323
(anonymous) @ bookfuncs.js:1096
(anonymous) @ bookfuncs.js:1186
12:55:18.130 bookfuncs.js:78 Request Failed for /ns/logger/getCompletionStatus?lastPageUrl=%2Fassignment%2Fstudent%2FdoAssignment&isPtxBook=true
12:55:18.131 bookfuncs.js:78 Response from server: 200
12:55:18.152 speech-worker.js:1 Fetch finished loading: GET "https://cdn.jsdelivr.net/npm/mathjax@4/sre/mathmaps/nemeth.json".
o.g.getMap @ speech-worker.js:1
custom @ speech-worker.js:1
(anonymous) @ speech-worker.js:1
(anonymous) @ speech-worker.js:1
Cc @ speech-worker.js:1
(anonymous) @ speech-worker.js:1
(anonymous) @ speech-worker.js:1
bc @ speech-worker.js:1
(anonymous) @ speech-worker.js:1
Promise.then
(anonymous) @ speech-worker.js:1
(anonymous) @ speech-worker.js:1
bc @ speech-worker.js:1
(anonymous) @ speech-worker.js:1
Promise.then
(anonymous) @ speech-worker.js:1
(anonymous) @ speech-worker.js:1
bc @ speech-worker.js:1
yc @ speech-worker.js:1
(anonymous) @ speech-worker.js:1
(anonymous) @ speech-worker.js:1
wc @ speech-worker.js:1
Pc @ speech-worker.js:1
(anonymous) @ speech-worker.js:1
s @ speech-worker.js:1
Promise.then
c @ speech-worker.js:1
(anonymous) @ speech-worker.js:1
ed @ speech-worker.js:1
ad @ speech-worker.js:1
(anonymous) @ speech-worker.js:1
(anonymous) @ speech-worker.js:1
ed @ speech-worker.js:1
nd @ speech-worker.js:1
(anonymous) @ speech-worker.js:1
(anonymous) @ speech-worker.js:1
t @ speech-worker.js:1
i @ speech-worker.js:1
speech @ speech-worker.js:1
(anonymous) @ speech-worker.js:1
Worker.postMessage
postNext @ tex-mml-chtml.js:1
Ready @ tex-mml-chtml.js:1
Listener @ tex-mml-chtml.js:1
postMessage
n @ speech-worker.js:1
(anonymous) @ speech-worker.js:1
s @ speech-worker.js:1
Promise.then
c @ speech-worker.js:1
s @ speech-worker.js:1
Promise.then
c @ speech-worker.js:1
(anonymous) @ speech-worker.js:1
t @ speech-worker.js:1
(anonymous) @ speech-worker.js:1
(anonymous) @ speech-worker.js:1
(anonymous) @ speech-worker.js:1
(anonymous) @ b24ab217-352f-44a5-be14-5e67f490e1cc:3
Worker Created
(anonymous) @ tex-mml-chtml.js:1
(anonymous) @ tex-mml-chtml.js:1
Ki @ tex-mml-chtml.js:1
createWorker @ tex-mml-chtml.js:1
(anonymous) @ tex-mml-chtml.js:1
(anonymous) @ tex-mml-chtml.js:1
zE @ tex-mml-chtml.js:1
Start @ tex-mml-chtml.js:1
getWebworker @ tex-mml-chtml.js:1
attachSpeech @ tex-mml-chtml.js:1
(anonymous) @ tex-mml-chtml.js:1
renderDoc @ tex-mml-chtml.js:1
render @ tex-mml-chtml.js:1
(anonymous) @ tex-mml-chtml.js:1
(anonymous) @ tex-mml-chtml.js:1
Fn @ tex-mml-chtml.js:1
(anonymous) @ tex-mml-chtml.js:1
e @ tex-mml-chtml.js:1
Pn @ tex-mml-chtml.js:1
(anonymous) @ tex-mml-chtml.js:1
(anonymous) @ tex-mml-chtml.js:1
Promise.then
whenReady @ tex-mml-chtml.js:1
renderPromise @ tex-mml-chtml.js:1
(anonymous) @ tex-mml-chtml.js:1
(anonymous) @ tex-mml-chtml.js:1
zi @ tex-mml-chtml.js:1
(anonymous) @ tex-mml-chtml.js:1
(anonymous) @ tex-mml-chtml.js:1
Promise.then
whenReady @ tex-mml-chtml.js:1
typesetPromise @ tex-mml-chtml.js:1
(anonymous) @ tex-mml-chtml.js:1
Promise.then
defaultPageReady @ tex-mml-chtml.js:1
pageReady @ mathjax_startup.js:101
(anonymous) @ tex-mml-chtml.js:1
Promise.then
defaultReady @ tex-mml-chtml.js:1
ready @ mathjax_startup.js:98
defaultReady @ tex-mml-chtml.js:1
(anonymous) @ tex-mml-chtml.js:1
Promise.then
(anonymous) @ tex-mml-chtml.js:1
Promise.then
loadFont @ tex-mml-chtml.js:1
(anonymous) @ tex-mml-chtml.js:1
(anonymous) @ tex-mml-chtml.js:1
(anonymous) @ tex-mml-chtml.js:1
(anonymous) @ tex-mml-chtml.js:1
12:55:18.169 bookfuncs.js:78 Response from server: 200
12:55:18.169 bookfuncs.js:78 Response from server: 200
12:55:18.169 bookfuncs.js:78 Response from server: 200
12:55:18.169 bookfuncs.js:78 Response from server: 200
12:55:18.169 bookfuncs.js:78 Response from server: 200
12:55:18.169 bookfuncs.js:78 Response from server: 200
12:55:18.170 bookfuncs.js:78 Response from server: 200
2212:55:18.214 Fetch finished loading: POST "<URL>".
12:55:18.173 bookfuncs.js:78 adding video popouts
12:55:18.174 bookfuncs.js:78 setting up pretext
12:55:18.175 bookfuncs.js:78 Data from server: {"answer":"1","correct":true,"percent":1,"timestamp":"2026-09-10T19:53:51.533212+00:00","div_id":"csawesome2__qrand_4","sid":"aukadlecek","course_name":"CSAwesome_26-27","id":98595971,"comment":"autograded","score":1} calling repopulateFromStorage
12:55:18.175 bookfuncs.js:78 resolving checkServer with server data
12:55:18.198 bookfuncs.js:78 Data from server: {"answer":"3","correct":true,"percent":1,"timestamp":"2026-09-06T18:57:04.407397+00:00","div_id":"csawesome2__apcsa_sample3","sid":"aukadlecek","course_name":"CSAwesome_26-27","id":98294743,"comment":"autograded","score":1} calling repopulateFromStorage
12:55:18.198 bookfuncs.js:78 resolving checkServer with server data
12:55:18.206 bookfuncs.js:78 Data from server: {"answer":"3","correct":true,"percent":1,"timestamp":"2026-09-08T20:53:35.923729+00:00","div_id":"2_1_type_turn","sid":"aukadlecek","course_name":"CSAwesome_26-27","id":98429541,"comment":"autograded","score":2} calling repopulateFromStorage
12:55:18.206 bookfuncs.js:78 resolving checkServer with server data
12:55:18.206 bookfuncs.js:78 Data from server: {"answer":"2","correct":true,"percent":1,"timestamp":"2026-09-08T20:53:41.337959+00:00","div_id":"csawesome2__AP-objects","sid":"aukadlecek","course_name":"CSAwesome_26-27","id":98429544,"comment":"autograded","score":1} calling repopulateFromStorage
12:55:18.206 bookfuncs.js:78 resolving checkServer with server data
12:55:18.206 bookfuncs.js:78 Data from server: {"answer":"2","correct":true,"percent":1,"timestamp":"2026-09-08T20:51:48.487476+00:00","div_id":"csawesome2__AP-constructors","sid":"aukadlecek","course_name":"CSAwesome_26-27","id":98429434,"comment":"autograded","score":1} calling repopulateFromStorage
12:55:18.206 bookfuncs.js:78 resolving checkServer with server data
12:55:18.206 bookfuncs.js:78 Data from server: {"answer":"1","correct":true,"percent":1,"timestamp":"2026-09-08T20:52:51.146623+00:00","div_id":"csawesome2__traceReturnMethods","sid":"aukadlecek","course_name":"CSAwesome_26-27","id":98429491,"comment":"autograded","score":1} calling repopulateFromStorage
12:55:18.206 bookfuncs.js:78 resolving checkServer with server data
12:55:18.206 bookfuncs.js:78 Data from server: {"answer":"2","correct":true,"percent":1,"timestamp":"2026-09-08T20:52:56.611612+00:00","div_id":"csawesome2__qsb_3b","sid":"aukadlecek","course_name":"CSAwesome_26-27","id":98429498,"comment":"autograded","score":1} calling repopulateFromStorage
12:55:18.207 bookfuncs.js:78 resolving checkServer with server data
12:55:18.207 bookfuncs.js:78 Data from server: {"answer":"0","correct":true,"percent":1,"timestamp":"2026-09-08T20:53:14.677884+00:00","div_id":"csawesome2__qsb_4b","sid":"aukadlecek","course_name":"CSAwesome_26-27","id":98429525,"comment":"autograded","score":1} calling repopulateFromStorage
12:55:18.207 bookfuncs.js:78 resolving checkServer with server data
12:55:18.218 bookfuncs.js:78 making a new scrubber
12:55:18.218 bookfuncs.js:78 Fake change event, skipping the log
12:55:18.231 bookfuncs.js:78 making a new scrubber
12:55:18.231 bookfuncs.js:78 Fake change event, skipping the log
12:55:18.286 bookfuncs.js:78 making a new scrubber
12:55:18.286 bookfuncs.js:78 Fake change event, skipping the log
12:55:18.310 bookfuncs.js:78 making a new scrubber
12:55:18.311 bookfuncs.js:78 Fake change event, skipping the log
12:55:18.360 bookfuncs.js:78 making a new scrubber
12:55:18.360 bookfuncs.js:78 Fake change event, skipping the log
12:55:18.381 bookfuncs.js:78 making a new scrubber
12:55:18.382 bookfuncs.js:78 Fake change event, skipping the log
12:55:18.390 bookfuncs.js:78 MathJax Ready -- dequeing a typesetting run for csawesome2__qrand_4 undefined
12:55:18.390 bookfuncs.js:78 MathJax Ready -- dequeing a typesetting run for csawesome2__apcsa_sample3 undefined
12:55:18.390 bookfuncs.js:78 MathJax Ready -- dequeing a typesetting run for 2_1_type_turn undefined
12:55:18.390 bookfuncs.js:78 MathJax Ready -- dequeing a typesetting run for csawesome2__AP-objects undefined
12:55:18.390 bookfuncs.js:78 MathJax Ready -- dequeing a typesetting run for csawesome2__AP-constructors undefined
12:55:18.390 bookfuncs.js:78 MathJax Ready -- dequeing a typesetting run for csawesome2__traceReturnMethods undefined
12:55:18.391 bookfuncs.js:78 MathJax Ready -- dequeing a typesetting run for csawesome2__qsb_3b undefined
12:55:18.391 bookfuncs.js:78 MathJax Ready -- dequeing a typesetting run for csawesome2__qsb_4b undefined
12:55:18.391 bookfuncs.js:78 MathJax Ready -- dequeing a typesetting run for csawesome2__qrand_4_feedback undefined
12:55:18.391 bookfuncs.js:78 MathJax Ready -- dequeing a typesetting run for csawesome2__apcsa_sample3_feedback undefined
12:55:18.392 bookfuncs.js:78 MathJax Ready -- dequeing a typesetting run for 2_1_type_turn_feedback undefined
12:55:18.392 bookfuncs.js:78 MathJax Ready -- dequeing a typesetting run for csawesome2__AP-objects_feedback undefined
12:55:18.392 bookfuncs.js:78 MathJax Ready -- dequeing a typesetting run for csawesome2__AP-constructors_feedback undefined
12:55:18.392 bookfuncs.js:78 MathJax Ready -- dequeing a typesetting run for csawesome2__traceReturnMethods_feedback undefined
12:55:18.392 bookfuncs.js:78 MathJax Ready -- dequeing a typesetting run for csawesome2__qsb_3b_feedback undefined
12:55:18.392 bookfuncs.js:78 MathJax Ready -- dequeing a typesetting run for csawesome2__qsb_4b_feedback undefined
12:55:18.444 user-highlights.js:18 Fetch failed loading: GET "https://runestone.academy/ns/logger/getCompletionStatus?lastPageUrl=%2Fassignment%2Fstudent%2FdoAssignment&isPtxBook=true".
fetchJson @ user-highlights.js:18
(anonymous) @ user-highlights.js:48
(anonymous) @ user-highlights.js:323
(anonymous) @ bookfuncs.js:1096
(anonymous) @ bookfuncs.js:1186
12:55:27.317 bookfuncs.js:78 running {"div_id":"GregorianCalendar2","code":"import java.util.GregorianCalendar;\n\npublic class Test2\n{\n    public static void main(String[] args)\n    {\n        GregorianCalendar today = new GregorianCalendar();\n        GregorianCalendar myDate = new GregorianCalendar(2020, 0, 1);\n        GregorianCalendar myBirthday = new GregorianCalendar(2010, 3, 03);\n        System.out.println(\"Current date and time on server: \"\n                           + today.getTime());\n        System.out.println(\"New Year's day: \"\n                           + myDate.getTime());\n        System.out.println(myBirthday);\n    }\n}\n","language":"java","errinfo":"success","to_save":"False","prefix":"","partner":"","editDist":0,"changesPerSecond":null,"course":"CSAwesome_26-27","clientLoginStatus":true,"timezoneoffset":7}
12:55:39.250 livecode.js:348 Fetch finished loading: GET "https://runestone.academy/ns/logger/get_source_code?course_id=CSAwesome_26-27&filename=turtleClasses.jar".
runSetup @ livecode.js:348
await in runSetup
runProg @ livecode.js:97
runButtonHandler @ activecode.js:635
12:55:39.375 livecode.js:348 Fetch finished loading: GET "https://runestone.academy/ns/logger/get_source_code?course_id=CSAwesome_26-27&filename=turtleClasses2.jar".
runSetup @ livecode.js:348
await in runSetup
runProg @ livecode.js:97
runButtonHandler @ activecode.js:635
1312:55:39.532 XHR finished loading: HEAD "<URL>".
12:55:43.287 bookfuncs.js:78 running {"div_id":"csawesome2__TurtleTest2","code":"import java.awt.*;\nimport java.util.*;\n\npublic class TurtleTest2\n{\n    public static void main(String[] args)\n    {\n        World habitat = new World(300, 300);\n        Turtle yertle = new Turtle(habitat);\n\n        yertle.forward();\n        yertle.forward();\n        yertle.turnLeft();\n        yertle.turnRight();\n        habitat.show(true);\n    }\n}\n","language":"java","errinfo":"success","to_save":"False","prefix":"","suffix":"import static org.junit.Assert.*;\n\nimport org.junit.*;\n\nimport java.io.*;\n\npublic class RunestoneTests extends CodeTestHelper\n{\n    public RunestoneTests()\n    {\n        super(\"TurtleTest2\");\n    }\n\n    @Test\n    public void test1()\n    {\n        String code = getCode();\n        String expect = \"yertle.forward\";\n\n        int count = countOccurences(code, expect);\n\n        boolean passed = getResults(\"2 time(s)\", \"\" + count + \" time(s)\", \"yertle.forward() twice\");\n        assertTrue(passed);\n    }\n\n    @Test\n    public void test2()\n    {\n        String code = getCode();\n        String expect = \"yertle.turnRight()\";\n\n        int count = countOccurences(code, expect);\n\n        boolean passed = count >= 1;\n        passed = getResults(\"1+ time(s)\", \"\" + count + \" time(s)\", \"yertle.turnRight()\", passed);\n        assertTrue(passed);\n    }\n}\n","partner":"","editDist":0,"changesPerSecond":null,"course":"CSAwesome_26-27","clientLoginStatus":true,"timezoneoffset":7}
12:55:43.288 bookfuncs.js:78 Save logging event {"act":"percent:100.00:passed:2:failed:0","div_id":"csawesome2__TurtleTest2","event":"unittest","course_name":"CSAwesome_26-27","clientLoginStatus":true,"timezoneoffset":7,"assignment_id":278790}
12:56:38.100 bookfuncs.js:78 running {"div_id":"GregorianCalendar2","code":"import java.util.GregorianCalendar;\n\npublic class Test2\n{\n    public static void main(String[] args)\n    {\n        GregorianCalendar today = new GregorianCalendar();\n        GregorianCalendar myDate = new GregorianCalendar(2020, 0, 1);\n        GregorianCalendar myBirthday = new GregorianCalendar(2010, 3, 03);\n        System.out.println(\"Current date and time on server: \"\n                           + today.getTime());\n        System.out.println(\"New Year's day: \"\n                           + myDate.getTime());\n        System.out.println(myBirthday);\n    }\n}\n","language":"java","errinfo":"success","to_save":"False","prefix":"","partner":"","editDist":0,"changesPerSecond":null,"course":"CSAwesome_26-27","clientLoginStatus":true,"timezoneoffset":7}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions