RunestoneInteractive / RunestoneInteractive/rs

Improve feedback display for multiple choice

Open
#729 2 comments 0 reactions 1 assignee View on GitHub

@shreyas-0203 is already working on this.

Since May 29, 2025.

good first issue help wanted
Dominant language
TypeScript
Stars
69
Forks
117
Avg merge
6d 4h
Merged PRs (30d)
24

Description

The feedback for multiple choice is often difficult to understand.

  • Feedback for correct answers, is visually is grouped with the incorrect feedback. Especially if the author does not write something like "Yes..." or "Incorrect..." it is not immediately clear what feedback is affirmation and what is corrective.
  • If there is no feedback, just the letter is displayed. It is not clear if that is because it is correct or incorrect answer. Some default text should be displayed. (perhaps not needed if all the feedback for incorrect items are grouped separately from correct ones).

Image

  <exercise label="asdf1">
    <statement>
      <p>Which are even numbers?</p>
    </statement>
    <choices randomize="yes">
      <choice>
        <statement>
          <p>1</p>
        </statement>
        <feedback>
          <p>Incorrect. 1 is a bad answer.</p>
        </feedback>
      </choice>
      <choice correct="yes">
        <statement>
          <p>2</p>
        </statement>
        <feedback>
          <p>Correct. 2 is a good answer.</p>
        </feedback>
      </choice>
      <choice>
      <statement>
        <p>3</p>
      </statement>
      <feedback>
        <p>Incorrect. 3 is a bad answer.</p>
      </feedback>
    </choice>
    <choice correct="yes">
      <statement>
        <p>4</p>
      </statement>
      <feedback>
        <p>Correct. 4 is a good answer.</p>
      </feedback>
    </choice>
    <choice correct="yes">
      <statement>
        <p>5</p>
      </statement>
      </choice>
      <choice>
        <statement>
          <p>6</p>
        </statement>
        </choice>
    </choices>
  </exercise>

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.