gathering / unicorn-backend

Backend/API for UNICORN
https://competitions.gathering.org
MIT License
2 stars 1 forks source link

Refactor Competition state machine #31

Open eriktm opened 1 year ago

eriktm commented 1 year ago

Proposed Changes

Refactor the Competition state machine to be less complex, or easier to understand somehow.

Justification

The logic is too complex. Especially in Competition.compute_next_state and Competition.clean