Commit Graph

46 Commits

Author SHA1 Message Date
Chaz Littlejohn
f55cd5569d Added methods for storing the filename and import statistics in a new 'Files' table which links with the Hands table via Hands.fileId. Extended support for storing mixed game information for Full Tilt Poker coming from the filename, and updated mixed game dictionaries for PokerStars. Added a field in GameTypes to track this mixed game variable entitled 'mix' which takes on the string value of 'none' if not a mix game hand. 2011-04-02 23:56:52 +00:00
Worros
3e6c5b6f31 THP: Minor updates 2011-03-30 13:29:39 +08:00
Worros
468b98fb7a THP: Ignore gameSessionId 2011-03-30 11:46:49 +08:00
Worros
9eb0138f3d THP: Make less noisy 2011-03-30 11:13:03 +08:00
Worros
8e38e4e458 THP: Add Everleaf tourney files 2011-03-27 23:30:38 +08:00
Steffen Schaumburg
5483e01693 Merge branch 'master' of git://github.com/rwielinga/fpdb into wielinga 2011-03-19 01:59:06 +01:00
Robert Wielinga
407c93349c Added required files for PacificPoker HHC 2011-03-12 13:59:22 +01:00
Steffen Schaumburg
8a519699b5 update copyright year 2011-03-10 06:16:31 +01:00
Steffen Schaumburg
4e9ab6a1d6 make THP executable 2011-03-10 04:13:25 +01:00
Worros
7d05455296 THP: Ignore several errors
tourneyId, tourneyTypeId, tourneysPlayersIds are variable,
2011-02-27 20:52:17 +08:00
Worros
4698f9c227 THP: Comment out debug line 2011-02-21 14:08:53 +08:00
Worros
e4a3de1272 Merge branch 'chaz' of git://github.com/ChazDazzle/fpdb-chaz 2011-02-17 11:28:44 +08:00
Worros
960ce1f11b THP: Add ability to test a single file
Add -f <filename> options

./TestHandsPlayers.py -s Stars -f <filename>

Will run only the tests for that file.

Also added the tour directory for Absolute
2011-02-13 23:43:15 +08:00
Worros
7bb77a2d1a THP: Bolt in Everest 2011-02-10 12:22:59 +08:00
Worros
77f69881f0 THP: Add usage message 2011-01-18 14:31:13 +08:00
Worros
d8fc0ce4ed THP: Add ability to test Gametypes
Will now look for .gt files and compare.

Useful to test against limit blinds
2011-01-13 14:32:13 +08:00
chaz@pokeit.co
990e226254 storeSessionsCache() now adds a sessionId to the Hands table 2011-01-01 03:35:14 -05:00
Worros
acf5e4a677 THP: Make THP use new Options.site_aliases function 2010-12-15 12:50:23 +08:00
Worros
d922984b91 THP: Add support for Hands table
Will search for <filename>.hands in the same manner as it does for .hp files
2010-12-10 23:59:27 +08:00
Worros
9a956e41b6 THP: Allow a single site to be specified on the cli
The normal mode for running THP is to run though all the tests for all sites:

./TestHandsPlayers.py

This is a bit noisy and slow when trying to fix issues in a single parser.

Added '-s' so that you can run the regression tests against a single site

eg.
./TestHandsPlayers.py -s "Full Tilt Poker"
./TestHandsPlayers.py -s PokerStars
./TestHandsPlayers.py -s Winamax
2010-12-10 18:21:21 +08:00
Worros
31da6ff170 Winamax: Pull in tournament support from Forrest
Also add tournament directory to regression test file
2010-11-26 12:45:41 +08:00
Worros
ee65248ff1 THP: Add Win2day support 2010-11-11 18:31:10 +08:00
Worros
ed6d21dbbf THP: Add Absolute to list of files tested 2010-11-07 20:00:34 +08:00
Worros
9821899add THP: Remove PKR from the list.
PKR converter is currently very broken, so switching it off in regression tester.

Current output from THP:

---------------------
Total Errors: 30
---------------------
PokerStars:
(  1) : regression-test-files/cash/Stars/Flop/LO8-6max-USD-0.05-0.10-20090315.Hand-cancelled.txt
(  8) : regression-test-files/cash/Stars/Flop/NLHE-6max-USD-0.05-0.10-200912.Allin-pre.txt
Full Tilt Poker:
(  1) : regression-test-files/cash/FTP/Flop/NLHE-USD-0.05-0.10-201006.Player.sitting.out.but.acting.txt
( 13) : regression-test-files/cash/FTP/Stud/7-Stud-USD-3-6-20106.Steal.from.Button.Failure.txt
Party Poker:
(  1) : regression-test-files/cash/PartyPoker/Flop/NLHE-USD-0.01-0.02-20100712.emailedHistory.txt
(  1) : regression-test-files/tour/PartyPoker/Flop/NLHE-USD-STT-unknownBuyIn-20100713.emailedHistory.txt
(  1) : regression-test-files/cash/PartyPoker/Stud/7-StudHL-USD-0.50-1.00-201008.txt
Betfair:
OnGame:
Absolute Poker:
(  1) : regression-test-files/cash/Absolute/Stud/7-StudHL-USD-0.02-0.04-200903.River.with.mucked.txt
Everleaf Poker:
Carbon:
(  1) : regression-test-files/cash/Carbon/Flop/NLHE-9max-USD-0.25-0.50.200810.All.Streets.txt
PKR:
iPoker:
Winamax:
(  2) : regression-test-files/cash/Winamax/Flop/PLO-FR-EUR-0.02-0.05-201009.Real.side.pot.with.bad.collected.txt

---------------------
Errors by stat:
---------------------
(  1) : foldSbToStealChance
(  1) : raisedFirstIn
(  1) : street0VPI
(  1) : street0_3BChance
(  1) : street0_4BChance
(  1) : street0_4BDone
(  1) : street1CBChance
(  1) : street1CBDone
(  1) : wonWhenSeenStreet3
(  2) : rake
(  2) : street1Seen
(  2) : street2Seen
(  2) : street3Seen
(  6) : Parse
(  7) : raiseFirstInChance
2010-10-08 16:18:23 +08:00
Worros
b9420f7066 THP: Add Winamax 2010-10-07 15:12:06 +08:00
Worros
7c8965486f THP: Allow sites to be manually switched off and on 2010-09-10 12:24:11 +08:00
Worros
c7072bdd84 THP: Add iPoker testing 2010-09-06 17:24:08 +08:00
Worros
7ac652c12e THP: Fix Importer call 2010-09-05 01:12:31 +08:00
Worros
b7c94781ef THP: Give 'Errors by stat' output 2010-09-04 13:11:35 +08:00
Worros
aa0e24fb9f THP: Add PKR to test 2010-09-03 18:01:16 +08:00
Worros
c5412caa14 THP + test config: Add suppor for Carbon
Make THP script more robust when testing stats
2010-09-03 14:31:52 +08:00
Worros
ad714519a9 THP: Add everleaf to list, fix totalerrors 2010-09-03 13:56:57 +08:00
Worros
1622d9e56c THP: Add Absolute to testing list 2010-09-03 12:05:22 +08:00
Worros
742dec8b15 THP: Re-enable Party cash parsing 2010-09-02 14:04:34 +08:00
Worros
376894bba3 THP: Add remaining directories for test coverage 2010-09-02 13:52:54 +08:00
Worros
72e3867383 THP: Report parse errors properly 2010-09-02 13:42:40 +08:00
Worros
243a140aa4 Merge branch 'master' of git://git.assembla.com/fpdb 2010-08-31 15:50:16 +08:00
steffen123
099db5e7d0 THP: add header 2010-08-30 17:24:28 +02:00
Worros
42497bf27a THP: Fix parser name call chain
Also comment out Party for the moment, as there is a hh file that crashes the parser
2010-08-28 17:20:50 +08:00
Worros
3eb4f057bc THP: Add 'support' for other sites 2010-08-28 16:43:05 +08:00
Worros
fb9d0c85c7 THP: Make THP print a better error message 2010-08-24 11:55:30 +08:00
Worros
edae36d108 THP: Create Error class for recording and reporting errors usefully 2010-08-24 11:09:13 +08:00
steffen123
acfc110d03 remove remaining calls to removed config section 2010-08-23 07:28:30 +02:00
Worros
3c5908224c TestHP: Pass name to print function 2010-08-19 19:31:23 +08:00
Worros
1236460e09 TestHP: Hopefully useful debug messages 2010-08-19 19:11:46 +08:00
Worros
bb6225f80c NEW: Add regression test utility for HandsPlayers 2010-08-19 18:30:12 +08:00