Coder Social home page Coder Social logo

wod-stats's Introduction

wod-stats

A simple Django app that fetches any Workout of the Day ("WOD") from the crossfit.com website, parses the comments and categorizes them based on gender and workout completion (i.e. as prescribed "Rx" or scaled).

This app produces simple statistics that inform users on how to scale the difficulty and how to improve.

For example, a person trying to complete the WOD as prescribed ("Rx") can

  1. see the ratio of Rx versus all comments and
  2. filter comments to see the demographics of those completed and their results.

That informs the user on whether to attempt to Rx, scale the difficulty, substitute movements, etc. in order to get a better workout and set targets that help them improve over time.

How to Run

Setup a virtual environment

virtualenv venv-fitjstats

Clone the repo

git clone https://github.com/laukevinh/wod-stats.git

Activate the virtual env (assuming you setup the virtualenv in your home dir).

source ~/venv-fitjstats/bin/activate

Don't forget to install all requirements.

cd ~/wod-stats/
pip install -r requirements.txt

Go to your project folder and run the server

cd ~/wod-stats/
python manage.py runserver

Future features

  • Add age, weight and height to filter. Current challenge is that most users share that information in the comment, but they do not share it in a standard format.
  • Analyze workout results (e.g. time, reps, weight) and display simple statistics (e.g. best, avg, worst) based on filters.

wod-stats's People

Contributors

laukevinh avatar

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.