Skip to content

Include target chemical names and formulas in exported recipe filenames - #31

Merged
jordanlegare merged 1 commit into
mainfrom
codex/descriptive-recipe-filenames
Sep 8, 2026
Merged

jordanlegare merged 1 commit into
mainfrom
codex/descriptive-recipe-filenames

Conversation

@jordanlegare

Copy link
Copy Markdown
Owner

Hash-only bulk export names made the recipe folders hard to browse. Generated filenames now include ordered target formulas and chemical names, followed by the existing unique ID.

Example: Al2O3-ZnO--aluminum-oxide-zinc-oxide--7404270d635e39c5accb82f7.json.

Names are sanitized and bounded to 240 ASCII bytes. The ID preserves uniqueness for different precursor routes and component orders. On rerun, unchanged legacy hash-only exports are renamed automatically; edited legacy files are preserved. User-specified single-export paths remain unchanged.

Validation: 21 combination/catalog tests passed, including filename content, ordering, uniqueness, portability, length, bulk resume and legacy migration. A real oxide-pair export produced the expected descriptive filename. Independent review found no blocking issues. Published tree matches tested local tree.

@jordanlegare
jordanlegare marked this pull request as ready for review September 8, 2026 02:53
@jordanlegare
jordanlegare merged commit bcda24d into main Sep 8, 2026
2 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