Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
when all gaps have 0 marks, each gap adds 1/len(gaps) credit
see #755 I had a gapfill with two gaps, each with 0 marks available. The following should be true: * answering both gaps incorrectly gets 0 credit * answering both gaps correctly gets 1 credit * answering one gap correctly and one incorrectly gets partial credit Previously, the built-in gapfill marking algorithm was awarding 1 credit for each gap if the total available is 0. This commit changes it to 1/len(gaps), satisfying the conditions above.
- Loading branch information