What is this?

This repository is a demo leaderboard template. You can copy the leaderboard space and the two datasets (results and requests) to your org to get started with your own leaderboard!

The space does 3 things:

You can also move the backend to its own space if you need, by grabbing main_backend and putting it in its own space, with a app.py which runs it every few minutes - it is probably the best solution.

Getting started

Defining environment variables

To get started on your own leaderboard, you will need to edit 2 files:

Setting up fake results to initialize the leaderboard

Once this is done, you need to edit the "fake results" file to fit the format of your tasks: in the sub dictionary results, replace task_name1 and metric_name by the correct values you defined in Tasks above.

    "results": {
        "task_name1": {
            "metric_name": 0
        }
    }