mitodl / mitx-grading-library

The MITx Grading Library, a python grading library for edX
https://edge.edx.org/courses/course-v1:MITx+grading-library+examples/
BSD 3-Clause "New" or "Revised" License
14 stars 9 forks source link

Implementing tuple options for expect values #322

Closed jolyonb closed 1 year ago

jolyonb commented 1 year ago

Addresses #282 by allowing expect values to consist of a tuple of options.

The modifications to ItemGrader were pretty straightforward; propagating these changes to post_schema_ans_val was a little messy.

This is a work in progress: this needs extensive tests and documentation.

codecov-commenter commented 1 year ago

Codecov Report

Merging #322 (d6aaaeb) into master (1bcdd51) will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master      #322   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           32        32           
  Lines         2911      2928   +17     
=========================================
+ Hits          2911      2928   +17