Commit Graph
100 Commits
Author SHA1 Message Date
Worros 09b0e02c37 Add Makefile and a couple of test HH's 2009-12-07 12:14:19 +08:00
Worros 5f67fc8220 Merge branch 'master' of git://git.assembla.com/fpdb-eric 2009-12-07 12:10:56 +08:00
Worros a3192e77f2 Merge branch 'master' of git://repo.or.cz/fpbd-bostik 2009-12-07 12:10:43 +08:00
Worros 49576b5eb3 Merge branch 'master' of git://git.assembla.com/fpdb-sql 2009-12-07 12:09:05 +08:00
Worros cd5b5b468c Forgot to add actual test file 2009-12-07 12:07:43 +08:00
Worros 0061bd0644 [NEWIMPORT] Add call to HUD for auto import
Make sure the matching db_handid is recorded in the Hand object for later use
2009-12-06 23:02:07 +08:00
Worros 909c2bd0fc Add test for Stars sawShowdown.
Test currently fails in the old import code and passes on NEWIMPORT

Tests for uncalled allin bet on river, which has been erronously marked as showdown previously
2009-12-06 22:57:27 +08:00
Worros 8f787b2d44 Make test file use real database.
Please note this could be destructive
2009-12-06 22:56:29 +08:00
Worros 4d38488f26 [NEWIMPORT] Fix sawShowdown stat 2009-12-06 22:52:45 +08:00
Worros 61840e73c6 Add beginings of test for sawShowdown - unfinished.
Some sort of weird commit problem going on. Conmmitiing to work on htat
2009-12-05 20:18:47 +08:00
Worros c40d665700 Newimport - comments for a getPosition function.
Decided that I needed some test functions before I kick on
2009-12-05 20:15:28 +08:00
Worros ee205c3b29 [NEWIMPORT] Partially fix number of hands parsed reporting 2009-12-04 17:56:56 +08:00
Worros b7d9a843bd Add PLO test file for Betfair, update test to import it 2009-12-03 17:45:04 +08:00
Worros 247af28f7e Add a HH anonymiser
Usage:
python Anonymise.py -i regression-test-files/tour/Stars/Flop/NLHE-USD-MTT-5r-200710.txt

At least works for Stars at the moment
2009-12-03 17:26:40 +08:00
Worros 76163733ee Repair recent damage to Options 2009-12-03 16:46:10 +08:00
Worros 8d95835afe Remove annotate from graph.
Legend box is smarter and looks better imho
2009-12-02 14:07:06 +08:00
Worros 395f19b5fb Add showdown/non-showdown winnings to Grapher 2009-12-02 14:02:06 +08:00
Worros fc20330f2b [NEWIMPORT] Don't actually writeHand on NEWIMPORT 2009-11-30 15:11:00 +08:00
Worros f30b3a6117 Oops - actually add NEWIMPORT const to Configuration 2009-11-30 14:41:07 +08:00
Worros 36dda2174b Move NEWIMPORT into config
Fix test_PokerStars test to catch exception when importing with the legacy importer
2009-11-30 14:33:32 +08:00
Worros 152933ed49 Merge branch 'master' of git://git.assembla.com/fpdb-eric 2009-11-30 14:23:37 +08:00
Worros 71c2fea1ca Add query object to test 2009-11-30 14:22:58 +08:00
Worros bb38d7e1dd [NEWIMPORT] Clean up HandsPlayers.cardX fetching 2009-11-30 14:20:48 +08:00
Worros db5e321fe0 Fix obvious typo 2009-11-30 10:53:15 +08:00
Worros aed892139d Add -i option for input file 2009-11-30 10:52:28 +08:00
Worros a667fe37be Merge branch 'master' of git://repo.or.cz/fpbd-bostik
Conflicts:
	pyfpdb/HUD_main.py
2009-11-29 18:08:47 +08:00
Worros 8d10cbcd5e test_PokerStars - Add test for 5 card draw 2009-11-29 17:10:14 +08:00
Worros a6a3217bbc Fix draw parsing finally? 2009-11-29 16:54:15 +08:00
Worros 39f27bc781 test_PokerStars: Add 2-7 Lowball test 2009-11-29 15:28:32 +08:00
Worros 9071640182 Fix Draw parsing 2009-11-29 15:22:46 +08:00
Worros f5d8f153b5 Start of fixes to draw parsing 2009-11-29 14:40:32 +08:00
Worros e93412f12d Merge branch 'master' of git://git.assembla.com/fpdb-sql 2009-11-29 11:44:26 +08:00
Worros a13ae41134 Fix MySQL startup error: 2002
2002, "Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)"
2009-11-27 20:19:43 +08:00
Worros 0368992289 Add test config used by py.test 2009-11-27 00:19:31 +08:00
Worros 8371ed244a test_PokerStars - add test Stud files and import
Also add commented out tests for Draw games
2009-11-27 00:12:57 +08:00
Worros 411d4ac792 test_PokerStars - Add NLHE-USD-MTT-5r-200710.txt
Commented out for the moment, it has never parsed in old or new code.
2009-11-26 22:52:27 +08:00
Worros 5b5216bbe2 Fix test_PokerStars.py 2009-11-26 22:41:42 +08:00
Worros b794d20f6d Make sqlite :memory: work again 2009-11-26 22:02:48 +08:00
Worros 9e7e22ffa1 Start of in tree HH archive 2009-11-26 17:00:22 +08:00
Worros ac96d88a8c Merge branch 'master' of git://git.assembla.com/fpdb-sql 2009-11-26 10:01:53 +08:00
Worros c9901c3106 Merge branch 'master' of git://git.assembla.com/fpdb-eric 2009-11-26 10:01:39 +08:00
Worros aee9a7339c [NEWIMPORT] Stop duplicate hands from crashing import 2009-11-25 16:29:30 +08:00
Worros 83f06c35cc [NEWIMPORT] HandsPlayers.CBet stats 2009-11-25 14:59:29 +08:00
Worros 30332d2132 Remove forced assert 2009-11-25 10:27:54 +08:00
Worros 1b2a45b77e Prefs: Fix display when a comment node exists in config 2009-11-25 09:06:01 +08:00
Worros a87a145c28 [NEWIMPORT] HandsPlayers.streetXCalls and streetXBets
Pretty sure the bets stat is wrong
2009-11-25 00:57:14 +08:00
Worros 3bb1656603 [NEWIMPORT] Add HandsPlayers.wonAtSD 2009-11-24 23:23:21 +08:00
Worros 9203e0b0d8 [NEWIMPORT] HandsPlayers.sawShowdown added 2009-11-24 23:14:43 +08:00
Worros dc1b0d2e38 [NEWIMPORT] Calculate wonWhenSeenStreet1
Won is defined as 'collected money from the pot'

Seen street 1 does not require vpip on street 0
2009-11-24 21:58:27 +08:00
Worros e9a858e4cd Make DEBUG = False in DerivedStats 2009-11-24 17:55:00 +08:00
Worros 48c395565e [NEWIMPORT] Add HandsPlayers.totalProfit
Grapher now works after import yay
2009-11-24 17:29:54 +08:00
Worros d65ee55b64 [NEWIMPORT] Calculate rake, make card calculation holdem only
Stud card fetching still terminally broken
2009-11-24 16:44:46 +08:00
Worros d617f1c4e0 [NEWIMPORT] Update Database.storeHandsPlayers 2009-11-24 16:39:59 +08:00
Worros ef9abd2948 Force all output from HHCs to by utf8 2009-11-24 11:21:55 +08:00
Worros 34e7fb0459 [NEWIMPORT] Fix HandsPlayers.cardX init 2009-11-23 00:20:51 +08:00
Worros 943e188a4d [NEWIMPORT] Hole card data for flop games
Take some code from Grindi to calculate playersAtStreetX and streetXRaises
2009-11-23 00:05:23 +08:00
Worros 1650b76ea5 Merge branch 'master' of git://git.assembla.com/fpdb-eric 2009-11-22 13:07:49 +08:00
Worros d08e9a1ea3 Add support for UTF-8 HH type.
Able to parse and import an EUR hh file
2009-11-22 12:34:11 +08:00
Worros 14ccde73a2 Fix Playerstats for Pot Limit
Still broken for cap games. Need a more flexible mechanism for this
2009-11-21 11:16:08 +08:00
Worros 8d2b315fc8 Fix PL in Graph viewer
Grapher still doesn't support the cap games, that code could use some cleanout.
2009-11-21 11:11:31 +08:00
Worros 348420f30d Merge branch 'master' of git://repo.or.cz/fpbd-bostik 2009-11-20 21:28:05 +08:00
Worros 4d4387bd94 Removing second layer of try:
Killing until we figure out what it was supposed to catch
2009-11-20 15:11:58 +08:00
Worros eedffdf472 Merge branch 'master' of git://git.assembla.com/fpdb-sql 2009-11-20 09:11:46 +08:00
Worros 5ba4dbb0e7 Clean DerivedStats.py 2009-11-19 17:54:00 +08:00
Worros ea323d0d22 Fix mod() test for sqlite 2009-11-19 17:33:12 +08:00
Worros 33592fbc4e Add math function for sqlite - may still be broken 2009-11-19 17:24:22 +08:00
Worros eadd7c045c Adding broken mod() test 2009-11-19 17:22:53 +08:00
Worros 571cbe07a0 Add test functions for SQLite
Added test for VARIANCE()

Added test for floor()
2009-11-19 15:28:48 +08:00
Worros 29d135da1b Merge branch 'master' of git://git.assembla.com/fpdb-sql 2009-11-18 13:52:41 +08:00
Worros 36fe5d2617 Merge branch 'master' of git://git.assembla.com/free_poker_tools 2009-11-18 00:14:21 +08:00
Worros 5b02153b43 Merge branch 'master' of git://git.assembla.com/free_poker_tools 2009-11-16 15:34:23 +08:00
Worros c9b9c848be Add aggregate function VARIANCE() for sqlite 2009-11-16 15:19:24 +08:00
Worros 15ea852d76 Extend the tablename field in sql to 22 characters 2009-11-07 10:17:28 +08:00
Worros 5c7cce090e [NEWIMPORT] Added street0VPI to HandsPlayers
Also fixed last patch for streetXSeen
2009-11-06 19:30:50 +08:00
Worros 006d7164ea [NEWIMPORT] Insert streetXSeen col into HandsPlayers 2009-11-06 19:13:52 +08:00
Worros 5aef7b6054 [NEWIMPORT] Insert winnings column into HandsPlayers 2009-11-06 18:39:59 +08:00
Worros bea6bf2d6b Merge branch 'master' of git://git.assembla.com/fpdb-mme
Conflicts:
	pyfpdb/Configuration.py
2009-11-05 12:22:05 +08:00
Worros 5d6138e2a8 Merge branch 'master' of git://git.assembla.com/fpdb-eric 2009-11-05 12:16:32 +08:00
Worros cc89433ba8 Merge branch 'master' of git://git.assembla.com/fpdb-eric
Conflicts:
	pyfpdb/Configuration.py
2009-11-04 14:44:25 +08:00
Worros f276ad4dfa Merge branch 'master' of git://git.assembla.com/fpdb-mme
Conflicts:
	pyfpdb/Configuration.py
2009-11-03 17:25:54 +08:00
Worros 28ca49d592 Fix GuiSessionStats.py for sqlite
Fix based on solution from Eleatic Stranger on 2+2
2009-11-02 17:23:50 +08:00
Worros f4aa5f1fe1 First fix for sqlite in PlayerStats
Fix courtesy of Eleatic Stranger on 2+2 - Page still does not work, need to find an sqlite equivalent to to_char() and variance()
2009-11-02 13:38:36 +08:00
Worros d5604e0e73 Merge branch 'master' of git://git.assembla.com/fpdb-eric 2009-10-31 08:57:04 +08:00
Worros ae7e721ede Merge branch 'master' of git://git.assembla.com/fpdb-mme 2009-10-31 08:56:36 +08:00
Worros ce0e2c139b Revert "Print out actual exception when import fails"
This reverts commit 626ff49eb4.

Turns out this commit is python 2.6 syntax
2009-10-31 08:55:54 +08:00
Worros c56f9c28fd Merge branch 'master' of git://repo.or.cz/fpbd-bostik 2009-10-30 14:37:05 +08:00
Worros 3f09bf3d65 Merge branch 'master' of git://git.assembla.com/fpdb-mme 2009-10-30 14:36:42 +08:00
Worros 636727ebb6 Start of Partouche support, shift NEWIMPORT functions 2009-10-30 14:35:45 +08:00
Worros a872769b2b Fix cli to Everleaf 2009-10-29 16:37:33 +08:00
Worros 626ff49eb4 Print out actual exception when import fails 2009-10-29 13:17:17 +08:00
Worros d80360b3bb Merge branch 'master' of git://git.assembla.com/free_poker_tools 2009-10-29 12:28:48 +08:00
Worros 159c39245f Merge branch 'master' of git://repo.or.cz/fpbd-bostik 2009-10-28 10:14:19 +08:00
Worros 57f05ba2fb Merge branch 'master' of git://git.assembla.com/fpdb-mme 2009-10-28 00:21:13 +08:00
Worros bef37abbf5 Merge branch 'master' of git://git.assembla.com/free_poker_tools 2009-10-28 00:20:55 +08:00
Worros 6cb16df055 Merge branch 'master' of git://git.assembla.com/fpdb-eric 2009-10-28 00:20:44 +08:00
Worros 69ece6eeba Merge branch 'master' of git://repo.or.cz/fpbd-bostik 2009-10-28 00:20:26 +08:00
Worros 2be3ab8897 Add Stars icon to folder 2009-10-27 13:18:51 +08:00
Worros ef39f5858e Merge branch 'master' of git://git.assembla.com/fpdb-sql 2009-10-27 11:40:18 +08:00
Worros 9144c7ae68 Revert "Merge branch 'master' of git://git.assembla.com/fpdb-mme"
This reverts commit 1f07fa9a14.
2009-10-27 11:28:27 +08:00
Worros 6b7b46754c Merge branch 'master' of git://repo.or.cz/fpbd-bostik 2009-10-26 23:00:08 +08:00