-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Description
Describe the bug
In ADK version 0.4, the end of the execution displayed a detailed evaluation report, including execution details, expected responses, and actual responses.
After migrating to version 1.0.0, this report is no longer shown. Only the test failure status and the overall score are displayed.
To Reproduce
Steps to reproduce the behavior:
- Install adk version 0.4
- Run pytest your_test.py
Expected behavior
The full evaluation report, including expected vs. actual responses and detailed execution metrics, should be shown at the end of the execution.
Actual Behavior
Only a summary with test failures and score is displayed. The detailed report is missing.
Desktop (please complete the following information):
- OS: macOS
- Python version(python -V): 3.13.2
- ADK version(pip show google-adk):1.1.1
Additional context
Add any other context about the problem here.
my eval test for adk 0.4.0:
`import dotenv
from google.adk.evaluation import AgentEvaluator
import pytest
@pytest.fixture(scope="session", autouse=True)
def load_env():
dotenv.load_dotenv()
def test_book_one_way():
"""Test the agent's basic ability on a few examples."""
AgentEvaluator.evaluate(
"agent_assist_adk",
str(pathlib.Path(file).parent / "data/book_one_way.test.json"),
num_runs=2,
initial_session_file=str(pathlib.Path(file).parent
/ "bob_test_state.json")
)
`
for ADK 1.1.1:
`import dotenv
from google.adk.evaluation import AgentEvaluator
import pytest
@pytest.fixture(scope="session", autouse=True)
def load_env():
dotenv.load_dotenv()
@pytest.mark.asyncio
async def test_book_one_way():
"""Test the agent's basic ability on a few examples."""
await AgentEvaluator.evaluate(
"agent_assist_adk",
str(pathlib.Path(file).parent / "data/book_one_way.test.json"),
num_runs=2,
initial_session_file=str(pathlib.Path(file).parent
/ "bob_test_state.json")
)`