/gavel

Gavel is a project expo judging system :bar_chart:

Primary LanguagePythonGNU Affero General Public License v3.0AGPL-3.0

Gavel

Gavel is a project expo judging system.

It was originally built for HackMIT and first used at HackMIT 2015. It's also been used by a number of other hackathons.

Join the chat at https://gitter.im/anishathalye/gavel

Design

Gavel is based on the method of pairwise comparisons. Before you use Gavel, it's highly recommended that you read about the philosophy behind the implementation, as well as hints on how to use it in practice. Read this blog post first, and then read this blog post.

Status

Gavel is currently beta software! We've used it successfully at HackMIT 2015, and a bunch of other hackathons have used it too, but it's still pretty rough around the edges.

If you want to use this for your hackathon or event, we highly recommend that you:

  • Deploy it and play around with it ahead of time to get a feel for how the system works
  • Take a look at the issues to see the current state of affairs and learn about some things that might be nonintuitive
  • Read the blog posts linked above to get a feel for how many judges you need

If you have any questions, feel free to email me.

If you're able to contribute to making Gavel better, that would be awesome! We'd really appreciate any kind of input, especially pull requests.

If you're interested in working closely with the HackMIT team to make this software better, email us at team@hackmit.org and we can talk about how we can work together!

Deployment

Deploy

The web application is written in Python 3 using Flask. It also uses NumPy and SciPy for math stuff. Doing a pip install -r requirements.txt should install all the dependencies.

The application uses Postgres for the database, so you need to have that on your server. You need to create a database, which you can do with createdb gavel (unless you're using a different database name). Before you use the app, you need to initialize the database by running python initialize.py.

When testing, you can run the app with python gavel.py. In production, you should use something like Gunicorn to serve this. You can run the app with gunicorn gavel:app.

Configuration

Before starting the app, copy config.sample.yaml to config.yaml and set all the required settings (the ones that don't have default values).

Most settings can either be set in config.yaml or set as environment variables. There's more detailed documentation in config.sample.yaml.

If you don't want to use the config file and use only environment variables, set the environment variable IGNORE_CONFIG_FILE=true.

Use

Using the admin interface on /admin, input data for all the projects and input information for all the judges.

After that, get the "magic link" to each of the judges. The judge should navigate to http://example.com/login/{secret}. This is a bit clunky, and it should be fixed soon: see this issue for details. After the judges navigate to the secret link, they'll be prompted to go through projects and judge them.

Development

Interested in hacking on Gavel? Awesome. See DEVELOPMENT.md for a dev setup guide.

Notes

If you do end up using this for your competition or hackathon, I would love to hear about how it goes.

If anyone has questions, feel free to email Anish (me@anishathalye.com).

Contributing

Do you have a feature request, bug report, or patch? Great! See CONTRIBUTING.md for information on what you can do about that.

License

Copyright (c) 2015-2016 Anish Athalye. Released under AGPLv3. See LICENSE.txt for details.

If you're interested in getting access to this system under a different license, please contact me.