forked from biosustain/pankb_mcp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgolden_set.yaml
More file actions
105 lines (90 loc) · 3.64 KB
/
Copy pathgolden_set.yaml
File metadata and controls
105 lines (90 loc) · 3.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
# Golden eval set for the PanKB agent.
#
# Each entry tests the agent's *tool-selection* behavior — not answer quality.
# `expected_tools` is an UNORDERED set: scoring is true if every name appears
# at least once in the actual tool-call sequence, AND no name outside
# `forbidden_tools` appears. `expected_tools: []` asserts a refusal / no-tool
# answer (used for out-of-domain negatives).
#
# Categories:
# query — pure database lookup
# chart — visualization tool
# navigation — URL construction
# rag — literature search
# multi_step — requires >=2 tool calls (any order)
# negative — should not call any tool
- id: q1_family_count
category: query
question: "How many genomes does the Lactobacillaceae family contain in PanKB?"
expected_tools: [list_families]
forbidden_tools: []
- id: q2_species_lookup
category: chart
question: "Show me the core/accessory/rare gene breakdown for Escherichia coli."
expected_tools: [plot_pangenome_class_distribution]
forbidden_tools: []
- id: q3_genome_search
category: query
question: "Find genomes from Lactobacillus plantarum isolated in Italy."
expected_tools: [list_genomes]
forbidden_tools: []
- id: q4_stats
category: query
question: "Give me the overall PanKB database statistics."
expected_tools: [get_stats]
forbidden_tools: []
- id: q5_gene_frequency_plot
category: chart
question: "Plot the gene frequency histogram for Escherichia coli."
expected_tools: [plot_gene_frequency_histogram]
forbidden_tools: []
- id: q6_pangenome_class_pie
category: chart
question: "Show me the core/accessory/rare pie chart for Lactiplantibacillus plantarum."
expected_tools: [plot_pangenome_class_distribution]
forbidden_tools: []
- id: q7_cog_distribution
category: chart
question: "Visualize the COG functional category distribution for Mycobacterium tuberculosis."
expected_tools: [plot_cog_category_distribution]
forbidden_tools: []
- id: q8_geographic
category: chart
question: "Where in the world are Pseudomonas aeruginosa genomes sourced from?"
expected_tools: [plot_geographic_distribution]
forbidden_tools: []
- id: q9_species_url
category: navigation
question: "Give me the PanKB page link for Bacillus subtilis."
expected_tools: [get_species_url]
forbidden_tools: []
- id: q10_family_url
category: navigation
question: "What's the URL for the Streptomycetaceae family page on PanKB?"
expected_tools: [get_family_url]
forbidden_tools: []
- id: q11_rag_core_genome
category: rag
question: "What is the core genome and why does it matter in microbial pangenomics?"
expected_tools: [search_pangenome_literature]
forbidden_tools: []
- id: q12_rag_openness
category: rag
question: "Explain how pangenome openness is calculated using Heaps' law."
expected_tools: [search_pangenome_literature]
forbidden_tools: []
- id: q13_multi_step_query_then_plot
category: multi_step
question: "How many genomes are in the Lactobacillaceae family, and show me their distribution across countries."
expected_tools: [list_families, plot_geographic_distribution]
forbidden_tools: []
- id: q14_multi_step_two_plots
category: multi_step
question: "Compare the COG category distributions for Escherichia coli and Bacillus subtilis side by side."
expected_tools: [plot_cog_category_distribution] # called at least twice in practice; we only assert presence
forbidden_tools: []
- id: q15_negative_out_of_domain
category: negative
question: "What's the weather in Copenhagen tomorrow?"
expected_tools: []
forbidden_tools: [list_families, list_species, list_genomes, list_genes, get_stats, search_pangenome_literature]