Include the Puzzle rating and Attempts in the account data export #449

Open
opened 2026-10-18 12:19:39 +00:00 by root · 2 comments
root commented 2026-10-18 12:19:39 +00:00 (Migrated from gitlab.core-project.space)

Problem

The account data export lists an Account's data, but since #440 an Account also has a Puzzle rating and Attempts (its Puzzle History), and the export leaves them out. Deletion already covers them (story 47 of #440, tested).

What to build

The export carries the Account's Puzzle rating (rating, deviation, volatility, updated at) and every Attempt (Puzzle id, state, rating before, rating change, served at, resolved at, last replayed at), in the export's existing shape.

Acceptance criteria

  • An Account with a Puzzle rating and Attempts finds them in its export; an Account with none finds an empty section, not an error.
  • Another Account's Puzzle data never appears.
  • Tested through the API's RPC contract, as rpc-account-data.integration.test.ts does.
  • The gate is green (CONTRIBUTING.md, "The five commands").
## Problem The account data export lists an Account's data, but since #440 an Account also has a Puzzle rating and Attempts (its Puzzle History), and the export leaves them out. Deletion already covers them (story 47 of #440, tested). ## What to build The export carries the Account's Puzzle rating (rating, deviation, volatility, updated at) and every Attempt (Puzzle id, state, rating before, rating change, served at, resolved at, last replayed at), in the export's existing shape. ## Acceptance criteria - [ ] An Account with a Puzzle rating and Attempts finds them in its export; an Account with none finds an empty section, not an error. - [ ] Another Account's Puzzle data never appears. - [ ] Tested through the API's RPC contract, as `rpc-account-data.integration.test.ts` does. - [ ] The gate is green (`CONTRIBUTING.md`, "The five commands").
root commented 2026-10-18 13:02:27 +00:00 (Migrated from gitlab.core-project.space)

mentioned in merge request !554

mentioned in merge request !554
root commented 2026-10-19 14:25:16 +00:00 (Migrated from gitlab.core-project.space)

mentioned in issue #450

mentioned in issue #450
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
amaurycoudr/chess-project#449
No description provided.