Repository navigation
fix(resume): accept Glossary names that are the same in both languages - #30
Open
codeotter0201 wants to merge 1 commit into
Open
codeotter0201 wants to merge 1 commit into
codeotter0201 wants to merge 1 commit into
Conversation
ResumeWriter.finish refused any Chinese line that named a Glossary entry whose Chinese and English names are the same, such as a brand, because the check for English names left in Chinese text also matched the shared name. Tailored and Master resumes that mention such a company could not be saved. The English-in-Chinese check now applies only to entries whose names differ. A shared name that appears in the English line but not in the Chinese line is still refused, as are the other Glossary checks. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Summary
ResumeWriter.finishrefused any Chinese line that named a Glossary entry whose Chinese and English names are the same, such as a brand. The check for English names left in Chinese text also matched the shared name, so Tailored and Master resumes that mention such a company could not be saved.The English-in-Chinese check now applies only to entries whose two names differ. The other Glossary checks are unchanged:
No behavior or data layout changes beyond the fix, so
SKILL.mdand the READMEs need no update;SKILL.mdalready says the Chinese and English lines must name a Glossary entry the same way.Related Issues
Fixes #29
Type of Change
Validation
All checks ran with fictional data in a scratch
HEADHUNTER_DATA_DIRoutside the repository.ResumeWriter.finishcases, with the Glossary{Example Labs = Example Labs}and{範例科技 = Example Tech}. 4 of 4 passed:Example Techwritten into a Chinese line is still refused;範例科技withoutExample Techin English is still refused.Example Labs, and every line, the experience heading included, namesExample Labsin both languages.master savewrote1 Facts cited, 0 left out, 0 gaps, andvalidate→OK.claude plugin validate .andclaude plugin validate .claude-plugin/plugin.json: passed, with the two existing warnings:CLAUDE.mdis not loaded as plugin context, and the plugin has no icon.python3 -m py_compile skills/headhunter/scripts/hh.py: OK.Not run:
resume savewith fictional data. It uses the sameResumeWriter.finish.claude --plugin-dir ..Checklist
skills/headhunter/SKILL.md,README.mdandREADME.zh-TW.mdupdated when behavior or data layout changed🤖 Generated with Claude Code