TexasSolver icon indicating copy to clipboard operation
TexasSolver copied to clipboard

Documentation needed on output.json

Open mk2301 opened this issue 4 years ago • 6 comments

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

mk2301 avatar Dec 09 '21 16:12 mk2301

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.

bupticybee avatar Dec 10 '21 03:12 bupticybee

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 avatar Jul 26 '22 23:07 def-mycroft

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

def-mycroft avatar Jul 26 '22 23:07 def-mycroft

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

def-mycroft avatar Jul 26 '22 23:07 def-mycroft

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)

bupticybee avatar Jul 27 '22 03:07 bupticybee

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

def-mycroft avatar Jul 27 '22 19:07 def-mycroft