Commit Graph

51 Commits

Author SHA1 Message Date
ichuang
164e17a8d7 symbolicresponse test cases; tests pass. improved some error handling,
cleaned up some cruft prints -> logging
2012-06-02 18:58:58 -04:00
ichuang
2f33bce7ad symbolic math: add <symbolicresponse> type; improve error handling in
symmath library; add options for matrices, qubit to symmath_check
2012-06-02 17:17:48 -04:00
ichuang
e17668540f dynamic math - changes to javascript, responsetypes, and inputtypes
main.html now includes mathjax_include for all mathjax stuff
problem.js refreshes mathjax formulas on change
all previous *_fromjs renamed to *_dynamath, eg textline_dynamath
2012-06-01 22:39:50 -04:00
ichuang
bb37f2019b capa_problem: convert print of errors into log.* 2012-05-29 23:21:22 -04:00
ichuang
87cda4c282 make imageinput work with dogfood, fix typo in responsetypes.imageresponse 2012-05-29 17:06:15 -04:00
ichuang
e5a7d811d7 multiplechoice inputs: allow <choice ...>item text</choice> format 2012-05-28 14:08:26 -04:00
ichuang
074fde6762 add mode and linenumbers options to textbox inputtype 2012-05-28 13:34:30 -04:00
ichuang
436a39edec fix inconsistent indentation in inputtypes 2012-05-28 12:55:57 -04:00
ichuang
c70b80753a pass instance of LoncapaProblem in response checker context 2012-05-28 10:05:14 -04:00
ichuang
5251bb2a6a improve error handling in customresponse check function call 2012-05-27 21:27:10 -04:00
ichuang
7a27a97899 add "msg" output to textline 2012-05-27 21:12:54 -04:00
ichuang
30ee4d19ed fixed customresponse: when using cfn with multiple inputs fill in all
values of correct_map
2012-05-27 21:11:12 -04:00
ichuang
6ad4a4f740 add textbox input type to customresponse 2012-05-27 20:05:19 -04:00
ichuang
213b53fcc2 fixed script evaluation in capa_problem: don't parse javascript or
perl, and use "context" for both global and local frames
2012-05-27 20:04:20 -04:00
ichuang
2dd8bd48f7 fix textbox inputtypes to show default from problem if no student input available yet. 2012-05-26 23:04:06 -04:00
David Ormsbee
4fe22be501 Merge pull request #59 from MITx/pmitros/modular-refactor
First part of courseware refactor
2012-05-21 06:21:43 -07:00
Piotr Mitros
bb66cad68b Code review -- comments and better exceptions 2012-05-21 09:18:40 -04:00
Piotr Mitros
abdd696f7e Modular refactor: Fixed bugs. Tests work. 2012-05-20 16:08:10 -04:00
Piotr Mitros
e9468a0e5e Modular refactor: Very minor changes (comments, etc.) 2012-05-20 15:22:39 -04:00
Piotr Mitros
d95a5e462d Modular refactor: Better names (grade to get_score, etc. 2012-05-20 14:52:48 -04:00
Piotr Mitros
29f565dd6e Modular refactor: Input types register in SimpleInput with decorator 2012-05-20 13:38:02 -04:00
Piotr Mitros
cd67ec8fc1 Modular refactor: Input types look more like x_module 2012-05-20 13:31:37 -04:00
ichuang
22c75cf748 make courseware/capa/util.py contextualize_text return gracefully if text = None 2012-05-17 22:39:20 -04:00
Piotr Mitros
0e3349706a Fix minor bugs, commenting out future code 2012-05-17 15:48:47 -04:00
Piotr Mitros
cad13b30a1 Passing i4x system deeper into capa_problem 2012-05-17 15:37:08 -04:00
Isaac Chuang
ad44882835 Ike's changes to enable multicourse, new response types, etc. 2012-05-16 21:18:47 -04:00
Calen Pennington
08620eaf34 Fixing tests and removing unused/broken code 2012-05-15 14:02:33 -04:00
Prem Sichanugrist
28d12628f7 Fix missing global_context problem
This problem was introduced in 232e758c7a
and caused the check answer button to not functioning.
2012-05-14 15:43:50 -04:00
Isaac Chuang
8989605cba Moving in Ike's new files, touches of multicourse 2012-05-13 20:33:29 -04:00
Isaac Chuang
15cae333d4 Ike's new input types 2012-05-13 19:58:39 -04:00
Isaac Chuang
232e758c7a Integrating some of Ike's courseware changes 2012-05-13 19:36:01 -04:00
Piotr Mitros
095043ca8b Custom response gives poor errors when there is no checker code 2012-05-12 15:16:29 -04:00
Isaac Chuang
747105e328 More minor cleanups 2012-05-11 17:05:14 -04:00
Lyla Fischer
a0201f37a0 names not required 2012-05-11 12:31:59 -04:00
Lyla Fischer
a4dae57751 merge with master 2012-05-10 12:25:33 -04:00
Lyla Fischer
7f92606ec9 responses to code review 2012-05-10 10:38:06 -04:00
Lyla Fischer
ca89ce73ab fixed mysterious problem rendering issue 2012-05-07 22:19:03 -04:00
Lyla Fischer
13a095fc1e checkboxes 2012-05-07 21:04:10 -04:00
Lyla Fischer
1f7a3f83b9 fixed naming convention on response types 2012-05-01 04:15:55 -04:00
Lyla Fischer
59493ed090 multiple choice 2012-04-28 06:51:14 -04:00
Piotr Mitros
fd3e571478 Took out print 2012-04-24 18:42:13 -04:00
Piotr Mitros
58a0a7d0d6 Case sensitivity bug fix 2012-04-24 18:27:54 -04:00
Piotr Mitros
cd1226814a Typo 2012-03-29 15:01:45 -04:00
Piotr Mitros
1ddf41ab1c Missed one conversion to complex 2012-03-29 15:00:39 -04:00
Piotr Mitros
1c5945db9c Fixed bug with showing answers related to complex numbers 2012-03-29 14:46:53 -04:00
Piotr Mitros
37452f3a58 Moved from type to isinstance
* Parallel and exponentials in calc were broken because of this. Confirmed working
* Added test cases for the above
* Fixed a broken test case
2012-03-29 09:43:45 -04:00
Piotr Mitros
adf483a96b type converted to isinstance 2012-03-28 17:11:14 -04:00
Piotr Mitros
59dfb2cfd4 Complex numbers now work in problems 2012-03-28 14:42:02 -04:00
Lyla Fischer
64e187fdd4 fixed default handling 2012-03-27 09:44:27 -04:00
Lyla Fischer
ce5540b234 textine size addition 2012-03-27 09:35:22 -04:00