File tree Expand file tree Collapse file tree
tests/unittests/evaluation Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616
1717from google .adk .evaluation .eval_case import Invocation
1818from google .adk .evaluation .eval_metrics import EvalMetric
19- from google .adk .evaluation .eval_metrics import PrebuiltMetrics
2019from google .adk .evaluation .evaluator import EvalStatus
2120from google .adk .evaluation .final_response_match_v1 import _calculate_rouge_1_scores
2221from google .adk .evaluation .final_response_match_v1 import _is_latin_script
@@ -142,15 +141,6 @@ def test_rouge_evaluator_multiple_invocations(
142141 assert evaluation_result .overall_eval_status == expected_status
143142
144143
145-
146- def test_get_metric_info ():
147- """Test get_metric_info function for response match metric."""
148- metric_info = RougeEvaluator .get_metric_info ()
149- assert metric_info .metric_name == PrebuiltMetrics .RESPONSE_MATCH_SCORE .value
150- assert metric_info .metric_value_info .interval .min_value == 0.0
151- assert metric_info .metric_value_info .interval .max_value == 1.0
152-
153-
154144# Tests for _is_latin_script function
155145class TestIsLatinScript :
156146 """Tests for the _is_latin_script helper function."""
You can’t perform that action at this time.
0 commit comments