api icon indicating copy to clipboard operation
api copied to clipboard

Puzzle storm endpoint?

Open guidopetri opened this issue 3 years ago • 3 comments

Very similar to #82 , haha. Any chance we can get an endpoint to detect what puzzles were included (by ID?), whether a player passed/failed, what their puzzle storm scores were for the day, etc?

guidopetri avatar Jan 27 '21 20:01 guidopetri

What's your use case?

ornicar avatar Jan 27 '21 21:01 ornicar

I have a project to collect stats on players via the lichess API:

https://github.com/charlesoblack/chess-pipeline

mostly I just use it for my personal games + a friend's games. I think it would be interesting to look at how long a player takes to solve puzzles and whether the added time pressure plays a role in finding specific types of tactics - e.g. can a player find a mate in 3 if they don't know it's a mate in 3, and they have only a few seconds? or do they tend to miss those but not things like forks? This would be useful for training even more specifically than just whether you see the tactic or not.

Plus, this could eventually be an extension to the puzzle dashboard.

This isn't a big priority (there's plenty of other stuff I want to implement in that project still), but I'd eventually like to explore this idea.

guidopetri avatar Jan 27 '21 22:01 guidopetri

I also think this would be useful for other projects. For instance this one:

https://www.reddit.com/r/chess/comments/l1c0k8/im_working_on_a_project_to_show_statistics_for/

guidopetri avatar Jan 27 '21 22:01 guidopetri