SERG-Delft / andy

Andy assesses student's test code. It's used in CSE1110, TU Delft.
MIT License
78 stars 23 forks source link

It is not possible to have zero-weight meta tests unless other tests have weights greater than 1 #275

Open martinmladenov opened 1 month ago

martinmladenov commented 1 month ago

In cases where all meta tests have weights 0 or 1, the following exception is thrown: Precondition failed: Number of meta tests does not match.. This happens when the sum of weights is lower than the number of meta tests (including zero-weight ones). This precondition check is wrong and should be removed.