FA-76249 / Chat ordering and read receipts / Member archive
Summarize a thread root's replies: overflow count · case 04
Threads with fewer than three participants report a negative "+N more".
Case contract
messages {seq, root, author, deleted}; replies of a thread have root equal to the root seq (the root itself has root None). Deleted replies are ignored. Result {count, faces: first three distinct reply authors in order of their first reply, more: number of further distinct authors, last: seq of the newest reply or None}.
Why this case matters
Thread summaries sit under the root message and drive navigation into the thread.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| root is not a reply | {"count": 1, "faces": ["bo"], "last": 6, "more": -2} | {"count": 1, "faces": ["bo"], "last": 6, "more": 0} | Failed |
MEMBER ARCHIVE
The complete case is available to members.
This record includes three runnable implementations, regression fixtures, execution results, and source hashes.
Member access is invitation-based. Sign in with your invited account to inspect the sources.
Sign in to the archive ↗