Skip to content

fix(resume-checker): include template instruction in grading prompt - #63

Open
AugustoCarmona wants to merge 1 commit into
silver-dev-org:mainfrom
AugustoCarmona:fix/resume-checker-template-instruction
Open

AugustoCarmona wants to merge 1 commit into
silver-dev-org:mainfrom
AugustoCarmona:fix/resume-checker-template-instruction

Conversation

@AugustoCarmona

@AugustoCarmona AugustoCarmona commented Oct 31, 2026 •

Copy link
Copy Markdown

getSysPrompt builds the grading prompt with ${isSilver ?? "- Do NOT mention ANYTHING regarding the template"}. isSilver is a boolean, and ?? only falls through on null or undefined, so the instruction never reaches the prompt and the literal true or false is injected into it instead.

I noticed it as a user: a resume built with the silver-dev-cv Typst template was flagged for not using the template.

The fix is a one-line change to a ternary, so the instruction is included when the PDF author is silver and nothing is added otherwise.

I can add a test under tests/resume-checker/ if you would like one.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

@vercel

vercel Bot commented Oct 31, 2026

Copy link
Copy Markdown

@AugustoCarmona is attempting to deploy a commit to the conanbatt's projects Team on Vercel.

A member of the Team first needs to authorize it.

This branch has not been deployed

No deployments
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