elicit-experiment / frontend

Elicit experiment frontend
Creative Commons Attribution 4.0 International
0 stars 0 forks source link

Radiobuttongroup with feedback only shows feedback when answer is correct #26

Closed madjens closed 11 hours ago

madjens commented 2 days ago

Currently the user has to select a correct option for the Radiobuttongroup when the feedback options is enabled. If the user selects an options that is defined as false, the 'See Answers' button makes the Radiobuttongroup blink orange, as if one hasnt selected any options.

image

Code the reproduce the bug tests/Testcase_radiobutton.py

iainbryson commented 1 day ago

I think this is related to MustAnswerCorrectly=True in the definition for this component:

https://github.com/elicit-experiment/client-api/blob/3063be65a3cf34a5fde159c42d4e74723fa1421d/tests/Testcase_radiobutton.py#L207

image

madjens commented 11 hours ago

Yes you are totally right, forgot about that options. We need to document all these settings >)