ericgjackson / slumbot2017

MIT License
17 stars 9 forks source link

slumbot website #2

Open hrt opened 4 years ago

hrt commented 4 years ago

Will you be updating the slumbot website to use the 2019 bot? Or perhaps run it against 2017 so it appears on the leaderboard to compare against? Is there a significant improvement?

On another note, I've noticed that my own bot (vs slumbot web) consistently gets into situations where my reported shands is greater than lhands which I think causes abnormal performances on the leaderboards?

hrt commented 4 years ago

i.e.:

{'hip': 0, 'clbsdhands': 10, 'shands': 164, 'oppholes': 'Jc7c', 'blbsdtotal': 7500, 'sdhands': 22, 'ourb': 600, 'lbtotal': 900, 'lhands': 123, 'ps': 600, 'p1': 1, 'outcome': 1200, 'sd': 0, 'oppb': 0, 'holes': 'Ks6s', 'lconf': 21121, 'blbsdconf': 6583, 'stotal': 24950, 'ltotal': 50950, 'sdtotal': 16100, 'action': 'cb300c/kb600f', 'clbsdtotal': 8600, 'sdconf': 13662, 'board': 'Kh9d6h', 'clbsdconf': 11922, 'lbconf': 39615, 'blbsdhands': 12}
Earnings: | 416.94 BB/100 | +/- 174.51
Baseline Earnings: | 11.57 BB/100 | +/- 327.34
Num Hands: | 121
hrt commented 4 years ago

another example (session has 700+ hands but site only registers 300:

{'hip': 0, 'clbsdhands': 23, 'shands': 740, 'oppholes': 'KcJh', 'blbsdtotal': 8800, 'sdhands': 49, 'ourb': 3600, 'lbtotal': 5200, 'lhands': 297, 'ps': 3600, 'p1': 1, 'outcome': 7200, 'sd': 0, 'oppb': 0, 'holes': 'AdJs', 'lconf': 71397, 'blbsdconf': 7898, 'stotal': 108850, 'ltotal': 134850, 'sdtotal': 53600, 'action': 'cb300c/b300c/kb1200c/kb3600f', 'clbsdtotal': 44800, 'sdconf': 67012, 'board': 'AsAhJcKhKd', 'clbsdconf': 65626, 'lbconf': 90929, 'blbsdhands': 26}
hrt commented 4 years ago

Appears like shands jumps quite a bit instead of incrementally.

Might be because of my bad attempt at using the ai field or maybe I'm reusing someone else's session? I'll adjust both params to reflect how your js generates them

hrt commented 4 years ago

I've been able to since fix this - I believe I was creating new hands with increasing ai (no reset). Still the server shouldn't handle it like that since it's exploitable - but I think it's fine.

ericgjackson commented 4 years ago

Hi, thanks for your feedback. I don't know when I will get around to fixing this, because I am not actively making improvements to the website.

I haven't yet built a bot using the 2019 code that beats the 2017 bot, but maybe one of these days if I ever find the time.