Description of the problem
When you disable a team, it will disappear from the scoreboard (both web UI and scoreboard contest API) but it still expose hidden: false in /teams Contest API.
Your environment
- DOMjudge version 9.0
- Ubuntu 24.04
- Nginx
Steps to reproduce
- Create a contest and import data
- Run the contest
- Disable (disqualify) a team
Expected behaviour
The team disappears on the scoreboard, and the Contest API /teams should expose hidden: true
Actual behaviour
The Contest API /teams still expose hidden: false when the team belongs to a visible team category.
Any other information that you want to share?
https://domjudge-org.slack.com/archives/CHHURFUM7/p1763431721791879
This is a rare situation. Disabling a team will break the downstream client (ICPCTools CDS or other CLICS-compatible clients) behavior.