Skip to content

[WIP] add _DEBUG_STRAP#103

Open
APN-Pucky wants to merge 5 commits intomasterfrom
strap_debug
Open

[WIP] add _DEBUG_STRAP#103
APN-Pucky wants to merge 5 commits intomasterfrom
strap_debug

Conversation

@APN-Pucky
Copy link
Copy Markdown
Owner

@APN-Pucky APN-Pucky commented Jan 2, 2026

This adds machine readable debug output. This allows for more statistical in-depth analysis/debugging. Some simple examples below where I ran:

./tuo-debug "Octane Optimized,Krellus' Nexus,Council's Contradictor,Regrowing Rudgah,Balor the Void Eye,Worrop Bellower,Matreshka Blitz,Reforming Rudgah,Kazarix Dropship,Wrath of the Sentinels" "Insurgent Malika,Alpha Retainer,Exarch's Wisp,Exarch's Wisp,Zashikinoz,Demi Constrictor,Ace Eradicator" debug sim 10000 +v +v strap | grep --line-buffered '@strap' | sed 's/.*@strap[0-9]* //' | gzip > output.strap.gz

giving a reasonable 15MB file consisting of 2 million lines.

The idea is to follow https://github.com/APN-Pucky/strap which allows to visualize via https://github.com/APN-Pucky/strap-gui.

@APN-Pucky
Copy link
Copy Markdown
Owner Author

Below you see that Ace Eradicator has a bit more variance in it's attack damage and regardless of the turn you see it does more damage than Demi Constrictor (with its long delay no damage in early game ever).
image

@APN-Pucky
Copy link
Copy Markdown
Owner Author

For instance in the last plot it is easy to read that Demi Constrictors counter does (unsurprisingly) more damage in the later game (turn > 10)
image

@APN-Pucky
Copy link
Copy Markdown
Owner Author

Alternating averages attack damages by players in comparison:
2026-01-02_22-19-09_STRAP

@APN-Pucky
Copy link
Copy Markdown
Owner Author

APN-Pucky commented Jan 2, 2026

@dsuchka WDYT? I think this could be useful to debug and see how changes affect the simulation beyond changes in win rates (-> i.e. toggle of fixes wrt. to a sufficient general gauntlet + fixed seed).

@APN-Pucky APN-Pucky marked this pull request as ready for review January 2, 2026 21:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant