Open
Description
Description
Currently it is difficult to find know which challenges have prizes, and if yes, what are the first/second/thrid prizes, etc. This feature will help us understand which challenges on EvalAI have prizes. The idea is to add a new prize money section here:
There are several components to be designed here:
- The idea is to create a new model
ChallengePrizes
with the following details:
- challenge_pk
- amount
- rank
- The challenge prizes will be a new section in the challenge configuration. Example:
prizes:
- rank: 1
amount: "1000USD"
- rank: 2
amount: "500USD"
- This will also require you to add changes to the challenge validation script to ensure people put appropriate values for prizes.
- Add a new attribute
has_prizes
in the Challenge model. - You will also need to modify the
create_or_update_github_challenge
function to update the challenge and the entries. - Display the prizes for the challenge if the challenge has prizes. This will require you to modify the frontend.
Pre-requisites/Learnings
This issue essentially requires background on a few things:
- An understanding of the challenge configuration.
- A deep understanding of EvalAI challenges.
- An understanding of our frontend.
- How the challenge validation works.
- How GitHub Challenge Creation works.
How to Approach
- You can start by setting up EvalAI locally. Set up the dev version locally (preferred) using the steps here.
- Add the new models, the new attribute to the backend.
- Update the challenge configuration, the validation and the create/update method to handle this.
- Play around with the the frontend, and create a PR. Please add screenshots of the changes.
- Reach out to us regarding any issues that you face or if you need any help with understanding any of the above.