Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trends for item purchase time #523

Open
dartharaknus opened this issue Nov 20, 2016 · 7 comments
Open

Trends for item purchase time #523

dartharaknus opened this issue Nov 20, 2016 · 7 comments

Comments

@dartharaknus
Copy link
Member

dartharaknus commented Nov 20, 2016

Item timing trends might be possible, but we need to think about how to do it. Each player_cache currently has some fields tracking item purchase times per match. We could extract a particular item from each and plot that, I guess.

Example:
https://api.opendota.com/api/players/88367253/matches?project=purchase_time&project=purchase&limit=10
Note that purchase_time is the sum of the purchase times. We can divide by the key in purchase to get the average purchase time. Typically what the user expects to see is first_purchase_time, so this might be messed up if the user has multiple purchases of the same item in the same match.

@howardchung
Copy link
Member

They already are?

@dartharaknus
Copy link
Member Author

Hmm.. There was some feedback on this in reddit. I forgot what exactly it was though.

@howardchung
Copy link
Member

In that case, reopen if you remember what it is :)

@dartharaknus
Copy link
Member Author

Such that it would show trends per role as well as trends per hero. Per hero there are also a lot of other interesting things that could be added to trends such as skill builds and item builds and average timings to reach them.

That was the reddit comment.

@howardchung
Copy link
Member

howardchung commented Nov 20, 2016

Per role/hero I think is satisfied by applying a filter.

Skill builds are non-numeric so I'm not sure how they could be plotted on a graph.

Item timing trends might be possible, but we need to think about how to do it. Each player_cache currently has some fields tracking item purchase times per match. We could extract a particular item from each and plot that, I guess.

Example:
https://api.opendota.com/api/players/88367253/matches?project=purchase_time&project=purchase&limit=10
Note that purchase_time is the sum of the purchase times. We can divide by the key in purchase to get the average purchase time. Typically what the user expects to see is first_purchase_time, so this might be messed up if the user has multiple purchases of the same item in the same match.

@dartharaknus
Copy link
Member Author

I will leave you to create/open issues for that comment.

@howardchung
Copy link
Member

I'll just reuse this one and rename it

@howardchung howardchung reopened this Nov 20, 2016
@howardchung howardchung changed the title Allow trends to be filtered Trends for item purchase time Nov 20, 2016
@howardchung howardchung modified the milestone: Backlog Nov 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants