Iostream-Li's picture
Add files using upload-large-folder tool
ff78003 verified
{
"_comment": "Shared fixture asserted by both Node (tool-graph.test.ts) and Python (test_graph_client.py) sides. Each case feeds the same text into the respective `tagsForIntent` / `_tags_for_intent` and asserts the resulting tag set matches. When you add a new tag to lib/tool-graph/intent-rules.json, add at least one EN and one CN case here so the parity test exercises it. Note: many CJK words are substrings of larger words (e.g. 研究 inside 研究任务, 结果 matched by task_inspect), so cases that combine concepts naturally produce multi-tag results.",
"cases": [
{ "text": "find pubmed papers about EGFR", "expected": ["literature_search"] },
{ "text": "查文献 EGFR 相关研究", "expected": ["literature_search"] },
{ "text": "lookup uniprot protein TP53", "expected": ["protein_lookup"] },
{ "text": "查 TP53 蛋白序列", "expected": ["protein_lookup"] },
{ "text": "show opentargets disease associations", "expected": ["target_disease"] },
{ "text": "找一些靶点和疾病", "expected": ["target_disease"] },
{ "text": "kick off a target_discovery task", "expected": ["research_pipeline"] },
{ "text": "启动证据评审研究任务", "expected": ["literature_search", "research_pipeline"] },
{ "text": "validate this finding with codex", "expected": ["validation"] },
{ "text": "复现并核对结果", "expected": ["validation", "task_inspect"] },
{ "text": "list drug trials for ALK", "expected": ["drug_evidence"] },
{ "text": "ALK 相关药物试验", "expected": ["drug_evidence"] },
{ "text": "summarize the bucket of pooled estimates", "expected": ["summarization"] },
{ "text": "汇总并池化这一组数据", "expected": ["summarization"] },
{ "text": "search the web for current news on PD-1", "expected": ["web_search"] },
{ "text": "查最新网络资讯", "expected": ["web_search"] },
{ "text": "inspect job status and result", "expected": ["task_inspect"] },
{ "text": "查看进度状态", "expected": ["task_inspect"] },
{ "text": "", "expected": [] },
{ "text": " ", "expected": [] },
{ "text": "你好", "expected": [] },
{ "text": "hello there", "expected": [] }
]
}