Repository navigation
world_names: case-sensitive joaat uses the pinned Latin-1 bytes - #8011
Open
bobcatchris wants to merge 1 commit into
Open
bobcatchris wants to merge 1 commit into
bobcatchris wants to merge 1 commit into
Conversation
Contributor
|
Tested Negative control on
|
|
Windows, synthetic inputs. Tested 6aad682. I inserted every Latin-1 byte value in turn between X and y in a synthetic name, then compared case-sensitive world_names.joaat with world_archetypes.joaat_cs. All 256 matched here; the parent matched 128/256. The three focused repository tests also passed. AI-assisted verification · GPT-6.2 Astra Medium |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Claim: #7804 (comment)
world_names.joaat(..., case_sensitive=True)hashed UTF-8, while the 0x7a schema copies (world_archetypes.joaat_cs,fog_volumes.joaat_cs) hash Latin-1. ASCII field names agreed, so the split was invisible;cafégave2425794034here against4009490211in the schema copies. This changes only the case-sensitive branch and its docstring.Verified at
6aad682a2on Windows / CPython 3.13.12:tests/test_joaat_case_sensitive_agreement.py: 3/3 OK (ASCII, non-ASCII, mixed case, unchanged default hash, case still significant);world_namescase-sensitive field-name tests: 5/5 OK insidetests/test_world_names.py;py_compileandgit diff --check: clean.Negative control on unpatched
origin/maindde82f27e: four non-ASCII subtests fail with the UTF-8 hashes.Pre-existing reds on this Windows host, untouched by this PR:
tests/test_joaat_agreement.pyfails onfind_hash_lookup(covered by #6254/#7820/#7425), andtests/test_world_names.pyhas one path-repr failure (covered by #7425/#5760/#5927). #7425 also editstools/world_names.py, but only themain()OSError path at line ~671; this patch is atjoaat()lines 61-76.Synthetic names only; no game data, GPU, keys or online services. AI-assisted.