Giter Club home page Giter Club logo

bot-racer's Introduction

Bot Racer

This project was created to support Code4rena Bot Races with useful stats and tools.

A live website is available here.

Vercel Status

Contributing

Races

To add a new race, follow these steps:

  1. Fork this project
  2. Modify public/data/races/<year>.json
  3. Keep the same format as this template:
{
    "name": "",
    "data": {
        "judge": "",
        "winner": [ ],
        "A": [ ],
        "B": [ ],
        "C": [ ],
        "prize": {
            "winner": 0,
            "A": 0,
            "B": 0
        }
    }
}
  1. The Bot name must be available in bots.json
  2. The Judge name must be available in judges.json
  3. Open a pull request

Adding a new Bot/Judge

  1. Modify bots.json to add a new Bot
  2. Modify judges.json to add a new Judge
  3. The order must be alphabetically sorted, ignoring the case

Findings

To add a finding for your bot, follow these steps:

  1. Fork this project
  2. Modify public/data/findings.json
  3. Find an existing issue to match your bot
  4. Add your bot name as key and the message as value (follow the issue rules below)
  5. Open a pull request

Issue Rules

  1. Follow an alphabetical order when adding a new bot:
// good
{
    "Hound": "Incomplete NatSpec @return",
    "IllIllI-bot": "NatSpec @return argument is missing"
}

// bad
{
    "IllIllI-bot": "NatSpec @return argument is missing",
    "Hound": "Incomplete NatSpec @return"    
}
  1. Don't use markdown symbols (e.g. ` or *), copy-paste the title as it is shown on the markdown:
// good
{
    "Hound": "Incomplete NatSpec @return",
    "IllIllI-bot": "NatSpec @return argument is missing"
}

// bad
{
    "Hound": "Incomplete NatSpec `@return`",
    "IllIllI-bot": "NatSpec `@return` argument is missing"      
}

Development

  1. Clone this repository
  2. Run yarn install
  3. Run yarn start
  4. A local webserver will be available at http://localhost:3000/

bot-racer's People

Contributors

0x6980 avatar chasethelight01 avatar dadekuma avatar pfahard avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

bot-racer's Issues

Separate races by year

  • A separate JSON file for each year (e.g. data/races/2023.json, data/races/2024.json...)
  • A way to select a specific year in the race/bot/leaderboard tab (including all years)

Thank you @ChaseTheLight01 for the idea and help

Wrong order in bot ranking JSON file

Most of the data from 2023.json is in the wrong order. Rankings were historically parsed from the bot-crews channel on Discord, but it seems that most of the time they are randomly ordered.

It's suggested to use the announcement channel instead, but it lacks the C rank ordering.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.