Skip to content

Add Prize Money to Challenges #3893

Open
@gchhablani

Description

@gchhablani

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:

Screenshot 2023-03-21 at 2 09 51 AM

There are several components to be designed here:

  1. The idea is to create a new model ChallengePrizes with the following details:
- challenge_pk
- amount
- rank
  1. The challenge prizes will be a new section in the challenge configuration. Example:
prizes:
- rank: 1
   amount: "1000USD"
- rank: 2
   amount: "500USD"
  1. This will also require you to add changes to the challenge validation script to ensure people put appropriate values for prizes.
  2. Add a new attribute has_prizes in the Challenge model.
  3. You will also need to modify the create_or_update_github_challenge function to update the challenge and the entries.
  4. 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:

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions