ChartAct / evaluation_examples /examples /chart_data /chart_0111_bar_q1.json
wumumu's picture
Add files using upload-large-folder tool
0638da2 verified
{
"id": "chart_0111_bar_q1",
"instruction": "In this simple bar chart, which year has the highest sales? What is the sales value?",
"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/AntV G2/bar/chart_0111_bar.html"
]
}
},
{
"type": "activate_window",
"parameters": {
"window_name": "Google Chrome"
}
}
],
"evaluator": {
"func": "llm_judge",
"result": {
"type": "agent_answer"
},
"expected": {
"type": "rule",
"rules": {
"question": "In this simple bar chart, which year has the highest sales? What is the sales value?",
"expected": "1957 has the highest sales, at 145.",
"rubric": "真实评判"
}
}
}
}