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

Filter out evaluations with null testsets #1880

Merged
merged 2 commits into from
Jul 12, 2024

Conversation

aakrem
Copy link
Collaborator

@aakrem aakrem commented Jul 12, 2024

Issue
Older data may have evaluation resources (here, testset) that were likely deleted without removing the corresponding evaluations. If testset_id is null, it results in an empty human evaluations page and triggers an error: "NoneType object has no attribute...."

Solution
The fix will filter out all evaluations where testset_id is null.

Copy link

vercel bot commented Jul 12, 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 Jul 12, 2024 5:40pm

@dosubot dosubot bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Jul 12, 2024
@aakrem aakrem requested review from aybruhm and mmabrouk July 12, 2024 17:40
@dosubot dosubot bot added Backend bug Something isn't working labels Jul 12, 2024
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Jul 12, 2024
@aakrem aakrem merged commit bac8b35 into main Jul 12, 2024
9 checks passed
@aakrem aakrem deleted the filter-out-evaluations-with-null-testsets branch July 12, 2024 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backend bug Something isn't working 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