Skip to content

fix: reject llm-judge scores outside [0, 1] - #44

Merged
royalpinto007 merged 1 commit into
AgentPostmortem:mainfrom
sharadvc:cursor/fix-llm-judge-unclamped-32a7
Sep 12, 2026
Merged

royalpinto007 merged 1 commit into
AgentPostmortem:mainfrom
sharadvc:cursor/fix-llm-judge-unclamped-32a7

Conversation

@sharadvc

Copy link
Copy Markdown
Contributor

Summary

llm-judge now fails when the judge returns a score outside [0, 1]. In-range scores are clamped before the pass threshold check.

Test plan

  • npm test

Fixes #35

@royalpinto007
royalpinto007 merged commit 6b47709 into AgentPostmortem:main Sep 12, 2026
9 checks passed
@github-actions

Copy link
Copy Markdown

And it's in. Thanks @sharadvc.

Contributions like this are what keep Evalgate moving.

A star on the repo would mean a lot if this project is useful to you.

Happy to see more from you whenever you have the time.

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.

llm-judge passes on unclamped scores, a 0-100 reply always passes

2 participants