cultcache-py: a unique-index refusal names the least violation; walk refusals.msgpack #101

Merged
libby merged 1 commit from hands/variants-pair-order-py into main 2026-11-11 11:48:38 +00:00
Member

Python half of variants:cut_spec:cut-pair-order-py.r1, rebased onto origin/main a57397aa (vector rows 1-33).

  • _refuse_index_sharing names the least (alias, least key, second-least key, schema name) violation of the resulting state by UTF-16 code unit; staging, file and pull order no longer decide. The unreachable holder dedupe and the stale read_order bookkeeping are gone.
  • VectorTests.test_refusals walks 31 of 33 rows (not 3 and 26: put_envelopes takes one type) and asserts the count.
  • Suites: cultcache-py 212 passed, 1 skipped; cultnet-py 169.
  • Hand mutants (case-insensitive holders, group without type, value lower/trim/NFC/NFKC, key NFC/NFD, alias desc/casefold, held-exclusion casefold) each fail named rows. Alias code-point order survives the vector rows and is killed by the existing test_aliases_sort_by_utf16_code_unit_not_code_point.

🤖 Generated with Claude Code

Python half of variants:cut_spec:cut-pair-order-py.r1, rebased onto origin/main a57397aa (vector rows 1-33). - `_refuse_index_sharing` names the least (alias, least key, second-least key, schema name) violation of the resulting state by UTF-16 code unit; staging, file and pull order no longer decide. The unreachable holder dedupe and the stale `read_order` bookkeeping are gone. - `VectorTests.test_refusals` walks 31 of 33 rows (not 3 and 26: `put_envelopes` takes one type) and asserts the count. - Suites: cultcache-py 212 passed, 1 skipped; cultnet-py 169. - Hand mutants (case-insensitive holders, group without type, value lower/trim/NFC/NFKC, key NFC/NFD, alias desc/casefold, held-exclusion casefold) each fail named rows. Alias code-point order survives the vector rows and is killed by the existing test_aliases_sort_by_utf16_code_unit_not_code_point. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Unique-index vectors: pin holder identity by case (rows 23-24)
Some checks failed
CultMesh QUIC native / Build win32-x64 (pull_request) Has been skipped
CultMesh QUIC native / Build linux-x64 (pull_request) Has been skipped
CultMesh QUIC native / Release native binaries (pull_request) Has been skipped
CultMesh portability and performance / ubuntu-latest reactive semantics and leases (pull_request) Has been cancelled
CultMesh QUIC native / Verify committed binaries match SHA256SUMS (pull_request) Has been cancelled
d02b56a692
Two holders of one value whose keys differ only by case are two holders; a case-folding dedupe would see one and miss the refusal.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
cultcache-py: walk rows 23-24 (holders by case); assert 23 rows
All checks were successful
CultMesh QUIC native / Build win32-x64 (pull_request) Has been skipped
CultMesh QUIC native / Build linux-x64 (pull_request) Has been skipped
CultMesh QUIC native / Release native binaries (pull_request) Has been skipped
CultMesh portability and performance / ubuntu-latest reactive semantics and leases (pull_request) Successful in 24m52s
CultMesh QUIC native / Verify committed binaries match SHA256SUMS (pull_request) Successful in 31s
0112ff934f
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
libby force-pushed hands/variants-pair-order-py from 0112ff934f
All checks were successful
CultMesh QUIC native / Build win32-x64 (pull_request) Has been skipped
CultMesh QUIC native / Build linux-x64 (pull_request) Has been skipped
CultMesh QUIC native / Release native binaries (pull_request) Has been skipped
CultMesh portability and performance / ubuntu-latest reactive semantics and leases (pull_request) Successful in 24m52s
CultMesh QUIC native / Verify committed binaries match SHA256SUMS (pull_request) Successful in 31s
to c3309080b3
Some checks are pending
CultMesh portability and performance / ubuntu-latest reactive semantics and leases (pull_request) Waiting to run
CultMesh QUIC native / Verify committed binaries match SHA256SUMS (pull_request) Waiting to run
CultMesh QUIC native / Build win32-x64 (pull_request) Has been skipped
CultMesh QUIC native / Build linux-x64 (pull_request) Has been skipped
CultMesh QUIC native / Release native binaries (pull_request) Has been skipped
2026-11-11 11:44:15 +00:00
Compare
libby merged commit 3deb270458 into main 2026-11-11 11:48:38 +00:00
Sign in to join this conversation.
No reviewers
No labels
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.

Dependencies

No dependencies set

Reference
GameCult/CultLib!101
No description provided.