David Ormsbee
aceb666076
Merge pull request #1642 from MITx/fix/rocha/numericresponse-exponential
...
Make numeric response handle plus sign exponential correctly
2013-03-11 10:03:44 -07:00
Carlos Andrés Rocha
5f95c6848c
Make numeric response handle plus sign exponential correctly
...
NumericResponse was failing to accept as correct an answer with a plus
sign in the exponential. For example: 5.0e+1 was marked as incorrect
if the answer was 50. However, 5.0e1 was marked as correct. This
caused confusion, since the answer shown to students included the plus
sign.
LMS Lighthouse [#242 ]
2013-03-11 12:53:01 -04:00
Diana Huang
421e169e1e
Update tests with new attributes.
2013-03-11 10:29:18 -04:00
Diana Huang
0c949d20c9
Add the ability to hide correctness markers
...
with a custom message for when they submit something.
2013-03-11 10:12:33 -04:00
Will Daly
607f27e715
Fixed undefined variable error in choicegroup.html
2013-03-08 14:06:45 -05:00
Will Daly
352126b417
Updated tests for correct_map to match changes made to get_npoints
2013-03-08 10:08:20 -05:00
David Ormsbee
5f44b2de04
minor comment on partial credit
2013-03-07 23:52:01 -05:00
David Ormsbee
30f3923c15
Quick patch to regression causing partial credit to break on 6.00x
2013-03-07 23:50:09 -05:00
Diana Huang
2c6ee50ac3
Fix issue where javascript was disappearing from problem html
2013-03-07 19:39:43 -05:00
Will Daly
e86ed0db91
Merge branch 'master' into fix/will/mc_checkbox_bug
2013-03-07 12:07:34 -05:00
Will Daly
8d83d2fb4e
Added handling of condition when no multiple choice item selected,
...
but the answer is incorrect.
2013-03-07 10:52:19 -05:00
Will Daly
e841f29352
Updated CSS and template for choicegroup response
...
so that: a) checks/x marks appear after each option
for radio buttons, b) checks/x marks appear for the
entire problem (not individual options) for checkbox
buttons.
Also fixed issue with checks appearing on the next line
by changing <text> to display:inline instead of display:block
2013-03-07 10:17:03 -05:00
Victor Shnayder
b6a6e10bb5
Fix max_attempts=''
...
That's what studio defaults to, and recent changes made it break.
Added a few tests to make sure it doesn't happen again.
2013-03-06 20:16:24 -05:00
jkarni
3bb108b12e
Merge pull request #1608 from MITx/feature/jkarni/genex
...
Feature/jkarni/genex
2013-03-06 14:35:01 -08:00
Diana Huang
5c3dfd9280
Update correctmap to handle partially correct answers, and
...
fix annotation tests so that they use the new test_system functionality
2013-03-06 16:43:12 -05:00
Victor Shnayder
12b6b7d403
Merge pull request #1609 from MITx/diana/refactor-chemical-equation
...
Refactor Chemical Equation Preview
2013-03-06 12:09:03 -08:00
Victor Shnayder
fb350ed1e3
Merge pull request #1569 from MITx/feature/abarrett/annotatable_xmodule
...
Feature/abarrett/annotatable xmodule DO NOT MERGE
2013-03-06 12:05:27 -08:00
Diana Huang
42e711e7d2
Update tests and documentation.
2013-03-06 14:53:13 -05:00
Diana Huang
1aa3580dcb
Switch over to using the inputtype ajax handler for chemical input.
2013-03-06 14:41:48 -05:00
Arthur Barrett
5029d3a3dd
Merge branch 'feature/vik/advanced-studio' into feature/abarrett/annotatable_xmodule
2013-03-06 13:51:18 -05:00
Julian Arni
d05e82e35c
Merge branch 'master' into feature/jkarni/genex
2013-03-06 13:25:30 -05:00
Diana Huang
4b7d1deb25
Fix a bug in extracting HTML
...
Update tests to reflect new behavior.
2013-03-06 10:34:57 -05:00
Diana Huang
17680a332a
More comments.
2013-03-06 09:06:43 -05:00
Diana Huang
9b640aa06b
Add more documentation and fix naming.
2013-03-06 09:06:43 -05:00
Diana Huang
385a62d7d1
Handle multiple inputs properly for ajax handling.
2013-03-06 09:06:43 -05:00
Diana Huang
9545a82ab9
Add the ability to make ajax calls on the input type of capa problems.
2013-03-06 09:04:54 -05:00
Victor Shnayder
df5ad6ba42
Merge pull request #1574 from MITx/fix/will/cs191_matrix_style_bug
...
Fix/will/cs191 matrix style bug
2013-03-04 12:28:12 -08:00
jmclaus
72b7193c03
Genex is gradable
2013-03-03 10:43:16 +01:00
Will Daly
548f9b85a8
Changed response_msg argument default to ''
2013-03-01 17:07:23 -05:00
Will Daly
28a502ea97
Fixed a bug in CorrectMaps.get_npoints(), which would return 1
...
when npoints=0.
2013-03-01 16:40:54 -05:00
Victor Shnayder
88bfdd01ce
Merge pull request #1561 from MITx/feature/will/move_correct_mark_for_multiple_choice
...
Feature/will/move correct mark for multiple choice
2013-03-01 12:52:26 -08:00
Will Daly
d6df7e2d96
Added comments to clean_message_html
2013-03-01 15:04:01 -05:00
Will Daly
8265181477
If there are multiple inputs, but only one message specified,
...
the message is now applied to the entire response.
2013-03-01 11:17:31 -05:00
e0d
4e10eb10e3
locking deps versions based on pip freeze in production.
2013-03-01 10:15:07 -05:00
Will Daly
9ac8ef542f
Overall message HTMl now correctly renders when multiple HTML tags are
...
passed as the message (even when there's no root tag)
2013-03-01 09:40:38 -05:00
Will Daly
952716af13
Added clean-up code for message HTML.
...
If overall message is a parseable XHTML tree,
it is inserted as a tree rather than text.
2013-03-01 09:40:38 -05:00
Will Daly
68cf4c4535
Added tests for HTMl rendering of problems
...
Added support for rendering response messages
2013-03-01 09:40:38 -05:00
Will Daly
9f6119a19a
* Fixed a bug in CorrectMap in which overall_message was not copied
...
in the update() method
* Implemented CustomResponse behavior for returning overall_message,
with unit tests
* Added additional CustomResponse unit tests for exception handling
2013-03-01 09:40:38 -05:00
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