Victor Shnayder
c9cbc52ffa
Add rough overview docs
2012-06-13 10:18:53 -04:00
Victor Shnayder
a3561c96f7
added TODO comment
2012-06-13 10:18:53 -04:00
David Ormsbee
8feafeec12
Merge pull request #102 from MITx/mm-test-dependencies
...
Added django_nose and nosexcover to requirements.txt
2012-06-12 13:48:45 -07:00
Calen Pennington
967a6ee2e7
Merge pull request #94 from MITx/capa-cleanup
...
Capa cleanup
2012-06-12 12:26:49 -07:00
Prem Sichanugrist
8e98e59cfa
Cleanup show answer code
2012-06-12 14:10:00 -04:00
ichuang
35202817d5
problem.coffee : queue mathjax typesetting just once
2012-06-12 14:07:48 -04:00
ichuang
5031c838cc
typo in correctmap
2012-06-12 13:52:34 -04:00
ichuang
a0e628f761
private methods start with _ (in capa_problem)
2012-06-12 13:50:57 -04:00
ichuang
4366529a6d
capa_problem log.error + raise -> log.debug + # FIXME
2012-06-12 13:46:30 -04:00
ichuang
d68f0a3b32
util: tol.endswith
2012-06-12 13:43:14 -04:00
ichuang
2ffc8819e5
responsetypes - minor edits
2012-06-12 13:40:03 -04:00
ichuang
462823c317
fix correctmap set_dict bug - make __getitem__ call self.cmap.__getitem__
2012-06-12 13:36:33 -04:00
ichuang
0edab5eeef
revert logging instantiation to use 'mitx.' + __name__
2012-06-12 13:27:49 -04:00
Matthew Mongeau
ef1954aa52
Added django_nose and nosexcover to requirements.txt
2012-06-12 11:44:54 -04:00
ichuang
9ae00c6732
removed unused answer_map parameter from capa_problem.lcp.preprocess_problem
2012-06-11 22:28:09 -04:00
ichuang
9fce2faf7c
Merge pull request #100 from MITx/ps-fix-histogram
...
Fix histogram and sequence navigation bug
looks good, works in my tests. thanks.
2012-06-11 14:53:08 -07:00
Prem Sichanugrist
b4ed14f4f7
Handle the case where histogram score can be null
...
This will leave out the student that never attempt the question and
fixes the error with histogram rendering.
2012-06-11 16:07:09 -04:00
Prem Sichanugrist
eb70ef4c07
Directly call toggleArrow in sequence render
...
There might be a chance that an error got thrown after 'contentChanged'
event was fired and stop the `toggleArrow()` method to be called. This
will make sure that the navigation will still be working even some
element in the content is failed.
2012-06-11 16:03:22 -04:00
David Ormsbee
3bfe81126b
Merge pull request #98 from MITx/mm-fix-paths
...
PROJECT_ROOT is needed for coffeescript paths
2012-06-11 10:59:37 -07:00
Matthew Mongeau
d0819071c7
PROJECT_ROOT is needed for coffeescript paths
2012-06-11 13:57:37 -04:00
Calen Pennington
77c637ce4b
Merge pull request #93 from MITx/create-dev-env
...
Create dev env
2012-06-11 07:32:04 -07:00
ichuang
628ca00252
fix dogfood -> use CorrectMap
2012-06-10 22:56:16 -04:00
ichuang
17ca0e793c
remove loncapa import in formularesponse_with_hint test (jenkins
...
import path not consistent with dev machines?)
2012-06-10 22:39:16 -04:00
ichuang
6f14acee9e
add MITX_FEATURES['DISPLAY_HISTOGRAMS_TO_STAFF'] flag to settings
2012-06-10 22:34:30 -04:00
ichuang
6bcb40b52f
capa_problem and responsetypes pep8 and pyflakes
2012-06-10 22:27:40 -04:00
ichuang
6d444de05b
fix capa_problems pep8
2012-06-10 22:20:56 -04:00
ichuang
4f6d9143c0
added stringresponse_with_hint test
2012-06-10 22:06:13 -04:00
ichuang
855112f8e7
added StringResponse (with hints)
...
for hints, still to be done: numericalhint, optionhint
no default hint processing done yet (ie hintmode = on_request)
2012-06-10 21:59:29 -04:00
ichuang
b48b33e65e
add FormulaResponseWithHintTest test
2012-06-10 21:27:11 -04:00
ichuang
a7d0f8322d
SymbolicResponseTest works if snuggletex war running ; back to skipping it for now
2012-06-10 21:11:43 -04:00
ichuang
fdc4a14cf0
fix i4xs in tests.py; move symbolicresponse.xml test back to where it should be
2012-06-10 21:11:04 -04:00
ichuang
f4a3c54481
fix xmodule/capa tests to use new CorrectMap
2012-06-10 21:05:21 -04:00
ichuang
2af525f19c
fixes to schematicresponse to work with new CorrectMap
2012-06-10 20:52:10 -04:00
ichuang
989a74ba3f
django pipeline working now (with new pip -e git+git...)
2012-06-10 20:05:33 -04:00
ichuang
58e359e7ec
problem.coffee change: show answer -> also show solution_* & do mathjax typeset
2012-06-10 20:04:30 -04:00
ichuang
5eda2f3a63
bugfixes - correctmap should reinit self.cmap on init
2012-06-10 18:41:54 -04:00
ichuang
5ac13e03aa
fourth pass in capa cleanup:
...
- Added hints + hintmethod
- hintgroup compatible with loncapa spec
- also does hintfn for custom hints (can do answer history)
- GenericResponse -> LoncapaResponse
- moved response type tags into responsetype classes
- capa_problem should use __future__ division
- hints stored in CorrectMap, copied to 'feedback' in SimpleInput for display
2012-06-10 17:17:57 -04:00
ichuang
c724affe31
third pass in capa cleanup: correct_map -> CorrectMap
...
- added correctmap.py with CorrectMap class
- messages subsumed into CorrectMap
- response get_score called with old CorrectMap so hints based on history are possible
2012-06-09 23:29:08 -04:00
ichuang
7b3c79698f
second pass in capa cleanup:
...
- each response can now render its own xhtml
- cleaned up LoncapaProblem.extract_html
2012-06-09 21:29:11 -04:00
ichuang
7b3ad55307
responsetypes - fix comment
2012-06-09 18:36:27 -04:00
ichuang
46b45969d0
first pass in capa cleanup:
...
- responsetype used to be instantiated multiple times(!) in capa_problem
now it is instantiated once, and stored in self.responders
- responsetypes.GenericResponse restructured; each superclass
show now provide setup_response (and not __init__), and may
provide get_max_score(); general __init__ provided to
clean up superclasses.
2012-06-09 18:36:27 -04:00
ichuang
ae44d86e27
add msg to textinput_dynamath
2012-06-09 18:36:27 -04:00
ichuang
2fdf948547
Merge pull request #91 from MITx/ps-dynamath
...
Refactor and test Dynamath Code (tested, works; one more changeset coming, to add msg back into textinput_dynamath)
2012-06-09 15:33:46 -07:00
John Jarvis
b46b7daf0f
added a posix compliant check to make sure you are using bash to run the script, added option to use --system-site-packages for virtualenv, updated the ending instructions on how to start the server
2012-06-08 14:59:21 -04:00
John Jarvis
eb4272e386
converted tabs to spaces, updated LESS cmdline override
2012-06-08 11:50:57 -04:00
John Jarvis
a8940fc71e
adding less option to skip the intro screen for ruby install
2012-06-08 11:30:13 -04:00
Prem Sichanugrist
ac4f09ac4e
Replace dynamite code with tested version
2012-06-08 11:16:03 -04:00
Prem Sichanugrist
c340ffe0a3
Fix code formatting
2012-06-08 10:40:25 -04:00
Calen Pennington
d690aebc78
Set up a pylintrc file
2012-06-08 09:08:18 -04:00
ichuang
37ae7afbd3
Merge pull request #92 from MITx/dogfood-xmodule
...
fix dogfood wrt lms / xmodule reorg; fix textinput_dynamath call
2012-06-07 19:13:57 -07:00