General Manager - A sane way to manage baseball statistics

General Manager is a baseball statistics and team management web application written written primarily in PHP. It is the spiritual successor to the baseball stats application I wrote before.

Easily keep track of pitchers' and position players' performances over time. General Manager was created to provide amateur teams with the ability to keep track of statistics and sabermetrics without having to abandon the paper scorebook in favor of a closed source, proprietary iPad app.

It provides the following features:

  • Keep track of game results/stats
  • Show basic stats and advanced metrics of position players over a season
  • Show basic stats and advanced metrics of pitchers over a season
  • Generate potential lineups based on an algorithmic approach
  • Create and keep track of user-generated lineups on a team-by-team basis
  • Tailor metrics to each team's game length, e.g. 7 innings for a high school team (on metrics which are per game)

A simple version control system: eie

I have just written a simple version control system, inspired by my previous Perl script by the same name.

There are both CLI and GUI interfaces, with the GUI being called eiek. It's written as a wrapper to eie in Perl, using Tkx.

Screenshots of eiek:

http://imgur.com/a/ld2rS

Github for both:

https://github.com/cms07/eie-c

https://github.com/cms07/eiek

Baseball Team Statistics Tracker

I recently wrote a baseball statistics tracker suitable for tracking a baseball team over a season or however long. Its source can be found at its github page. It was written in PHP and MySQL in a few hours and it gets the job done reasonably well.

Baseball Stats page

None of the input is validated, so it would not be wise to place add_batter.php or add_pitcher.php in a public directory. And it would be wise to double check added info.

Metrics Used

Pitching

  • ERA
  • Wins/Losses
  • IP
  • WHIP
  • H/7
  • BB/7
  • SO/7
  • SO/BB
  • Hits
  • Walks
  • Hit Batsmen
  • Strikeouts
  • Games
  • Saves
  • Batters Faced

Batting

  • OBP
  • AVG
  • SLG
  • OPS
  • Runs Created
  • PA
  • Hits
  • Walks
  • Strikeouts
  • Total Bases
  • HBP
  • 2B
  • 3B
  • HR
  • RBI
  • Sacrifices
  • Runs
  • Stolen Bases
  • Caught Stealing
  • SB %
  • Times on Base