Skip to content

fix(pagination): enforce deterministic ordering for lists - #211

Merged
theosiemensrhodes merged 1 commit into
mainfrom
fix/neuron-n11-search-pagination
Nov 26, 2026
Merged

theosiemensrhodes merged 1 commit into
mainfrom
fix/neuron-n11-search-pagination

Conversation

@theosiemensrhodes

@theosiemensrhodes theosiemensrhodes commented Nov 23, 2026 •

Copy link
Copy Markdown
Collaborator

Adds stable ID tie-breakers to user and volunteer lists and volunteer exports, and orders class IDs before applying pagination. Search results retain similarity ranking; non-search lists sort by name and ID. The existing pagination API is unchanged.

The similarity double-counting fix and utility unit tests are already on main and are retained without changes. Regression tests cover equal search scores and paging static user, volunteer and class datasets without repeats or skips.

Validation: pagination integration tests 7/7 passed on a verified unique disposable PostgreSQL database, then dropped; search utility unit tests 3/3 passed; typecheck passed after route generation; targeted ESLint passed with warnings only. Rebased onto main to resolve overlapping changes.

Signed-off-by: Theo Siemens-Rhodes <112789743+theosiemensrhodes@users.noreply.github.com>
@theosiemensrhodes
theosiemensrhodes force-pushed the fix/neuron-n11-search-pagination branch from 33071bf to f6a60c5 Compare November 26, 2026 02:17
@theosiemensrhodes theosiemensrhodes changed the title fix(search): remove similarity double-counting and enforce deterministic pagination order fix(pagination): enforce deterministic ordering for lists Nov 26, 2026
@theosiemensrhodes
theosiemensrhodes marked this pull request as ready for review November 26, 2026 02:24
@theosiemensrhodes
theosiemensrhodes merged commit 482346a into main Nov 26, 2026
5 checks passed
@theosiemensrhodes
theosiemensrhodes deleted the fix/neuron-n11-search-pagination branch November 26, 2026 02:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant