git19 (REIMPORT needed) - updated everything to use new action counting method -> it half works, but fails to store (or print) a substantial proportion of the action_nos

removed bunch of commented prints from fpdb_parse
This commit is contained in:
steffen123
2008-08-08 22:03:43 +01:00
parent bf691fe9e7
commit 0e84dceb1f
16 changed files with 147 additions and 212 deletions
+6 -5
View File
@@ -9,14 +9,14 @@ add instructions how to reimport
split python requirements, get deep links for windows DL for everything
GUI license info
change action_no to be total for this street rather than just for one player. change .expected.txt files accordingly.
calculate 3B/4B percentage (depends on above, currently its useless)
update regression testing to take into account everything new
add fpdb version string into db to detect outdated db format.
calculate 3B/4B percentage
add fpdb version string into db to detect outdated db format and importer bugs
update regression testing to take into account everything new, make sure it passes all tests
before beta
===========
optionally show single postflop agg/fold rate
change definition of bet to exclude bring in?
auto-import
implement error file in importer
change to use different colours according to classification.
@@ -30,7 +30,7 @@ fix load profile
HUD
config wizard
file permission script, use games group
change stud street storage from 3-7 to 0-4 throughout
change stud street storage from 3-7 to 0-4 throughout (possibly best way is to just shrink the holding array in fpdb_simple.createArrays
make bulk importer display a grand total in the GUI
change save_to_db into one method and probably move into parse_logic
Any comment or print with "todo" in it in the sourcecode except what is marked todo in the menu
@@ -47,6 +47,7 @@ verify at least 2 or 3 sng hands
no rush but before 1.0RC
========================
In many places there are unnecessary database accesses or it regenerates information it already had before or just generally does things in obscenely inefficient ways. It's great to have a total of 3 CPUs with a combined 5.6GHz working for you isn't it... ;) In any case, these should be optimised to leave more power for other things, such as dropping to lower power states
move version into seperate file
make option to use "traditional" labels, e.g. WtSD instead of SD/F
HTMLify docs and validate them
+30 -100
View File
@@ -840,131 +840,61 @@ far less relevant.</P>
</TABLE>
<P></P>
<P><B>Table hands_actions</B></P>
<p>Did
separate this into an extra table because it makes SELECTing across
different streets so much easier. Also the space saving will be very
large.</P>
<p>Did separate this into an extra table because it makes SELECTing across different streets so much easier. Also the space saving will be very large.</P>
<TABLE BORDER=1 CELLPADDING=2 CELLSPACING=0>
<TR VALIGN=TOP>
<TD><P>Field Name</P></TD>
<TD>
<P>Type</P>
</TD>
<TD>
<P>Comment</P>
</TD>
<TD><P>Type</P></TD>
<TD><P>Comment</P></TD>
</TR>
<TR VALIGN=TOP>
<TD>
<P>id</P>
</TD>
<TD>
<P>bigint</P>
</TD>
<TD>
<P><BR>
</P>
</TD>
<TD><P>id</P></TD>
<TD><P>bigint</P></TD>
<TD><P><BR></P></TD>
</TR>
<TR VALIGN=TOP>
<TD>
<P>hand_player_id</P>
</TD>
<TD>
<P>bigint</P>
</TD>
<TD>
<P>references
hands_players.id</P>
</TD>
<TD><P>hand_player_id</P></TD>
<TD><P>bigint</P></TD>
<TD><P>references hands_players.id</P></TD>
</TR>
<TR VALIGN=TOP>
<TD>
<P>street</P>
</TD>
<TD>
<P>smallint</P>
</TD>
<TD>
<p>street
number, 0-3 (preflop, flop, turn, river) for holdem/omaha or 0-4
for razz/stud</P>
<P>-1 for seen showdown</P>
</TD>
<TD><P>street</P></TD>
<TD><P>smallint</P></TD>
<TD><p>street number, 0-3 (preflop, flop, turn, river) for holdem/omaha or 0-4 for razz/stud</P><P>-1 for seen showdown</P></TD>
</TR>
<TR VALIGN=TOP>
<TD>
<P>action_no</P>
</TD>
<TD>
<P>smallint</P>
</TD>
<TD>
<P>action number, 1-4</P>
</TD>
<TD><P>action_no</P></TD>
<TD><P>smallint</P></TD>
<TD><P>action number, this is counted from zero for each street but across all players (e.g. in a heads up where the SB calls and the BB raises and the SB calls again would have numbers 0 and 1 for blinds, 2 and 4 for call and 3 for bet)<br>
Note that the blinds are counted as an action, so if the SB stays in the hand it'll always be action #0</P></TD>
</TR>
<TR VALIGN=TOP>
<TD>
<P>action</P>
</TD>
<TD>
<P>char(5)</P>
</TD>
<TD>
<p>bet
stands for bring in, complete, bet, double bet, raise and double
raise, since they all - technically - do the same thing. unbet is
used for when an uncalled bet is returned.</P>
<P>Other valid values: blind
call check fold</P>
</TD>
<TD><P>action</P></TD>
<TD><P>char(5)</P></TD>
<TD><P>Bet stands for bring in, complete, bet, double bet, raise and double raise, since they all - technically - do the same thing. Unbet is used for when an uncalled bet is returned.</P>
<P>Other valid values: blind call check fold</P></TD>
</TR>
<TR VALIGN=TOP>
<TD>
<P>amount</P>
</TD>
<TD>
<P>int</P>
</TD>
<TD>
<P>amount put into the middle
for this action</P>
</TD>
<TD><P>amount</P></TD>
<TD><P>int</P></TD>
<TD><P>amount put into the middle for this action</P></TD>
</TR>
<TR VALIGN=TOP>
<TD>
<P>comment</P>
</TD>
<TD>
<P>text</P>
</TD>
<TD>
<P><BR>
</P>
</TD>
<TD><P>comment</P></TD>
<TD><P>text</P></TD>
<TD><P><BR></P></TD>
</TR>
<TR VALIGN=TOP>
<TD>
<P>comment_ts</P>
</TD>
<TD>
<P>datetime (in UTC)</P>
</TD>
<TD>
<P><BR>
</P>
</TD>
<TD><P>comment_ts</P></TD>
<TD><P>datetime (in UTC)</P></TD>
<TD><P><BR></P></TD>
</TR>
</TABLE>
<p><BR>
</P>
<p><BR></P>
<p><B>Tournament Tables</B></P>
<p><BR></P>
<p><B>Table tourneys</B></P>
<TABLE BORDER=1 CELLPADDING=2 CELLSPACING=0>
<TR VALIGN=TOP>
<TD>
<P>Field name</P>