Repository navigation
Conversation
Contributor
|
@GovindhKishore is attempting to deploy a commit to the deepset Team on Vercel. A member of the Team first needs to authorize it. |
sjrl
reviewed
Jun 9, 2026
Contributor
Coverage reportClick to see where and how coverage changed
This report was generated by python-coverage-comment-action |
||||||||||||||||||||||||
Contributor
Author
|
@sjrl Thanks a lot for the merge. |
GovindhKishore
deleted the
fix/llm-evaluator-raise-on-failure-serialization
branch
June 9, 2026 06:36
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.
Related Issues
Proposed Changes:
LLMEvaluator.to_dict was missing the raise_on_failure parameter. Because of this omission, saving and loading a pipeline silently reset raise_on_failure back to its default value (True).
I fixed this by explicitly adding raise_on_failure=self.raise_on_failure to the default_to_dict call inside the to_dict method of LLMEvaluator class.
How did you test it?
I updated the core unit tests to expect the serialized key and ran them successfully on Windows via PowerShell:
hatch run test:unit test/components/evaluators/test_llm_evaluator.py
Notes for the reviewer
The fix is a simple one-line addition to to_dict alongside matching assertions in the test file.
Checklist
fix: