at.kotoba.stats

Single overwritten record: an incremental rollup of the session history, so a normal load doesn't have to cursor-walk every session ever recorded (#16). rkey is literally `self`.

Repository @kotoba.at did:plc:o5f3cgna5sku4p6iitld6mxs namespace authority
Details · record, key literal:self
Kindrecord
Record keyliteral:self
Authoritykotoba.at
Indexed

Record

record · key literal:self

Properties

currentStreak

requiredinteger
  • minimum: 0

lastActiveDate

requiredstring

YYYY-MM-DD of the most recent session folded in; combined with currentStreak to decide at display time whether the streak is still current.

lastDrilledAt

string · datetime

endedAt of the session lastDrilledPackRef came from, so folding a batch of sessions can tell which one was actually most recent.

at:// uri of the pack from the most recently *drilled* session that carried a packRef, so the home screen can default to it instead of the newest upload (#51).

totalCards

requiredinteger
  • minimum: 0

totalCorrect

requiredinteger
  • minimum: 0

totalSessions

requiredinteger
  • minimum: 0

updatedAt

requiredstring · datetime

watermark

requiredstring

rkey of the newest at.kotoba.session record folded into this summary so far; empty string if none yet. Session rkeys are TID (time-ordered), so a single watermark rkey is enough to resume folding only newer sessions.

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • A finished study session. Written once; the source of study history and activity stats.

  • com.tomplanche.atkuzu.stats

    record not from the namespace authority

    A single, mutable per-account streak/stats record, edited in place like a profile. It also doubles as atkuzu's declaration / signaling record: its presence signals that an account plays atkuzu, and its deletion signals opt-out. Created on first play, even before any stats accrue.