ChartAct / evaluation_examples /examples /chart_data /chart_0002_pie_q2.json
wumumu's picture
Add files using upload-large-folder tool
06e5989 verified
Raw History Blame Contribute Delete
1.33 kB
{
"id": "chart_0002_pie_q2",
"instruction": "For each day’s pie chart, how many activity categories are shown and what are their names?",
"config": [
{
"type": "launch",
"parameters": {
"command": [
"google-chrome",
"--remote-debugging-port=1337"
]
}
},
{
"type": "launch",
"parameters": {
"command": [
"socat",
"tcp-listen:9222,fork",
"tcp:localhost:1337"
]
}
},
{
"type": "sleep",
"parameters": {
"seconds": 2
}
},
{
"type": "chrome_open_tabs",
"parameters": {
"urls_to_open": [
"http://202.117.43.20:8772/web/Apache ECharts/pie/chart_0002_pie.html"
]
}
},
{
"type": "activate_window",
"parameters": {
"window_name": "Google Chrome"
}
}
],
"evaluator": {
"func": "llm_judge",
"result": {
"type": "agent_answer"
},
"expected": {
"type": "rule",
"rules": {
"question": "For each day’s pie chart, how many activity categories are shown and what are their names?",
"expected": "Each day’s pie chart shows 3 activity categories: Work, Entertainment, and Sleep.",
"rubric": "真实评判"
}
}
}
}