Coder Social home page Coder Social logo

gbasood / vgstation-statistics-viewer Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 6.0 976 KB

A statistics viewer for /vg/station, a Space Station 13 server.

Home Page: http://stats.ss13.moe

License: MIT License

Python 75.67% CSS 6.88% HTML 16.97% Mako 0.48%
statistics-viewer flask python space-station-13 ss13 vgstation

vgstation-statistics-viewer's Introduction

Project moved

All future work on this project will be done at https://github.com/gbasood/VGStats

Build Status codecov

Statistics viewer for /vg/station

This is a statistics viewer which parses the statfiles exported from /vg/station rounds and writes them to db, then displays them in such a way that people can actually UNDERSTAND THEM WOW

Anyone who wants to help out or call my code shit is more than welcome. I'd like to catch any issuse with this before they become real issues. This is the first project of this nature I have undertaken (in Python at least) and I am completely amateur.

Prereqs

  • Python 3.6.1
  • For package dependencies: pip install -r requirements.txt

Setup

  • See requirements.

  • You will need to set this environment variable, either in your shell or as part of a batch script:

    • FLASK_APP=run.py
    • It may be necessary to set this to an absolute path if it doesn't work the first time.
    • Additionally, if you want a debug environment, FLASK_DEBUG=1 must be set.
  • Modify config.py as needed.

  • Run flask db init

  • Finally, flask run will run the server in a development environment.

Additional notes

To perform a migration based on existing migration files: flask db upgrade

vgstation-statistics-viewer's People

Contributors

deitylink avatar efruit avatar gbasood avatar pjb3005 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

vgstation-statistics-viewer's Issues

Better death data

Should also include:

  • Damage values (brute, oxy, burn, rad, brain)
  • Suicide y/n

Scoreboards for uncapped values

Since people like making their e-peen bigger from getting big numbers in engineering/toxins/cargo etc it could be neat to have scoreboards for it all.

Some ideas for boards:

Bomb Strength
Powernet Value
Ores Refined
Amount of round end dosh
Kills
Highest Potency Plants

More search options

A per-objective historial of wins/loses would allow for objective balancing, specially for crew objectives.

Job historials (deaths, x-completed, etc) would, too, allow for balancing.

And, in general, some kind of filter (win/loss ratio for +2 hour vampire rounds) would do nicelly, specially with the very needed round lengthening.

New misc data

  • ERT called boolean
  • Deathsquad called boolean
    • Time since last ERT/deathsquad on home page

EDIT: hol up this is gonna be different in the age of dynamic mode, possible this could be inferred via roles or factions instead

Population stats

  • Login/logout time collection, with graph on match page
  • Info on players and their roles

Map stats

See which maps are played how often!
Maybe with the vote results if possible, I dunno

Match page deaths display is very unclear

Wizard On Bagelstation โ˜ 18 / 55

The number on the left is player deaths
Right one is non-player deaths
But there's nothing actually stating what either is, so it's confusing. Should probably come up with separate icons for both sides with alt text to describe the values.

Smarter global stats caching

Instead of re-calculating global stats for ALL ENTRIES EVERY TIME, just keep a cache the first time and add to the cache results when new match entries show up

heat maps

It would be interesting to see where people have died on the station over time.

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.