Victor Shnayder
c420c67b82
Actually implement exact vs factors-don't-matter comparisons in chemcalc
2012-10-11 17:40:26 -04:00
Lyla Fischer
0cdbd170c2
fixed documentation
2012-10-11 12:23:06 -04:00
Lyla Fischer
1bd2cb4f85
quick bug fix
2012-10-11 12:12:34 -04:00
Lyla Fischer
331f35145f
fixed default tolerance on numericalresponse
2012-10-11 11:59:27 -04:00
Александр
64565692ab
removed obsolete crystalresponse
2012-10-11 18:41:25 +03:00
Александр
2b200b6e20
changed cryst inputtype to be similar to textline
2012-10-11 18:40:05 +03:00
Александр
dfb9b49c4d
added new inputtypes to list, due to that check button appears
2012-10-11 18:37:10 +03:00
Александр
c7654b4d1e
cryst inputtypes template - same as textline + js files
2012-10-11 18:33:49 +03:00
Victor Shnayder
2b6e935985
Initial refactor of inputtypes into classes.
...
- for now, wraps existing render functions as separate classes
- a bit of cleanup in how it's called from capa_problem
- initial tests to make sure things are testable.
2012-10-11 11:26:49 -04:00
Victor Shnayder
cb291871b1
Better error checking when content authors mess up answers to numerical response problems.
...
- give different errors when student or author stuff is messed up (I was seeing "No way to interpret '3' as a number" :P)
- preserve traceback in exception
2012-10-11 11:25:40 -04:00
Victor Shnayder
db17580710
Chemcalc refactor, improvement
...
* Move tests into a separate file
* add a chemical_equations_equal function to compare equations, not expressions
* rename some internal functions with a leading _
2012-10-10 15:49:09 -04:00
Victor Shnayder
d10b568c13
Add chemcalc to capa package, to context for customresponse
2012-10-10 15:49:09 -04:00
Victor Shnayder
c30f57022b
Move more tests around, start prep for inputtype refactor
2012-10-10 15:48:33 -04:00
Александр
f374a33606
added not hidden field
2012-10-10 20:54:17 +03:00
Александр
42bd9e8b9e
added test information
2012-10-10 19:36:03 +03:00
Александр
c4359b6f24
added crystresponse
2012-10-10 19:35:09 +03:00
Александр
708c11a1ea
added input type
2012-10-09 19:13:54 +03:00
Александр
758e76dc14
added js to input for cr
2012-10-09 15:08:43 +03:00
Victor Shnayder
9e02b3ce34
Move tests around:
...
- move progress tests into test_progress.py
- move grader tests into test_graders.py
- move the capa tests into capa/tests/
2012-10-08 15:52:18 -04:00
Victor Shnayder
61e574ee22
Revert "Make script type checking more strict"
...
Don't want to break existing problems.
This reverts commit 811422a18d .
2012-10-08 13:05:30 -04:00
Victor Shnayder
811422a18d
Make script type checking more strict
...
- check for known script type instead of ignoring js and perl
2012-10-08 10:59:39 -04:00
Victor Shnayder
3765226b85
shorter impl of is_file
2012-10-08 10:58:59 -04:00
Victor Shnayder
ef1dda67b3
formatting in xqueue_interface.py
2012-10-08 10:58:38 -04:00
Victor Shnayder
93cc9a8e5b
formatting cleanup in responsetypes and inputtypes
2012-10-08 10:58:04 -04:00
Victor Shnayder
405012587d
formatting
2012-10-08 10:55:45 -04:00
Victor Shnayder
bd7c00ea22
formatting cleanup in correctmap.py
2012-10-08 10:55:30 -04:00
Victor Shnayder
775456b987
formatting cleanups in capa_problem.py
2012-10-08 10:54:59 -04:00
Victor Shnayder
c3e07660df
formatting cleanup in calc.py
2012-10-08 10:51:37 -04:00
Ned Batchelder
52ccfab122
Now when you hit the TAB key in codemirror, it will insert 4 spaces.
2012-10-03 16:19:04 -04:00
Arjun Singh
81bd0baf08
Fix multiple choice style and multiple choice show answer style
2012-09-27 02:24:01 -07:00
kimth
d401a32709
Don't break on empty answer string
2012-09-18 16:39:58 -04:00
Tom Giannattasio
97cff9c06f
Merge pull request #690 from MITx/feature/kfiedler/multiple-choice
...
styles for a slightly better multiple choice and solution span
2012-09-17 10:23:24 -07:00
kimth
1dfd222b98
Escape quotations, lt/gt, ampersand
2012-09-16 14:50:40 -04:00
David Ormsbee
f1349eea33
Merge pull request #656 from MITx/kimth/fix-dynamath-6002x
...
Kimth/fix dynamath 6002x
2012-09-15 11:28:16 -07:00
Kyle Fiedler
0170fcc01c
styles for a slightly better multiple choice and solution span
2012-09-14 13:25:55 -04:00
David Ormsbee
31cb793037
Merge pull request #680 from MITx/kimth/fix-detailed-solution
...
Do variable substitution for detailed solutions
2012-09-14 07:22:19 -07:00
Arjun Singh
a46b8e5f01
fix old-style customresponses
2012-09-13 23:16:47 -07:00
kimth
b43da7463a
Do variable substitution for detailed solutions
2012-09-13 15:12:18 -04:00
kimth
e3c6477826
Merge branch 'master' into kimth/fix-dynamath-6002x
2012-09-12 13:34:01 -04:00
Arjun Singh
bd5fc64462
make seeds consistent with other responsetypes
2012-09-11 18:08:27 -07:00
kimth
474b5377b9
Consolidate class names
2012-09-11 18:25:08 -04:00
Arjun Singh
5e4a498cfe
Provide a reasonable seeding mechanism for jsresponses
2012-09-11 15:09:49 -07:00
kimth
bd72fbdfd8
Allow textinputdynamath to specify its Mathjax preprocessor per-problem
2012-09-10 19:42:40 -04:00
kimth
971fe53dec
Another step towards Javascriptinput-style script loading
2012-09-10 17:42:15 -04:00
kimth
e6397665ab
MathJax preprocessor comes from external plugin
2012-09-10 14:12:01 -04:00
Kyle Fiedler
f785f6f8a1
Added some nicer styles for dynamic math
2012-09-05 14:24:12 -04:00
Kyle Fiedler
8a5e872c8f
Removed a bunch of font tags
2012-09-05 14:24:12 -04:00
Calen Pennington
8c301e04ae
Merge pull request #614 from MITx/feature/arjun/fix_customresponse_msg
...
Clean up customresponse messages + points
2012-09-05 08:20:54 -07:00
Arjun Singh
93ed042786
Make show answer work for choicegroups + javascriptinputs
2012-09-03 19:37:48 -07:00
Arjun Singh
08693a1b41
Make customresponse respect point values on input fields
2012-09-02 02:52:59 -07:00