RagnarGrootKoerkamp / BAPCtools

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

Feat/aggresive #363

Closed mzuenni closed 3 months ago

mzuenni commented 3 months ago

This changes the following things:

  1. python3 is the default. Python2 is deprecated anyway and even problemtools changed their default
  2. we no longer warn for missing UUID, we just add them (this even works without ruayaml)
  3. Made the hash more random in case the new count keyword is used. (Nothing changed for rules without count)
  4. the solution in generator.yaml is now mandatory. If it is missing we pick a solution and add the missing entry (again without ruayaml).

Please note that the previous behavior for 4 was buggy. We picked a random submission but overwrote the hashing therefore the .ans file weren't necessarily created by the solution we displayed but by some other solution on a previous run...