Will Daly
3dd49881c3
* Wrote unit tests for correctmap.
...
* Fixed potential KeyError in correctmap.get_queue_time_str()
* Modified correctmap.get_npoints() to return 0 if answer is incorrect,
even when npoints has been set.
* Added overall_message attribute to CorrectMap to allow
messages that apply to the entire question, not just an individual input
2013-03-01 09:40:38 -05:00
Arthur Barrett
0461d72884
fixed tag prompt default text
2013-02-28 16:31:15 -05:00
Arthur Barrett
179a4af5e7
fixed failing annotationinput test and refactored response factory
2013-02-28 15:37:14 -05:00
Arthur Barrett
3f40781612
adjusted "incorrect" icon placement when no annotation options submitted.
2013-02-28 14:24:53 -05:00
Arthur Barrett
6b74dcf782
adding unit test for annotationinput
2013-02-28 13:38:29 -05:00
Arthur Barrett
bc6a085fdf
converted annotationinput tests to the new responsetype testing format.
2013-02-28 13:10:37 -05:00
Arthur Barrett
1da644fcb3
merge from master. resolved conflict with test_responsetypes.py by using the version from master.
2013-02-28 11:22:32 -05:00
Diana Huang
9429262ca4
Merge pull request #1563 from MITx/fix/will/capa_response_unit_tests
...
Fix/will/capa response unit tests
2013-02-28 07:05:15 -08:00
Will Daly
71d0a367aa
Fixed an error in the JavascriptResponseTest: coffee files
...
were not being compiled before the LoncapaProblem initializer was
called.
2013-02-28 09:45:27 -05:00
Will Daly
7e48de1ef3
Reset responsetypes.py to version on master
2013-02-27 17:22:26 -05:00
Will Daly
487afad50d
Merge branch 'master' into feature/will/move_correct_mark_for_multiple_choice
2013-02-27 16:58:35 -05:00
Arthur Barrett
bc49d50fc2
fixed the max points in the annotation response
2013-02-27 16:53:17 -05:00
Will Daly
043d316d53
Removed test files that are now replaced with XML Factories
2013-02-27 16:40:48 -05:00
Will Daly
ce7256eda9
Removed unused SymbolicResponseXMLFactory
2013-02-27 16:40:05 -05:00
Arthur Barrett
8f89768d62
added annotationresponse grade test
2013-02-27 16:29:25 -05:00
Will Daly
c1324ec21d
Modified CodeResponse to use XML factory
2013-02-27 16:25:19 -05:00
Will Daly
6e4c418a11
Updated JavscriptResponse to use XML factory
2013-02-27 15:26:29 -05:00
Arthur Barrett
2f4d6f7bbf
fixed doc block for annotationinput
2013-02-27 15:25:04 -05:00
Will Daly
3f81fe010c
Implemented tests for ImageResponse
2013-02-27 15:05:21 -05:00
Arthur Barrett
1a0220c765
added a validation check on the input choice attribute
2013-02-27 15:04:30 -05:00
Arthur Barrett
44a68e6903
added partially correct icon from marco
2013-02-27 14:36:14 -05:00
Will Daly
53b3b79f96
Implemented tests of hints for <formularesponse>
2013-02-27 14:13:49 -05:00
Arthur Barrett
b84d0ba8ba
updated comments
2013-02-27 14:04:49 -05:00
Arthur Barrett
9f8e172be9
show the status mark next to the submitted tag instead of at the bottom of the problem.
2013-02-27 13:35:10 -05:00
Will Daly
9fe305e02b
Modified ChoiceGroup to display correct/incorrect indicators
...
(check or x) next to the option the user selected (check boxes or radio
buttons).
2013-02-27 13:05:29 -05:00
Arthur Barrett
25fb210338
move return link to problem header
2013-02-27 12:45:58 -05:00
Arthur Barrett
afa7fca15a
Merge branch 'master' into feature/abarrett/annotatable_xmodule
2013-02-27 11:58:38 -05:00
Arthur Barrett
e3f12607cd
add grading for annotationinput
2013-02-27 01:44:07 -05:00
Will Daly
9360c3fa9a
Added test for StringResponse hints
2013-02-26 16:55:18 -05:00
Will Daly
4ed229e8e8
Modified StringResponse test to use XML factory and
...
to check case-insensitivity.
2013-02-26 16:31:34 -05:00
Will Daly
1060ce495d
Modified OptionResponseTest to use XML factory
2013-02-26 16:14:59 -05:00
Will Daly
ee22a50d92
Moved problem initialization into ResponseTest base class.
2013-02-26 15:44:15 -05:00
Will Daly
a4dfc0f440
Added tests for TrueFalseResponse. Cleaned up tests by
...
creating common base class.
2013-02-26 15:35:55 -05:00
Will Daly
c225af4e4d
Modified ChoiceResponse to use XML generated by factory.
2013-02-26 14:33:46 -05:00
Will Daly
a7fcb7d6be
Added tests for <schematicresponse>
2013-02-26 13:38:58 -05:00
Will Daly
f2bb9a2dbc
Implemented unit tests for <customresponse>
2013-02-26 10:43:30 -05:00
John Hess
ac7fe0631a
fixed excess_draggable behavior so that true means it is actually excess
2013-02-25 19:20:37 -05:00
John Hess
fbce425152
drag and drop now correctly handles cases where no draggables should be dragged
2013-02-25 18:42:34 -05:00
Will Daly
8b5473b6f6
Wrote unit tests for NumericalResponse capa response type
2013-02-25 15:30:55 -05:00
jmclaus
cfc8a37aae
Fully functional Genex
2013-02-24 12:02:06 -05:00
Arthur Barrett
c3f55845c0
factoring out discussion logic (for now, anyway)
2013-02-22 18:22:32 -05:00
Arthur Barrett
66ddfa295d
more refactoring and work on annotationinput (should be working now).
2013-02-22 16:33:28 -05:00
Arthur Barrett
840f7839fa
added save and render functionality to annotationinput
2013-02-22 12:48:22 -05:00
Arthur Barrett
78bf8d5876
update annotationinput jsonv alue on tag selection or comment change
2013-02-22 00:42:12 -05:00
Arthur Barrett
3970ea33e1
return from capa problem
2013-02-21 22:54:50 -05:00
Arthur Barrett
0e2c46a718
Clicking "reply to annotation" scrolls to the problem (specified in xml by problem=index).
2013-02-21 17:01:43 -05:00
Arthur Barrett
a8178de497
Added styling to the annotationinput capa problem.
2013-02-21 13:52:22 -05:00
Arthur Barrett
cc7f791078
parse xml for annotationinput
2013-02-20 19:19:17 -05:00
Victor Shnayder
c1c050a6b6
WIP on an inputtype for heroesX annotation
...
- has a text area for saved but (currently) ungraded comments
- has a set of tags with weights
2013-02-19 17:35:40 -05:00
Alexander Kryklia
059b9f66e3
poll and conditional finished
2013-02-15 18:48:39 +02:00