ASPP / pelita

Actor-based Toolkit for Interactive Language Education in Python
https://github.com/ASPP/pelita_template
Other
63 stars 68 forks source link

Tournament sometimes forgets a team #785

Open Debilski opened 8 months ago

Debilski commented 8 months ago

The error handling in the tournament’s set_name function, which is called upon team initialisation, is suboptimal. It simply returns a string "%error%" when it cannot load a team. This is evident when upon running the tournament a line like

ᗧ  team 'mybot/my_code.py' -> 'My Bot'

is simply missing.

Additionally, loading a team may fail due to a timeout, which is a problem that should be avoided (and teams could be initialised in parallel).