Commit Graph

90 Commits

Author SHA1 Message Date
Gregor Kleen
5035dff902 fix(submissions): fix distribution without consideration for deficit
Fixes #713
2021-06-07 14:48:27 +02:00
Gregor Kleen
c6a6ec721c feat(submissions): optionally disable consideration for deficit 2021-05-11 14:17:12 +02:00
Wolfgang Witt
b2d6eada17 refactor: calculate mimizeRooms before examAutoOccurrence 2021-03-29 16:03:36 +02:00
Wolfgang Witt
30fb1462ab chore: make tests compile again 2021-03-29 16:03:36 +02:00
Wolfgang Witt
3a92fd7ed0 chore(test): inform test about changed types 2021-03-29 16:03:32 +02:00
Gregor Kleen
badadff1e9 test: scale down examAutoOccurrence tests for performance 2021-03-16 17:22:53 +01:00
Wolfgang Witt
b36a15c0b2 chore(test): type of examOccurrenceCapacity changed 2021-03-15 10:45:37 +00:00
Wolfgang Witt
292f5cf91b fix(test): isNullResultJustified reported false positives
matriculation numbers are limited to suffixes of equal length
now the relevant test respects this (may result in bigger buckets)
2021-03-15 10:45:37 +00:00
Wolfgang Witt
e14c4091e6 chore(test): adjust function name to semantics 2021-03-15 10:45:37 +00:00
Wolfgang Witt
e13049d958 chore(test): inform test about changed type signature 2021-03-15 10:45:37 +00:00
Wolfgang Witt
2ee7f41d05 chore(test): fix type errors + add more surnames 2021-03-15 10:45:37 +00:00
Wolfgang Witt
d5b1203d53 chore(test): also test for equal length of matriculation description 2021-03-15 10:45:37 +00:00
Wolfgang Witt
7f1df44fc3 chore(test): hlint told me to use maybe here 2021-03-15 10:45:37 +00:00
Wolfgang Witt
bc42f3072f fix(test): fixed compiler errors (oops) 2021-03-15 10:45:37 +00:00
Wolfgang Witt
daceac95fc chore(test): relax requirements for justified nullResult
Instances with bigger user buckets than the smallest room might correctly fail
Thus, don't report an error for them.
2021-03-15 10:45:37 +00:00
Wolfgang Witt
7e1b75c2e1 fix: shown ranges "include" special mappings
previously, they stopped just before leading to clashes with the next range
e.g. Äm would cause Am as mapping end with the next starting at An
Now, the mapping end is AZ with the next starting at BA
2021-03-15 10:45:37 +00:00
Wolfgang Witt
4e76fe7e50 fix: increase size of test instances again (oops) 2021-03-15 10:45:37 +00:00
Wolfgang Witt
525e24b56d chore(test): check for non-overlapping rangeDescription 2021-03-15 10:45:37 +00:00
Wolfgang Witt
6ccc192426 chore: remove -Wwarn 2021-03-15 10:45:37 +00:00
Wolfgang Witt
795598ea06 chore(test): re-enable justifiedNullResult-test 2021-03-15 10:45:37 +00:00
Wolfgang Witt
5480e2d7b7 chore: names with non-ascii prefix get a ExamOccurrenceMappingSpecial 2021-03-15 10:45:37 +00:00
Wolfgang Witt
d60f93561f fix: make sure it compiles again + add 2-letter name 2021-03-15 10:45:37 +00:00
Wolfgang Witt
a66c61cecc chore(test): add surnames with unicode characters 2021-03-15 10:45:37 +00:00
Wolfgang Witt
dbd7726bbb chore(test): add test for ExamRoomRandom 2021-03-15 10:45:37 +00:00
Wolfgang Witt
b6df520fab chore(test): disable justifiedNullResult-tests 2021-03-15 10:45:37 +00:00
Wolfgang Witt
a692899ae6 chore(test): make UserProperties a newtype 2021-03-15 10:45:37 +00:00
Wolfgang Witt
385af53372 chore(test): use annotate to easier see which test failed 2021-03-15 10:45:37 +00:00
Wolfgang Witt
48ee67f6d6 chore(test): allow valid nullResults
ExamRoomMatriculation sometimes shows incorrect ranges
2021-03-15 10:45:37 +00:00
Wolfgang Witt
9d8a94717a chore(test): respect users without matriculation number 2021-03-15 10:45:37 +00:00
Wolfgang Witt
4dccd2830b chore(test): prepare for ExamRoomMatriculation-Tests 2021-03-15 10:45:37 +00:00
Wolfgang Witt
eadbbce661 chore(test): increase test size + prepare for matriculation tests 2021-03-15 10:45:37 +00:00
Wolfgang Witt
abb2342ab5 chore(test): abuse Show+Enum+Bounded for more concise test specification 2021-03-15 10:45:37 +00:00
Wolfgang Witt
46e6ca9217 chore(test): add tests with nudges 2021-03-15 10:45:37 +00:00
Wolfgang Witt
27f30dcd17 chore(test): rearrange to allow easier parameter adjustments 2021-03-15 10:45:37 +00:00
Wolfgang Witt
4d9ef2a64d chore(test): property test with preselected users 2021-03-15 10:45:37 +00:00
Wolfgang Witt
5de8f0ae23 chore(test): move generators to their own functions 2021-03-15 10:45:37 +00:00
Wolfgang Witt
c0fd3bc1e4 chore(test): finalize property description 2021-03-15 10:45:37 +00:00
Wolfgang Witt
aba5c53a0b chore(test): refine ExamOccurence-creation 2021-03-15 10:45:37 +00:00
Wolfgang Witt
52678cddf4 chore(test): provide very "arbitrary" instance for ExamOccurrence 2021-03-15 10:45:37 +00:00
Wolfgang Witt
a9f432d6b0 chore(test): finally manged to create a users map 2021-03-15 10:45:37 +00:00
Wolfgang Witt
f68ae3b356 chore(test): first try at property test (incomplete) 2021-03-15 10:45:37 +00:00
Wolfgang Witt
9f83cc2e5b chore(test): create file ExamSpec.hs with basic information for the error case 2021-03-15 10:45:37 +00:00
Gregor Kleen
c76794f7c8 chore: fix tests 2021-02-15 15:31:23 +01:00
Gregor Kleen
ef7a743c60 test: enusre arc roundtrips 2021-02-11 08:53:09 +01:00
Gregor Kleen
82b3a6364c feat(workflows): wire up ws-school 2020-11-24 22:35:59 +01:00
Gregor Kleen
319c75a85a feat(rooms): different room types & hidden rooms 2020-11-19 14:25:38 +01:00
Gregor Kleen
6d475497c0 fix(exam-form): sort occurrences and parts 2020-09-18 15:16:55 +02:00
Gregor Kleen
28e93c8fec chore(files): test roundtripping through minio & db 2020-09-11 18:43:00 +02:00
Gregor Kleen
d2e8ac3a2a chore: bump zip-stream 2020-09-10 15:09:26 +02:00
Gregor Kleen
350ee79af3 fix: zip handling & tests 2020-09-09 13:44:01 +02:00