-
Notifications
You must be signed in to change notification settings - Fork 233
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
Fix two likely causes of infinitely running evaluations #1840
Conversation
Handle uncaught exceptions in aggregate_ai_critique() and in evaluate()
…handle unknown values_
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @jp-agenta ! Great work.
I've added a couple of minor comments here and there.
agenta-web/src/components/pages/evaluations/cellRenderers/cellRenderers.tsx
Show resolved
Hide resolved
agenta-web/src/components/pages/evaluations/cellRenderers/cellRenderers.tsx
Outdated
Show resolved
Hide resolved
Standardizes stacktrace to traceback.format_exc() (in all three files) and message to str(exc) (in aggregation_service.py)
QA tests
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @jp-agenta and @bekossy
From my side, lgtm, there are the minor comments from @jp-agenta that I agree with (added a comment there). As soon as we have this you go ahead and merge @jp-agenta
agenta-web/src/components/pages/evaluations/cellRenderers/cellRenderers.tsx
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks guys, great work!
@all-contributors please add @jp-agenta for code and bugs |
I've put up a pull request to add @jp-agenta! 🎉 |
Description
Handles uncaught exceptions with
try-except
indef aggregate_ai_critique()
and inevaluate()
.Related Issues
Not linked yet.