From 33e008b354a3503b9d086c1bacff4a692a9cccc2 Mon Sep 17 00:00:00 2001 From: Al Duncanson Date: Wed, 8 Oct 2025 19:43:27 -0400 Subject: [PATCH 1/2] fix: spelling error --- src/google/adk/evaluation/local_eval_service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/google/adk/evaluation/local_eval_service.py b/src/google/adk/evaluation/local_eval_service.py index 84e26cb1f5..6b24dfa7ee 100644 --- a/src/google/adk/evaluation/local_eval_service.py +++ b/src/google/adk/evaluation/local_eval_service.py @@ -182,7 +182,7 @@ async def _evaluate_single_inference_result( """Returns EvalCaseResult for the given inference result. A single inference result can have multiple invocations. For each - invocaiton, this method evaluates the metrics present in evaluate config. + invocation, this method evaluates the metrics present in evaluate config. The EvalCaseResult contains scores for each metric per invocation and the overall score. From e75ff3945acea4c75be4cf710ad5637a7bf9707b Mon Sep 17 00:00:00 2001 From: Al Duncanson Date: Thu, 9 Oct 2025 00:04:51 +0000 Subject: [PATCH 2/2] fix: update `_evaluate_single_inference_result` docstring --- src/google/adk/evaluation/local_eval_service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/google/adk/evaluation/local_eval_service.py b/src/google/adk/evaluation/local_eval_service.py index 6b24dfa7ee..0460e2cb48 100644 --- a/src/google/adk/evaluation/local_eval_service.py +++ b/src/google/adk/evaluation/local_eval_service.py @@ -179,7 +179,7 @@ async def run_evaluation(inference_result): async def _evaluate_single_inference_result( self, inference_result: InferenceResult, evaluate_config: EvaluateConfig ) -> tuple[InferenceResult, EvalCaseResult]: - """Returns EvalCaseResult for the given inference result. + """Returns the inference result and its corresponding EvalCaseResult. A single inference result can have multiple invocations. For each invocation, this method evaluates the metrics present in evaluate config.