PDA

View Full Version : Parser nitty-gritty


GameTheory
02-19-2002, 03:15 PM
Ok,

I'm finally preparing the charts parser to be sent out. I'm making some documentation now, and taking care of a few minor details.


One of the details is possible alternate names for familiar wagers, like "perfecta" instead of "exacta". So rattle a few of those off for me because I want to normalize them all so the exactas are all called exactas in the database, and whatevers are all called whatevers. Make sure you spell them correctly.

Besides perfecta, I think "exactor" is also used, and there's a similar one for the tri, but I can't remember exactly (triactor?). Superfectas, pick-whatevers, and the like I never play, so I have no idea about those. Anyone?


Also, I need a list of Canadian tracks, or least Canadian tracks that ever have graded stakes, so I can correctly distinguish a Grade I-II-III race from a Canadian Grade I-II-III race. I'm assuming any graded race run in Canada is automatically considered "Canadian", right? I think I know them all, but help me double-check...

Tim
02-19-2002, 04:14 PM
GT,

Here's a list of Canadian tracks. The number in parens is the number of Graded Stakes that ran in 2000.

Assiniboia Downs
Desert Park
Fort Erie
Hastings Park (4)
Kamloops
Northlands Park (1)
Stampede Park (1)
Woodbine (35)

Tim

GameTheory
02-19-2002, 05:02 PM
Thanks!


Another thing:

Some of the listings under M/E (medication/equipment) are unknown to me, specifically the equipment.

Normally, you only see "b" (blinkers) and "f" (front wraps) -- but I've also seen:

c
g
s

and possibly some others. All very rarely, but once in a while.

Is there a complete list of equipment codes somewhere?

turfspec
02-20-2002, 06:24 AM
GT

On the DRF site you can obtain a listing of terms & symbols and explaination of the past performances by clicking on "Free Publications" and then "Winning Techniques". The info you want is on pages 12 thru 14 of that pdf file. Somewhere in the window containing "Free Publications" there is a link to where you can request a written copy be sent to you. In looking through it though, I don't see the three designations you mention. The full listing of Equipt. & Med. is as follows:

b = blinkers
f = front bandages
B = butazolidin
L = lasix
n = nasal strip
r = bar shoe

Maybe you can find others in the printed material or elsewhere on the site.

Looking forward to the Parser.

Rob

ranchwest
02-20-2002, 07:58 AM
My database contains the following designations (but I don't know what the rare ones mean):

aBbcdfgjLlmns

gillenr
02-20-2002, 09:59 AM
I'm sure I read that the DRF is doing away with this equip. designation.

wally2001
02-20-2002, 11:02 AM
Hope the Parser is coming along well?

I have the ripper you sent out a few weeks ago but it seems to have stopped working, it just GP faults when I try to do the charts for th 13th or 14th, have equibase change their site or something? Anyway could I have a new copy and a copy of the parser when you send it out?

Here are a few of the odd equipments that I know of

n= no whip
s=nasal strip
q=nasal strip off

Cheers
Simon

GameTheory
02-20-2002, 01:47 PM
It seems since I'm getting the charts from Equibase, there are slight differences to the codes here and there. The equipment stuff isn't really that important -- the parser just copies the code over to the results, and the user can figure out what it means. I was just curious.

Wally: I sent you the latest version. A GP fault I have *never* seen with any version of my program, but is probably caused by a data glitch, and the program trying to read a string when it thinks there should be a number there, or something like that. Anybody else have any outright crashes with the downloader?

MikeH
02-20-2002, 09:04 PM
GT -

It's worked fine for me. Maybe 2 times, it has had a slight hiccup, but Equibase's site doesn't always work correctly anyhow, so it could have been something on their end. Anyhow, when I had a problem, I simply closed, then re-opened it, and it worked fine.

I think that it's a great timesaver and a good product.

CumberlandBluesHSH
02-21-2002, 01:32 PM
Game Theory.....you were correct that some tracks (mostly Canadian I think) call Trifectas Triactors.

I've also seen Daily Triple for pick-3, and just plain ol' Triple for Trifecta.

Can I get added to the list to recieve the downloader and parser? If so, sendd it to cumberlandblues@hotmail.com

Thanks much - should be a very useful tool.

highnote
02-22-2002, 12:36 AM
Gametheory,
Is it possible to make the comma-delimited output of your parser match BRIS import result chart
format? That would be really helpful.
Regards,
John

GameTheory
02-22-2002, 12:43 AM
Yes,

It does that -- in fact that's one of the main goals -- BUT it will never perfectly match a BRIS file. For one thing, I can't fill in the "last race" info cause that ain't on the charts. Also the beaten lengths will probably be off by a fraction. Other than that, though, I think I've got it covered...

highnote
02-22-2002, 12:48 AM
Gametheory,
I should've been more specific. Mainly, if you could put the same number of fields in the comma-delimited file and put the same data in the available fields as BRIS that would be awesome.

I'm sure there will some fields that are impossible to match from the available Equibase charts.

I've thought about doing what you're doing, but it's a big job. I applaude you.

Maybe I can send you some of my software in exchange if you're interested.

By the way I sent two emails to your renegade address but they were returned.

John

GameTheory
02-22-2002, 02:40 AM
What?! Make sure you put "earthling", not "earthLINK". In any case, send 'em again. Actually, I get my mail through my web server, which was down for a bit earlier, but I seem to be getting my mail ok now... you can also use chessmad@chessopolis.com.


I should have been more specific. That is exactly what I'm doing. I have the BRIS file specs sitting right here in front of me. I was just saying that some fields will be blank (what is "Last Session", anyway?), but the correct number of commas will all be there in there correct places, and I've all got the BRIS codes for age/sex, race type, etc. all covered.

You will also be able to specify custom output formats by making a template for it, but I will provide templates for the BRIS files (Import Charts, Import Results, & Exotic Results) right away. At some point I'll also make them for whatever other formats are out there.

Actually, I was bit surprised to find out that the BRIS chart files don't even have payoffs in them! You have to spend an extra quarter on top of your dollar per card to get them. How lame...

wally2001
02-22-2002, 04:15 AM
Last session is the track code for the horse ran it's last race

highnote
02-22-2002, 11:32 AM
Gametheory,
Here is the email I used: renegade@earthling.net

I just clicked the reply to sender button on my email software (Netscape). I didn't have to retype your email. I sent two message and both were returned.

I think it is pretty lame that BRIS doesn't include payoffs in its import result charts. I needed to do a study recently and had to buy charts and results so that I could get payoffs. I needed pick 6 payoffs. Guess what -- they don't sell any comma-delimited files with pick 6 payoffs. I had to buy the text charts and write parser software to extract the payoffs and other data then have it saved as a comma-delimited file.

Looking forward to trying out your software. Hopefully BRIS won't change the format on you. Remember the old Equibase charts - if I remember correctly, some of the beaten lengths were actually little picture icons (head, neck, nose, etc.) rather than text. I think they've changed that since then.

Later,
John

GameTheory
02-22-2002, 02:57 PM
Yeah, there did seem to be a glitch with my email forwarder yesterday (that address is an alias, cause I change ISP a lot), but seems to be working now...

Little pictures? That must have been a long time ago -- I've got charts from 99 and 2000, with some slight differences to the format, but no little icons. That was probably someone's big idea to make the game seem more accessable. I've designed my program so that I should be able to adapt very quickly to any future changes...

Handle
02-23-2002, 08:03 PM
Am I wrong, or don't the Exotic Results Files have pick six payoffs in them in comma delimited format?

-Handle

[I needed pick 6 payoffs. Guess what -- they don't sell any comma-delimited files with pick 6 payoffs. [/B]

highnote
02-23-2002, 08:13 PM
Handle, you're probably right. I should have been clearer. I also needed the final odds of all the horses. I didn't want to buy two files for each race day, so I just wrote a parser. Probably would have been less expensive to have bought two files given the amount of time I spent parsing data. HAHAHA

highnote
02-23-2002, 08:17 PM
Handle,
I just checked out the Exotic files. Looks like they have the final odds for the horses. I didn't see that before. I could've saved myself a lot of time. Oh well. Live and learn.