Skip to content

Problem report: https://runestone.academy/ns/books/published/uwmadison_cs200_fall2026/unit1a-practice-toggle-code.html #1497

Description

@irunestone

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

Field Value
Reporter LOPOKOIYIT@WISC.EDU
Email LOPOKOIYIT@WISC.EDU
Course uwmadison_cs200_fall2026
Page https://runestone.academy/ns/books/published/uwmadison_cs200_fall2026/unit1a-practice-toggle-code.html
Reported at 2026-09-11T01:21:50.709908

Description

It isnt marking one of my answers

Browser console log

[log] Timezone cookie matches, not sending timezone to server
[log] This page served by undefined
[log] triggering runestone:pre-login-complete
[log] Runestone pre-login complete
[log] Loading Runestone component: selectquestion
[log] getting question source
[log] adding video popouts
[log] setting up pretext
[log] Runestone component activecode is being queued for import
[log] Webpack is starting the loading process for the following Runestone modules ["activecode"]
[log] Runestone component activecode has been loaded
[log] before get hist
[log] getting question source
[log] SpliceWrapper: received message subject: undefined from iframe: unknown
[log] making a new scrubber
[log] Fake change event, skipping the log
[log] before get hist
[log] getting question source
[log] making a new scrubber
[log] Fake change event, skipping the log
[log] before get hist
[log] getting question source
[log] making a new scrubber
[log] Fake change event, skipping the log
[log] before get hist
[log] getting question source
[log] making a new scrubber
[log] Fake change event, skipping the log
[log] before get hist
[log] getting question source
[log] making a new scrubber
[log] Fake change event, skipping the log
[log] before get hist
[log] getting question source
[log] making a new scrubber
[log] Fake change event, skipping the log
[log] before get hist
[log] getting question source
[log] making a new scrubber
[log] Fake change event, skipping the log
[log] before get hist
[log] getting question source
[log] making a new scrubber
[log] Fake change event, skipping the log
[log] before get hist
[log] getting question source
[log] making a new scrubber
[log] Fake change event, skipping the log
[log] before get hist
[log] getting question source
[log] making a new scrubber
[log] Fake change event, skipping the log
[log] before get hist
[log] getting question source
[log] making a new scrubber
[log] Fake change event, skipping the log
[log] before get hist
[log] getting question source
[log] running {"div_id":"csawesome2__u1_muc_wc5","code":"public class Test1\n{\n    public static void main(String[] args)\n    {\n        double bill = 89.23;\n        // Add your code here\n        double totalCost = bill * 1.2;\n        double costPerPerson = totalCost/3;\n        System.out.println(\"The total cost per person is \" + costPerPerson + \" dollars\");\n\n    }\n}\n","language":"java","errinfo":"success","to_save":"False","prefix":"","suffix":"// ch3ex2muc\nimport 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(\"Test1\");\n    }\n\n    @Test\n    public void test1()\n    {\n        String output = getMethodOutput(\"main\");\n        double result = Double.parseDouble(output);\n        double expect = 35.692;\n\n        boolean passed = getResults(expect, result, \"Running main\");\n        assertTrue(passed);\n    }\n}\n","partner":"","editDist":0,"changesPerSecond":null,"course":"uwmadison_cs200_fall2026","clientLoginStatus":true,"timezoneoffset":5}
[log] Save logging event {"act":"percent:0.00:passed:0:failed:1","div_id":"csawesome2__u1_muc_wc5","event":"unittest","course_name":"uwmadison_cs200_fall2026","clientLoginStatus":true,"timezoneoffset":5,"selector_id":"csawesome2__u1a-toggle5"}
[log] making a new scrubber
[log] Fake change event, skipping the log
[log] before get hist
[log] getting question source
[log] making a new scrubber
[log] Fake change event, skipping the log
[log] before get hist
[log] making a new scrubber
[log] Fake change event, skipping the log
[log] Save logging event {"event":"codelens","act":"view","div_id":"csawesome2__u1_muc_wc5","course_name":"uwmadison_cs200_fall2026","clientLoginStatus":true,"timezoneoffset":5,"selector_id":"csawesome2__u1a-toggle5"}
[log] running {"div_id":"csawesome2__u1_muc_wc4","code":"public class Test1\n{\n    public static void main(String[] args)\n    {\n        double price = 45;\n        // Add your code here\n        double shirtCost = (price*2)/3;\n        System.out.println(\"The cost of the shirt is\" + shirtCost);\n\n    }\n}\n","language":"java","errinfo":"success","to_save":"False","prefix":"","suffix":"// ch3ex1muc\nimport 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(\"Test1\");\n    }\n\n    @Test\n    public void test1()\n    {\n        String output = getMethodOutput(\"main\");\n        String expect = \"30.0\";\n\n        boolean passed = getResults(expect, output, \"Running main\");\n        assertTrue(passed);\n    }\n}\n","partner":"","editDist":0,"changesPerSecond":null,"course":"uwmadison_cs200_fall2026","clientLoginStatus":true,"timezoneoffset":5}
[log] Save logging event {"act":"percent:100.00:passed:1:failed:0","div_id":"csawesome2__u1_muc_wc4","event":"unittest","course_name":"uwmadison_cs200_fall2026","clientLoginStatus":true,"timezoneoffset":5,"selector_id":"csawesome2__u1a-toggle4"}
[log] Save logging event {"event":"activecode","act":"edit","div_id":"csawesome2__u1_muc_wc5","course_name":"uwmadison_cs200_fall2026","clientLoginStatus":true,"timezoneoffset":5,"selector_id":"csawesome2__u1a-toggle5"}
[log] running {"div_id":"csawesome2__u1_muc_wc5","code":"public class Test1\n{\n    public static void main(String[] args)\n    {\n        double bill = 89.23;\n        // Add your code here\n        double totalCost = bill * 1.2;\n        double costPerPerson = totalCost/3;\n        System.out.println(\"The total cost per person is \" + costPerPerson);\n\n    }\n}\n","language":"java","errinfo":"success","to_save":"True","prefix":"","suffix":"// ch3ex2muc\nimport 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(\"Test1\");\n    }\n\n    @Test\n    public void test1()\n    {\n        String output = getMethodOutput(\"main\");\n        double result = Double.parseDouble(output);\n        double expect = 35.692;\n\n        boolean passed = getResults(expect, result, \"Running main\");\n        assertTrue(passed);\n    }\n}\n","partner":"","editDist":0,"changesPerSecond":0,"course":"uwmadison_cs200_fall2026","clientLoginStatus":true,"timezoneoffset":5}
[log] Save logging event {"act":"percent:0.00:passed:0:failed:1","div_id":"csawesome2__u1_muc_wc5","event":"unittest","course_name":"uwmadison_cs200_fall2026","clientLoginStatus":true,"timezoneoffset":5,"selector_id":"csawesome2__u1a-toggle5"}

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