Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update evaluators_service.py #2347

Merged
merged 1 commit into from
Dec 6, 2024
Merged

Conversation

morenobonaventura
Copy link
Contributor

using is not None checks instead of truthy checks, which is more explicit and correct for boolean values.

truthy checks fails in the case of ground_truth_value and llm_app_output_value both equal to a valid False value

using `is not None` checks instead of truthy checks, which is more explicit and correct for boolean values.

truthy checks fails in the case of `ground_truth_value` and `llm_app_output_value` both equal to a valid False value
Copy link

vercel bot commented Dec 6, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
agenta ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 6, 2024 5:03pm
agenta-documentation ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 6, 2024 5:03pm

Copy link

vercel bot commented Dec 6, 2024

@morenobonaventura is attempting to deploy a commit to the agenta projects Team on Vercel.

A member of the Team first needs to authorize it.

@mmabrouk mmabrouk marked this pull request as ready for review December 6, 2024 17:03
@dosubot dosubot bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Dec 6, 2024
@mmabrouk mmabrouk enabled auto-merge December 6, 2024 17:03
@dosubot dosubot bot added the Backend label Dec 6, 2024
Copy link
Member

@mmabrouk mmabrouk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix @morenobonaventura !

@mmabrouk mmabrouk merged commit c6ec222 into Agenta-AI:main Dec 6, 2024
2 of 3 checks passed
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Dec 6, 2024
@mmabrouk
Copy link
Member

mmabrouk commented Dec 7, 2024

@all-contributors please add @morenobonaventura for bug fix

Copy link
Contributor

@mmabrouk

I've put up a pull request to add @morenobonaventura! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backend lgtm This PR has been approved by a maintainer size:XS This PR changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants