Could not find columns declared on the competition leaderboard
The following error can happen when uploading a v1.5 bundle:
Could not find columns declared on the competition leaderboard
It can be solved by adding the rank
in the competition.yaml
when defining the leaderboard's columns.
An example of this fix can be found in this commit: https://github.com/codalab/competition-examples/commit/9a7f25f86acdbfae91756dad8011ae164dbc7fd8
Usually it is not a problem because most v1 bundles have these ranks defined. However, we could have a default value or something to make sure all v1 bundles are working fine.
See the following part of the code: https://github.com/codalab/codabench/blob/46f68ee91511a79d10fab817ca1164e35cd32d58/src/apps/competitions/unpackers/v1.py#L144