$# Display a table showing the result of the corrector assignment for possibly several sheets $# Expected variables" $# sids :: list of SheetId $# openSubs :: Map from SheetId to SubAssignInfo, a datatype collecting info about open submissions $# status :: Map from SheetId to (Set SubmissionId, Set SubmisionId), i.e. assigned submissions and unassigned submissions for that sheet
| _{MsgSheet} | _{MsgNrSubmissionsTotal} | _{MsgNrSubmissionsUnassigned} | _{MsgNrCorrectors} | _{MsgNrSubmissionsNewlyAssigned} | _{MsgNrSubmissionsNotAssigned} $forall sid <- sids $case Map.lookup sid openSubs $of Nothing $of Just SubAssignInfo{saiName, saiSubmissionNr, saiUnassignedNr, saiCorrectorNr} | ||
|---|---|---|---|---|---|---|---|
| #{saiName} | #{show saiSubmissionNr} | #{show saiUnassignedNr} | #{show saiCorrectorNr} $case Map.lookup sid status $of Nothing | $of Just (assigned,unassigned) | #{show (Set.size assigned)} | #{show (Set.size unassigned)} |