Currently the classic and das trainer layouts show score results overall in the DB, and for the past 24h
The progress page also shows max score by day.
Several players have expressed the need to track session as a unit of time. During a session, there's typically a warm up period with bad scores, and so seeing, max, average, median scores per session makes the most sense.
Additionally, with sessions, the advanced stats layout could be reset to no score at the start of each session, which was also requested by someone.
TODO:
Update DB schema to introduce a sequential session ID in the score table
Introduce a heuristic that separates session. Suggestion to use 1h worth of no scores.
Write a script to crawl and update the DB:
for each player, query all scores and order by date asc
session id starts at 1, iterate over all games. If game is within one hour of previous game, use same session id
if game is further than one hour apart from last game, increment session id
Update score recording logic so session id can be set at save time
Update progress graph to report one entry per session rather than per day, use the timestamp of the first game of the session as time marker of the session
Currently the classic and das trainer layouts show score results overall in the DB, and for the past 24h
The progress page also shows max score by day.
Several players have expressed the need to track session as a unit of time. During a session, there's typically a warm up period with bad scores, and so seeing, max, average, median scores per session makes the most sense.
Additionally, with sessions, the advanced stats layout could be reset to no score at the start of each session, which was also requested by someone.
TODO: