Commit Graph

260 Commits

Author SHA1 Message Date
DoNoBaN
2b716af46c Added Success Steal for detailed stats
Needs add it to gui_cash_stats
2011-02-18 16:17:21 +01:00
DoNoBaN
cfa87c9870 Merge branch 'master' of git://git.assembla.com/fpdboz 2011-02-18 00:45:07 +01:00
DoNoBaN
aea40ab605 Add success steal for detailed stats 2011-02-18 00:42:59 +01:00
Worros
e4a3de1272 Merge branch 'chaz' of git://github.com/ChazDazzle/fpdb-chaz 2011-02-17 11:28:44 +08:00
Steffen Schaumburg
671dc1c7ca fix missing line in SQL 2011-02-14 16:42:25 +01:00
Worros
3d168cee6e Merge branch 'master' of git://git.assembla.com/donoban-fpdb 2011-02-13 23:47:15 +08:00
DoNoBaN
0a1389244d Added cold 4bet, squeeze and success steal
4bet and foldto3/4bet enabled for Detailed Stats

Removed street0 other raises (they was unused)
2011-02-12 14:11:41 +01:00
DoNoBaN
6370fca9ec Added 4bet and fold to 3/4bet at detailed cash stats pages 2011-02-11 16:37:28 +01:00
Worros
2a586cf460 SQL: Add function to fetch tourney ids 2011-02-11 17:51:18 +08:00
DoNoBaN
200c3a3ff6 Fixed problems in 3/4 bet 2011-02-08 23:02:16 +01:00
gimick
c2200ee7ef Merge branch 'master' of git://git.assembla.com/free_poker_tools 2011-02-05 15:11:52 +00:00
gimick
be96f14fd2 Merge branch 'master' of git://git.assembla.com/fpdboz 2011-02-05 14:38:17 +00:00
Eratosthenes
b4ef4bdecb SQL tokens with leading digits are not allowed. 2011-02-04 11:38:35 -05:00
gimick
5985d7eba5 Merge branch 'master' of git://git.assembla.com/fpdboz 2011-02-03 20:58:05 +00:00
Donoban
1a0d76686f Added 4bet and fold to 4bet stat 2011-02-03 05:04:12 +01:00
gimick
0450424b51 GUI: show 2dp for aggfac (sqlite only, fixed for other db's for code consistency) 2011-02-02 20:38:34 +00:00
Donoban
13758dd45a Added fold to 3bet 2011-02-02 03:35:38 +01:00
chaz@pokeit.co
990e226254 storeSessionsCache() now adds a sessionId to the Hands table 2011-01-01 03:35:14 -05:00
chaz@pokeit.co
838c626bba Changed the HandsActions table join index from 'handsPlayersId' to 'handId' and 'playerId'. This allows us to use executemany(), which is faster, in storeHandsPlayers when storing actions. 2010-12-31 15:30:29 -05:00
gimick
3437f99db7 HUD: First hand in database missing from HUD stats 2010-12-26 21:42:16 +00:00
Steffen Schaumburg
788668128e Merge branch 'gimick' 2010-12-23 08:43:51 +01:00
gimick
e3f0e971e6 GuiRingPlayerStats: Fix > 100% CB stat, and clarify helptext for CB 2010-12-22 15:07:58 +00:00
Worros
06978fb77b SQL: Add get_gameinfo_from_hid 2010-12-17 18:59:01 +08:00
Worros
7dd8b9de16 Rename gameTypeId to gametypeId
Go through and change all references to gameTypeId to gametypeId to make it consistent.

The database field is named with the lowercase version, and MySQL is case sensitive.

This may have been causing minor issues in multiple areas when attempting to join on gametype.
2010-12-10 22:31:12 +08:00
chaz@pokeit.co
95d14911f3 Fixed a variety of bugs in storeSessionsCache() and the corresponding SQL statements 2010-12-08 16:32:26 -05:00
Worros
352c40baab Merge branch 'chaz' of git://github.com/ChazDazzle/fpdb-chaz
Conflicts:
	pyfpdb/regression-test-files/cash/Stars/Flop/LHE-10max-USD-1.00-2.00-No_max_seats.txt
2010-12-06 11:51:16 +08:00
Chaz
0c46965d98 Finished up code for creating and updating SessionsCache. Table includes fields for sessionStart, sessionEnd, ring hands, tournament hands, ring totalProfit, and ring bigBets won during each session. bigBets field is a python float stored as a REAL in the database (I am open to alternative suggestions). Also, storeSessions is currently set to False. 2010-12-04 17:40:48 -05:00
Worros
1e749d3cf3 Tourney Player Viewer fix for Bugid 0000050
SQL case statements only divided by 100 if the currency was USD.

This is a temporary fix - what we probably want is WHEN tt.currency != PLAY or FPP
2010-12-03 12:34:58 +08:00
Chaz
5a2fcea9df turns out the the '+0' is for indexing and has nothing to do with NULLS so I put it back in 2010-12-02 00:27:03 -05:00
Chaz
5fd3dddf2b * update_hudcache wasn't updating existing cashgame records because it was trying to match a NULL tourneyTypeId with a %s None value. Changed the logic of the SQL to handle this situation. It appeared like someone had tried to handle this by adding '+0' to the NULL record but it doesn't work.
* Deleted the attempted '+0' NULL value handling for gametypeId. gametypeId should never be null as an error would have already been thrown before it was inserted
2010-12-01 16:35:38 -05:00
Chaz
e0f76a508c reverted HudCache styleKey to include only YYMMDD - however, it now stores the d000000 date based off the tz & offset 2010-11-30 14:05:28 -05:00
Chaz
21ac5229cb Fixed styleKey char length to 9 2010-11-25 02:36:34 -06:00
Chaz
8026ba256a It's %H, not %h 2010-11-24 14:41:12 -06:00
Chaz
ac4cae5abf * Updated the methods, variables, and SQL in Database.py and SQL.py to add Hours to the HudCache.styleKey field 2010-11-24 14:14:29 -06:00
lastpoet
6e00ba9d78 add date boundaries in filters 2010-10-13 14:08:48 +08:00
steffen123
43a5fb0f74 Merge branch 'carl' 2010-10-10 17:48:54 +02:00
steffen123
dfd47cfbfb unify some strings and remove misleading comment 2010-10-09 14:02:39 +02:00
lastpoet
8b25c67ba9 basic optimisation in stats 2010-10-06 15:57:33 +01:00
danny
126eb0c0bc Added graphing improvements. 2010-10-04 08:54:20 +08:00
Worros
43edb615b0 SQL: Fix MySQL/Postgres Actions and HandsActions 2010-09-30 17:19:35 +08:00
Chaz
1b0db117ce * updated 'createHandsActionsTable' and 'store_hands_actions' in the SQL dictionary 2010-09-28 17:01:31 -04:00
Chaz
c1b2a0040c * Added HandsActions & Actions indexes & foreign keys to Database.py
* Added 'createActionsTable' to the SQL dictionary
* Updated create_tables so 'createActionsTable' would be called
* Updated dumpdatabase(), adding in u'Actions'
* Added action name & code info for filling the Actions table in FillDefaultData()
2010-09-28 16:59:37 -04:00
Worros
d0df1b6e44 SQL: Iport tourneyResults query 2010-09-09 18:08:03 +08:00
Worros
016b0ed48f Tourney Graphing and Summary import update
It now gets through my 200 tourney torture test.
2010-09-04 20:06:24 +08:00
Worros
cf2629b290 New: Tournament Results Viewer
Decided to see how hard it would be to get the tournament results using the existing schema.

Turns out the cash graph query is pretty similar and not much thought was required.

Created a new tab based on the existing cash game viewer for profit.

This is probably the idea page for multiple axis to be added.
- Distributions for position
- distributions by buy-in level
- ROI per buy-in level

Lots of stuff like that.
2010-09-04 14:16:46 +08:00
Worros
26eca40b31 More HandsActions stubbing 2010-09-02 00:19:31 +08:00
steffen123
aabc9d2006 actually store TT.maxSeats 2010-08-22 06:46:47 +02:00
steffen123
52d38020d2 fix update hud cache/auto import 2010-08-21 18:30:10 +02:00
steffen123
6474f92dd1 add new tables RawHands/RawTourneys 2010-08-21 04:29:29 +02:00
steffen123
0c93963378 add these to HudCache storing: street0_4BChance/Done, other3/4BStreet0 2010-08-19 06:14:12 +02:00