From 26eba9b875fbbd4519711d829b4662293b5cd510 Mon Sep 17 00:00:00 2001 From: hermes Date: Fri, 16 Oct 2026 08:39:39 +0000 Subject: [PATCH] test(agents): cases for news, price history, screening and investor search The six cases never asked for get_company (where news lives), get_price_history, screen_stocks or search_investors; across six agents only one called get_company and none screen_stocks. Cover each. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01V3syn2fN2LNo5pvTSqc6eh --- tests/agents/cases.json | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/tests/agents/cases.json b/tests/agents/cases.json index fda0c8e..f1f89bb 100644 --- a/tests/agents/cases.json +++ b/tests/agents/cases.json @@ -38,5 +38,29 @@ "prompt": "Which shareholders changed between the two most recent KSEI releases?", "expect_tools": [{"name": "get_ownership_changes", "args": {"from": "{previous_release}", "to": "{latest_release}"}}] } + }, + { + "id": "news", + "prompt": "What is the latest news about BBCA?", + "expect_tools": [{"name": "get_company", "args": {"symbol": "BBCA"}}], + "expect_text": [] + }, + { + "id": "history", + "prompt": "Show BBCA's daily closing prices for the past month.", + "expect_tools": [{"name": "get_price_history", "args": {"symbol": "BBCA"}}], + "expect_text": [] + }, + { + "id": "screen", + "prompt": "Which IDX stocks are the top performers today?", + "expect_tools": [{"name": "screen_stocks"}], + "expect_text": [] + }, + { + "id": "search", + "prompt": "Search the KSEI ownership database for investors named Salim.", + "expect_tools": [{"name": "search_investors"}], + "expect_text": [] } ]