diff --git a/common/lib/capa/capa/responsetypes.py b/common/lib/capa/capa/responsetypes.py index cac18d88cd..9ab5cd631f 100644 --- a/common/lib/capa/capa/responsetypes.py +++ b/common/lib/capa/capa/responsetypes.py @@ -860,7 +860,7 @@ class ChoiceResponse(LoncapaResponse): The hint information goes into the msg= in new_cmap for display. Each choice in the checkboxgroup can have 2 extended hints, matching the case that the student has or has not selected that choice: - + Donut A Hint! Another hint! @@ -986,7 +986,7 @@ class MultipleChoiceResponse(LoncapaResponse): to translate back to choice_0 name style for recording in the logs, so the logging is in terms of the regular names. """ - # TODO: handle direction and randomize + # TODO: randomize human_name = _('Multiple Choice') tags = ['multiplechoiceresponse'] @@ -1336,7 +1336,7 @@ class TrueFalseResponse(MultipleChoiceResponse): @registry.register class OptionResponse(LoncapaResponse): """ - TODO: handle direction and randomize + TODO: handle randomize """ human_name = _('Dropdown') diff --git a/common/lib/capa/capa/tests/test_files/extended_hints_checkbox.xml b/common/lib/capa/capa/tests/test_files/extended_hints_checkbox.xml index c92845764b..1554f5360a 100644 --- a/common/lib/capa/capa/tests/test_files/extended_hints_checkbox.xml +++ b/common/lib/capa/capa/tests/test_files/extended_hints_checkbox.xml @@ -1,7 +1,7 @@

Select all the fruits from the list. In retrospect, the wordiness of these tests increases the dizziness!

- + Apple You are right that apple is a fruit. @@ -35,7 +35,7 @@

Select all the vegetables from the list

- + Banana No, sorry, a banana is a fruit. @@ -68,7 +68,7 @@

Compoundhint vs. correctness

- + A B C @@ -78,7 +78,7 @@

If one label matches we use it, otherwise go with the default, and whitespace scattered around.

- + A @@ -97,7 +97,7 @@

Blank labels

- + A aa B bb compoundo @@ -106,7 +106,7 @@

Case where the student selects nothing, but there's feedback

- + A aa B bb diff --git a/common/lib/capa/capa/tests/test_files/extended_hints_with_errors.xml b/common/lib/capa/capa/tests/test_files/extended_hints_with_errors.xml index ad55f4f1fb..5616662cae 100644 --- a/common/lib/capa/capa/tests/test_files/extended_hints_with_errors.xml +++ b/common/lib/capa/capa/tests/test_files/extended_hints_with_errors.xml @@ -1,6 +1,6 @@ - + Banana No, sorry, a banana is a fruit. diff --git a/common/lib/capa/capa/tests/test_hint_functionality.py b/common/lib/capa/capa/tests/test_hint_functionality.py index 8030ec903a..0f374ea9b7 100644 --- a/common/lib/capa/capa/tests/test_hint_functionality.py +++ b/common/lib/capa/capa/tests/test_hint_functionality.py @@ -338,7 +338,7 @@ class CheckboxHintsTestTracking(HintTest):

question

- + Apple A true A false diff --git a/common/lib/xmodule/xmodule/js/spec/problem/edit_spec.coffee b/common/lib/xmodule/xmodule/js/spec/problem/edit_spec.coffee index a43bb210f0..575b4c4246 100644 --- a/common/lib/xmodule/xmodule/js/spec/problem/edit_spec.coffee +++ b/common/lib/xmodule/xmodule/js/spec/problem/edit_spec.coffee @@ -724,7 +724,7 @@ describe 'MarkdownEditingDescriptor', ->

Choice checks

- + option1 [x] correct redundant diff --git a/common/lib/xmodule/xmodule/js/spec/problem/edit_spec_hint.coffee b/common/lib/xmodule/xmodule/js/spec/problem/edit_spec_hint.coffee index 5d2cefa32c..94e5fb671c 100644 --- a/common/lib/xmodule/xmodule/js/spec/problem/edit_spec_hint.coffee +++ b/common/lib/xmodule/xmodule/js/spec/problem/edit_spec_hint.coffee @@ -188,7 +188,7 @@ describe 'Markdown to xml extended hint checkbox', ->

Select all the fruits from the list

- + Apple You're right that apple is a fruit. Remember that apple is also a fruit. @@ -209,7 +209,7 @@ describe 'Markdown to xml extended hint checkbox', ->

Select all the vegetables from the list

- + Banana No, sorry, a banana is a fruit. poor banana. @@ -266,7 +266,7 @@ describe 'Markdown to xml extended hint checkbox', ->

Select all the fruits from the list

- + Apple You're right that apple is a fruit. Remember that apple is also a fruit. @@ -287,7 +287,7 @@ describe 'Markdown to xml extended hint checkbox', ->

Select all the vegetables from the list

- + Banana No, sorry, a banana is a fruit. poor banana. @@ -753,7 +753,7 @@ describe 'Markdown to xml extended hint with multiline hints', ->

Checkboxes

- + A aaa bbb @@ -891,7 +891,7 @@ describe 'Markdown to xml extended hint with tricky syntax cases', ->

q1

this [x]

- + a [square] b {{ this hint passes through }} diff --git a/common/lib/xmodule/xmodule/js/src/problem/edit.coffee b/common/lib/xmodule/xmodule/js/src/problem/edit.coffee index a3e878d894..0419e096dc 100644 --- a/common/lib/xmodule/xmodule/js/src/problem/edit.coffee +++ b/common/lib/xmodule/xmodule/js/src/problem/edit.coffee @@ -353,7 +353,7 @@ class @MarkdownEditingDescriptor extends XModule.Descriptor var groupString = '\n', options, value, correct; - groupString += ' \n'; + groupString += ' \n'; options = match.split('\n'); endHints = ''; // save these up to emit at the end diff --git a/common/lib/xmodule/xmodule/templates/problem/checkboxes_response.yaml b/common/lib/xmodule/xmodule/templates/problem/checkboxes_response.yaml index 18816b43ef..eab9aa3bb9 100644 --- a/common/lib/xmodule/xmodule/templates/problem/checkboxes_response.yaml +++ b/common/lib/xmodule/xmodule/templates/problem/checkboxes_response.yaml @@ -29,7 +29,7 @@ data: |

You can use the following example problem as a model.

The following languages are in the Indo-European family:

- + Urdu Finnish Marathi diff --git a/common/lib/xmodule/xmodule/templates/problem/checkboxes_response_hint.yaml b/common/lib/xmodule/xmodule/templates/problem/checkboxes_response_hint.yaml index 7d1f78c006..fc1f296c2e 100644 --- a/common/lib/xmodule/xmodule/templates/problem/checkboxes_response_hint.yaml +++ b/common/lib/xmodule/xmodule/templates/problem/checkboxes_response_hint.yaml @@ -41,7 +41,7 @@ data: |

Which of the following is a fruit? Check all that apply.

- + apple You are correct that an apple is a fruit because it is the fertilized ovary that comes from an apple tree and contains seeds. Remember that an apple is also a fruit. diff --git a/common/lib/xmodule/xmodule/tests/test_capa_module.py b/common/lib/xmodule/xmodule/tests/test_capa_module.py index 16ca6c6fb0..3463223b25 100644 --- a/common/lib/xmodule/xmodule/tests/test_capa_module.py +++ b/common/lib/xmodule/xmodule/tests/test_capa_module.py @@ -1822,7 +1822,7 @@ class TestProblemCheckTracking(unittest.TestCase):

Which of the following are musical instruments?

- + a piano a tree a guitar diff --git a/common/test/acceptance/tests/data/multiple_choice.xml b/common/test/acceptance/tests/data/multiple_choice.xml index bdf9509d34..001beb4988 100644 --- a/common/test/acceptance/tests/data/multiple_choice.xml +++ b/common/test/acceptance/tests/data/multiple_choice.xml @@ -17,7 +17,7 @@

Which of the following are musical instruments?

- + a piano a tree a guitar diff --git a/common/test/acceptance/tests/lms/test_lms_user_preview.py b/common/test/acceptance/tests/lms/test_lms_user_preview.py index 292bbf8dcf..f86e8da7a3 100644 --- a/common/test/acceptance/tests/lms/test_lms_user_preview.py +++ b/common/test/acceptance/tests/lms/test_lms_user_preview.py @@ -62,7 +62,7 @@ class CourseWithoutContentGroupsTest(StaffViewTest):

Choose Yes.

- + Yes @@ -258,7 +258,7 @@ class CourseWithContentGroupsTest(StaffViewTest):

Choose Yes.

- + Yes diff --git a/common/test/acceptance/tests/studio/test_studio_settings.py b/common/test/acceptance/tests/studio/test_studio_settings.py index 39eed95996..eca0ca2d8e 100644 --- a/common/test/acceptance/tests/studio/test_studio_settings.py +++ b/common/test/acceptance/tests/studio/test_studio_settings.py @@ -136,7 +136,7 @@ class ContentGroupConfigurationTest(StudioCourseTest):

Choose Yes.

- + Yes diff --git a/common/test/data/manual-testing-complete/problem/a473cecce312487a8339995bde24be53.xml b/common/test/data/manual-testing-complete/problem/a473cecce312487a8339995bde24be53.xml index d3f54f20c2..f8549521ab 100644 --- a/common/test/data/manual-testing-complete/problem/a473cecce312487a8339995bde24be53.xml +++ b/common/test/data/manual-testing-complete/problem/a473cecce312487a8339995bde24be53.xml @@ -2,7 +2,7 @@

A checkboxes problem presents checkbox buttons for student input. Students can select more than one option presented.

Select the answer that matches

- + correct incorrect correct diff --git a/common/test/data/manual-testing-complete/problem/dcada38f8944442799ac2fed42201641.xml b/common/test/data/manual-testing-complete/problem/dcada38f8944442799ac2fed42201641.xml index d3f54f20c2..f8549521ab 100644 --- a/common/test/data/manual-testing-complete/problem/dcada38f8944442799ac2fed42201641.xml +++ b/common/test/data/manual-testing-complete/problem/dcada38f8944442799ac2fed42201641.xml @@ -2,7 +2,7 @@

A checkboxes problem presents checkbox buttons for student input. Students can select more than one option presented.

Select the answer that matches

- + correct incorrect correct