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

Fix evaluator errors #1538

Merged
merged 6 commits into from
Mar 3, 2025
Merged

Fix evaluator errors #1538

merged 6 commits into from
Mar 3, 2025

Conversation

isahers1
Copy link
Contributor

No description provided.

@@ -1005,7 +1007,7 @@ async def _run_single_evaluator(evaluator):
results=[
EvaluationResult(
key=key,
source_run_id=run.id,
Copy link
Contributor

Choose a reason for hiding this comment

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

not sure i follow this bit, does source run not refer to the run being evaluated?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yeah this is confusing. this is the run for the evaluator. basically the issue was that by setting it to the parent run, when you were in langsmith in the experiment view and clicked on a failed evaluator run (or what should have been the evaluator run) it just opened up the target run. This fixes that.

@isahers1
Copy link
Contributor Author

Tests failing are 429 errors from OpenAI, not actual errors

self,
run: Run,
example: Optional[Example] = None,
source_run_id: Optional[uuid.UUID] = None,
Copy link
Contributor

Choose a reason for hiding this comment

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

can we give this a diff name, like evaluator_run_id?

@isahers1 isahers1 merged commit 724fb43 into main Mar 3, 2025
9 of 10 checks passed
@isahers1 isahers1 deleted the isaac/fixevaluatorerrors branch March 3, 2025 19:17
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.

2 participants