mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-27 00:45:53 +01:00
[PR #1452] world_interior_names: refuse a report inside another case of the carve folder (WORLD-INTERIOR-NAMES-CASE-INSIDE) #1481
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#1481
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/1452
Author: @Dashhhhhhhh
Created: 11/25/2026
Status: 🔄 Open
Base:
main← Head:fix/world-interior-names-case-inside📝 Commits (1)
3e5f2ccworld_interior_names: refuse a report inside another case of the carve folder.📊 Changes
2 files changed (+31 additions, -4 deletions)
View changed files
📝
tests/test_world_interior_names.py(+22 -0)📝
tools/world_interior_names.py(+9 -4)📄 Description
Claimed in the coordination issue as: WORLD-INTERIOR-NAMES-CASE-INSIDE
What and why
tools/world_interior_names.py_insidecompared the carve folder and--outwithos.path.normcase(os.path.realpath())andcommonpath. On macOS that keeps the case you typed.--outinside a folder created ascarvedbut spelledCARVEDwas accepted, so the report could be written where a later scan reads carved files.The check now uses
report_paths.path_key. Pull request #717 also edits this file, for the 20-bit block number, and does not touch this check.Tested
python -I tests/test_world_interior_names.py(28 tests) on macOS APFS. The new test refusesCARVED/r.jsonfor a folder created ascarved. No game files.GPUs tested: n/a
AI-assisted: yes
Checklist
mainand merges cleanly.docs/design.md(not a translator change).Made with Cursor
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.