HearthSim / HSTracker

A deck tracker and deck manager for Hearthstone on macOS
https://hsreplay.net/downloads/
MIT License
1.19k stars 177 forks source link

Support for HSReplay arena card winrate? #1230

Closed jdb8 closed 2 years ago

jdb8 commented 3 years ago

I noticed that the cardtier.json used for Arena tier lists currently seems out of date, which I believe is due to the shutdown of the Lightforge tier list. There are also streamers like TrumpSC who tend to use HSReplay stats to inform their drafting decisions.

My proposal is to provide support to display winrate stats via HSTracker (optionally) in place of the current tier list score.

I've actually just published a small experimental script to download the relevant stats and create a compatible cardtier.json file which can be read by HSTracker, but there are some limitations to this approach, namely that:

If there's a way to resolve these issues, and build the logic from my POC script into HSTracker itself, I think it might provide a nicer drafting experience for Arena players.

Let me know your thoughts!

xiantang commented 3 years ago

coool thank u

fmoraes74 commented 2 years ago

Can you try with version 2.0.9 and see how the generated HSReplay tier list works?

fmoraes74 commented 2 years ago

This is already implemented, closing.

jdb8 commented 2 years ago

@fmoraes74 oh, thanks! I just tried it out on v2.1.8 (sorry for the delay) and I'm having trouble understanding how the data is represented. I was looking for a display of the "Deck winrate %" which shows up on the HSReplay site, but I'm seeing numbers like this for a warlock arena draft:

image

Checking for those cards directly on the HSReplay site arena card list, for warlock, the numbers don't look to match: for example Hellfire has a 56.7% deck win rate, not 69 as in the screenshot above.

Is there any way to more directly show the deck winrates for these cards, or make it clearer how the tier list is generated if these numbers map to the deck winrate somehow? Thanks!

EDIT: just as an example of what I was looking for, this is the output generated by my script for the same cards, which matches the site data:

image

fmoraes74 commented 2 years ago

The values are a calculated tier score based on HSReplay data. Basically a function of derived pick rate and win rate when drawn.

jdb8 commented 2 years ago

Oh, nice - is that mapping available anywhere? Would be interested to look at both the raw and derived data when making picks.

fmoraes74 commented 2 years ago

Oh, nice - is that mapping available anywhere? Would be interested to look at both the raw and derived data when making picks.

Sorry, that's not available at this time. It is desired like I attempted to describe.