Home | Webstore
Latest News: OOTP 13 THIRD Update Available: Version 13.3.9! - OOTP 13 Released! Download Now! - iOOTP 2012 Available NOW on the AppStore - Title Bout Championship Boxing 2.5 released!

Download OOTP 13 Now! | Download iOOTP 2012 from the AppStore

Go Back   OOTP Developments Forums > Earlier versions of Out of the Park Baseball > Earlier versions of OOTP: Technical Support > Earlier versions of OOTP: Closed or Claim Fixed

Closed Thread
 
LinkBack Thread Tools Display Modes
Old 10-23-2007, 11:18 AM   #1 (permalink)
Global Moderator
 
ctorg's Avatar
 
Join Date: Nov 2002
Location: Brooklyn, NY
Posts: 9,701
Thanks: 38
Thanked 91x in 51 posts
Bug in data export

I know this exists in both Access and csv exports.

If you have a historical league where you have imported the entire league history, in the league_history_pitching_stats file, the column bsvp (I don't even know what this is) is reported as "-1.#IND" for all imported seasons.
__________________
THE VERY US ARTISTS - A project for musicians and visual artists

My music


Currently reading:
Thirteen by Richard Morgan


"When the trees blow back and forth, that's what makes the wind." - Steven Wright

Fjord emena pancreas thorax fornicate marmalade morpheme proteolysis smaxa cabana offal srue vitriol grope hallelujah lentils
ctorg is offline  
Old 10-23-2007, 11:47 AM   #2 (permalink)
Global Moderator
 
ctorg's Avatar
 
Join Date: Nov 2002
Location: Brooklyn, NY
Posts: 9,701
Thanks: 38
Thanked 91x in 51 posts
The same thing happens in the team_history_pitching_stats file.
__________________
THE VERY US ARTISTS - A project for musicians and visual artists

My music


Currently reading:
Thirteen by Richard Morgan


"When the trees blow back and forth, that's what makes the wind." - Steven Wright

Fjord emena pancreas thorax fornicate marmalade morpheme proteolysis smaxa cabana offal srue vitriol grope hallelujah lentils
ctorg is offline  
Old 10-27-2007, 04:14 AM   #3 (permalink)
Global Moderator
 
Tony M's Avatar
 
Join Date: Feb 2006
Location: Here
Posts: 6,113
Blog Entries: 3
Thanks: 38
Thanked 309x in 179 posts
Can't say I've seen that in any of the exports I've looked at, but I think that bsvp is Blown Save Percentage (at least that's what I call it in my code)

Does this only occur in historical leagues with a full imported history. If so, I'll create one and have a look to see what actually appears in the league history in world.dat and teams.dat
__________________
This signature is intentionally blank
Tony M is offline  
Old 10-27-2007, 04:20 AM   #4 (permalink)
Global Moderator
 
Tony M's Avatar
 
Join Date: Feb 2006
Location: Here
Posts: 6,113
Blog Entries: 3
Thanks: 38
Thanked 309x in 179 posts
A quick look at Lahman and it's clear that in the pitching.csv there is a column for SV but not for SVO or BS.

That would result in the calculation BS/SVO returning a division by zero error when calculating it before outputing to CSV or Access.

But as the field BSVP is stored in the history (one of my bugbears that derived stats are saved in the database when they can be derived from other fields), I'll have a look and see what it contains.
__________________
This signature is intentionally blank
Tony M is offline  
Old 10-27-2007, 04:52 AM   #5 (permalink)
Global Moderator
 
Tony M's Avatar
 
Join Date: Feb 2006
Location: Here
Posts: 6,113
Blog Entries: 3
Thanks: 38
Thanked 309x in 179 posts
OK, I created a historical league in 1945 with complete history, and had a look at the pitching stats for the Americans for 1901 in teams.dat.

The value stored in BSVP is in hexadecimal 00 00 00 00 00 00 f8 ff which comes out as a value of 3.1493*10^-319 which in Visual Basic and Visual C++ gets classed as NaN (not a number) if you have the type defined as double, and the normal way for this to be output is as -1.#IND

The bug I would say is down to the fact that this value is stored in the database, if the exports put 0 in for a SVO of 0 it would get round it. Then again the database could also contain 0 for an SVO of 0.
__________________
This signature is intentionally blank
Tony M is offline  
Old 11-20-2007, 09:29 AM   #6 (permalink)
Hall Of Famer
 
Nutlaw's Avatar
 
Join Date: Apr 2003
Posts: 9,529
Thanks: 79
Thanked 102x in 62 posts
Did you guys pin this down? What exactly should be logged here?
__________________
BJHL: GM of the Manhattan Crime
Occasional Contributor to The Cardinal Nation
Nutlaw is offline  
Old 11-20-2007, 09:37 AM   #7 (permalink)
Global Moderator
 
Tony M's Avatar
 
Join Date: Feb 2006
Location: Here
Posts: 6,113
Blog Entries: 3
Thanks: 38
Thanked 309x in 179 posts
Quote:
Originally Posted by Nutlaw View Post
Did you guys pin this down? What exactly should be logged here?
The value of -1.#IND is just how an indeterminately small value is represented, and is therefore just expected behaviour.
__________________
This signature is intentionally blank
Tony M is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 06:17 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0
Copyright © 2009 Out of the Park Developments