Fixed some wrong stats in Stats.py
This commit is contained in:
parent
637257a63d
commit
674c9640ed
|
@ -442,12 +442,12 @@ def three_B(stat_dict, player):
|
||||||
""" Three bet preflop/3rd."""
|
""" Three bet preflop/3rd."""
|
||||||
stat = 0.0
|
stat = 0.0
|
||||||
try:
|
try:
|
||||||
stat = float(stat_dict[player]['3b_0'])/float(stat_dict[player]['Tb_opp_0'])
|
stat = float(stat_dict[player]['Tb_0'])/float(stat_dict[player]['Tb_opp_0'])
|
||||||
return (stat,
|
return (stat,
|
||||||
'%3.1f' % (100.0*stat),
|
'%3.1f' % (100.0*stat),
|
||||||
'3B=%3.1f%%' % (100.0*stat),
|
'3B=%3.1f%%' % (100.0*stat),
|
||||||
'3B_pf=%3.1f%%' % (100.0*stat),
|
'3B_pf=%3.1f%%' % (100.0*stat),
|
||||||
'(%d/%d)' % (stat_dict[player]['3b_0'], stat_dict[player]['Tb_opp_0']),
|
'(%d/%d)' % (stat_dict[player]['Tb_0'], stat_dict[player]['Tb_opp_0']),
|
||||||
_('% 4 Bet preflop/3rd'))
|
_('% 4 Bet preflop/3rd'))
|
||||||
except:
|
except:
|
||||||
return (stat,
|
return (stat,
|
||||||
|
@ -461,7 +461,7 @@ def four_B(stat_dict, player):
|
||||||
""" Four bet preflop/4rd."""
|
""" Four bet preflop/4rd."""
|
||||||
stat = 0.0
|
stat = 0.0
|
||||||
try:
|
try:
|
||||||
stat = float(stat_dict[player]['4b_0'])/float(stat_dict[player]['Fb_opp_0'])
|
stat = float(stat_dict[player]['Fb_0'])/float(stat_dict[player]['Fb_opp_0'])
|
||||||
return (stat,
|
return (stat,
|
||||||
'%3.1f' % (100.0*stat),
|
'%3.1f' % (100.0*stat),
|
||||||
'4B=%3.1f%%' % (100.0*stat),
|
'4B=%3.1f%%' % (100.0*stat),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user