Commit Graph

97 Commits

Author SHA1 Message Date
Chaz
0e9fb62b0d * added a call to the import_parameter 'saveActions' in Hand.py, saving it's value in the variable Hand.saveActions
* added logic to Hand.import() so that it only calls db.storeHandsActions if saveActions is true
* added logic to DetailedStats.getstats() so that it only calls assembleHandsActions() if saveActions is true
2010-09-28 17:17:15 -04:00
Chaz
030a15f041 * Filled assembleHandsActions() 2010-09-28 17:11:09 -04:00
Worros
26eca40b31 More HandsActions stubbing 2010-09-02 00:19:31 +08:00
Worros
9a3d60e0b3 HandsActions: Stub in the remaining calls for HandsActions 2010-09-01 10:47:13 +08:00
Worros
a03e836044 DerivedStats: Stub in HandsActions calculation 2010-09-01 10:38:54 +08:00
sqlcoder
8f91adc513 add log definition 2010-08-29 12:39:54 +01:00
steffen123
69c1c41b36 add these stats to DB/DerivedStats/SQL: street0_4BChance/Done, other3/4BStreet0 2010-08-19 04:09:24 +02:00
steffen123
8aecf117bb add otherRaisedStreet0 and foldToOtherRaisedStreet0 with defualt false 2010-08-19 04:01:44 +02:00
steffen123
d5fb0b3c36 add wonWhenSeenStreet2-4 to DerivedStats' unimplemented section, store 0.0 by default 2010-08-19 03:55:12 +02:00
Worros
ad4fcef2fd DerivedStats: re-fix (break?) sawShowdown again.
Comment from code:

hand.players includes people that are sitting out on some sites for cash games
actionStreets[1] is 'DEAL', 'THIRD', 'PREFLOP', so any player dealt cards
must act on this street if dealt cards. Almost certainly broken for the 'all-in blind' case
and right now i don't care - CG
2010-08-12 21:44:40 +08:00
Eratosthenes
8b1baa6593 Don't break stud and draw when counting players at street. 2010-08-04 20:52:37 -04:00
Eric Blade
d20c82c296 add preflop actors to blindsantes for determining who was in hand for wtsd calcs 2010-08-03 00:24:14 -04:00
Eric Blade
e8d39711dd fix from carl for wtsd, more tweaks to everleaf regexes 2010-07-31 17:24:06 -04:00
sqlcoder
9c5581caf0 rename stealattempt fields to raisefirstin and derive accordingly 2010-07-27 22:27:18 +01:00
steffen123
71df9b06dd HUD: make it work again after my previous overzealous removal of HP.TTid 2010-07-23 04:45:57 +02:00
steffen123
ad28168d02 DB/TOUR: remove HandsPlayers.tourneyTypeId 2010-07-22 21:03:01 +02:00
steffen123
d65b6e55c8 TOURNEY: fix recording of Hands.tourneyId, allow it to be NULL 2010-07-15 02:08:59 +02:00
steffen123
9e004e8962 DB: remove default row for TT, allow HP.ttId to be NULL and remove default 2010-07-15 01:18:36 +02:00
steffen123
ebf16c6aa9 TOURNEY: store HandsPlayers.tourneysPlayersId 2010-07-15 00:27:57 +02:00
steffen123
5fee5136a9 DB: renamed Hands.handStart to Hands.startTime for consistency 2010-07-11 08:05:54 +02:00
steffen123
3bff176970 Merge branch 'carl'
Conflicts:
	packaging/debian/changelog
	pyfpdb/PokerStarsToFpdb.py
	pyfpdb/TourneySummary.py
2010-07-08 22:33:09 +02:00
steffen123
178b528d3b change calls to python2 back to python 2010-07-08 20:01:03 +02:00
Worros
7c8339485d Fix startTime variable change from another patch 2010-07-08 23:14:55 +08:00
steffen123
3b24fd18b2 some cleanups:
- updated copyright notices
- added copyright notices that were missing
- changed python to python2
- added gpl-2/3 license texts
- removed THANKS.txt file as the wiki version is more up to date
- removed empty fpdb_db.py
- added GPL2 to debian license file
2010-07-04 03:05:16 +02:00
steffen123
6b417ebdd4 added HandsPlayers.sitout as discussed on ML 2010-07-02 22:17:15 +02:00
steffen123
d207261c82 Merge branch 'master' of git://git.assembla.com/fpdboz
removed pyfpdb/fpdb.py
2010-06-21 14:02:08 +02:00
Gerko de Roo
db6f7989a9 Street(x)Bet street(x)Calls were stored in (db.)handplayers.
They were not yet available in (db.)hudchache.
Using the Bets and Call, together with stree(x)Agression the
aggression frequency and aggression factor can be calculated.
2010-06-16 17:16:58 +02:00
steffen123
e72b7364b8 Merge branch 'master' of git://git.assembla.com/fpdboz
Conflicts:
	pyfpdb/DerivedStats.py
2010-06-07 03:08:07 +02:00
steffen123
f6fbf08250 moved fold stats so that the file no longer indicates that they're not done 2010-06-04 03:35:40 +08:00
Worros
994f0fdccc Modify recent patch from Steffen adding fold stats
- Remove added whitespace
- Reformatted debug strings in preferred printf style (and starting with DEBUG:)
- Swapped len(aggrers)>0 and i>0 for short circuit evaluation, and reformatted spacing for consistent coding style
-- (NOTE: for NLHE this will definitely be faster as less hands go to flop - may be slower for limit games)

Also added a couple of comments near enumerate() calls about 2.5 to 2.6 syntax
2010-06-04 03:02:07 +08:00
steffen123
c52767ea41 it now records and displays fold stats (not too thoroughly tested) 2010-06-04 02:29:31 +08:00
steffen123
30d7f0dc2a moved fold stats so that the file no longer indicates that they're not done 2010-05-28 19:12:02 +02:00
steffen123
300e5fbbed it now records and displays fold stats (not too thoroughly tested) 2010-05-28 02:31:04 +02:00
gimick
c871d7fc2f gimick - Do not set CBChance if there has been a donkbet 2010-04-23 11:49:31 +08:00
Worros
b14bed4e9b Fix last patch - add pass 2010-04-15 15:48:57 +08:00
Worros
81c731b42e Fix for CBet stat
Patch from bbtgaf@googlemail.com aka gimick

DerivedStats.betStreet() was only functioning if the player was the first person to act on a street.

If the player was checked to the function would exit as False before ever finding the player
2010-04-15 14:51:20 +08:00
Worros
085f46d3da Merge branch 'master' of git://git.assembla.com/fpdb-sql 2010-02-28 12:28:58 +08:00
sqlcoder
6a6d1b1b2c fix 3bet stat (was being set to false if someone else 4bet) 2010-02-27 18:41:30 +00:00
Gerko de Roo
8c46d3bde5 Merge branch 'master' of git://git.assembla.com/fpdb-sql.git 2010-02-18 17:28:27 +01:00
Gerko de Roo
a27bc45f6d fix for dead blinds and antes in the player stat calculation
Posted dead blinds messed up the rake and profit calculation
in the player stats.
This fix should also work for antes
The fix has been done for omaha and holdem game types (without antes)
I don't have draw or stud hands to check this
2010-02-18 16:17:08 +01:00
sqlcoder
0cafb75c59 finish previous undo 2010-02-17 23:29:50 +00:00
sqlcoder
c31a2f6cef undo earlier 're-fix' that broke things 2010-02-17 21:44:05 +00:00
sqlcoder
78dc7ab468 improve sawshowdown stat 2010-02-15 23:37:34 +00:00
sqlcoder
4993b6619e improve position set routine to cover folding to BB and missing SB 2010-02-15 22:57:59 +00:00
sqlcoder
feeb70594a re-fix steal stats 2010-02-15 22:54:02 +00:00
sqlcoder
d637c2a89c improve steal calc 2010-02-14 23:26:47 +00:00
Worros
d37f301b10 Revert "a wtsd fix, but figures looks further out if anything now. see riterman in FLHE_6max_sawflop_wrong.txt for an example where street1seen is still not set"
This reverts commit 6814538594.
2010-02-15 00:01:36 +08:00
sqlcoder
6814538594 a wtsd fix, but figures looks further out if anything now. see riterman in FLHE_6max_sawflop_wrong.txt for an example where street1seen is still not set 2010-02-14 12:50:44 +00:00
sqlcoder
e3679a99fb fix steal calcs 2010-02-03 00:48:45 +00:00
Worros
3f0dfd2b26 Fix enumerate() 2010-01-16 13:55:01 +08:00