RagnarGrootKoerkamp / BAPCtools

Tools for developing ICPC-style programming contest problems.
GNU General Public License v3.0
49 stars 22 forks source link

only add validator to cache if validation was successful #394

Closed mzuenni closed 6 days ago

mzuenni commented 6 days ago

Yeno... if the validator failed the code returned False. However, if you use --no-validators it would not really fail and would be added to the cache. If you run the generator command again without --no-validators it would detect the cached entry and would skip validation. So we would keep invalid testcases even though --no-validators is no longer provided.

RagnarGrootKoerkamp commented 6 days ago

Right makes sense.