Giter Club home page Giter Club logo

bogey-cli's Introduction

Bogey is a Hackathon project judging application.
It uses a local database controlled by a CLI script to rank projects.

Projects are ranked on the following:

Category Weight
Creativity 0.05
Appearance 0.05
Complexity 0.3
Efficiency 0.3
Execution 0.3

Judges can also rank projects based on a specific category listed above.
More categories can always be added to the script for a more holistic cumulative ranking.

Commands:

help:                      displays all CLI commands
addgroup [name, members]:  adds a group file to the local database
score [name]:              enters ranking sequence for a given group
rank [category]:           lists groups from highest to lowest score in the given category
export:                    exports rankings for call categories into a CSV file
clear:                     clears filetree

bogey-cli's People

Contributors

hershyz avatar sam-shridhar1950f avatar

Stargazers

 avatar  avatar John (Jack) Prewitt avatar

Watchers

James Cloos avatar

Forkers

hershyz

bogey-cli's Issues

dababy

Make dis da code dud

import commands
import groups
import rank
import sys
import export
import clear

commands.add("help", "", "displays all cli commands")
commands.add("addgroup", "name, members", "adds a group file to the local database")
commands.add("score", "name", "enters ranking sequence for a given group")
commands.add("rank", "category", "lists groups from highest to lowest score in the given category")
commands.add("export", "", "exports rankings for all categories into a CSV file")
commands.add("clear", "", "clears filetree")


args = sys.argv
if len(args) < 2:
    commands.display()
    exit()

c = args[1].lower()

if c == "help":
    commands.display()

if c == "addgroup":
    name = args[2]
    members = args[3]
    groups.add(name, members)

if c == "score":
    name = args[2]
    groups.rank(name)

if c == "rank":
    category = args[2].lower()
    rank.rank(category)

if c == "export":
    export.exportAll()

if c == "clear":
    clear.clear()

if not commands.commandContains(c):
    print("invalid command: " + c)
    exit()

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.