bupticybee / TexasSolver

🚀 A very efficient Texas Holdem GTO solver :spades::hearts::clubs::diamonds:
https://bupticybee.github.io/texassolver_page
GNU Affero General Public License v3.0
1.69k stars 301 forks source link

Documentation needed on output.json #79

Open mk2301 opened 2 years ago

mk2301 commented 2 years ago

Hey, thank you for this awesome work!

I am interested in using the console solver for some private reports, and I was wondering if you have some more documentation on the structure of the output file. Espescially where do I find the frequencies, EVs & equities (if available)? I think I only see frequencies in the file, but maybe I am looking in the wrong places.

Thanks in advance! Michael

bupticybee commented 2 years ago

EVs are not contained in the output file for now. In the next version I will modify the save format entirely so maybe I will write some document then.

def-mycroft commented 2 years ago

is the river strategy included in the output json file?

I loaded an output file into a python dict, and was able to follow the tree through the turn, but I find a termination at the turn, having trouble seeing how to access the river strategy.

here is the terminal node:

dta['childrens']['CHECK']['childrens']['CHECK']['dealcards']['6c']['childrens']['CHECK']['childrens']['CHECK']

...so check/check on flop, 6c on turn, check/check on turn. the above key is:

{'deal_number': 0, 'node_type': 'chance_node'}

how can I access the river strategy from this point?

def-mycroft commented 2 years ago

here are the params I'm using: http://dpaste.com//AH5VPTC6P

def-mycroft commented 2 years ago

here is the output file: http://dsurge.s3-website.us-east-2.amazonaws.com/output.json

bupticybee commented 2 years ago

is the river strategy included in the output json file?

I loaded an output file into a python dict, and was able to follow the tree through the turn, but I find a termination at the turn, having trouble seeing how to access the river strategy.

here is the terminal node:

dta['childrens']['CHECK']['childrens']['CHECK']['dealcards']['6c']['childrens']['CHECK']['childrens']['CHECK']

...so check/check on flop, 6c on turn, check/check on turn. the above key is:

{'deal_number': 0, 'node_type': 'chance_node'}

how can I access the river strategy from this point?

In the config file you submitted, set_dump_rounds 2 means you want to dump flop and turn, not river.

if you change it to set_dump_rounds 3 ,river strategy would be dumped (but it would mean larger dumping time)

def-mycroft commented 2 years ago

thanks for your help! I changed the config param and it I see how to access the river.

if I wrote a short README that describes the JSON output, would you be interested in reviewing and possibly accepting PR for a short piece of documentation that helps people understand the structure?

On Tue, Jul 26, 2022 at 10:58 PM icybee @.***> wrote:

is the river strategy included in the output json file?

I loaded an output file into a python dict, and was able to follow the tree through the turn, but I find a termination at the turn, having trouble seeing how to access the river strategy.

here is the terminal node:

dta['childrens']['CHECK']['childrens']['CHECK']['dealcards']['6c']['childrens']['CHECK']['childrens']['CHECK']

...so check/check on flop, 6c on turn, check/check on turn. the above key is:

{'deal_number': 0, 'node_type': 'chance_node'}

how can I access the river strategy from this point?

In the config file you submitted, set_dump_rounds 2 means you want to dump flop and turn, not river.

if you change it to set_dump_rounds 3 ,river strategy would be dumped (but it would mean larger dumping time)

— Reply to this email directly, view it on GitHub https://github.com/bupticybee/TexasSolver/issues/79#issuecomment-1196238127, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEY7CLCNQ3LYFSSMQISHN63VWCXXPANCNFSM5JW556IQ . You are receiving this because you commented.Message ID: @.***>

-- Joseph Dasenbrock