Skip to content

Could not find columns declared on the competition leaderboard #932

Closed

Description

@Didayolo

The following error can happen when uploading a v1.5 bundle:

Could not find columns declared on the competition leaderboard

Capture d’écran 2023-02-04 à 03 48 32

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'])

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions