ericgjackson/slumbot2019

show_probs_at_node segfaults -> how to look at flop strategy?

Opened this issue · 3 comments

I ran the MCCFR example and now want to inspect the strategy.

Preflop works like a charm:
../bin/show_preflop_strategy holdem_params nhs2_params mb1b1_params tcfr_params 0 cum

I do get the same result using this:
../bin/show_probs_at_node holdem_params nhs2_params mb1b1_params tcfr_params 0 cum ""

This gives the strategy for second player after first player limps:
../bin/show_probs_at_node holdem_params nhs2_params mb1b1_params tcfr_params 0 cum c

This however returns a segmentation fault(I am not out of memory):
../bin/show_probs_at_node holdem_params nhs2_params mb1b1_params tcfr_params 0 cum cc

How can I see the flop strategy? How do I encode the board cards in the betting sequence?

Thanks for any hints.

I can take a look over the weekend.

Should be working now.

Thank you! That works now.

Is there any way to query specific boards or hole cards? The results are quite long and take a long time:

../bin/show_probs_at_node holdem_params nhs2_params mb1b1_params tcfr_params 0 cum ccc | wc -l
2063880

The result is longer for later streets.

Can you point me to the part of the source code where the agent queries a strategy for a specific postflop situation?

Thanks again.