DerivedStats: Adjust wonWhenSeenStretX
Code looks trivial and correct. Causes 13 regressions that need to be reviewed. Total Errors: 48 ( 7) : wonWhenSeenStreet2 ( 4) : wonWhenSeenStreet3 ( 2) : wonWhenSeenStreet4
This commit is contained in:
parent
018b806cf3
commit
17e23c99d0
|
@ -175,6 +175,12 @@ class DerivedStats():
|
||||||
self.handsplayers[player]['rake'] = int(100* hand.rake)/len(hand.collectees)
|
self.handsplayers[player]['rake'] = int(100* hand.rake)/len(hand.collectees)
|
||||||
if self.handsplayers[player]['street1Seen'] == True:
|
if self.handsplayers[player]['street1Seen'] == True:
|
||||||
self.handsplayers[player]['wonWhenSeenStreet1'] = 1.0
|
self.handsplayers[player]['wonWhenSeenStreet1'] = 1.0
|
||||||
|
if self.handsplayers[player]['street2Seen'] == True:
|
||||||
|
self.handsplayers[player]['wonWhenSeenStreet2'] = 1.0
|
||||||
|
if self.handsplayers[player]['street3Seen'] == True:
|
||||||
|
self.handsplayers[player]['wonWhenSeenStreet3'] = 1.0
|
||||||
|
if self.handsplayers[player]['street4Seen'] == True:
|
||||||
|
self.handsplayers[player]['wonWhenSeenStreet4'] = 1.0
|
||||||
if self.handsplayers[player]['sawShowdown'] == True:
|
if self.handsplayers[player]['sawShowdown'] == True:
|
||||||
self.handsplayers[player]['wonAtSD'] = 1.0
|
self.handsplayers[player]['wonAtSD'] = 1.0
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user