The previous calculation didn't correctly deal with the 'complete' and 'bringin' actions, with bringin being markes as raisedFirstIn = True
Reduced regression test errors, but triggered some in unverified file.
---------------------
Total Errors: 22
---------------------
Likely offenders:
( 2) : regression-test-files/cash/Stars/Stud/7-StudHL-USD-0.04-0.08-200911.Cardtest.txt
( 2) : raiseFirstInChance
( 1) : street1CBChance
( 1) : street1CBDone
Code looks trivial and correct.
Causes 13 regressions that need to be reviewed.
Total Errors: 48
( 7) : wonWhenSeenStreet2
( 4) : wonWhenSeenStreet3
( 2) : wonWhenSeenStreet4
* 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
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
- 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
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.
- 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