Skip to content

sort unstably, ties as before - #383

Merged
andy-k merged 1 commit into
mainfrom
sort-unstably-ties-as-before
Nov 2, 2026
Merged

andy-k merged 1 commit into
mainfrom
sort-unstably-ties-as-before

Conversation

@andy-k

@andy-k andy-k commented Nov 2, 2026

Copy link
Copy Markdown
Owner

No description provided.

Every stable sort left becomes an unstable one with the same order: a
list of indices takes the index as its last key; the other side's
replies keep the order they were generated in for equal weights, as the
score read at the first one depends on it; the outs an opener leaves are
sorted by index, their order read with their blocks. Where the key is
already total, or only an out's score is read, no key is added: no two
items tie there, or a tie changes nothing read.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@andy-k
andy-k merged commit 856acee into main Nov 2, 2026
3 checks passed
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