Commit Graph

5 Commits

Author SHA1 Message Date
ichuang
7e3866866a typo in correctmap 2012-06-21 11:05:22 -04:00
ichuang
58c494c633 fix correctmap set_dict bug - make __getitem__ call self.cmap.__getitem__ 2012-06-21 11:05:22 -04:00
ichuang
2e97d8f675 bugfixes - correctmap should reinit self.cmap on init 2012-06-21 11:05:19 -04:00
ichuang
743e79453a 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-21 11:05:19 -04:00
ichuang
9891ef3f04 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-21 11:05:19 -04:00