mysociety / ceuk-marking

Other
0 stars 0 forks source link

Handle negative questions for section totals #117

Closed struan closed 1 year ago

struan commented 1 year ago

Add a negative marking question type and ignore this when calculating section totals

Part of #116

codecov-commenter commented 1 year ago

Codecov Report

Merging #117 (907e961) into main (a7ff8b9) will increase coverage by 0.26%. The diff coverage is 94.87%.

@@            Coverage Diff             @@
##             main     #117      +/-   ##
==========================================
+ Coverage   75.72%   75.99%   +0.26%     
==========================================
  Files          61       62       +1     
  Lines        2867     2903      +36     
  Branches      287      289       +2     
==========================================
+ Hits         2171     2206      +35     
- Misses        630      631       +1     
  Partials       66       66              
Files Changed Coverage Δ
crowdsourcer/models.py 90.97% <ø> (ø)
crowdsourcer/scoring.py 87.06% <85.71%> (+0.22%) :arrow_up:
...er/migrations/0033_alter_question_question_type.py 100.00% <100.00%> (ø)
crowdsourcer/tests/test_export.py 100.00% <100.00%> (ø)