Commit Graph

5 Commits

Author SHA1 Message Date
ichuang
5031c838cc typo in correctmap 2012-06-12 13:52:34 -04:00
ichuang
462823c317 fix correctmap set_dict bug - make __getitem__ call self.cmap.__getitem__ 2012-06-12 13:36:33 -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