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: codalab/competition-examples@9a7f25f
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:
|
columns = sorted([{'title': k, **v} for k, v in leaderboard['columns'].items()], key=lambda c: c['rank']) |
The following error can happen when uploading a v1.5 bundle:
Could not find columns declared on the competition leaderboardIt can be solved by adding the
rankin thecompetition.yamlwhen defining the leaderboard's columns.An example of this fix can be found in this commit: codalab/competition-examples@9a7f25f
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:
codabench/src/apps/competitions/unpackers/v1.py
Line 144 in 46f68ee