Sim Dynasty

View Old Forum Thread

Old Forum Index » Baseball Beta Testing » Beta News » Split stats and stats on the Lineup page
tysonlowery

Split stats and stats on the Lineup page

June 14, 2006 at 04:12PM View BBCode

I've made a few cool changes.

I've added support to track batter stats vs LHP and RHP. This will start with the regular season games next season.

I've also added a toggle button on the lineup to show Skills or Stats. The way it works is that it will show the Split stats for that player. So if you are on the vs RHP page, it will show stats vs RHP.

If your league doesn't have that feature available yet, it will simply show the player's stats. That's what it is doing right now. League's will have to wait until an OffSeason runs before split stats start being tracked.

So far, I've noticed that I can't set the lineup. I'm working on that right now.
CaseyStengel

June 14, 2006 at 04:55PM View BBCode

I am looking forward to the changes. Right now the toggle is not working and there is no individual stats page with stats showing.

I assume it is because:
If your league doesn't have that feature available yet, it will simply show the player's stats. That's what it is doing right now. League's will have to wait until an OffSeason runs before split stats start being tracked.


By the way... is there more than one Beta League?
tysonlowery

June 14, 2006 at 05:05PM View BBCode

Sorry, I'm still debugging. I will let you know when its ready.

Our beta league is the only one that actually plays games. There may be some other junk data or partial leagues that I setup while testing different aspects.
tysonlowery

June 14, 2006 at 08:21PM View BBCode

Ok - I've fixed all the issues. It should work fine now - let me know if you see anything, especially once the season starts.

I had to re-do how all stats are tracked during a game, so we should keep a close eye on how stats accumulate before and after games run on Beta.
tysonlowery

June 14, 2006 at 10:19PM View BBCode

I ended up tweaking this a bit so you can display splits OR regular stats.
tysonlowery

June 15, 2006 at 03:21PM View BBCode

After running the first game, I found that RBIs from a HR were being counted twice in the stats and not at all in the stats vs RHP or LHP. I have corrected that.

Also - I'm looking to see how Games are being accumulated. I think it makes sense to only credit a player with a game if he faced a LHP or RHP in that game.
rnznsmn

June 15, 2006 at 03:30PM View BBCode

Tyson,
Game 1 just played. My Milwaukee team started against a righty, and if I select "show stats" I see the stats; but if I select "show stats VS RHP" it's not showing any of my at-bats for the game that played.
~rnz
tysonlowery

June 15, 2006 at 03:34PM View BBCode

I fixed how games are added. I also added Splits to the player cards. I'm working on pitchers now...
tysonlowery

June 15, 2006 at 03:35PM View BBCode

Thanks rz - looking into it.
tysonlowery

June 15, 2006 at 03:40PM View BBCode

Ok - I need to add some more code - its only tracking this for the Home teams! Stay tuned.

Also - I made an error with games played for the splits, which has been corrected.
tysonlowery

June 15, 2006 at 03:48PM View BBCode

That should be straightened out now. The split stats from the first 4 games may be wrong - there were a few quirks that were worked out.
rnznsmn

June 15, 2006 at 04:59PM View BBCode

Any chance the splits will get added to the stats pages (i.e., Stats tab, Individual Stats or Team Stats)?

Also, the spacing on the rotation page seems to be out of whack right now. The first column (with the pitcher names) seems to be taking almost the entire screen width, and all the remaining columns are smushed over to the right hand side.
tysonlowery

June 15, 2006 at 05:02PM View BBCode

I'm probably going to leave the splits alone for now, release them to the public, then maybe do some other things with them later on. I did add them to the player cards.

I fixed the pitcher page.
Closer

June 15, 2006 at 05:56PM View BBCode

Everything looks up and fine on Detroit's pages.
rnznsmn

June 15, 2006 at 06:12PM View BBCode

Originally posted by tysonlowery
I'm probably going to leave the splits alone for now, release them to the public, then maybe do some other things with them later on. I did add them to the player cards.

I fixed the pitcher page.



The spacing on the pitcher rotation page is fixed, but I'm not seeing any output change when I actually click on the various stats radio buttons. It just continues to display ratings regardless of what option is selected on the rotation page.

I'm also seeing no output on the splits section of the pitcher player cards for pitchers that DO have games already.
Closer

June 15, 2006 at 06:44PM View BBCode

rzn's right. My pitcher page isn't changed by the buttons.

Also notice that gm #5 was skipped. Don't know if that was intentional.
tysonlowery

June 15, 2006 at 06:48PM View BBCode

I haven't gotten to that yet - had to eat lunch :) I'll try to put something up today. For now, nothing will happen.
kittens

June 22, 2006 at 04:04PM View BBCode

Howdy Tyson. Sorry for delay in posting, been traveling. I love the split stats!! One of the improvements I have been waiting for a long time. In addition to where they are now located, I personally use the individual stats a lot and would love to see the splits there as well but certainly on the RHP/LHP lineups & player cards are very usefel indeed. Thanks Bryce
tysonlowery

June 22, 2006 at 04:15PM View BBCode

Thanks Bryce. I'm going to do this one area at a time. We'll probably look at putting this on other pages at some point in the future.
CaseyStengel

July 09, 2006 at 04:55PM View BBCode

In reviewing the split stats for batters and pitchers I noticed:
  • Batters vs LHP and RHP do not have stats for SB, CS, and E - [color=red]Why are these stats missing?[/color]
  • Pitchers vs RH and LH do not have stats for GS, W, L, SV, CG - [color=blue]I can understand that these stats are not relevant when broken down to stats vs RH and LH.[/color]
  • Pitchers vs RH and LH do not have stats for ERA - [color=red]Why is ERA missing?[/color]
barterer2002

July 09, 2006 at 05:08PM View BBCode

I'd also be curious as to how you determine how many innings a pitcher has thrown against left and right handed batters. I'm going to work on the assumption that each out would count as 1/3 of an inning with hits and walks just accumulating without counting for innings. I'm not sure of the validity of that way of doing it but I suppose its as reasonable a method as I can come up with.
tysonlowery

July 09, 2006 at 09:54PM View BBCode

I don't know how you can figure out earned runs vs LHB and RHB - the stat seems a bit meaningless depending on the method you choose. This is why you always see stats like opponents batting average when people break these things out.

For example, I walk 3 left handed batters, then give up a grand slam to a right handed batter. How many of those runs are vs LHB or RHB? Or another example, I walk 3 left handed batters and then induce a RHB to ground into a double play, scoring the runner from third. Does that run go vs RHB or LHB?

Anytime an out is recorded, that goes down as 1/3 of an inning vs either LHB or RHB.

I didn't put SB, CS, and Errors for the same reason. I wasn't sure how you break this down. Errors doesn't make any sense. I suppose SB and CS should be based on who is on the mound at the moment, not necessarily who you reached on.

I guess I just think these kind of stats can be misleading and confusing, so I left them out.
CaseyStengel

July 10, 2006 at 07:08PM View BBCode

I like the splits view on the player cards.

How about including splits for the totals so we can see lifetime stats vs LH and RH batters and pitchers.

Pages: 1