diff --git a/evaluation_examples/examples/chart_data/chart_0001_scatter_q3.json b/evaluation_examples/examples/chart_data/chart_0001_scatter_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..e113c6155ac8e2ca4e4f476937b530660420f3b2 --- /dev/null +++ b/evaluation_examples/examples/chart_data/chart_0001_scatter_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0001_scatter_q3", + "instruction": "At 7p, which day has the highest number of commits and what is that number?", + "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/scatter/chart_0001_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "At 7p, which day has the highest number of commits and what is that number?", + "expected": "At 7p, Friday has the highest number of commits with 12 commits.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/chart_data/chart_0003_line_q2.json b/evaluation_examples/examples/chart_data/chart_0003_line_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..c2d82c4e80a94d0a95e5a5729cfb7927e71ee0b8 --- /dev/null +++ b/evaluation_examples/examples/chart_data/chart_0003_line_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0003_line_q2", + "instruction": "On which day is the difference between the 'Highest' and 'Lowest' temperatures the largest, and what is that difference?", + "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/line/chart_0003_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "On which day is the difference between the 'Highest' and 'Lowest' temperatures the largest, and what is that difference?", + "expected": "The largest difference is on Tuesday, with a gap of 13 °C between the 'Highest' (11 °C) and 'Lowest' (-2 °C) temperatures.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/chart_data/chart_0006_pie_q3.json b/evaluation_examples/examples/chart_data/chart_0006_pie_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..cceb3d7d0354e672d591be6fc883a6399cc8485c --- /dev/null +++ b/evaluation_examples/examples/chart_data/chart_0006_pie_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0006_pie_q3", + "instruction": "What percentage of the total 'Radius Mode' value is contributed by 'rose 1'?", + "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_0006_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What percentage of the total 'Radius Mode' value is contributed by 'rose 1'?", + "expected": "'rose 1' contributes 40 out of 180 in 'Radius Mode', which is approximately 22.2% of the total.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/chart_data/chart_0007_pie_q2.json b/evaluation_examples/examples/chart_data/chart_0007_pie_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..4a56bdc758be2691cc41676d4f713fb6d723d4bf --- /dev/null +++ b/evaluation_examples/examples/chart_data/chart_0007_pie_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0007_pie_q2", + "instruction": "What numerical value is assigned to any slice in the pie chart according to the provided source?", + "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_0007_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What numerical value is assigned to any slice in the pie chart according to the provided source?", + "expected": "Search Engine:1048;Direct 735;Email:580;Union Ads:484;Video Ads:300", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/chart_data/chart_0008_line_q2.json b/evaluation_examples/examples/chart_data/chart_0008_line_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..e13348c78d00660834738a3c4816353aac7d6e3f --- /dev/null +++ b/evaluation_examples/examples/chart_data/chart_0008_line_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0008_line_q2", + "instruction": "What is Beijing's AQI value on 2000-11-04?", + "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/line/chart_0008_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is Beijing's AQI value on 2000-11-04?", + "expected": "306", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/chart_data/chart_0009_heatmap_q3.json b/evaluation_examples/examples/chart_data/chart_0009_heatmap_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..ccbe03c5e6e0d3d22d0e71570e118696da60dd89 --- /dev/null +++ b/evaluation_examples/examples/chart_data/chart_0009_heatmap_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0009_heatmap_q3", + "instruction": "For the dates 2011-12-16 through 2011-12-19, what are the values on each date and what is the overall change from 2011-12-16 to 2011-12-19?", + "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/heatmap/chart_0009_heatmap.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "For the dates 2011-12-16 through 2011-12-19, what are the values on each date and what is the overall change from 2011-12-16 to 2011-12-19?", + "expected": "The values are 10 on 2011-12-16, 10 on 2011-12-17, 9 on 2011-12-18, and 7 on 2011-12-19, giving an overall decrease of 3 from 10 to 7.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/chart_data/chart_0010_pie_q2.json b/evaluation_examples/examples/chart_data/chart_0010_pie_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..fdde04de01e4ba14526e9465e861fccc72408bee --- /dev/null +++ b/evaluation_examples/examples/chart_data/chart_0010_pie_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0010_pie_q2", + "instruction": "How many more accesses come from Search Engine than from Direct?", + "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_0010_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "How many more accesses come from Search Engine than from Direct?", + "expected": "There are 313 more accesses from Search Engine than from Direct (1048 − 735 = 313).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/chart_data/chart_0012_heatmap_q1.json b/evaluation_examples/examples/chart_data/chart_0012_heatmap_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..f019d2863562b2009584bbd8c60cfa8f31873c6e --- /dev/null +++ b/evaluation_examples/examples/chart_data/chart_0012_heatmap_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0012_heatmap_q1", + "instruction": "What is the highest electricity usage value shown in the heatmap, and in which town and month does it occur?", + "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/heatmap/chart_0012_heatmap.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the highest electricity usage value shown in the heatmap, and in which town and month does it occur?", + "expected": "The highest electricity usage is 132, occurring in Minzhong Town in February.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/chart_data/chart_0013_bar_q1.json b/evaluation_examples/examples/chart_data/chart_0013_bar_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..b75fdbb61a0915cdcde4dc6af5e060145ed96037 --- /dev/null +++ b/evaluation_examples/examples/chart_data/chart_0013_bar_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0013_bar_q1", + "instruction": "Which product has the highest amount, and what is that amount?", + "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/bar/chart_0013_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which product has the highest amount, and what is that amount?", + "expected": "Lemon Juice has the highest amount with 101,852.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/chart_data/chart_0013_pie_q3.json b/evaluation_examples/examples/chart_data/chart_0013_pie_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..5bd2f48f7dc54d14a1d9918d956a06174d3dbd67 --- /dev/null +++ b/evaluation_examples/examples/chart_data/chart_0013_pie_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0013_pie_q3", + "instruction": "Do Search Engine and Direct combined account for more accesses than Email, Union Ads, and Video Ads combined, and by how many accesses?", + "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_0013_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Do Search Engine and Direct combined account for more accesses than Email, Union Ads, and Video Ads combined, and by how many accesses?", + "expected": "Yes. Search Engine and Direct total 1783 accesses, while Email, Union Ads, and Video Ads total 1364, so the first group has 419 more accesses.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/chart_data/chart_0013_scatter_q2.json b/evaluation_examples/examples/chart_data/chart_0013_scatter_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..6c9485ed54102c4ca35cdbcb3e6921be8a778130 --- /dev/null +++ b/evaluation_examples/examples/chart_data/chart_0013_scatter_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0013_scatter_q2", + "instruction": "In Group IV, what are the coordinates of the single point whose x-value is different from all the other points in that group?", + "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/scatter/chart_0013_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In Group IV, what are the coordinates of the single point whose x-value is different from all the other points in that group?", + "expected": "In Group IV, the outlier point has coordinates (19.0, 12.5).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/chart_data/chart_0014_box_q3.json b/evaluation_examples/examples/chart_data/chart_0014_box_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..a233f424ccd49cac897719fe3ff39f325df37666 --- /dev/null +++ b/evaluation_examples/examples/chart_data/chart_0014_box_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0014_box_q3", + "instruction": "Among all low income groups, which region has the highest median (y3) value and what is that 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/Vchart/box/chart_0014_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Among all low income groups, which region has the highest median (y3) value and what is that value?", + "expected": "The South Asia low income group has the highest median value, which is 10.94903493.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/chart_data/chart_0015_heatmap_q2.json b/evaluation_examples/examples/chart_data/chart_0015_heatmap_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..fe5c0f0a64763193396d1f598adecf2f6dba7e78 --- /dev/null +++ b/evaluation_examples/examples/chart_data/chart_0015_heatmap_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0015_heatmap_q2", + "instruction": "At 8 a.m. (8a), between Thursday and Friday, which day has the higher 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/Vchart/heatmap/chart_0015_heatmap.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "At 8 a.m. (8a), between Thursday and Friday, which day has the higher value?", + "expected": "Thursday, with a value of 620, which is higher than Friday's 508.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/chart_data/chart_0016_box_q2.json b/evaluation_examples/examples/chart_data/chart_0016_box_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..7279d5044029805cfefbec3591f6c24694a8802c --- /dev/null +++ b/evaluation_examples/examples/chart_data/chart_0016_box_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0016_box_q2", + "instruction": "What is the median (y3) value for the Middle East & North Africa region?", + "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/Vchart/box/chart_0016_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the median (y3) value for the Middle East & North Africa region?", + "expected": "The median value for Middle East & North Africa is 11.05.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/chart_data/chart_0017_pie_q2.json b/evaluation_examples/examples/chart_data/chart_0017_pie_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..6dcbe271eb3a8a537cd4030b486b270c4a5c70ae --- /dev/null +++ b/evaluation_examples/examples/chart_data/chart_0017_pie_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0017_pie_q2", + "instruction": "By how many percentage points does NVDA exceed JAWS?", + "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/Vchart/pie/chart_0017_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "By how many percentage points does NVDA exceed JAWS?", + "expected": "NVDA exceeds JAWS by 0.5 percentage points.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/chart_data/chart_0020_box_q2.json b/evaluation_examples/examples/chart_data/chart_0020_box_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..cc94279a1d63a0330ea561acfe4e46a7eb543a3a --- /dev/null +++ b/evaluation_examples/examples/chart_data/chart_0020_box_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0020_box_q2", + "instruction": "Which region has the largest median delay time?", + "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/AnyChart/box/chart_0020_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which region has the largest median delay time?", + "expected": "North America", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/chart_data/chart_0021_bar_q2.json b/evaluation_examples/examples/chart_data/chart_0021_bar_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..ecf57b54804f0a7adcfa15387926f3ea8e99b320 --- /dev/null +++ b/evaluation_examples/examples/chart_data/chart_0021_bar_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0021_bar_q2", + "instruction": "On 2019-09-01, how much higher is Tea than Coffee?", + "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/Vchart/bar/chart_0021_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "On 2019-09-01, how much higher is Tea than Coffee?", + "expected": "Tea is 944 and Coffee is 298, so Tea is higher by 646.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/chart_data/chart_0023_bar_q1.json b/evaluation_examples/examples/chart_data/chart_0023_bar_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..657fb60c01b17c43b31b88a2c62ee7d93023bed9 --- /dev/null +++ b/evaluation_examples/examples/chart_data/chart_0023_bar_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0023_bar_q1", + "instruction": "What is the total population of ND across all age groups shown in the chart?", + "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/Vchart/bar/chart_0023_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the total population of ND across all age groups shown in the chart?", + "expected": "ND has a total population of 138,048 across all listed age groups.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/chart_data/chart_0023_line_q2.json b/evaluation_examples/examples/chart_data/chart_0023_line_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..2a0d2203e464db4345e456e79b0c8f73d33ce33a --- /dev/null +++ b/evaluation_examples/examples/chart_data/chart_0023_line_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0023_line_q2", + "instruction": "Which baby name had the most births in the US in 2015?", + "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/Vchart/line/chart_0023_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which baby name had the most births in the US in 2015?", + "expected": "Ashley", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/chart_data/chart_0024_scatter_q1.json b/evaluation_examples/examples/chart_data/chart_0024_scatter_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..3ee0da769c49c7158b760003dba6590d126757e3 --- /dev/null +++ b/evaluation_examples/examples/chart_data/chart_0024_scatter_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0024_scatter_q1", + "instruction": "In the data, how many cylinders does category 5 have?", + "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/Vchart/scatter/chart_0024_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In the data, how many cylinders does category 5 have?", + "expected": "3", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/chart_data/chart_0030_bar_q3.json b/evaluation_examples/examples/chart_data/chart_0030_bar_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..fc39d7eefdc181d56b3ecfe8757990d2c1c2c8c3 --- /dev/null +++ b/evaluation_examples/examples/chart_data/chart_0030_bar_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0030_bar_q3", + "instruction": "What is the total number of medals (gold, silver, and bronze combined) for Canada shown in the chart?", + "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/Highcharts/bar/chart_0030_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the total number of medals (gold, silver, and bronze combined) for Canada shown in the chart?", + "expected": "Canada has a total of 229 medals.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/chart_data/chart_0030_line_q1.json b/evaluation_examples/examples/chart_data/chart_0030_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..c79d1b3dd0e802e71c4a94a7cf15b3e815ccdc46 --- /dev/null +++ b/evaluation_examples/examples/chart_data/chart_0030_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0030_line_q1", + "instruction": "In the chart, what is the atmospheric temperature at an altitude of 40 km?", + "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/Highcharts/line/chart_0030_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In the chart, what is the atmospheric temperature at an altitude of 40 km?", + "expected": "-22.1°C", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/chart_data/chart_0030_pie_q3.json b/evaluation_examples/examples/chart_data/chart_0030_pie_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..68652e1780e43c18efc1a6cc0c66f3f4c9cd47ef --- /dev/null +++ b/evaluation_examples/examples/chart_data/chart_0030_pie_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0030_pie_q3", + "instruction": "What is the percentage value for the Sales department?", + "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/Highcharts/pie/chart_0030_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the percentage value for the Sales department?", + "expected": "20.2%", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/chart_data/chart_0030_scatter_q1.json b/evaluation_examples/examples/chart_data/chart_0030_scatter_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..a52b314054b1ee44e379b72de13493505c4fcb0e --- /dev/null +++ b/evaluation_examples/examples/chart_data/chart_0030_scatter_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0030_scatter_q1", + "instruction": "Which country in the chart has the highest carbon emissions in 2022, and what is its 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/Highcharts/scatter/chart_0030_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which country in the chart has the highest carbon emissions in 2022, and what is its value?", + "expected": "China, with 12667.4m CO₂.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/chart_data/chart_0032_heatmap_q2.json b/evaluation_examples/examples/chart_data/chart_0032_heatmap_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..930ab467f99da03bd5b6a38781e78b090831b1b4 --- /dev/null +++ b/evaluation_examples/examples/chart_data/chart_0032_heatmap_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0032_heatmap_q2", + "instruction": "At 11am, which weekday from Sunday to Wednesday has the highest value, and what is that 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/amCharts/heatmap/chart_0032_heatmap.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "At 11am, which weekday from Sunday to Wednesday has the highest value, and what is that value?", + "expected": "At 11am, Tuesday has the highest value, which is 10,425.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/chart_data/chart_0032_line_q1.json b/evaluation_examples/examples/chart_data/chart_0032_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..77f47fa9fc6fb0b3593abca12d2e956556bbf539 --- /dev/null +++ b/evaluation_examples/examples/chart_data/chart_0032_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0032_line_q1", + "instruction": "Between 1960 and 2023, in which year does the 'Inflation' series reach its highest value, and what is that 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/Highcharts/line/chart_0032_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Between 1960 and 2023, in which year does the 'Inflation' series reach its highest value, and what is that value?", + "expected": "In 1980, with an inflation rate of 13.5492019749685%.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/chart_data/chart_0035_pie_q3.json b/evaluation_examples/examples/chart_data/chart_0035_pie_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..7930e87583e793da97e72828b0e41a4ac5dd311d --- /dev/null +++ b/evaluation_examples/examples/chart_data/chart_0035_pie_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0035_pie_q3", + "instruction": "List all the countries in the chart ordered by increasing population density.", + "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/Highcharts/pie/chart_0035_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "List all the countries in the chart ordered by increasing population density.", + "expected": "Spain (95), France (118), Poland (131), Czech Republic (136), Italy (198), Switzerland (224), Germany (238) people per square km.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/chart_data/chart_0036_pie_q3.json b/evaluation_examples/examples/chart_data/chart_0036_pie_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..f8d54280f5d1afdae8ac359743abdfbd02f02be7 --- /dev/null +++ b/evaluation_examples/examples/chart_data/chart_0036_pie_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0036_pie_q3", + "instruction": "Is Edge's share larger than the combined share of Safari and Internet Explorer?", + "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/Highcharts/pie/chart_0036_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Is Edge's share larger than the combined share of Safari and Internet Explorer?", + "expected": "Yes, Edge has 11.97% while Safari and Internet Explorer together have 4.88%", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/chart_data/chart_0037_other_q3.json b/evaluation_examples/examples/chart_data/chart_0037_other_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..e2a601403963ac50cc99c5a9edce8553b6010ec3 --- /dev/null +++ b/evaluation_examples/examples/chart_data/chart_0037_other_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0037_other_q3", + "instruction": "What is the difference between the value of Rachel's connection to Ross and her connection to Joey?", + "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/amCharts/other/chart_0037_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the difference between the value of Rachel's connection to Ross and her connection to Joey?", + "expected": "Rachel's connection to Ross has a value of 80 and to Joey 30, so the difference is 50.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/chart_data/chart_0041_other_q3.json b/evaluation_examples/examples/chart_data/chart_0041_other_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..239e2fa7290f657b43ce8e2bdd0689f711356b35 --- /dev/null +++ b/evaluation_examples/examples/chart_data/chart_0041_other_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0041_other_q3", + "instruction": "How many tasks have a duration of 0, 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/amCharts/other/chart_0041_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "How many tasks have a duration of 0, and what are their names?", + "expected": "Two tasks have a duration of 0: 'Idea' and 'Finalization'.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/chart_data/chart_0042_other_q1.json b/evaluation_examples/examples/chart_data/chart_0042_other_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..57ef60d3de88bf8bfbf3e73abc7c3b4e6a5c7964 --- /dev/null +++ b/evaluation_examples/examples/chart_data/chart_0042_other_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0042_other_q1", + "instruction": "Which phase has the longest duration, and what is that duration?", + "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/amCharts/other/chart_0042_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which phase has the longest duration, and what is that duration?", + "expected": "The Testing phase has the longest duration, with a duration of 5.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/chart_data/chart_0044_bar_q2.json b/evaluation_examples/examples/chart_data/chart_0044_bar_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..f08d5dea58c2d4f22dd62a0e7bb9ce3821a2cd02 --- /dev/null +++ b/evaluation_examples/examples/chart_data/chart_0044_bar_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0044_bar_q2", + "instruction": "What are the total positive and total negative forces shown in the chart?", + "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/Highcharts/bar/chart_0044_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What are the total positive and total negative forces shown in the chart?", + "expected": "The total positive force is 18 and the total negative force is -19.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/chart_data/chart_0048_scatter_q3.json b/evaluation_examples/examples/chart_data/chart_0048_scatter_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..367f5cdc6f1bdda84f2da804cc051cc88ec88a9a --- /dev/null +++ b/evaluation_examples/examples/chart_data/chart_0048_scatter_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0048_scatter_q3", + "instruction": "Which data point has the largest bubble size, and what is that maximum size?", + "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/AnyChart/scatter/chart_0048_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which data point has the largest bubble size, and what is that maximum size?", + "expected": "The data point at x = 3, y = 7 has the largest bubble size, which is 208.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/chart_data/chart_0049_scatter_q1.json b/evaluation_examples/examples/chart_data/chart_0049_scatter_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..119ed2cafb6fee4e055325733306a5e65fe8c3c2 --- /dev/null +++ b/evaluation_examples/examples/chart_data/chart_0049_scatter_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0049_scatter_q1", + "instruction": "Among these data, what is the title of the video with the highest Views?", + "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/AnyChart/scatter/chart_0049_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Among these data, what is the title of the video with the highest Views?", + "expected": "Baby Shark Dance | #babyshark Most Viewed Video | Animal Songs | PINKFONG Songs for Children", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/chart_data/chart_0051_other_q3.json b/evaluation_examples/examples/chart_data/chart_0051_other_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..be79cdefcf32108deb081bdf5009d21b66ed765b --- /dev/null +++ b/evaluation_examples/examples/chart_data/chart_0051_other_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0051_other_q3", + "instruction": "What is the combined population of Nigeria, Ethiopia, and Egypt as listed in the chart?", + "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/amCharts/other/chart_0051_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the combined population of Nigeria, Ethiopia, and Egypt as listed in the chart?", + "expected": "The combined population of Nigeria, Ethiopia, and Egypt is 380,643,086.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/chart_data/chart_0055_box_q1.json b/evaluation_examples/examples/chart_data/chart_0055_box_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..3038bb417e5a22e8691d4e788f73f16b5df263d8 --- /dev/null +++ b/evaluation_examples/examples/chart_data/chart_0055_box_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0055_box_q1", + "instruction": "Which vegetable has a measurement with normalized moisture equal to 0, and on which day does that occur?", + "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/Plotly/box/chart_0055_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which vegetable has a measurement with normalized moisture equal to 0, and on which day does that occur?", + "expected": "Radishes have a measurement of normalized moisture 0, and it occurs on day 1.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/chart_data/chart_0055_scatter_q1.json b/evaluation_examples/examples/chart_data/chart_0055_scatter_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..b5a397e8a0617ba8ca9c6650b4351dd533296fc9 --- /dev/null +++ b/evaluation_examples/examples/chart_data/chart_0055_scatter_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0055_scatter_q1", + "instruction": "Across both datasets in the bubble chart, which bubble has the largest size (v), and what are its x, y, and v values?", + "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/Chart.js/scatter/chart_0055_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Across both datasets in the bubble chart, which bubble has the largest size (v), and what are its x, y, and v values?", + "expected": "The largest bubble is in the dataset B at x ≈ 74.72, y ≈ −3.63, with v ≈ 929.28.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/chart_data/chart_0055_scatter_q2.json b/evaluation_examples/examples/chart_data/chart_0055_scatter_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..2f8d69756d7efd8240831146c233732debf0012c --- /dev/null +++ b/evaluation_examples/examples/chart_data/chart_0055_scatter_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0055_scatter_q2", + "instruction": "In dataset A, which region defined by the signs of x and y (x<0 & y>0, x<0 & y<0, x>0 & y<0, x>0 & y>0) contains the most bubbles, and how many bubbles are in that region?", + "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/Chart.js/scatter/chart_0055_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In dataset A, which region defined by the signs of x and y (x<0 & y>0, x<0 & y<0, x>0 & y<0, x>0 & y>0) contains the most bubbles, and how many bubbles are in that region?", + "expected": "In the dataset A, the x<0 & y>0 region contains the most bubbles, with 6 bubbles.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/chart_data/chart_0058_scatter_q3.json b/evaluation_examples/examples/chart_data/chart_0058_scatter_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..ee5c1898d71fc5e4f8a7de898340ec955394f50c --- /dev/null +++ b/evaluation_examples/examples/chart_data/chart_0058_scatter_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0058_scatter_q3", + "instruction": "What happens when the user scrolls the mouse wheel vertically over the chart area?", + "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/amCharts/scatter/chart_0058_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What happens when the user scrolls the mouse wheel vertically over the chart area?", + "expected": "Vertical mouse wheel scrolling zooms the chart along the X-axis (wheelY is set to \"zoomX\").", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/chart_data/chart_0060_box_q1.json b/evaluation_examples/examples/chart_data/chart_0060_box_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..30e52c4e52697297ecbb6b2cb2f7a516059e088b --- /dev/null +++ b/evaluation_examples/examples/chart_data/chart_0060_box_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0060_box_q1", + "instruction": "Which experiment has the lowest minimum Speed value, and what is that 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/box/chart_0060_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which experiment has the lowest minimum Speed value, and what is that value?", + "expected": "Experiment 3 has the lowest minimum Speed, at 620.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/chart_data/chart_0066_line_q2.json b/evaluation_examples/examples/chart_data/chart_0066_line_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..64d2cffb7474866355f2e1171952153092d3c2ef --- /dev/null +++ b/evaluation_examples/examples/chart_data/chart_0066_line_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0066_line_q2", + "instruction": "In Dataset 1, by how much does the value change from April to May, and is this an increase or a decrease?", + "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/Chart.js/line/chart_0066_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In Dataset 1, by how much does the value change from April to May, and is this an increase or a decrease?", + "expected": "From April to May, the value increases by 118.53052126 (from -98.7611454 to 19.76937586).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/chart_data/chart_0067_bar_q3.json b/evaluation_examples/examples/chart_data/chart_0067_bar_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..2231ea69001fc50d64c9872f8a02d8af0ab581cb --- /dev/null +++ b/evaluation_examples/examples/chart_data/chart_0067_bar_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0067_bar_q3", + "instruction": "During which month is the difference between Dataset 1 and Dataset 2 values largest in magnitude, and what is the value of that difference?", + "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/Chart.js/bar/chart_0067_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "During which month is the difference between Dataset 1 and Dataset 2 values largest in magnitude, and what is the value of that difference?", + "expected": "The largest difference occurs in May, with a magnitude of 155.67729767 between Dataset 1 and Dataset 2.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/chart_data/chart_0069_bar_q2.json b/evaluation_examples/examples/chart_data/chart_0069_bar_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..e40ad424fb20739ea239a2295e9f12e34eac8f38 --- /dev/null +++ b/evaluation_examples/examples/chart_data/chart_0069_bar_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0069_bar_q2", + "instruction": "Considering the sum of all three datasets in each month (the total stacked value), which month has the highest total and which has the lowest total, and what are those totals?", + "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/Chart.js/bar/chart_0069_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Considering the sum of all three datasets in each month (the total stacked value), which month has the highest total and which has the lowest total, and what are those totals?", + "expected": "April has the highest total stacked value at 103.75257201, and May has the lowest total at -119.05092593.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/chart_data/chart_0071_scatter_q1.json b/evaluation_examples/examples/chart_data/chart_0071_scatter_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..35c70f6dc2b9c6024252b83f77d4fa1c87d1eccb --- /dev/null +++ b/evaluation_examples/examples/chart_data/chart_0071_scatter_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0071_scatter_q1", + "instruction": "Which species is represented by square markers in the chart?", + "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/Plotly/scatter/chart_0071_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which species is represented by square markers in the chart?", + "expected": "The species virginica is represented by square markers.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/chart_data/chart_0071_scatter_q3.json b/evaluation_examples/examples/chart_data/chart_0071_scatter_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..2e01ee16a1ac68ca777d410424aa2699250de9e3 --- /dev/null +++ b/evaluation_examples/examples/chart_data/chart_0071_scatter_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0071_scatter_q3", + "instruction": "Which species has the widest range of sepal_length values (maximum minus minimum) among the three species, and what is that range?", + "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/Plotly/scatter/chart_0071_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which species has the widest range of sepal_length values (maximum minus minimum) among the three species, and what is that range?", + "expected": "Virginica has the widest sepal_length range, from 4.9 to 7.9, giving a range of 3.0.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/chart_data/chart_0074_scatter_q2.json b/evaluation_examples/examples/chart_data/chart_0074_scatter_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..f002121ae1ebc37ce304abe3e2e2bdac29451a86 --- /dev/null +++ b/evaluation_examples/examples/chart_data/chart_0074_scatter_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0074_scatter_q2", + "instruction": "What is the total number of medals (gold, silver, and bronze combined) for South Korea?", + "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/Plotly/scatter/chart_0074_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the total number of medals (gold, silver, and bronze combined) for South Korea?", + "expected": "South Korea has a total of 48 medals (24 gold, 13 silver, and 11 bronze).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/chart_data/chart_0075_line_q1.json b/evaluation_examples/examples/chart_data/chart_0075_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..4918452f63c1d11fb9563751fd98dbc4b55d0c4b --- /dev/null +++ b/evaluation_examples/examples/chart_data/chart_0075_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0075_line_q1", + "instruction": "In the Filled dataset, during which month is the value lowest, and what is that 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/Chart.js/line/chart_0075_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In the Filled dataset, during which month is the value lowest, and what is that value?", + "expected": "The lowest value in the Filled dataset is in June, with a value of -84.51817558.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/chart_data/chart_0081_pie_q3.json b/evaluation_examples/examples/chart_data/chart_0081_pie_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..b085a0e3bb364be85009c19ae4632327d2f4fe4c --- /dev/null +++ b/evaluation_examples/examples/chart_data/chart_0081_pie_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0081_pie_q3", + "instruction": "Which gas slice is pulled out from the pie chart?", + "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/Plotly/pie/chart_0081_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which gas slice is pulled out from the pie chart?", + "expected": "The Carbon_Dioxide slice is pulled out.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/chart_data/chart_0085_pie_q3.json b/evaluation_examples/examples/chart_data/chart_0085_pie_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..b2c19085636f4d1b9737afc6675181117bf84acf --- /dev/null +++ b/evaluation_examples/examples/chart_data/chart_0085_pie_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0085_pie_q3", + "instruction": "What is the ratio of the value of Oxygen to Nitrogen in the chart, simplified to the smallest whole numbers?", + "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/Plotly/pie/chart_0085_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the ratio of the value of Oxygen to Nitrogen in the chart, simplified to the smallest whole numbers?", + "expected": "The ratio of Oxygen to Nitrogen is 9:1 (4500:500).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/chart_data/chart_0091_scatter_q1.json b/evaluation_examples/examples/chart_data/chart_0091_scatter_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..c1ff4a8496cda2d5a531a836a3350de731037bdf --- /dev/null +++ b/evaluation_examples/examples/chart_data/chart_0091_scatter_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0091_scatter_q1", + "instruction": "Which complaint category has the fewest complaints, and how many complaints does it have?", + "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/scatter/chart_0091_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which complaint category has the fewest complaints, and how many complaints does it have?", + "expected": "“Clothing Shrank” has the fewest complaints, with 18 complaints.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/chart_data/chart_0092_line_q2.json b/evaluation_examples/examples/chart_data/chart_0092_line_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..ae83ff23a69f0547eec403365db80ce6c3a63685 --- /dev/null +++ b/evaluation_examples/examples/chart_data/chart_0092_line_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0092_line_q2", + "instruction": "During which month is the absolute difference between Dataset 1 and Dataset 2 the largest, and what is the magnitude of this difference?", + "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/Chart.js/line/chart_0092_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "During which month is the absolute difference between Dataset 1 and Dataset 2 the largest, and what is the magnitude of this difference?", + "expected": "The largest absolute difference occurs in March, with a magnitude of 175.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/chart_data/chart_0093_line_q1.json b/evaluation_examples/examples/chart_data/chart_0093_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..9c2ffa158fcde2870aff5cde03ae5b12882179c4 --- /dev/null +++ b/evaluation_examples/examples/chart_data/chart_0093_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0093_line_q1", + "instruction": "In which month does Dataset 1 reach its highest value, and what is that 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/Chart.js/line/chart_0093_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In which month does Dataset 1 reach its highest value, and what is that value?", + "expected": "Dataset 1 reaches its highest value in June, with a value of 75.73731139.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/chart_data/chart_0095_scatter_q1.json b/evaluation_examples/examples/chart_data/chart_0095_scatter_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..f285974d76bef94bb92d377508550e953d2c1a1f --- /dev/null +++ b/evaluation_examples/examples/chart_data/chart_0095_scatter_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0095_scatter_q1", + "instruction": "How many males are aged 90 or above?", + "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/scatter/chart_0095_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "How many males are aged 90 or above?", + "expected": "14", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/chart_data/chart_0098_pie_q1.json b/evaluation_examples/examples/chart_data/chart_0098_pie_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..228a5af9aec5029724a9d39c31ce17e1a991f8b1 --- /dev/null +++ b/evaluation_examples/examples/chart_data/chart_0098_pie_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0098_pie_q1", + "instruction": "Between 1850 and 1920, which year has the highest number of males aged 10, and what is that 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/pie/chart_0098_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Between 1850 and 1920, which year has the highest number of males aged 10, and what is that value?", + "expected": "The highest number of males aged 10 is in 1920, with 5,401,156 people.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/chart_data/chart_0098_pie_q2.json b/evaluation_examples/examples/chart_data/chart_0098_pie_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..fb2a1057a94c5b232afa52917a6024ea47d85475 --- /dev/null +++ b/evaluation_examples/examples/chart_data/chart_0098_pie_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0098_pie_q2", + "instruction": "How did the number of males aged 0 change from 1850 to 1910, in terms of absolute increase?", + "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/pie/chart_0098_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "How did the number of males aged 0 change from 1850 to 1910, in terms of absolute increase?", + "expected": "The number of males aged 0 increased from 1,483,789 in 1850 to 5,296,823 in 1910, an absolute increase of 3,813,034 people.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/chart_data/chart_0099_scatter_q2.json b/evaluation_examples/examples/chart_data/chart_0099_scatter_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..444732a0ba85541a328a014c51e7529f8727acd1 --- /dev/null +++ b/evaluation_examples/examples/chart_data/chart_0099_scatter_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0099_scatter_q2", + "instruction": "For Jordan, which statistic has the lowest value and what is that 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/scatter/chart_0099_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "For Jordan, which statistic has the lowest value and what is that value?", + "expected": "Jordan’s lowest statistic is Blocks, with a value of 0.8.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/chart_data/chart_0101_scatter_q1.json b/evaluation_examples/examples/chart_data/chart_0101_scatter_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..2d015f7aa6a87e109626b3a3e4306002e06e7e49 --- /dev/null +++ b/evaluation_examples/examples/chart_data/chart_0101_scatter_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0101_scatter_q1", + "instruction": "Which item has the lowest score for type 'a', and what is that score?", + "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/scatter/chart_0101_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which item has the lowest score for type 'a', and what is that score?", + "expected": "Support has the lowest score for type 'a', with a score of 30.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/chart_data/chart_0107_bar_q1.json b/evaluation_examples/examples/chart_data/chart_0107_bar_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..608c49886e43adcf7f40bc189861c8abd91c9d3e --- /dev/null +++ b/evaluation_examples/examples/chart_data/chart_0107_bar_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0107_bar_q1", + "instruction": "Which city has the lowest total sales across all four quarters, and what is that total?", + "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/Plotly/bar/chart_0107_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which city has the lowest total sales across all four quarters, and what is that total?", + "expected": "Montreal has the lowest total sales with 770 units (130 + 170 + 210 + 260).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/chart_data/chart_0108_bar_q1.json b/evaluation_examples/examples/chart_data/chart_0108_bar_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..5468eeb8ee04dd725f16f50da41315d8d6523b5b --- /dev/null +++ b/evaluation_examples/examples/chart_data/chart_0108_bar_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0108_bar_q1", + "instruction": "Which region has the largest share of the world population, and what is that percentage?", + "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/Plotly/bar/chart_0108_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which region has the largest share of the world population, and what is that percentage?", + "expected": "Asia has the largest share of the world population at 60.98137562413224%.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/chart_data/chart_0115_line_q3.json b/evaluation_examples/examples/chart_data/chart_0115_line_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..083881765b68d044e9b72d078737e4fc6e76c44c --- /dev/null +++ b/evaluation_examples/examples/chart_data/chart_0115_line_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0115_line_q3", + "instruction": "Which date has the higher GOOG value, 2018-01-01 or 2018-12-31, and by how much (in absolute terms)?", + "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/Plotly/line/chart_0115_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which date has the higher GOOG value, 2018-01-01 or 2018-12-31, and by how much (in absolute terms)?", + "expected": "2018-01-01 has the higher GOOG value. It is 1.000 compared with about 0.971 on 2018-12-31, higher by roughly 0.029.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/chart_data/chart_0116_bar_q2.json b/evaluation_examples/examples/chart_data/chart_0116_bar_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..1bc38a7633836255e1ad8a67c2ab8d79c0f0190d --- /dev/null +++ b/evaluation_examples/examples/chart_data/chart_0116_bar_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0116_bar_q2", + "instruction": "What is the sold value for the Sports genre?", + "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_0116_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the sold value for the Sports genre?", + "expected": "80", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/chart_data/chart_0118_line_q2.json b/evaluation_examples/examples/chart_data/chart_0118_line_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..9649eedb6bd96a91d52e88872bea2a11c9a381c9 --- /dev/null +++ b/evaluation_examples/examples/chart_data/chart_0118_line_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0118_line_q2", + "instruction": "In 1992, which country has the higher gdpPercap and by how much is it higher than the other country?", + "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/Plotly/line/chart_0118_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In 1992, which country has the higher gdpPercap and by how much is it higher than the other country?", + "expected": "In 1992, Canada has the higher gdpPercap; it exceeds Botswana’s gdpPercap by 18,388.772615 (26342.88426 − 7954.111645).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/chart_data/chart_0120_line_q1.json b/evaluation_examples/examples/chart_data/chart_0120_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..6197ab2a3a2afa0586db58a85d2b640b35195c3a --- /dev/null +++ b/evaluation_examples/examples/chart_data/chart_0120_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0120_line_q1", + "instruction": "In 1967, which country had the highest life expectancy, and what was its 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/Plotly/line/chart_0120_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In 1967, which country had the highest life expectancy, and what was its value?", + "expected": "In 1967, France had the highest life expectancy at 71.55 years.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/chart_data/chart_0122_line_q2.json b/evaluation_examples/examples/chart_data/chart_0122_line_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..3d4a0a9960ee1906e81c7240975d3f494c0b2a78 --- /dev/null +++ b/evaluation_examples/examples/chart_data/chart_0122_line_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0122_line_q2", + "instruction": "At x = 0.5050505050505051, what are the y-values of the 'lines', 'lines+markers', and 'markers' traces, and which trace has the highest y-value there?", + "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/Plotly/line/chart_0122_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "At x = 0.5050505050505051, what are the y-values of the 'lines', 'lines+markers', and 'markers' traces, and which trace has the highest y-value there?", + "expected": "At x = 0.5050505050505051, 'lines' has y = 5.300170319955828, 'lines+markers' has y = -0.31011677351806, and 'markers' has y = -5.344987210154979; the 'lines' trace has the highest y-value at this x.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/chart_data/chart_0123_line_q1.json b/evaluation_examples/examples/chart_data/chart_0123_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..d264bdc5580258d8dd7aa60161932d5a99127f9c --- /dev/null +++ b/evaluation_examples/examples/chart_data/chart_0123_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0123_line_q1", + "instruction": "Between 2001 and 2013, which news source experienced the largest increase in usage as the main source for news, and by how many percentage points did it change?", + "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/Plotly/line/chart_0123_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Between 2001 and 2013, which news source experienced the largest increase in usage as the main source for news, and by how many percentage points did it change?", + "expected": "The Internet experienced the largest increase, rising by 37 percentage points (from 13% in 2001 to 50% in 2013).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/chart_data/chart_0139_line_q3.json b/evaluation_examples/examples/chart_data/chart_0139_line_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..b38dff7bbc8363f1a1f525f9e51e0fc9709ef95c --- /dev/null +++ b/evaluation_examples/examples/chart_data/chart_0139_line_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0139_line_q3", + "instruction": "What is the highest score in the entire dataset, and for which items and types does it appear?", + "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/line/chart_0139_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the highest score in the entire dataset, and for which items and types does it appear?", + "expected": "The highest score is 70, appearing for Design type 'a', Development type 'b', Test type 'b', and Language type 'a'.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0001_bar_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0001_bar_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..d755dd14708db961cbccb870a57ea1b5b092c840 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0001_bar_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0001_bar_q2", + "instruction": "For City Beta, how many more days of Showers are there compared to Cloudy days?", + "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_insert/Apache ECharts/bar/chart_0001_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "For City Beta, how many more days of Showers are there compared to Cloudy days?", + "expected": "City Beta has 5 more days of Showers than Cloudy days (110 Showers vs 105 Cloudy).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0001_bar_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0001_bar_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..24efc6db5306a75cd81d664d078bf6e049fc8365 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0001_bar_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0001_bar_q3", + "instruction": "What is the total number of days (Sunny + Cloudy + Showers) recorded for each city, and how do they compare?", + "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_insert/Apache ECharts/bar/chart_0001_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the total number of days (Sunny + Cloudy + Showers) recorded for each city, and how do they compare?", + "expected": "Each city—City Alpha, City Beta, and City Gamma—has a total of 365 days recorded, so all three totals are equal.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0001_box_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0001_box_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..d6836f15c164eb28a196bfb628dcff05d4f9d757 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0001_box_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0001_box_q1", + "instruction": "Across all five groups ('expr 0' to 'expr 4'), which group has the highest observed value and what is that 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_insert/Apache ECharts/box/chart_0001_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Across all five groups ('expr 0' to 'expr 4'), which group has the highest observed value and what is that value?", + "expected": "Group 'expr 0' has the highest observed value, which is 1070.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0001_box_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0001_box_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..5ea313297b5c81c6ae2e24fd3ccbc0dc88f7d65b --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0001_box_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0001_box_q2", + "instruction": "Comparing the medians of groups 'expr 1' and 'expr 3', which group has the higher median and by how many units?", + "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_insert/Apache ECharts/box/chart_0001_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Comparing the medians of groups 'expr 1' and 'expr 3', which group has the higher median and by how many units?", + "expected": "Group 'expr 1' has the higher median; its median of 845 is 30 units higher than group 'expr 3''s median of 815.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0001_box_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0001_box_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..0d5256bd1633a906c8dd98063b4a290104eff075 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0001_box_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0001_box_q3", + "instruction": "Considering the minimum values of each group, which group has the lowest minimum, and how many units lower is it than the highest minimum among the groups?", + "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_insert/Apache ECharts/box/chart_0001_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Considering the minimum values of each group, which group has the lowest minimum, and how many units lower is it than the highest minimum among the groups?", + "expected": "Group 'expr 0' has the lowest minimum at 655, which is 125 units lower than the highest minimum of 780 in group 'expr 2'.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0001_heatmap_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0001_heatmap_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..4f5899816dada588ef2de2bfdcae589bf091f822 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0001_heatmap_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0001_heatmap_q2", + "instruction": "What is the time interval between consecutive data points generated within each year for this heatmap (e.g., hourly, daily, monthly)?", + "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_insert/Apache ECharts/heatmap/chart_0001_heatmap.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the time interval between consecutive data points generated within each year for this heatmap (e.g., hourly, daily, monthly)?", + "expected": "The data are generated at daily intervals, with one value per calendar day (every 24 hours) within each year.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0001_heatmap_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0001_heatmap_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..d47ed557bb0d2a0aec003ab00a1fdd24a6623578 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0001_heatmap_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0001_heatmap_q3", + "instruction": "How many distinct years of daily data are displayed in the heatmap, and which years are they?", + "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_insert/Apache ECharts/heatmap/chart_0001_heatmap.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "How many distinct years of daily data are displayed in the heatmap, and which years are they?", + "expected": "There are three distinct years of daily data displayed: 2015, 2016, and 2017.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0001_line_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0001_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..39c5b41fc7510e51d4be9c37440ddcc55bf516f9 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0001_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0001_line_q1", + "instruction": "On which day of the week does the Email channel have the highest value, and what is that 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_insert/Apache ECharts/line/chart_0001_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "On which day of the week does the Email channel have the highest value, and what is that value?", + "expected": "Saturday, with a value of 230.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0001_line_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0001_line_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..aa53aaca11bdd56ea64a3e821419ea7f4b100edf --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0001_line_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0001_line_q2", + "instruction": "What is the total of the five channels (Email, Union Ads, Video Ads, Direct, Search Engine) on Monday?", + "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_insert/Apache ECharts/line/chart_0001_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the total of the five channels (Email, Union Ads, Video Ads, Direct, Search Engine) on Monday?", + "expected": "1630.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0001_other_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0001_other_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..14c4b622e9e63217be331421b54656f79b67880c --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0001_other_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0001_other_q1", + "instruction": "Which item has the highest profit and what is its profit 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_insert/Apache ECharts/other/chart_0001_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which item has the highest profit and what is its profit value?", + "expected": "Item D has the highest profit, with a profit of 22.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0001_other_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0001_other_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..b8608776635f6ed994270197334613cff764e7fd --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0001_other_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0001_other_q2", + "instruction": "What is the profit value for item C?", + "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_insert/Apache ECharts/other/chart_0001_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the profit value for item C?", + "expected": "The profit of item C is 12.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0001_other_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0001_other_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..e01ae86f8746c1fec4dea581cdde2d3a0565902f --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0001_other_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0001_other_q3", + "instruction": "Which item spans the widest range on the x-axis (to minus from), and what is the length of that range?", + "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_insert/Apache ECharts/other/chart_0001_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which item spans the widest range on the x-axis (to minus from), and what is the length of that range?", + "expected": "Item E spans the widest range, with a length of 24 (from 32 to 56).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0001_pie_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0001_pie_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..f9cac06321dfb38f5d819d789058c4079ebdfc16 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0001_pie_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0001_pie_q1", + "instruction": "Across all products and years shown, which product and year have the highest value, and what is that 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_insert/Apache ECharts/pie/chart_0001_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Across all products and years shown, which product and year have the highest value, and what is that value?", + "expected": "Milk Tea in 2014 has the highest value, at 88.7.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0001_pie_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0001_pie_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..04e23f457886b64a1701ca869e68b1825029eabc --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0001_pie_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0001_pie_q2", + "instruction": "In 2015, which product has the lowest value, and what is the difference between this lowest value and the highest product value in the same year?", + "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_insert/Apache ECharts/pie/chart_0001_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In 2015, which product has the lowest value, and what is the difference between this lowest value and the highest product value in the same year?", + "expected": "In 2015, Walnut Brownie has the lowest value at 18.0, and the difference between it and the highest value (Milk Tea at 70.1) is 52.1.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0001_pie_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0001_pie_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..561c5ea7de5928be07c1611b18ab528975b856bd --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0001_pie_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0001_pie_q3", + "instruction": "From 2012 to 2016, did Matcha Latte’s value increase or decrease overall, and by how much?", + "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_insert/Apache ECharts/pie/chart_0001_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "From 2012 to 2016, did Matcha Latte’s value increase or decrease overall, and by how much?", + "expected": "Matcha Latte’s value increased overall from 51.1 in 2012 to 73.8 in 2016, a net increase of 22.7.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0001_scatter_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0001_scatter_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..4276c2eeb49ed53435c79195ca0b6d4e8f477080 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0001_scatter_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0001_scatter_q1", + "instruction": "What is the highest number of commits recorded at any day and hour, and on which day(s) and hour(s) does this maximum occur?", + "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_insert/Apache ECharts/scatter/chart_0001_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the highest number of commits recorded at any day and hour, and on which day(s) and hour(s) does this maximum occur?", + "expected": "The highest value is 14 commits, occurring on Wednesday at 1p and on Tuesday at 3p.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0002_bar_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0002_bar_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..b59b9d491947e2821c29eb0b4fc6621615f76785 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0002_bar_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0002_bar_q2", + "instruction": "At category A0, what are the values of series 'bar' and 'bar2', and which series has the higher 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_insert/Apache ECharts/bar/chart_0002_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "At category A0, what are the values of series 'bar' and 'bar2', and which series has the higher value?", + "expected": "At A0, 'bar' has value 0 and 'bar2' has value -50, so 'bar' has the higher value.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0002_bar_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0002_bar_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..58cc3ab3b48e75ab6d71835ffe64d6ae92f57ad4 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0002_bar_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0002_bar_q3", + "instruction": "From category A0 to A10, does the value of series 'bar2' increase or decrease, and by approximately how much does it change?", + "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_insert/Apache ECharts/bar/chart_0002_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "From category A0 to A10, does the value of series 'bar2' increase or decrease, and by approximately how much does it change?", + "expected": "The value of 'bar2' increases from -50 at A0 to about 25 at A10, a rise of roughly 75 units.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0002_box_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0002_box_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..7cc72977634c3564bb1f4272de8a9db6d6cc03e2 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0002_box_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0002_box_q3", + "instruction": "Which group contains the lowest measurement across all data, and what is that 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_insert/Apache ECharts/box/chart_0002_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which group contains the lowest measurement across all data, and what is that value?", + "expected": "The lowest measurement is 655, and it occurs in the first group.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0002_heatmap_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0002_heatmap_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..c5f634cff6b780835a28e823ca54abf3b48995de --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0002_heatmap_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0002_heatmap_q1", + "instruction": "According to the data generation function used for this heatmap, what are the minimum and maximum possible daily step-count values that can be assigned to a day, and are they integers or fractional values?", + "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_insert/Apache ECharts/heatmap/chart_0002_heatmap.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "According to the data generation function used for this heatmap, what are the minimum and maximum possible daily step-count values that can be assigned to a day, and are they integers or fractional values?", + "expected": "Each day’s step count is an integer between 0 and 10000 inclusive; no fractional values are generated.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0002_line_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0002_line_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..9e4d4e52b82c81144d8649d59aa94b3128a2b71c --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0002_line_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0002_line_q2", + "instruction": "Between which UTC times on 2024-04-09 is the x-axis break configured, during which no data points are generated?", + "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_insert/Apache ECharts/line/chart_0002_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Between which UTC times on 2024-04-09 is the x-axis break configured, during which no data points are generated?", + "expected": "From 11:30 UTC to 13:00 UTC on 2024-04-09", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0002_pie_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0002_pie_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..1f8628ad36fdd811ea94b3e64724d6e91c308645 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0002_pie_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0002_pie_q1", + "instruction": "How many daily pie charts (one per date) are displayed for February 2017 in this calendar-based chart?", + "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_insert/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": "How many daily pie charts (one per date) are displayed for February 2017 in this calendar-based chart?", + "expected": "There are 28 daily pie charts, one for each day from February 1 to February 28, 2017.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0002_pie_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0002_pie_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..1ec038cf932a2cc26e52590fa1a74adfc2dcd8d7 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0002_pie_q2.json @@ -0,0 +1,59 @@ +{ + "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_insert/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": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0002_scatter_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0002_scatter_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..7ddf3733bd81c126f79154880e3539719056e8be --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0002_scatter_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0002_scatter_q1", + "instruction": "Among the three beverage products listed (the two chocolate instant breakfast powders and the milkshake mix), which one has the highest potassium content and what is that potassium 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_insert/Apache ECharts/scatter/chart_0002_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Among the three beverage products listed (the two chocolate instant breakfast powders and the milkshake mix), which one has the highest potassium content and what is that potassium value?", + "expected": "“Beverage, milkshake mix, dry, not chocolate” has the highest potassium content at 2.2.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0003_bar_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0003_bar_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..a3865f49115317025938c2892226a5ec3e053957 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0003_bar_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0003_bar_q2", + "instruction": "At the 10th data point, which year has the higher budget value, 2011 or 2012, and what is that 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_insert/Apache ECharts/bar/chart_0003_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "At the 10th data point, which year has the higher budget value, 2011 or 2012, and what is that value?", + "expected": "At the 10th data point, 2011 and 2012 have the same budget value of 1000.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0003_box_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0003_box_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..8910064dff6e48d10cc902199e62bb9b3104d921 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0003_box_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0003_box_q3", + "instruction": "What was the highest income recorded by Novar since 1950?", + "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_insert/Apache ECharts/box/chart_0003_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What was the highest income recorded by Novar since 1950?", + "expected": "The highest income recorded in Noeva since 1950 is 65,781", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0003_line_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0003_line_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..f60ae148d4abc6b0399f7132cfd5f95c0caeb6c1 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0003_line_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0003_line_q3", + "instruction": "How many days in the week have a 'Lowest' temperature strictly below 0 °C?", + "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_insert/Apache ECharts/line/chart_0003_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "How many days in the week have a 'Lowest' temperature strictly below 0 °C?", + "expected": "There is 1 day with a 'Lowest' temperature strictly below 0 °C.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0003_other_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0003_other_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..82c6072b77c5adaed05bb33abcd32a7ffbee9601 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0003_other_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0003_other_q1", + "instruction": "On 2015/11/18, which category has the lowest value among all categories, and what is that 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_insert/Apache ECharts/other/chart_0003_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "On 2015/11/18, which category has the lowest value among all categories, and what is that value?", + "expected": "On 2015/11/18, category DD has the lowest value, which is 4.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0003_other_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0003_other_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..f6cfae8b83eb30a10f8f8003fe4017015a337370 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0003_other_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0003_other_q2", + "instruction": "For category TY, what is the difference between its value on 2015/11/08 and on 2015/11/17, and is this an increase or a decrease?", + "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_insert/Apache ECharts/other/chart_0003_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "For category TY, what is the difference between its value on 2015/11/08 and on 2015/11/17, and is this an increase or a decrease?", + "expected": "TY increases from 35 on 2015/11/08 to 45 on 2015/11/17, an increase of 10.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0003_other_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0003_other_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..3332f13725f12a560dfb7e7dbab6090f6277ff9c --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0003_other_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0003_other_q3", + "instruction": "For category SS, what is its maximum value over the displayed period, and on which date does this occur?", + "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_insert/Apache ECharts/other/chart_0003_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "For category SS, what is its maximum value over the displayed period, and on which date does this occur?", + "expected": "SS reaches its maximum value of 47 on 2015/11/27.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0003_pie_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0003_pie_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..15a5b03c53167a787eb8cf5fd02fa7244975ff0e --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0003_pie_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0003_pie_q1", + "instruction": "In the inner pie series, by how many units does 'Search Engine' exceed 'Marketing'?", + "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_insert/Apache ECharts/pie/chart_0003_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In the inner pie series, by how many units does 'Search Engine' exceed 'Marketing'?", + "expected": "'Search Engine' exceeds 'Marketing' by 869 units (1548 − 679 = 869).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0003_pie_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0003_pie_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..f61bb07f616bab6dc5ec2ee95c6bceb02f97ecb1 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0003_pie_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0003_pie_q2", + "instruction": "What is the total value of all categories combined in the outer pie series?", + "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_insert/Apache ECharts/pie/chart_0003_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the total value of all categories combined in the outer pie series?", + "expected": "The total value in the outer pie series is 2562 (1048 + 335 + 310 + 251 + 234 + 147 + 135 + 102 = 2562).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0003_pie_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0003_pie_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..d6f6465fdccf6a064eb12210ac058ff5be79006d --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0003_pie_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0003_pie_q3", + "instruction": "In the outer pie series, which category has the third highest value and what is that 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_insert/Apache ECharts/pie/chart_0003_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In the outer pie series, which category has the third highest value and what is that value?", + "expected": "The category with the third highest value in the outer pie series is 'Email' with a value of 310.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0003_scatter_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0003_scatter_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..779801b8cfb699d0a504453c2a64730f2c726bca --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0003_scatter_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0003_scatter_q1", + "instruction": "In the Beijing series, on which date is the AQI index highest, and what is that AQI 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_insert/Apache ECharts/scatter/chart_0003_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In the Beijing series, on which date is the AQI index highest, and what is that AQI value?", + "expected": "In the Beijing series, the AQI index is highest on day 9, with a value of 267.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0003_scatter_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0003_scatter_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..095a308a2153f20fde5b7b15894e45366bc33048 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0003_scatter_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0003_scatter_q2", + "instruction": "On day 24, which city has the highest PM2.5 value, and what is that 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_insert/Apache ECharts/scatter/chart_0003_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "On day 24, which city has the highest PM2.5 value, and what is that value?", + "expected": "On day 24, Guangzhou has the highest PM2.5 value, which is 130.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0003_scatter_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0003_scatter_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..dc065a828e453c41d1b5039902d972743d52f599 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0003_scatter_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0003_scatter_q3", + "instruction": "On day 15, which city had a higher PM2.5 level, Shanghai or Guangzhou?", + "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_insert/Apache ECharts/scatter/chart_0003_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "On day 15, which city had a higher PM2.5 level, Shanghai or Guangzhou?", + "expected": "Shanghai had a higher PM2.5 level (80) compared to Guangzhou (68).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0004_bar_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0004_bar_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..2636ceb09c8e9c7906e6a43b39343ac093d9416f --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0004_bar_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0004_bar_q1", + "instruction": "What is the highest Precipitation value shown in the chart, what is the highest Evaporation value, and by how much does the higher of the two exceed the other?", + "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_insert/Apache ECharts/bar/chart_0004_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the highest Precipitation value shown in the chart, what is the highest Evaporation value, and by how much does the higher of the two exceed the other?", + "expected": "The highest Precipitation value is 175.6 ml and the highest Evaporation value is 135.6 ml; Precipitation is higher by 40.0 ml.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0004_bar_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0004_bar_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..c5f52e11b53bcceec884d8d823a1801d8661cf35 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0004_bar_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0004_bar_q2", + "instruction": "Across all data points, in how many cases is the Evaporation value greater than the corresponding Precipitation 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_insert/Apache ECharts/bar/chart_0004_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Across all data points, in how many cases is the Evaporation value greater than the corresponding Precipitation value?", + "expected": "Evaporation is greater than Precipitation in 1 data points.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0004_bar_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0004_bar_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..3c84cdd11d896008ab4fa3caff51be25bfb19c7c --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0004_bar_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0004_bar_q3", + "instruction": "Across all data points, by how many degrees does the Temperature increase from its minimum value to its maximum 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_insert/Apache ECharts/bar/chart_0004_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Across all data points, by how many degrees does the Temperature increase from its minimum value to its maximum value?", + "expected": "Temperature increases from a minimum of 2.0 °C to a maximum of 20.3 °C, a rise of 18.3 °C.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0004_box_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0004_box_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..65d98031802d42d11f64d11975b1ea9acfdebd4c --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0004_box_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0004_box_q1", + "instruction": "On which date in the dataset was the trading volume highest, and what was that volume?", + "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_insert/Apache ECharts/box/chart_0004_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "On which date in the dataset was the trading volume highest, and what was that volume?", + "expected": "The highest trading volume was on 2016-06-17, with a volume of 248,680,000.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0004_box_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0004_box_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..460f1b1188b5ebf5b10145a1f2d6cc2371896884 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0004_box_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0004_box_q2", + "instruction": "On 2016-04-21, did the index close above or below its opening value, and by how many points?", + "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_insert/Apache ECharts/box/chart_0004_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "On 2016-04-21, did the index close above or below its opening value, and by how many points?", + "expected": "On 2016-04-21, the index closed below its opening value by 110.32 points (opened at 18,092.84 and closed at 17,982.52).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0004_box_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0004_box_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..aadc171ec2268f90b55a9abce703a841e670717d --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0004_box_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0004_box_q3", + "instruction": "What is the closing price on 2016-05-10?", + "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_insert/Apache ECharts/box/chart_0004_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the closing price on 2016-05-10?", + "expected": "17928.35", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0004_line_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0004_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..3cfbe52fb519a76456f5a99c5f1f3f470fa0d1e3 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0004_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0004_line_q1", + "instruction": "What is the minimum value between Poland's second and third intersections with 10000?", + "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_insert/Apache ECharts/line/chart_0004_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the minimum value between Poland's second and third intersections with 10000?", + "expected": "9347, appearing in 1991.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0004_line_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0004_line_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..80b658a97303720c7e429c86dc1deb3409c5abe3 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0004_line_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0004_line_q2", + "instruction": "How many countries' income lines are plotted in the chart in total?", + "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_insert/Apache ECharts/line/chart_0004_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "How many countries' income lines are plotted in the chart in total?", + "expected": "8", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0004_line_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0004_line_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..aa3336d352fe4d6ae0352130866ace809fb22d44 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0004_line_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0004_line_q3", + "instruction": "What rank was Finland in 1997?", + "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_insert/Apache ECharts/line/chart_0004_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What rank was Finland in 1997?", + "expected": "Fifth", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0004_other_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0004_other_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..021ba484cc9fa97094cb9811841524390daf4c7d --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0004_other_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0004_other_q2", + "instruction": "On which day is the rainfall the greatest?", + "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_insert/Apache ECharts/other/chart_0004_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "On which day is the rainfall the greatest?", + "expected": "The 26th (or the 29th day of the lunar month)", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0004_pie_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0004_pie_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..00d0a0b678d3380fb7b210f8c942fdbafe0a5978 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0004_pie_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0004_pie_q1", + "instruction": "Which city has the highest value in the pie chart, and what is that 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_insert/Apache ECharts/pie/chart_0004_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which city has the highest value in the pie chart, and what is that value?", + "expected": "CityE has the highest value, with 1548.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0004_pie_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0004_pie_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..47ed844026cf23cab2674ba3fed02a630f873aff --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0004_pie_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0004_pie_q2", + "instruction": "By how much does CityC’s value exceed CityA’s 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_insert/Apache ECharts/pie/chart_0004_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "By how much does CityC’s value exceed CityA’s value?", + "expected": "CityC exceeds CityA by 400 (735 − 335 = 400).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0004_pie_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0004_pie_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..63077be2bbafc4789ad0a638c18290f386d4d774 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0004_pie_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0004_pie_q3", + "instruction": "For CityE, how many Sunny days are shown and what percentage of its days does that represent?", + "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_insert/Apache ECharts/pie/chart_0004_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "For CityE, how many Sunny days are shown and what percentage of its days does that represent?", + "expected": "CityE has 202 Sunny days, representing 55.3% of its days.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0005_bar_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0005_bar_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..e1403e32ccd2a620984b042ec171d036b3c96557 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0005_bar_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0005_bar_q2", + "instruction": "On Wednesday, which data series has the highest value, and by how much does it exceed the lowest-valued series that day?", + "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_insert/Apache ECharts/bar/chart_0005_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "On Wednesday, which data series has the highest value, and by how much does it exceed the lowest-valued series that day?", + "expected": "On Wednesday, 'Data D' has the highest value at 3,102,643, exceeding the lowest series 'Data B' (1,010) by 3,101,633.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0005_bar_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0005_bar_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..a84df6e1514818f2409134c3878a397a3b671410 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0005_bar_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0005_bar_q3", + "instruction": "Across all days, what is the difference between the maximum and minimum values of the series 'Data C'?", + "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_insert/Apache ECharts/bar/chart_0005_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Across all days, what is the difference between the maximum and minimum values of the series 'Data C'?", + "expected": "For 'Data C', the difference between the maximum value (103,900) and the minimum value (100,320) is 3,580.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0005_heatmap_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0005_heatmap_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..f3031363f4ead86af961e89f026f80dc5851a1e5 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0005_heatmap_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0005_heatmap_q1", + "instruction": "During Wednesday, at which hour does the chart show the highest value, and what is that 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_insert/Apache ECharts/heatmap/chart_0005_heatmap.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "During Wednesday, at which hour does the chart show the highest value, and what is that value?", + "expected": "On Wednesday, the highest value is 14 at 1p.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0005_heatmap_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0005_heatmap_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..dc58fca46d069426d10c64dd0b2225cdb2432975 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0005_heatmap_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0005_heatmap_q3", + "instruction": "At 3p, which day of the week has the highest value on the chart, and what is that 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_insert/Apache ECharts/heatmap/chart_0005_heatmap.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "At 3p, which day of the week has the highest value on the chart, and what is that value?", + "expected": "At 3p, Tuesday has the highest value, which is 14.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0005_line_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0005_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..f6dc280c62d66df6c6cce38afb587fbbd2accfb8 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0005_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0005_line_q1", + "instruction": "What were Lemon's rankings in 2001 and 2005, respectively?", + "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_insert/Apache ECharts/line/chart_0005_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What were Lemon's rankings in 2001 and 2005, respectively?", + "expected": "8th in 2001 and 4th in 2005.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0005_line_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0005_line_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..f74fec9f5964e7e33c690b7622c2679e53481840 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0005_line_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0005_line_q2", + "instruction": "In 2003, which item ranked No. 1?", + "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_insert/Apache ECharts/line/chart_0005_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In 2003, which item ranked No. 1?", + "expected": "Banana.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0005_other_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0005_other_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..3743b291460a4a3d0bffebf097c350a2cb89428f --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0005_other_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0005_other_q2", + "instruction": "In the horizontal bar chart dataHistogram2, which interval has the larger x value, 0-50 or 450-500?", + "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_insert/Vchart/other/chart_0005_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In the horizontal bar chart dataHistogram2, which interval has the larger x value, 0-50 or 450-500?", + "expected": "The 0-50 interval has the larger x value: 222, compared with 175 for 450-500.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0005_pie_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0005_pie_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..c8a5f6f5f6b27aec643dce6c7746a0d56fd51304 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0005_pie_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0005_pie_q2", + "instruction": "Approximately what percentage of the total does 'rose 8' account for?", + "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_insert/Apache ECharts/pie/chart_0005_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Approximately what percentage of the total does 'rose 8' account for?", + "expected": "'rose 8' accounts for approximately 7.7% of the total (18 out of 234).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0005_scatter_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0005_scatter_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..71fe67949db7e6bf02a8434cd7025aa3c79a18ce --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0005_scatter_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0005_scatter_q2", + "instruction": "What are the minimum and maximum heights recorded for males and for females, and which gender spans a larger height range?", + "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_insert/Apache ECharts/scatter/chart_0005_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What are the minimum and maximum heights recorded for males and for females, and which gender spans a larger height range?", + "expected": "Females range from 147.2 cm to 182.9 cm, while males range from 157.2 cm to 198.1 cm; males span the larger height range.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0006_bar_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0006_bar_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..7adef37a390227f25d7531739023602f7abe5ba4 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0006_bar_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0006_bar_q1", + "instruction": "Among the S categories (S1, S2, S3), which category has the highest bar value and what is that 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_insert/Apache ECharts/bar/chart_0006_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Among the S categories (S1, S2, S3), which category has the highest bar value and what is that value?", + "expected": "S3 has the highest bar value among the S categories, with a value of 3.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0006_bar_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0006_bar_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..409a5bab786c6c017d3f97fce7f5a35491c3a0c2 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0006_bar_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0006_bar_q2", + "instruction": "How do the values change across the T categories from T1 to T3?", + "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_insert/Apache ECharts/bar/chart_0006_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "How do the values change across the T categories from T1 to T3?", + "expected": "The values increase steadily from 1 at T1 to 2 at T2 and 3 at T3.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0006_bar_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0006_bar_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..2b3788eb77d902b5e2a0f6255abfb03e42754330 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0006_bar_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0006_bar_q3", + "instruction": "Comparing the total bar values of S1–S3 with T1–T3, which group has the larger total, and what are the totals?", + "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_insert/Apache ECharts/bar/chart_0006_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Comparing the total bar values of S1–S3 with T1–T3, which group has the larger total, and what are the totals?", + "expected": "The totals are equal; both S1–S3 and T1–T3 sum to 6.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0006_box_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0006_box_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..31c3be90ea5247873e75b7b0180afbd320c7dd17 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0006_box_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0006_box_q1", + "instruction": "On 2004-02-11, what were the opening and closing prices, and did the index close above or below its opening price on that day?", + "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_insert/Apache ECharts/box/chart_0006_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "On 2004-02-11, what were the opening and closing prices, and did the index close above or below its opening price on that day?", + "expected": "On 2004-02-11, the index opened at 10605.48 and closed at 10737.70, so it closed above its opening price.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0006_box_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0006_box_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..ca50c3f194be12cdcc5a43875a4aa6210a0b1f62 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0006_box_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0006_box_q3", + "instruction": "How did the closing price change from 2004-03-22 to 2004-03-29 (closing on 29 minus closing on 22), and was this an increase or a decrease?", + "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_insert/Apache ECharts/box/chart_0006_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "How did the closing price change from 2004-03-22 to 2004-03-29 (closing on 29 minus closing on 22), and was this an increase or a decrease?", + "expected": "The closing price rose from 10064.75 on 2004-03-22 to 10329.63 on 2004-03-29, an increase of 264.88 points.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0006_heatmap_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0006_heatmap_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..48fad03e0c6745948f16012423b49eb231e3ee44 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0006_heatmap_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0006_heatmap_q2", + "instruction": "Which segment has the highest completion rate for Tunnel Engineering Quality Inspection?", + "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_insert/Apache ECharts/heatmap/chart_0006_heatmap.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which segment has the highest completion rate for Tunnel Engineering Quality Inspection?", + "expected": "TJ-04 has the highest completion rate of 70%.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0006_heatmap_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0006_heatmap_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..cfbb2c5b1f18103176324b5559888d13f626b4bd --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0006_heatmap_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0006_heatmap_q3", + "instruction": "How many types of quality inspections have an average completion rate above 50% across all segments?", + "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_insert/Apache ECharts/heatmap/chart_0006_heatmap.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "How many types of quality inspections have an average completion rate above 50% across all segments?", + "expected": "0 types have an average completion rate above 50%.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0006_line_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0006_line_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..ce40609977d504f7283db9f17e0be4c57f1bc295 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0006_line_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0006_line_q2", + "instruction": "In the case where the green area and the blue area overlap, when does the maximum value of the green area occur, and what is the 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_insert/Apache ECharts/line/chart_0006_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In the case where the green area and the blue area overlap, when does the maximum value of the green area occur, and what is the value?", + "expected": "September 13, 2009, 12:00, with a value of 3.301", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0006_line_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0006_line_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..4ec825da0dc25e5efee0fbe04d54815680b36fbe --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0006_line_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0006_line_q3", + "instruction": "What is the first time label specified on the x-axis category data?", + "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_insert/Apache ECharts/line/chart_0006_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the first time label specified on the x-axis category data?", + "expected": "2009/6/12 2:00", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0006_other_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0006_other_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..7e341a9b642dcddd04a1120ff9625097f15d6a8d --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0006_other_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0006_other_q2", + "instruction": "From Feb.11 to May.6, how many dates have negative changes?", + "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_insert/Vchart/other/chart_0006_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "From Feb.11 to May.6, how many dates have negative changes?", + "expected": "5", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0006_other_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0006_other_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..d57d603713b97d7cdaa179995bab1059e573c064 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0006_other_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0006_other_q3", + "instruction": "Starting from the initial total on Feb.4, what is the final total favorability after applying all changes through May.6?", + "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_insert/Vchart/other/chart_0006_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Starting from the initial total on Feb.4, what is the final total favorability after applying all changes through May.6?", + "expected": "45%", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0006_pie_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0006_pie_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..f982aa96f81b9b87f39ecfef0ca4c09646f9f66a --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0006_pie_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0006_pie_q2", + "instruction": "Comparing the total values across all categories, which series has the larger total, and what are the totals for 'Radius Mode' and 'Area Mode'?", + "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_insert/Apache ECharts/pie/chart_0006_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Comparing the total values across all categories, which series has the larger total, and what are the totals for 'Radius Mode' and 'Area Mode'?", + "expected": "'Area Mode' has the larger total. 'Radius Mode' totals 180, while 'Area Mode' totals 184.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0006_scatter_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0006_scatter_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..e59cc56d4511c6f8b52b1572b7583e259f6e139e --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0006_scatter_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0006_scatter_q2", + "instruction": "At 7p, which day has the highest value, and what is that 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_insert/Apache ECharts/scatter/chart_0006_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "At 7p, which day has the highest value, and what is that value?", + "expected": "At 7p, Friday has the highest value, which is 12.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0006_scatter_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0006_scatter_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..162de2f46643e855cec6c264364b54eabd1b486f --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0006_scatter_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0006_scatter_q3", + "instruction": "Which day has the greatest number of hours with a value of zero, and how many zero-value hours does it have?", + "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_insert/Apache ECharts/scatter/chart_0006_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which day has the greatest number of hours with a value of zero, and how many zero-value hours does it have?", + "expected": "Sunday has the greatest number of zero-value hours, with 14 hours at zero.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0007_bar_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0007_bar_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..ff2edd9d19c2343d59ab7a373420a67705a8579f --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0007_bar_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0007_bar_q1", + "instruction": "By how much did the 'World' value increase from 2011 to 2012?", + "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_insert/Apache ECharts/bar/chart_0007_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "By how much did the 'World' value increase from 2011 to 2012?", + "expected": "The 'World' value increased by 51,577 (from 630,230 in 2011 to 681,807 in 2012).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0007_bar_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0007_bar_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..60fb2c1f414ef82b18b80150a67da56fa52164ad --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0007_bar_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0007_bar_q3", + "instruction": "In 2012, which non-World category has the lowest value, and what is that 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_insert/Apache ECharts/bar/chart_0007_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In 2012, which non-World category has the lowest value, and what is that value?", + "expected": "In 2012, Brazil has the lowest non-World value, at 19,325.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0007_box_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0007_box_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..c55991c4b51f7c7b57706c6db2a22d6cf0db383f --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0007_box_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0007_box_q2", + "instruction": "Comparing the closing prices on 2013/3/4 and 2013/3/5 in the candlestick series, which date has the higher closing price, and by how much?", + "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_insert/Apache ECharts/box/chart_0007_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Comparing the closing prices on 2013/3/4 and 2013/3/5 in the candlestick series, which date has the higher closing price, and by how much?", + "expected": "2013/3/5 has the higher closing price: 2326.31 versus 2273.40 on 2013/3/4, a difference of 52.91 points.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0007_box_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0007_box_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..7a9dadf77d7f970caccc690cf93f8f2b50176ad3 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0007_box_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0007_box_q3", + "instruction": "By how many points did the closing price change from 2013/1/24 to 2013/6/13 in the candlestick data, and was it an increase or a decrease?", + "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_insert/Apache ECharts/box/chart_0007_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "By how many points did the closing price change from 2013/1/24 to 2013/6/13 in the candlestick data, and was it an increase or a decrease?", + "expected": "The closing price decreased by 171.91 points, from 2320.26 on 2013/1/24 to 2148.35 on 2013/6/13.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0007_heatmap_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0007_heatmap_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..254ec4f8e17233f2eac13bdd99f2f426b08cc0d1 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0007_heatmap_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0007_heatmap_q1", + "instruction": "Which hero has the highest attack power 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_insert/Apache ECharts/heatmap/chart_0007_heatmap.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which hero has the highest attack power value?", + "expected": "Guan Yu has the highest attack power with a value of 10.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0007_heatmap_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0007_heatmap_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..2861c0aa2fd98562414d9984e67e7e1e960a11b8 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0007_heatmap_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0007_heatmap_q3", + "instruction": "How many heroes have a movement speed value greater than 5?", + "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_insert/Apache ECharts/heatmap/chart_0007_heatmap.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "How many heroes have a movement speed value greater than 5?", + "expected": "7 heroes have a movement speed value greater than 5.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0007_line_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0007_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..550c93e41ff401a738427c634f85b7365b94f3fa --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0007_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0007_line_q1", + "instruction": "In the 2016 series, at which month label does precipitation reach its highest value, and what is that 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_insert/Apache ECharts/line/chart_0007_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In the 2016 series, at which month label does precipitation reach its highest value, and what is that value?", + "expected": "At '2016-7', with a value of 231.6.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0007_line_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0007_line_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..e09ba238f185b39237eab9799cdfc5888950104c --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0007_line_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0007_line_q2", + "instruction": "Comparing the 8th month in each year, which series has higher precipitation, 2015 or 2016, and by how much?", + "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_insert/Apache ECharts/line/chart_0007_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Comparing the 8th month in each year, which series has higher precipitation, 2015 or 2016, and by how much?", + "expected": "2015 has higher precipitation by 135.6 (182.2 in 2015 versus 46.6 in 2016).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0007_line_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0007_line_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..368fa0da49056a4625c7e4dbeffe528679cf0206 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0007_line_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0007_line_q3", + "instruction": "For the 2016 series, do the precipitation values from '2016-1' to '2016-7' increase every month without any decrease?", + "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_insert/Apache ECharts/line/chart_0007_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "For the 2016 series, do the precipitation values from '2016-1' to '2016-7' increase every month without any decrease?", + "expected": "Yes, they increase each month from 3.9 at '2016-1' to 231.6 at '2016-7'.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0007_other_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0007_other_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..d3ebf3ef2fa544889e073ae8b40d8ad4f4e63dff --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0007_other_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0007_other_q1", + "instruction": "In which month is type C highest?", + "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_insert/Vchart/other/chart_0007_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In which month is type C highest?", + "expected": "Feb.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0007_other_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0007_other_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..8c397d27df499f129a7a59ad4af67c635c86294b --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0007_other_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0007_other_q2", + "instruction": "In Nov., what is the total value of types A, B, and C?", + "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_insert/Vchart/other/chart_0007_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In Nov., what is the total value of types A, B, and C?", + "expected": "243", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0007_scatter_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0007_scatter_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..e23c4b812b01fbb881047c0adfef4bc1e883c3a1 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0007_scatter_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0007_scatter_q2", + "instruction": "Comparing Friday at 10a and Monday at 10a, which time has more commits and by how many?", + "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_insert/Apache ECharts/scatter/chart_0007_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Comparing Friday at 10a and Monday at 10a, which time has more commits and by how many?", + "expected": "Friday at 10a has more commits, with 5 commits versus 4 on Monday at 10a, a difference of 1 commit.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0008_bar_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0008_bar_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..73b1731c8064cd2125782674ba1dbc34524a626f --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0008_bar_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0008_bar_q1", + "instruction": "Which category has the highest bar value, and what is that 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_insert/Apache ECharts/bar/chart_0008_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which category has the highest bar value, and what is that value?", + "expected": "Category d has the highest value, which is 3.6.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0008_bar_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0008_bar_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..0c3f990f613cf1e414eb2c0e7ba80aa4e33f4599 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0008_bar_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0008_bar_q3", + "instruction": "What is the total sum of the bar values for categories a, b, c, and d?", + "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_insert/Apache ECharts/bar/chart_0008_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the total sum of the bar values for categories a, b, c, and d?", + "expected": "The total sum is 9.2 (2 + 1.2 + 2.4 + 3.6).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0008_box_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0008_box_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..e6b3b5c89dd72819ae04e1818b478f70bbb6ac7f --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0008_box_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0008_box_q1", + "instruction": "On 2004-03-10, what was the difference between the high and low values?", + "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_insert/Apache ECharts/box/chart_0008_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "On 2004-03-10, what was the difference between the high and low values?", + "expected": "On 2004-03-10, the difference between the high (10523.11) and low (10259.34) was 263.77 points.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0008_box_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0008_box_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..8b5b6c56e0413051a39bef2b9c2f103127d9f1e3 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0008_box_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0008_box_q3", + "instruction": "From 2004-05-10 to 2004-05-12, by how many points did the closing value change, and was it an increase or a decrease?", + "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_insert/Apache ECharts/box/chart_0008_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "From 2004-05-10 to 2004-05-12, by how many points did the closing value change, and was it an increase or a decrease?", + "expected": "The closing value increased by 55.14 points, from 9990.02 on 2004-05-10 to 10045.16 on 2004-05-12.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0008_heatmap_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0008_heatmap_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..3e09a30b9dd5a9d2c306d6aa1e6fc6940a041cd1 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0008_heatmap_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0008_heatmap_q1", + "instruction": "What is the highest markup rate for capsules, and in which origin is it found?", + "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_insert/Apache ECharts/heatmap/chart_0008_heatmap.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the highest markup rate for capsules, and in which origin is it found?", + "expected": "The highest markup rate for capsules is 0.81, found in Fujian.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0008_heatmap_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0008_heatmap_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..f97be49e78a42040a2e9a9e81c1b67978b962e2d --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0008_heatmap_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0008_heatmap_q2", + "instruction": "Compare the markup rates for tablets between Beijing and Shanghai. Which one has a higher rate?", + "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_insert/Apache ECharts/heatmap/chart_0008_heatmap.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Compare the markup rates for tablets between Beijing and Shanghai. Which one has a higher rate?", + "expected": "Beijing has a higher markup rate for tablets (0.16) compared to Shanghai (0.11).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0008_heatmap_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0008_heatmap_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..6c6b8a07e95fd00572478ea2ae77bc2bb0c91718 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0008_heatmap_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0008_heatmap_q3", + "instruction": "What is the lowest markup rate shown in the heatmap, and for which drug dosage form and origin?", + "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_insert/Apache ECharts/heatmap/chart_0008_heatmap.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the lowest markup rate shown in the heatmap, and for which drug dosage form and origin?", + "expected": "The lowest markup rate is -0.33, for external preparations in Shanghai.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0008_line_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0008_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..675eef21e59806f0b3ba852898a339d89cf41d9b --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0008_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0008_line_q1", + "instruction": "How was the air quality on July 27, 2004?", + "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_insert/Apache ECharts/line/chart_0008_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "How was the air quality on July 27, 2004?", + "expected": "The AQI was 59, which indicates fairly good air quality.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0008_other_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0008_other_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..1dd1648dd544a33091a2fd9f2ce291fba2283673 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0008_other_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0008_other_q1", + "instruction": "In this radar chart, which metric has the lowest value, and what is it?", + "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_insert/Vchart/other/chart_0008_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In this radar chart, which metric has the lowest value, and what is it?", + "expected": "Shooting, with a value of 3.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0008_pie_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0008_pie_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..b128fb6fc22a50e1ca982a3b53b656b4bd143c38 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0008_pie_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0008_pie_q1", + "instruction": "Which category has the highest value and which has the lowest value in the pie chart, and what are those values?", + "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_insert/Apache ECharts/pie/chart_0008_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which category has the highest value and which has the lowest value in the pie chart, and what are those values?", + "expected": "The highest value is Search Engine with 400, and the lowest value is Video Ads with 235.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0008_pie_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0008_pie_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..940fb121a3d3dac39374313713380f9b6790695d --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0008_pie_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0008_pie_q2", + "instruction": "By how much does the value for Direct exceed the value for Union Ads?", + "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_insert/Apache ECharts/pie/chart_0008_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "By how much does the value for Direct exceed the value for Union Ads?", + "expected": "Direct exceeds Union Ads by 61 (335 − 274 = 61).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0008_pie_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0008_pie_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..e91db12315419d75dc4637af226f4fcb3a921e96 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0008_pie_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0008_pie_q3", + "instruction": "Approximately what percentage of the total does Search Engine account for, rounded to one decimal place?", + "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_insert/Apache ECharts/pie/chart_0008_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Approximately what percentage of the total does Search Engine account for, rounded to one decimal place?", + "expected": "Search Engine accounts for approximately 25.7% of the total.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0008_scatter_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0008_scatter_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..ef77ed091ac56f758a2160b58f6d56d13f33a555 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0008_scatter_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0008_scatter_q1", + "instruction": "Which data point has the largest main business income, and what is its corresponding net profit?", + "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_insert/Apache ECharts/scatter/chart_0008_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which data point has the largest main business income, and what is its corresponding net profit?", + "expected": "The largest main business income is 226.55, and its corresponding net profit is 664.02.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0008_scatter_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0008_scatter_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..0ac099d5cff192bae5dc732eb1d4d230100ee13a --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0008_scatter_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0008_scatter_q3", + "instruction": "What is the main business income for the data point with the smallest net profit?", + "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_insert/Apache ECharts/scatter/chart_0008_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the main business income for the data point with the smallest net profit?", + "expected": "0.85 million.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0009_bar_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0009_bar_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..46aaf6df793cfb29ec9715d919e8f299417a9e0b --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0009_bar_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0009_bar_q1", + "instruction": "Which category has the largest bar value, and what is that 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_insert/Apache ECharts/bar/chart_0009_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which category has the largest bar value, and what is that value?", + "expected": "Category d has the largest bar value, which is 3.6.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0009_bar_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0009_bar_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..9bb3378bf9f6edb1c7bcb622cdcef180cf7c9908 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0009_bar_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0009_bar_q2", + "instruction": "What is the ratio of the value for category d to the value for category b?", + "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_insert/Apache ECharts/bar/chart_0009_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the ratio of the value for category d to the value for category b?", + "expected": "The ratio is 3.6 to 1.2, which simplifies to 3 to 1.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0009_box_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0009_box_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..3aa6376fdc6957114d3b90fd1a8fc62328989614 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0009_box_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0009_box_q1", + "instruction": "Which brand has the highest maximum discount strength?", + "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_insert/Apache ECharts/box/chart_0009_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which brand has the highest maximum discount strength?", + "expected": "Haier, with a maximum value of 98.27.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0009_box_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0009_box_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..9e83db6c1d47deeedbcd79904918a62ce57b3b34 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0009_box_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0009_box_q3", + "instruction": "Which brand shows the smallest interquartile range (IQR) for its discount strength?", + "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_insert/Apache ECharts/box/chart_0009_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which brand shows the smallest interquartile range (IQR) for its discount strength?", + "expected": "Gree, with an IQR of 11.86 (Q3: 55.56 minus Q1: 43.7).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0009_heatmap_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0009_heatmap_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..41b1caab9fa04e0a5619950459b91a18691e7589 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0009_heatmap_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0009_heatmap_q2", + "instruction": "Comparing 2011-09-04 and 2011-09-13 in the chart data, which date has the higher value, and by how much?", + "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_insert/Apache ECharts/heatmap/chart_0009_heatmap.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Comparing 2011-09-04 and 2011-09-13 in the chart data, which date has the higher value, and by how much?", + "expected": "2011-09-13 is higher, with a value of 16 compared to 13 on 2011-09-04, a difference of 3.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0009_line_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0009_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..c94ef74cc69d09c120a790e6124de1efc2b547a1 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0009_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0009_line_q1", + "instruction": "What is the first time point listed in the timeData array?", + "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_insert/Apache ECharts/line/chart_0009_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the first time point listed in the timeData array?", + "expected": "6/12 2:00", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0009_other_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0009_other_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..6c653fa870e1c1c2499d6cc3e6319ac15d55390c --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0009_other_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0009_other_q1", + "instruction": "What is the highest forecast air temperature among the first ten hourly data points, and at what time does it first occur?", + "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_insert/Highcharts/other/chart_0009_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the highest forecast air temperature among the first ten hourly data points, and at what time does it first occur?", + "expected": "2.6 °C at 02-22 14:00:00 ", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0009_pie_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0009_pie_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..7c3d3b84a6df9d7ede657dfc1c12dfe99408e79d --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0009_pie_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0009_pie_q1", + "instruction": "Which access source has the smallest value, and what is that 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_insert/Apache ECharts/pie/chart_0009_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which access source has the smallest value, and what is that value?", + "expected": "Video Ads has the smallest value, with 300.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0009_pie_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0009_pie_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..22f65b909a30c6a40460fdd6dbc524853f8a2e2e --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0009_pie_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0009_pie_q2", + "instruction": "By how many units does Search Engine access exceed Direct access?", + "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_insert/Apache ECharts/pie/chart_0009_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "By how many units does Search Engine access exceed Direct access?", + "expected": "Search Engine exceeds Direct by 313 units (1048 − 735 = 313).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0009_pie_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0009_pie_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..6bea28f082653dfdb23be8ec35078d0b5909cca5 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0009_pie_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0009_pie_q3", + "instruction": "Approximately what percentage of the total access comes from Search Engine, rounded to one decimal place?", + "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_insert/Apache ECharts/pie/chart_0009_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Approximately what percentage of the total access comes from Search Engine, rounded to one decimal place?", + "expected": "About 33.3% of the total access comes from Search Engine.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0010_bar_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0010_bar_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..8cbc3480cfe04d31d203276f9dddb9e5c3de098c --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0010_bar_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0010_bar_q2", + "instruction": "How many categories have negative cost values, and what is the sum of those negative values?", + "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_insert/Apache ECharts/bar/chart_0010_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "How many categories have negative cost values, and what is the sum of those negative values?", + "expected": "There are 5 categories with negative cost values, and their values sum to -0.92.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0010_box_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0010_box_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..d236eb74f332ddffe4d6df38f666380e1d792899 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0010_box_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0010_box_q3", + "instruction": "What is the highest open 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_insert/Apache ECharts/box/chart_0010_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the highest open value?", + "expected": "5174.42", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0010_heatmap_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0010_heatmap_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..d80b2dfe7729dbaff4f5646488de53fcb7c254f3 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0010_heatmap_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0010_heatmap_q2", + "instruction": "At the time interval '12-14', what are the crowding levels for Restaurant and Gas Station, and how do they compare?", + "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_insert/Apache ECharts/heatmap/chart_0010_heatmap.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "At the time interval '12-14', what are the crowding levels for Restaurant and Gas Station, and how do they compare?", + "expected": "At '12-14', Restaurant has a crowding level of 3, and Gas Station has a crowding level of 6, so Gas Station is more crowded.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0010_heatmap_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0010_heatmap_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..a8568de30379c0f6cf19d7c10b9e126c88d8dac8 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0010_heatmap_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0010_heatmap_q3", + "instruction": "Rank the five places by their total crowding level across all time intervals from highest to lowest.", + "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_insert/Apache ECharts/heatmap/chart_0010_heatmap.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Rank the five places by their total crowding level across all time intervals from highest to lowest.", + "expected": "From highest to lowest total crowding: Gas Station (35), Toilet (32), Rest Area (21), Convenience Store (20), Restaurant (8).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0010_pie_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0010_pie_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..c37d8e16d467f2077109b0175cd9df2fadca7b19 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0010_pie_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0010_pie_q1", + "instruction": "Which access source has the smallest value in the chart, and what is that 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_insert/Apache ECharts/pie/chart_0010_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which access source has the smallest value in the chart, and what is that value?", + "expected": "Video Ads has the smallest value, with 300.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0010_pie_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0010_pie_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..073fbb559b8d1d0951d7500e42fb3f8a80f4187e --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0010_pie_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0010_pie_q3", + "instruction": "What is the total number of accesses represented by all sources combined, and approximately what percentage of this total comes from Email (to one decimal place)?", + "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_insert/Apache ECharts/pie/chart_0010_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the total number of accesses represented by all sources combined, and approximately what percentage of this total comes from Email (to one decimal place)?", + "expected": "The total is 3147 accesses, and Email accounts for approximately 18.4% of the total.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0010_scatter_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0010_scatter_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..f88be5dcae71badedd104f1373b1dd140550a269 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0010_scatter_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0010_scatter_q1", + "instruction": "According to the scatter data, what is the GDP value at x = 12?", + "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_insert/Apache ECharts/scatter/chart_0010_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "According to the scatter data, what is the GDP value at x = 12?", + "expected": "The GDP at x = 12 is 26,638.1 trillion yuan.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0010_scatter_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0010_scatter_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..0ab3df87d811c11818dce6dbaaf108609a107fd0 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0010_scatter_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0010_scatter_q2", + "instruction": "Over the x-range from 1 to 18, does the GDP value ever decrease between consecutive data points?", + "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_insert/Apache ECharts/scatter/chart_0010_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Over the x-range from 1 to 18, does the GDP value ever decrease between consecutive data points?", + "expected": "No, the GDP increases at every step between consecutive data points from x = 1 to x = 18.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0010_scatter_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0010_scatter_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..503776340e5b9b4bc5d7cf8d858a0fc040bb3941 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0010_scatter_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0010_scatter_q3", + "instruction": "Between which two consecutive x-values does GDP increase by the largest amount, and what is that increase?", + "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_insert/Apache ECharts/scatter/chart_0010_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Between which two consecutive x-values does GDP increase by the largest amount, and what is that increase?", + "expected": "The largest increase is between x = 13 and x = 14, where GDP rises by 12,125.0 trillion yuan.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0011_bar_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0011_bar_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..a7a3106f49c3cfa157bade243a7440ecc486299a --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0011_bar_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0011_bar_q1", + "instruction": "Among Rent, Utilities, Transportation, Meals, and Other, which category has the lowest Life Cost and what is its 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_insert/Apache ECharts/bar/chart_0011_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Among Rent, Utilities, Transportation, Meals, and Other, which category has the lowest Life Cost and what is its value?", + "expected": "Transportation has the lowest Life Cost at 200.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0011_bar_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0011_bar_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..387a919d7a08fc4958a4d2c6e031ee1a80fc043e --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0011_bar_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0011_bar_q2", + "instruction": "By how much does the Life Cost for Rent exceed that for Meals?", + "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_insert/Apache ECharts/bar/chart_0011_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "By how much does the Life Cost for Rent exceed that for Meals?", + "expected": "The Life Cost for Rent exceeds that for Meals by 300 (1200 − 900).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0011_bar_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0011_bar_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..f6dbf7d7acabfa6ef1e79c9b6534ebba31f6ddb4 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0011_bar_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0011_bar_q3", + "instruction": "What is the combined Life Cost of Utilities and Other, and how does this total compare to the Life Cost of Meals?", + "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_insert/Apache ECharts/bar/chart_0011_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the combined Life Cost of Utilities and Other, and how does this total compare to the Life Cost of Meals?", + "expected": "Utilities and Other together total 600, which is 300 less than the Life Cost of Meals (900).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0011_box_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0011_box_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..cc8aed6404995cf3c99d4f6392c87e5c2c75ab0e --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0011_box_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0011_box_q2", + "instruction": "Which category has the highest open value compared to the others in the chart?", + "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_insert/Apache ECharts/box/chart_0011_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which category has the highest open value compared to the others in the chart?", + "expected": "Bosch (with the open value of 2490)", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0011_line_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0011_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..115405e868f4818c328c5be05bd0f69237d71718 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0011_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0011_line_q1", + "instruction": "What is the maximum electricity value in the chart, and at what time does it occur?", + "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_insert/Apache ECharts/line/chart_0011_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the maximum electricity value in the chart, and at what time does it occur?", + "expected": "800 W at 20:00", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0011_line_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0011_line_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..ee93c31e294de50b539a7cf910537490e22df2f0 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0011_line_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0011_line_q3", + "instruction": "How many time points have an electricity value of at least 600 W?", + "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_insert/Apache ECharts/line/chart_0011_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "How many time points have an electricity value of at least 600 W?", + "expected": "5 time points", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0011_other_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0011_other_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..decb5a8a2a26bf494a43cb5c1b5960450ff18022 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0011_other_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0011_other_q3", + "instruction": "What is the minimum value in the Sea-Level Pressure series, and at which month label does it appear?", + "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_insert/Highcharts/other/chart_0011_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the minimum value in the Sea-Level Pressure series, and at which month label does it appear?", + "expected": "The minimum Sea-Level Pressure is 1009.5 mb, in Jun.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0011_pie_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0011_pie_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..004134d2ca62029d95ba1a21289f31fada283c00 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0011_pie_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0011_pie_q1", + "instruction": "Which traffic source has the highest value in the chart, and what is that 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_insert/Apache ECharts/pie/chart_0011_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which traffic source has the highest value in the chart, and what is that value?", + "expected": "The highest value is from Search Engine, with a value of 1048.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0011_scatter_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0011_scatter_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..872dac74d7d3a7e121a3be5d15278247650c9ee4 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0011_scatter_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0011_scatter_q1", + "instruction": "In the graph data series for February 2017, on which date is the value highest, and what is that 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_insert/Apache ECharts/scatter/chart_0011_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In the graph data series for February 2017, on which date is the value highest, and what is that value?", + "expected": "The highest value is 867 on 2017-02-27.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0011_scatter_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0011_scatter_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..115504b16f3d0dc8d70dfffb9611335790919401 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0011_scatter_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0011_scatter_q2", + "instruction": "Considering all the graph data points in February 2017, what is the difference between the maximum and minimum values?", + "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_insert/Apache ECharts/scatter/chart_0011_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Considering all the graph data points in February 2017, what is the difference between the maximum and minimum values?", + "expected": "The maximum value is 867 and the minimum is 2, so the difference is 865.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0012_bar_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0012_bar_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..4a6244d3a94d0490afbe08ab845c0aa656044aaa --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0012_bar_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0012_bar_q1", + "instruction": "Which day has the highest Direct value, and what is that 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_insert/Apache ECharts/bar/chart_0012_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which day has the highest Direct value, and what is that value?", + "expected": "Friday has the highest Direct value, which is 390.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0012_box_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0012_box_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..8f7935873e076454d18e7c4d0eb3c96f2d5527ab --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0012_box_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0012_box_q1", + "instruction": "By how much does the line series median value change from 10:00 to 17:00?", + "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_insert/Apache ECharts/box/chart_0012_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "By how much does the line series median value change from 10:00 to 17:00?", + "expected": "It increases by 54, from 50 at 10:00 to 104 at 17:00.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0012_heatmap_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0012_heatmap_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..6b9a2c42bf58160d309bba63dc5660e1dc3c8c07 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0012_heatmap_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0012_heatmap_q2", + "instruction": "How does the electricity usage change for Huoju District from January to June?", + "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_insert/Apache ECharts/heatmap/chart_0012_heatmap.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "How does the electricity usage change for Huoju District from January to June?", + "expected": "The electricity usage for Huoju District varies: January (1), February (80), March (32), April (47), May (91), June (22), with the highest in May (91) and the lowest in January (1).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0012_heatmap_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0012_heatmap_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..68800b9ac87d7a49a78e76d16f41f5243a0d7965 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0012_heatmap_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0012_heatmap_q3", + "instruction": "In June, which town has the highest electricity usage, and what is its 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_insert/Apache ECharts/heatmap/chart_0012_heatmap.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In June, which town has the highest electricity usage, and what is its value?", + "expected": "In June, Nanlang Town has the highest electricity usage with a value of 111.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0012_line_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0012_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..16d1372efe557bd1c248edc895fd0ab7e533a808 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0012_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0012_line_q1", + "instruction": "In 1950, what were the incomes of Germany and France respectively, and which country was higher?", + "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_insert/Apache ECharts/line/chart_0012_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In 1950, what were the incomes of Germany and France respectively, and which country was higher?", + "expected": "In 1950, Germany's income was 7251 and France's was 7914; France was higher.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0012_line_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0012_line_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..dbc99e966392adeb349ba8042f5e0126427e3bba --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0012_line_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0012_line_q3", + "instruction": "Between 1800 and 1900 (inclusive), which country had the lower minimum income, Germany or France? What was the minimum income?", + "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_insert/Apache ECharts/line/chart_0012_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Between 1800 and 1900 (inclusive), which country had the lower minimum income, Germany or France? What was the minimum income?", + "expected": "Germany had the lower minimum income, at 1639, while France's minimum income was 1799.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0012_other_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0012_other_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..7d1a9a21a5e2430fe26b57b4839edae7a7f76d38 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0012_other_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0012_other_q1", + "instruction": "On day 10, which sales team has the highest daily sales, and what is that 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_insert/Highcharts/other/chart_0012_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "On day 10, which sales team has the highest daily sales, and what is that value?", + "expected": "Ulambaator with daily sales of 92.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0012_other_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0012_other_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..a682292a1595cbc1d73c881b86395da4a3a8f8ea --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0012_other_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0012_other_q2", + "instruction": "Across the whole month, what is the highest 'highscore' value in the score data, and on which day does it occur?", + "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_insert/Highcharts/other/chart_0012_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Across the whole month, what is the highest 'highscore' value in the score data, and on which day does it occur?", + "expected": "A highscore of 97 on day 16.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0012_pie_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0012_pie_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..b0417af7c2d9a7c9dc77d7bbb12076b525dc3d7e --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0012_pie_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0012_pie_q1", + "instruction": "Which access source has the lowest value, and what is that 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_insert/Apache ECharts/pie/chart_0012_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which access source has the lowest value, and what is that value?", + "expected": "Video Ads has the lowest value, with 300.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0012_pie_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0012_pie_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..529a4c5ddd829fe36a84f59be7d46a859514df96 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0012_pie_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0012_pie_q2", + "instruction": "By how much does traffic from Search Engine exceed traffic from Direct?", + "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_insert/Apache ECharts/pie/chart_0012_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "By how much does traffic from Search Engine exceed traffic from Direct?", + "expected": "Search Engine exceeds Direct by 313 (1048 − 735 = 313).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0012_pie_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0012_pie_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..33d0f6cd6f360632754a730201d1001693be289f --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0012_pie_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0012_pie_q3", + "instruction": "List all access sources in order from highest to lowest 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_insert/Apache ECharts/pie/chart_0012_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "List all access sources in order from highest to lowest value.", + "expected": "Search Engine (1048), Direct (735), Email (580), Union Ads (484), Video Ads (300).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0012_scatter_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0012_scatter_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..5cd3ec5a06431298dbd1683ad3d474fa1a63a7a1 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0012_scatter_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0012_scatter_q1", + "instruction": "How many scatter points in the chart have an x-value greater than 3?", + "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_insert/Apache ECharts/scatter/chart_0012_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "How many scatter points in the chart have an x-value greater than 3?", + "expected": "There are 9 points with an x-value greater than 3.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0012_scatter_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0012_scatter_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..7152a14b1a3ee96016889d4cac7b242d86ac260b --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0012_scatter_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0012_scatter_q2", + "instruction": "What are the minimum and maximum y-values among all plotted points, and what is the total spread (maximum minus minimum) along the y-axis?", + "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_insert/Apache ECharts/scatter/chart_0012_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What are the minimum and maximum y-values among all plotted points, and what is the total spread (maximum minus minimum) along the y-axis?", + "expected": "The minimum y-value is -4.168078, the maximum y-value is 4.900932, giving a total y-axis spread of 9.06901.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0012_scatter_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0012_scatter_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..4d22ed67796dab31bc9a46253657725a0481c496 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0012_scatter_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0012_scatter_q3", + "instruction": "What is the numerical range of x-values (maximum x minus minimum x) represented in the scatter plot?", + "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_insert/Apache ECharts/scatter/chart_0012_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the numerical range of x-values (maximum x minus minimum x) represented in the scatter plot?", + "expected": "The x-values range from -4.822011 to 4.606999, so the range is 9.42901.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0013_bar_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0013_bar_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..2f5ba1757378dd7be4fdd2fc1afc777674248384 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0013_bar_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0013_bar_q2", + "instruction": "By how many units does Milk Tea's amount exceed Cheese Cocoa's amount?", + "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_insert/Apache ECharts/bar/chart_0013_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "By how many units does Milk Tea's amount exceed Cheese Cocoa's amount?", + "expected": "Milk Tea exceeds Cheese Cocoa by 37,222 units.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0013_bar_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0013_bar_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..9dd9f1dedd7c867f9bdd5df671a6585f15ca5b85 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0013_bar_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0013_bar_q3", + "instruction": "What is the total amount for all brownie products (Cheese Brownie and Walnut Brownie) combined?", + "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_insert/Apache ECharts/bar/chart_0013_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the total amount for all brownie products (Cheese Brownie and Walnut Brownie) combined?", + "expected": "The total amount for Cheese Brownie and Walnut Brownie combined is 32,867.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0013_box_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0013_box_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..9c43bbab615848f6b3fffa7ca2584b763ce525a1 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0013_box_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0013_box_q1", + "instruction": "On which date does the chart show the highest maximum price, and what is that 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_insert/Apache ECharts/box/chart_0013_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "On which date does the chart show the highest maximum price, and what is that value?", + "expected": "The highest maximum price is 2421.15 on 2013/2/1.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0013_box_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0013_box_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..8915f5957faae22acf9262f239a02d5c6f7a8491 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0013_box_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0013_box_q3", + "instruction": "Which date has the largest increase from opening to closing price, and what is the size of this increase?", + "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_insert/Apache ECharts/box/chart_0013_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which date has the largest increase from opening to closing price, and what is the size of this increase?", + "expected": "The largest increase from opening to closing price is on 2013/1/28, with an increase of 51.15 points.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0013_line_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0013_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..66597b402b0aa8a6b4e42857482d4293b2541a98 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0013_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0013_line_q1", + "instruction": "What is the value of \"Video ads\" on Friday (Fri) in the chart?", + "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_insert/Apache ECharts/line/chart_0013_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the value of \"Video ads\" on Friday (Fri) in the chart?", + "expected": "190", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0013_other_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0013_other_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..4f0b28a45fff530666ce8a19ab430ee887c3c7c9 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0013_other_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0013_other_q1", + "instruction": "In 2022, which petroleum product recorded the highest sales volume, and what was that volume in million liters?", + "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_insert/Highcharts/other/chart_0013_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In 2022, which petroleum product recorded the highest sales volume, and what was that volume in million liters?", + "expected": "Diesel, 250 million liters.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0013_other_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0013_other_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..0055fcd79e128f2aa3074776985c0938fcb6e63b --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0013_other_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0013_other_q3", + "instruction": "Which product has the lowest value in the 'Average' line series, and what is that value in million liters?", + "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_insert/Highcharts/other/chart_0013_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which product has the lowest value in the 'Average' line series, and what is that value in million liters?", + "expected": "Jet fuel, 47 million liters.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0013_scatter_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0013_scatter_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..c74b6e106065b20cbf95c9538156b15cb0eb2248 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0013_scatter_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0013_scatter_q1", + "instruction": "Across all four groups, what is the highest y-value plotted, and in which group and at what x-value does it occur?", + "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_insert/Apache ECharts/scatter/chart_0013_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Across all four groups, what is the highest y-value plotted, and in which group and at what x-value does it occur?", + "expected": "The highest y-value is 12.74, occurring in Group III at x = 13.0.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0013_scatter_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0013_scatter_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..68cffdb15d0c8efe1f0c5d1fc425641e2459b817 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0013_scatter_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0013_scatter_q3", + "instruction": "For x = 4.0, which of Groups I, II, and III has the highest y-value, and what is that y-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_insert/Apache ECharts/scatter/chart_0013_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "For x = 4.0, which of Groups I, II, and III has the highest y-value, and what is that y-value?", + "expected": "For x = 4.0, Group III has the highest y-value, which is 5.39.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0014_bar_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0014_bar_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..28a8e9a6ea39e3b87056da8781cb8e02ccf441eb --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0014_bar_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0014_bar_q1", + "instruction": "Which day has the highest sales and 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_insert/Vchart/bar/chart_0014_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which day has the highest sales and what is the sales value?", + "expected": "Friday has the highest sales with a value of 38.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0014_bar_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0014_bar_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..0ff46734beae90e783b87954e61b68d5e76a981b --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0014_bar_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0014_bar_q3", + "instruction": "List the days of the week in order of increasing sales.", + "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_insert/Vchart/bar/chart_0014_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "List the days of the week in order of increasing sales.", + "expected": "Tuesday, Monday, Wednesday, Thursday, Friday.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0014_box_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0014_box_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..14f7b7e7807ef6c76698d83ae03d80b139974d74 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0014_box_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0014_box_q1", + "instruction": "According to the 'Global GDP 2021' box plot configuration, which region and income group have the highest maximum (y5) value, and what is that 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_insert/Vchart/box/chart_0014_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "According to the 'Global GDP 2021' box plot configuration, which region and income group have the highest maximum (y5) value, and what is that value?", + "expected": "The East Asia & Pacific high income group has the highest maximum value, which is 13.24880824.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0014_box_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0014_box_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..8433360e068f32d9fceb0680f590b547a72faedd --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0014_box_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0014_box_q2", + "instruction": "In which region does the high income group have identical values for min (y1), q1 (y2), median (y3), q3 (y4) and max (y5), and what is the median 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_insert/Vchart/box/chart_0014_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In which region does the high income group have identical values for min (y1), q1 (y2), median (y3), q3 (y4) and max (y5), and what is the median value?", + "expected": "In South Asia, the high income group has identical values for all five statistics, with a median of 9.732841997.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0014_heatmap_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0014_heatmap_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..d1092ff9ef074c1ab709d3ca3d5d487f74fa8905 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0014_heatmap_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0014_heatmap_q2", + "instruction": "Among all pairs of different metrics in the heatmap, which two have the highest positive correlation coefficient (excluding self-correlations), and what is this 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_insert/Vchart/heatmap/chart_0014_heatmap.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Among all pairs of different metrics in the heatmap, which two have the highest positive correlation coefficient (excluding self-correlations), and what is this value?", + "expected": "Equity Multiplier and Equity Ratio of Current Liability, with a correlation coefficient of 0.951933", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0014_heatmap_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0014_heatmap_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..af2bd65841de46c600dcdd787415d41d6ff96781 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0014_heatmap_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0014_heatmap_q3", + "instruction": "What is the correlation coefficient between Asset Liability Ratio and Expected Default Frequency?", + "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_insert/Vchart/heatmap/chart_0014_heatmap.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the correlation coefficient between Asset Liability Ratio and Expected Default Frequency?", + "expected": "-0.091423", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0014_line_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0014_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..2311106f055c05f9c726ed1f5f346b4e693b0c00 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0014_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0014_line_q1", + "instruction": "In the area chart’s data, which product–country combination has the highest sales value, and what is that 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_insert/Vchart/line/chart_0014_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In the area chart’s data, which product–country combination has the highest sales value, and what is that value?", + "expected": "Lip gloss in the USA has the highest sales value, which is 22998.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0014_pie_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0014_pie_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..6175563952e7bfbb4b0dddb4a82e49793467bb05 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0014_pie_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0014_pie_q1", + "instruction": "Among all data points in the chart, which combination of month, location, and wind speed level has the highest time value, and what is that 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_insert/Vchart/pie/chart_0014_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Among all data points in the chart, which combination of month, location, and wind speed level has the highest time value, and what is that value?", + "expected": "The highest time value is 15067 for June, Coastal location, wind speed level 3-6.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0014_pie_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0014_pie_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..e5d7b33f31705c78aec827b9f3deb3c545c1f93b --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0014_pie_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0014_pie_q2", + "instruction": "For the Coastal location, in which month is the total time (summed over all wind speed levels) the largest, and what is that total?", + "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_insert/Vchart/pie/chart_0014_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "For the Coastal location, in which month is the total time (summed over all wind speed levels) the largest, and what is that total?", + "expected": "For the Coastal location, June has the largest total time, with a total of 36237.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0014_pie_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0014_pie_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..5910791f294eb633a6515c9d3c9d96a917cb0a5f --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0014_pie_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0014_pie_q3", + "instruction": "In January, which has the higher total wind speed statistics, the coastal region or the inland region?", + "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_insert/Vchart/pie/chart_0014_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In January, which has the higher total wind speed statistics, the coastal region or the inland region?", + "expected": "The coastal region is higher, with a total of 24473, while the inland region has 14627.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0015_bar_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0015_bar_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..d37ee7d803f8f1c2eaca40ea7806da5550e9ab4f --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0015_bar_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0015_bar_q1", + "instruction": "In 2000, which age group of females has the largest population, and what is that population?", + "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_insert/Vchart/bar/chart_0015_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In 2000, which age group of females has the largest population, and what is that population?", + "expected": "Females aged 35–40 have the largest population, with 11,475,182 people.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0015_bar_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0015_bar_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..298fc3f255877a20b40a70d2f5fd4b6296b8fcfd --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0015_bar_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0015_bar_q3", + "instruction": "How does the male population change from age 80–85 to 85–90 to 90–95 in 2000?", + "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_insert/Vchart/bar/chart_0015_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "How does the male population change from age 80–85 to 85–90 to 90–95 in 2000?", + "expected": "It decreases from 3,221,898 (80–85) to 1,981,156 (85–90) to 1,064,581 (90–95).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0015_box_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0015_box_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..e3a332c31179c9c89b15877a99a5779b158f5c5f --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0015_box_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0015_box_q1", + "instruction": "Among all combinations of region and income group, which combination has the highest maximum value y5?", + "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_insert/Vchart/box/chart_0015_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Among all combinations of region and income group, which combination has the highest maximum value y5?", + "expected": "The High income group in East Asia & Pacific, with a maximum y5 value of 13.24880824.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0015_box_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0015_box_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..49bc6581364515415e8857bcccec3f2fdf30c899 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0015_box_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0015_box_q3", + "instruction": "In which region and income group combination are y1, y2, y3, y4, and y5 all exactly the same?", + "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_insert/Vchart/box/chart_0015_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In which region and income group combination are y1, y2, y3, y4, and y5 all exactly the same?", + "expected": "The High income group in South Asia (all five values are 9.732841997).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0015_heatmap_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0015_heatmap_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..f5a6517ac0754b7d048c81b942903a8a05e03564 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0015_heatmap_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0015_heatmap_q3", + "instruction": "What's the plan at 10 am in Sunday?", + "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_insert/Vchart/heatmap/chart_0015_heatmap.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What's the plan at 10 am in Sunday?", + "expected": "have a meeting", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0015_line_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0015_line_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..45299e581e672520a5f156cfb039318d21188bd2 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0015_line_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0015_line_q2", + "instruction": "At 8:00, what are the values of Type B and Type C, respectively?", + "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_insert/Vchart/line/chart_0015_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "At 8:00, what are the values of Type B and Type C, respectively?", + "expected": "At 8:00, Type B is 7000 and Type C is 0.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0015_other_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0015_other_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..304f4fc33e17125ef0fd601d5cba7289664bff9a --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0015_other_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0015_other_q3", + "instruction": "By how many degrees Celsius does the final annual mean temperature anomaly exceed the initial value in the 'Annual mean' series?", + "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_insert/Highcharts/other/chart_0015_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "By how many degrees Celsius does the final annual mean temperature anomaly exceed the initial value in the 'Annual mean' series?", + "expected": "1.02°C higher (from -0.17°C to 0.85°C)", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0015_pie_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0015_pie_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..cfe535097a3b12a4eabea93d61ae6e1a89aa5305 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0015_pie_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0015_pie_q2", + "instruction": "How many countries have a cost greater than 120, and which countries are they?", + "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_insert/Vchart/pie/chart_0015_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "How many countries have a cost greater than 120, and which countries are they?", + "expected": "Seven countries: Germany, France, Italy, Belgium, Switzerland, Australia, and Brazil.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0016_bar_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0016_bar_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..cc57d6b1b0f764e8d93331f0214b214d94eaa4fe --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0016_bar_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0016_bar_q2", + "instruction": "Which interval has the largest profit? What is its profit 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_insert/Vchart/bar/chart_0016_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which interval has the largest profit? What is its profit value?", + "expected": "The 26~32 interval has the largest profit, with a value of 22.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0016_bar_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0016_bar_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..d00040831ab137d24c7734f7d9db2dd909cefe85 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0016_bar_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0016_bar_q3", + "instruction": "Compared with the 18~26 interval, which has a higher profit: the 16~18 interval or the 18~26 interval, and by how much?", + "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_insert/Vchart/bar/chart_0016_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Compared with the 18~26 interval, which has a higher profit: the 16~18 interval or the 18~26 interval, and by how much?", + "expected": "The 16~18 interval has the higher profit, by 3 (15 vs 12).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0016_box_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0016_box_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..0a118640f80a6de9dba976d95547e1dd8609c373 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0016_box_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0016_box_q1", + "instruction": "Which region has the lowest minimum (y1) value, and what is that 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_insert/Vchart/box/chart_0016_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which region has the lowest minimum (y1) value, and what is that value?", + "expected": "East Asia & Pacific has the lowest minimum value, which is 7.8.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0016_box_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0016_box_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..ae854733f88394b07f35cb97be9614e3a53ec9f0 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0016_box_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0016_box_q3", + "instruction": "Between South Asia and Latin America & Caribbean, which region has the higher third quartile (y4) value, and what is that 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_insert/Vchart/box/chart_0016_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Between South Asia and Latin America & Caribbean, which region has the higher third quartile (y4) value, and what is that value?", + "expected": "South Asia has the higher third quartile value, which is 11.56.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0016_heatmap_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0016_heatmap_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..cd1c9f553ec7a1ba8c7c39071520b9882ac4dc8a --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0016_heatmap_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0016_heatmap_q1", + "instruction": "According to the heatmap, which employee on which weekday has the highest number of items sold, and what is that 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_insert/Highcharts/heatmap/chart_0016_heatmap.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "According to the heatmap, which employee on which weekday has the highest number of items sold, and what is that value?", + "expected": "Sophia on Tuesday with 132 items.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0016_heatmap_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0016_heatmap_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..e83287d09d20a90733a6a53fe6f9529a39917693 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0016_heatmap_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0016_heatmap_q3", + "instruction": "On Wednesday, which employees achieve the highest sales and how many items do they sell?", + "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_insert/Highcharts/heatmap/chart_0016_heatmap.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "On Wednesday, which employees achieve the highest sales and how many items do they sell?", + "expected": "Maximilian and Tim both sell 123 items on Wednesday.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0016_line_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0016_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..b70d2757299b91e152bf8d1b70af5cfdd6ac595c --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0016_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0016_line_q1", + "instruction": "Among all combinations of country and product type, which record has the largest value (including product type, country, and 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_insert/Vchart/line/chart_0016_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Among all combinations of country and product type, which record has the largest value (including product type, country, and value)?", + "expected": "Lip gloss in USA has the largest value, at 22998.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0016_line_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0016_line_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..a814985964a64c38cd5f44fc65a858e61938895c --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0016_line_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0016_line_q2", + "instruction": "For the product Mascara, which country has the smallest value, and what is that 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_insert/Vchart/line/chart_0016_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "For the product Mascara, which country has the smallest value, and what is that value?", + "expected": "EU has the smallest value, at 6134.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0016_line_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0016_line_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..1ecd4c45cdb6cfdd697ecdfcdeb8b0e75ce9d95c --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0016_line_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0016_line_q3", + "instruction": "What is the sum of Nail polish across the four countries (Africa, EU, China, USA)?", + "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_insert/Vchart/line/chart_0016_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the sum of Nail polish across the four countries (Africa, EU, China, USA)?", + "expected": "The total is 24473.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0016_other_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0016_other_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..3b1c5348563a323098b275b867094c293dfd2ba6 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0016_other_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0016_other_q2", + "instruction": "How many tasks in the 'Project 1' series have a completed field defined?", + "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_insert/Highcharts/other/chart_0016_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "How many tasks in the 'Project 1' series have a completed field defined?", + "expected": "Four tasks have a completed field defined.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0016_pie_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0016_pie_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..cfe8d1c687685c08497d2045b4b85162376bfa12 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0016_pie_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0016_pie_q2", + "instruction": "By how many percentage points does the surface content of silicon exceed that of aluminum?", + "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_insert/Vchart/pie/chart_0016_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "By how many percentage points does the surface content of silicon exceed that of aluminum?", + "expected": "Silicon exceeds aluminum by 19.59 percentage points.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0016_pie_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0016_pie_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..2c7354f345ec4c8bc8f482787af8e91dbc6762cf --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0016_pie_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0016_pie_q3", + "instruction": "What is the combined surface content percentage of iron, calcium, and sodium?", + "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_insert/Vchart/pie/chart_0016_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the combined surface content percentage of iron, calcium, and sodium?", + "expected": "The combined surface content of iron, calcium, and sodium is 11.46%.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0016_scatter_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0016_scatter_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..4f82dd4a5795f9b7dbac072eb82d900590135975 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0016_scatter_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0016_scatter_q1", + "instruction": "In the data, how many data points does each of the three types (Technology, office supplies, furniture) have?", + "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_insert/Vchart/scatter/chart_0016_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In the data, how many data points does each of the three types (Technology, office supplies, furniture) have?", + "expected": "Among the three types, Technology, office supplies, and furniture each have 6 data points.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0016_scatter_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0016_scatter_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..8341f4e1dfd19749f3d083ad97e0a95699ba11ae --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0016_scatter_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0016_scatter_q2", + "instruction": "Among the three types, which one has the highest maximum y value? What is this maximum y 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_insert/Vchart/scatter/chart_0016_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Among the three types, which one has the highest maximum y value? What is this maximum y value?", + "expected": "office supplies has the highest maximum y value, which is 6341.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0017_bar_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0017_bar_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..a3a2de41740853fb95e30bed2924cabff69620df --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0017_bar_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0017_bar_q1", + "instruction": "In the bar chart data, which product and region combination has the largest value, and what is that 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_insert/Vchart/bar/chart_0017_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In the bar chart data, which product and region combination has the largest value, and what is that value?", + "expected": "Eyebrow pencil in USA, with a value of 13012.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0017_heatmap_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0017_heatmap_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..20708c4975da76be7b3c457e05c52841d6b1da44 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0017_heatmap_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0017_heatmap_q2", + "instruction": "In the treemap data, which category has the smallest value and what is that 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_insert/Highcharts/heatmap/chart_0017_heatmap.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In the treemap data, which category has the smallest value and what is that value?", + "expected": "Category G has the smallest value, which is 1", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0017_heatmap_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0017_heatmap_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..3447a2d5de5483fda8aff6db95ab9b920921008c --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0017_heatmap_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0017_heatmap_q3", + "instruction": "How many categories in the treemap have a value of 6?", + "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_insert/Highcharts/heatmap/chart_0017_heatmap.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "How many categories in the treemap have a value of 6?", + "expected": "2", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0017_line_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0017_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..c3f12c19b10d8b66dbf49b2e26c4abef60e99419 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0017_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0017_line_q1", + "instruction": "Which x category has the highest y value, and what is that 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_insert/Vchart/line/chart_0017_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which x category has the highest y value, and what is that value?", + "expected": "The highest y value is 0.033 at x = '8th (prediction)'.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0017_pie_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0017_pie_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..8ae04c856b70266eaaf6d86e64c82121efc83aec --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0017_pie_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0017_pie_q1", + "instruction": "Which category has the highest percentage in the pie chart, and what is that percentage?", + "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_insert/Vchart/pie/chart_0017_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which category has the highest percentage in the pie chart, and what is that percentage?", + "expected": "NVDA has the highest percentage at 40.6%.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0017_pie_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0017_pie_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..ff06f7f9591d6f80bcabf9f507fdf21302ee462a --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0017_pie_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0017_pie_q3", + "instruction": "What is the combined percentage of all categories with less than 10% each?", + "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_insert/Vchart/pie/chart_0017_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the combined percentage of all categories with less than 10% each?", + "expected": "The combined percentage of categories under 10% (ZoomText and Other) is 6.4%.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0017_scatter_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0017_scatter_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..47c6004d0703bcd53bd2e14803919ed459861685 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0017_scatter_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0017_scatter_q1", + "instruction": "Which region has the highest y value in the scatter data, and what is that 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_insert/Vchart/scatter/chart_0017_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which region has the highest y value in the scatter data, and what is that value?", + "expected": "ShanDong has the highest y value, which is 385463.00792324543.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0017_scatter_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0017_scatter_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..ec332721c454ea2aa1a475dda203c25c4e4fe7b6 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0017_scatter_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0017_scatter_q3", + "instruction": "What is the title text of the color legend in the chart configuration?", + "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_insert/Vchart/scatter/chart_0017_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the title text of the color legend in the chart configuration?", + "expected": "The title of the color legend is \"Color Legend\".", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0018_bar_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0018_bar_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..b97ba0b79101f0934d6fbe4e4978f8b67c3bfe02 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0018_bar_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0018_bar_q2", + "instruction": "Which category remains unchanged in value across 2000, 2010, and 2018?", + "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_insert/Vchart/bar/chart_0018_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which category remains unchanged in value across 2000, 2010, and 2018?", + "expected": "Category C remains unchanged across the three years, always at 18.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0018_bar_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0018_bar_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..bdb7895ac069461fdaad250eaf1a692b7c54a9c7 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0018_bar_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0018_bar_q3", + "instruction": "From 2000 to 2010, which category has the largest increase, and by how much?", + "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_insert/Vchart/bar/chart_0018_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "From 2000 to 2010, which category has the largest increase, and by how much?", + "expected": "Category B has the largest increase, rising from 23 to 32, an increase of 9.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0018_box_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0018_box_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..42cf0acdf7a96efb27b3dcb0ca43c00c8af23c93 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0018_box_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0018_box_q3", + "instruction": "What is the lowest low monthly earnings value across all series and years, and for which series and year does it occur?", + "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_insert/Highcharts/box/chart_0018_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the lowest low monthly earnings value across all series and years, and for which series and year does it occur?", + "expected": "The lowest low value is 46760 NOK for Fire service activities in 2017.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0018_heatmap_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0018_heatmap_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..e0f225c18acdbca490ba8548a5984be2cb94c91e --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0018_heatmap_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0018_heatmap_q2", + "instruction": "How many days in July 2023 had a day temperature of at least 20 °C?", + "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_insert/Highcharts/heatmap/chart_0018_heatmap.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "How many days in July 2023 had a day temperature of at least 20 °C?", + "expected": "6 days.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0018_heatmap_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0018_heatmap_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..845dabcbcd5fca6431e0242ba225f109f2ffdb89 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0018_heatmap_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0018_heatmap_q3", + "instruction": "By how many degrees Celsius was the temperature on July 9, 2023 higher than on July 12, 2023?", + "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_insert/Highcharts/heatmap/chart_0018_heatmap.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "By how many degrees Celsius was the temperature on July 9, 2023 higher than on July 12, 2023?", + "expected": "10.4 °C.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0018_line_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0018_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..46017ccbbda0c58fc6fdaff596938a7fb6c97b08 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0018_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0018_line_q1", + "instruction": "At which two time points are the values the same and also the maximum in the data?", + "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_insert/Vchart/line/chart_0018_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "At which two time points are the values the same and also the maximum in the data?", + "expected": "12:00 and 14:00, both with a value of 17.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0018_line_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0018_line_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..8bf82dbcf06dc3b8122f16679e4adb29224ea995 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0018_line_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0018_line_q2", + "instruction": "From 2:00 to 12:00, is the value overall increasing or decreasing?", + "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_insert/Vchart/line/chart_0018_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "From 2:00 to 12:00, is the value overall increasing or decreasing?", + "expected": "Overall increasing.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0018_line_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0018_line_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..1a5d0c8412af3e6a9dd748d2c571feefeac72bac --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0018_line_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0018_line_q3", + "instruction": "Is the value at 16:00 higher or lower than at 6:00? By how much?", + "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_insert/Vchart/line/chart_0018_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Is the value at 16:00 higher or lower than at 6:00? By how much?", + "expected": "The value at 16:00 is 5 higher than at 6:00.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0018_other_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0018_other_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..55058cf412ffb70c21f1effac0f01f0bd844988f --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0018_other_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0018_other_q2", + "instruction": "Which task has the highest completion amount and what is that percentage?", + "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_insert/Highcharts/other/chart_0018_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which task has the highest completion amount and what is that percentage?", + "expected": "Prototyping, 95%", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0018_pie_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0018_pie_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..21ecd6a022cf9d23dde35bd91a4559a9c563b771 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0018_pie_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0018_pie_q1", + "instruction": "Which category has the largest value, and what is it?", + "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_insert/Vchart/pie/chart_0018_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which category has the largest value, and what is it?", + "expected": "Category One has the largest value, 10.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0018_pie_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0018_pie_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..8620e52ed21171187193c13c42f3066e4c094171 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0018_pie_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0018_pie_q2", + "instruction": "What is the sum of all category values?", + "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_insert/Vchart/pie/chart_0018_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the sum of all category values?", + "expected": "38", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0018_scatter_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0018_scatter_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..5e3e4573e91d3638284e33322c49f11b649fe2f6 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0018_scatter_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0018_scatter_q1", + "instruction": "Among these countries, which one has the largest y value? What is its y 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_insert/Vchart/scatter/chart_0018_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Among these countries, which one has the largest y value? What is its y value?", + "expected": "Saudi Arabia, with a y value of 72.12.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0019_bar_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0019_bar_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..4e655a2d1ebfd1e1a8ed7c12038457351244beef --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0019_bar_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0019_bar_q1", + "instruction": "Which state has the largest total population across all listed age groups, and what is that total population?", + "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_insert/Vchart/bar/chart_0019_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which state has the largest total population across all listed age groups, and what is that total population?", + "expected": "AK has the largest total population, with 179876 people across all listed age groups.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0019_bar_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0019_bar_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..e445f486651820188ed26ebf4ee1808513aa4f93 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0019_bar_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0019_bar_q2", + "instruction": "For the age group Under 5 Years, which state has the smallest population, and what is that population?", + "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_insert/Vchart/bar/chart_0019_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "For the age group Under 5 Years, which state has the smallest population, and what is that population?", + "expected": "WY has the smallest Under 5 Years population, with 25635 people.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0019_bar_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0019_bar_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..672c01d381d3131d776c8920488e9bff47d62ff4 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0019_bar_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0019_bar_q3", + "instruction": "In state ND, is the population aged 5 to 13 Years greater than the combined population of ages Under 5 Years and 14 to 17 Years?", + "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_insert/Vchart/bar/chart_0019_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In state ND, is the population aged 5 to 13 Years greater than the combined population of ages Under 5 Years and 14 to 17 Years?", + "expected": "No. ND has 67358 people aged 5 to 13 Years, which is less than the combined 70690 people in Under 5 Years and 14 to 17 Years.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0019_box_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0019_box_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..7313d3d200204e5d4b0aa7033936fd5954232d8b --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0019_box_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0019_box_q1", + "instruction": "Which month has the highest high value, and what is that 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_insert/AnyChart/box/chart_0019_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which month has the highest high value, and what is that value?", + "expected": "February has the highest high value, which is 1080.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0019_heatmap_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0019_heatmap_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..6f5e813cff3a8d0c6a626e94fcaa3d1f4a207d3d --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0019_heatmap_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0019_heatmap_q1", + "instruction": "Which county has the largest area, and what is its area?", + "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_insert/Highcharts/heatmap/chart_0019_heatmap.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which county has the largest area, and what is its area?", + "expected": "Troms og Finnmark, with an area of 70923 km²", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0019_line_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0019_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..ff207d4a0329feb90d52d09de2e0f31b231d372c --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0019_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0019_line_q1", + "instruction": "In this line chart, what is the value at 12:00?", + "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_insert/Vchart/line/chart_0019_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In this line chart, what is the value at 12:00?", + "expected": "94", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0019_line_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0019_line_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..28adc1906ef1ca7208fc575f5155f286d8ce6826 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0019_line_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0019_line_q3", + "instruction": "At what time does the minimum value occur, and what is it?", + "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_insert/Vchart/line/chart_0019_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "At what time does the minimum value occur, and what is it?", + "expected": "6:00, with a value of 10", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0019_other_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0019_other_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..62767a10122e14c29e1c1bb66633267648651f4c --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0019_other_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0019_other_q1", + "instruction": "Which task has the longest duration among all tasks?", + "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_insert/Highcharts/other/chart_0019_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which task has the longest duration among all tasks?", + "expected": "Develop, with a duration of 25 days (from March 5 to March 30).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0019_other_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0019_other_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..18393f73019ae27a22e113d6deba29461ca9bd65 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0019_other_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0019_other_q3", + "instruction": "Which task does 'Implement' directly depend on?", + "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_insert/Highcharts/other/chart_0019_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which task does 'Implement' directly depend on?", + "expected": "It directly depends on 'Create unit tests'.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0019_pie_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0019_pie_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..de7db676acabf38dd58663e89154ce6014662f7a --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0019_pie_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0019_pie_q1", + "instruction": "Which category has the highest value and what is that 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_insert/Vchart/pie/chart_0019_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which category has the highest value and what is that value?", + "expected": "The category \"This is a long Auto-Ellipsis Category Text for Category1\" has the highest value, which is 24%.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0019_pie_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0019_pie_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..b46096965277a3b998146b4b348d4794be9a9ed9 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0019_pie_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0019_pie_q2", + "instruction": "How many categories have values greater than 18, and which categories are they?", + "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_insert/Vchart/pie/chart_0019_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "How many categories have values greater than 18, and which categories are they?", + "expected": "There are 2 categories with values greater than 18: \"This is a long Auto-Ellipsis Category Text for Category1\" with 24% and \"Category2\" with 20%.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0019_scatter_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0019_scatter_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..5df5b6a2f6db324eede761074bc680b9c0a9a2c9 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0019_scatter_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0019_scatter_q2", + "instruction": "What is the “Life expectancy at birth” value for China (Australia) in the chart?", + "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_insert/Vchart/scatter/chart_0019_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the “Life expectancy at birth” value for China (Australia) in the chart?", + "expected": "China has a “Life expectancy at birth” value of 78.2.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0019_scatter_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0019_scatter_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..fd56e26c5c38e22e55c316567c22b2c7dbe4e544 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0019_scatter_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0019_scatter_q3", + "instruction": "Among Central African Republic, Chad, and Burundi, which country has the lowest “Life expectancy at birth”?", + "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_insert/Vchart/scatter/chart_0019_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Among Central African Republic, Chad, and Burundi, which country has the lowest “Life expectancy at birth”?", + "expected": "Chad has the lowest “Life expectancy at birth”.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0020_bar_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0020_bar_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..24a946d99ccff930c117b4f4d9f73e898aeb568a --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0020_bar_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0020_bar_q2", + "instruction": "In the 20-24 age group, which gender has a larger population, and by how many people?", + "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_insert/Vchart/bar/chart_0020_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In the 20-24 age group, which gender has a larger population, and by how many people?", + "expected": "In the 20-24 age group, the male population is larger by 2066 people (261253 males, 259187 females).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0020_box_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0020_box_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..1138e19e6301c11292eddad459f5962839b306d9 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0020_box_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0020_box_q3", + "instruction": "What is the delay time range for Australia (the difference between high and low)?", + "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_insert/AnyChart/box/chart_0020_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the delay time range for Australia (the difference between high and low)?", + "expected": "25", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0020_line_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0020_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..f6d355287e56a9a2eb3f7b6963b16dcc41cc2145 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0020_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0020_line_q1", + "instruction": "How many line series are configured in this line chart?", + "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_insert/Vchart/line/chart_0020_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "How many line series are configured in this line chart?", + "expected": "3", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0020_other_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0020_other_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..694755026b497a6c170cff0e3eb8d7287910d1b2 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0020_other_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0020_other_q1", + "instruction": "What is the completion percentage shown for the 'Development' task in the 'Product' series?", + "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_insert/Highcharts/other/chart_0020_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the completion percentage shown for the 'Development' task in the 'Product' series?", + "expected": "60%", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0020_other_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0020_other_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..b6fa8626a5a7d6acdc9cc3c16e8026b4133229a5 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0020_other_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0020_other_q2", + "instruction": "Among all tasks that have both a start and an end date defined, which task has the longest duration, and what is that duration in days?", + "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_insert/Highcharts/other/chart_0020_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Among all tasks that have both a start and an end date defined, which task has the longest duration, and what is that duration in days?", + "expected": "The 'Development' task has the longest duration, lasting 12 days.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0020_other_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0020_other_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..a94fad13ab606089362060471c70d6d519240945 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0020_other_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0020_other_q3", + "instruction": "Which task is directly dependent on the 'prepare_building' task?", + "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_insert/Highcharts/other/chart_0020_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which task is directly dependent on the 'prepare_building' task?", + "expected": "The 'Inspect building' task.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0020_pie_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0020_pie_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..76d9e61ac4316bcd64d8a13b15c365876a570c31 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0020_pie_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0020_pie_q1", + "instruction": "How much higher is the proportion of 'oxygen' compared to 'silicon'?", + "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_insert/Vchart/pie/chart_0020_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "How much higher is the proportion of 'oxygen' compared to 'silicon'?", + "expected": "18.88%", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0020_scatter_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0020_scatter_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..a9d96c106e6d320893fb164de11cc3ab6b17dced --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0020_scatter_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0020_scatter_q1", + "instruction": "Among all data points, which type contains the point with the highest y value? What is this highest y 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_insert/Vchart/scatter/chart_0020_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Among all data points, which type contains the point with the highest y value? What is this highest y value?", + "expected": "Type B, with the highest y value of 93.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0020_scatter_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0020_scatter_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..965c71374d539daaa2f4e299c8d87f2280317335 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0020_scatter_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0020_scatter_q2", + "instruction": "Between type A and type B points in the data, which has more, or do they have the same number? How many does each have?", + "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_insert/Vchart/scatter/chart_0020_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Between type A and type B points in the data, which has more, or do they have the same number? How many does each have?", + "expected": "They are the same, with 14 points each.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0020_scatter_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0020_scatter_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..b4c4ec83b4517289a4b06111402fc5587c716974 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0020_scatter_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0020_scatter_q3", + "instruction": "Among all data points, which type contains the point with the lowest y value? What is this lowest y 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_insert/Vchart/scatter/chart_0020_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Among all data points, which type contains the point with the lowest y value? What is this lowest y value?", + "expected": "Type B, with the lowest y value of 2.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0021_bar_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0021_bar_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..1eeb10a7e39c127405c210fc1afa2b20b1c9f8f0 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0021_bar_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0021_bar_q3", + "instruction": "On 2019-08-29, in the Dessert stack of the first bar group, what is the sum of the four values: Cake, Bread, Cake(last week), and Bread(last week)?", + "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_insert/Vchart/bar/chart_0021_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "On 2019-08-29, in the Dessert stack of the first bar group, what is the sum of the four values: Cake, Bread, Cake(last week), and Bread(last week)?", + "expected": "The sum of 154 + 378 - 365 - 235 is -68.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0021_box_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0021_box_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..e17163a7d9355ed0ac235d42efe9878d0a3dc2b2 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0021_box_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0021_box_q1", + "instruction": "In this box plot, which month has the smallest low 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_insert/AnyChart/box/chart_0021_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In this box plot, which month has the smallest low value?", + "expected": "Jan has the smallest low value, which is 1000.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0021_line_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0021_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..ced9aac23a30d687ec90993b631059e004d1c221 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0021_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0021_line_q1", + "instruction": "How many data series are there in this line chart, 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_insert/Vchart/line/chart_0021_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "How many data series are there in this line chart, and what are their names?", + "expected": "There are two data series, named \"a\" and \"b\".", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0021_line_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0021_line_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..557194a8a7791c2cf6ec91e87702d057fcf340ec --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0021_line_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0021_line_q2", + "instruction": "For the same x value, how much higher is the y-value of series \"b\" than that of series \"a\"?", + "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_insert/Vchart/line/chart_0021_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "For the same x value, how much higher is the y-value of series \"b\" than that of series \"a\"?", + "expected": "Series \"b\" is always 20 higher than series \"a\".", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0021_other_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0021_other_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..0fb407fb18dc53c7d42bf88e3ffd4dd00d41295a --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0021_other_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0021_other_q2", + "instruction": "Which task has the longest planned duration (end minus start), and how many days is it?", + "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_insert/Highcharts/other/chart_0021_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which task has the longest planned duration (end minus start), and how many days is it?", + "expected": "\"Prepare office building\" has the longest planned duration: 8 days.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0021_scatter_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0021_scatter_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..f6df23cf61c18c719f434aa053dde7dea09d0418 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0021_scatter_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0021_scatter_q2", + "instruction": "What are the minimum and maximum values of LifeExpectancy on the y-axis in the chart?", + "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_insert/Vchart/scatter/chart_0021_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What are the minimum and maximum values of LifeExpectancy on the y-axis in the chart?", + "expected": "The minimum value of LifeExpectancy is 67.297, and the maximum value is 82.603.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0022_bar_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0022_bar_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..7576982a8b179a6d2a784992a6924b8e0f297a5f --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0022_bar_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0022_bar_q1", + "instruction": "Which state has the largest population in the '5 to 13 Years' age group, and what is that population?", + "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_insert/Vchart/bar/chart_0022_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which state has the largest population in the '5 to 13 Years' age group, and what is that population?", + "expected": "Alaska (AK), with a population of 85,640.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0022_bar_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0022_bar_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..33fe79e67f850ee0b979a6db93acc742199551f0 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0022_bar_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0022_bar_q2", + "instruction": "For Wyoming (WY), what is the total population across all three age groups shown?", + "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_insert/Vchart/bar/chart_0022_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "For Wyoming (WY), what is the total population across all three age groups shown?", + "expected": "36,839.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0022_box_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0022_box_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..dac2f2d794848b9b1d2938d02f2451cfc320b0e9 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0022_box_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0022_box_q2", + "instruction": "Which month has the highest 'high' value in the data, and what is that 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_insert/AnyChart/box/chart_0022_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which month has the highest 'high' value in the data, and what is that value?", + "expected": "February, 1080", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0022_heatmap_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0022_heatmap_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..db8e7a80098d5092ba690c39d644ebe2f7371532 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0022_heatmap_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0022_heatmap_q2", + "instruction": "What is the recorded temperature at 03:00 on 2023-01-08?", + "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_insert/Highcharts/heatmap/chart_0022_heatmap.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the recorded temperature at 03:00 on 2023-01-08?", + "expected": "8.0℃.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0022_heatmap_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0022_heatmap_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..97c21fc1877567390ad6a0b4604650cb729f7248 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0022_heatmap_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0022_heatmap_q3", + "instruction": "Between 01:00 and 04:00 on 2023-01-01, at which time is the temperature lowest, and what is that temperature?", + "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_insert/Highcharts/heatmap/chart_0022_heatmap.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Between 01:00 and 04:00 on 2023-01-01, at which time is the temperature lowest, and what is that temperature?", + "expected": "At 04:00, with a temperature of -0.3℃.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0022_line_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0022_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..a9c9b35d8411a7eec755182305bb8a67bc8bf494 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0022_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0022_line_q1", + "instruction": "In the USA market, which cosmetic product has the highest value, and what is it?", + "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_insert/Vchart/line/chart_0022_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In the USA market, which cosmetic product has the highest value, and what is it?", + "expected": "Lip gloss has the highest value in the USA, at 22998.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0022_pie_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0022_pie_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..42ece1c660728a4dcc3724493c501b2e104dc47e --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0022_pie_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0022_pie_q1", + "instruction": "Which age group has the lowest population value and what is that 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_insert/Vchart/pie/chart_0022_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which age group has the lowest population value and what is that value?", + "expected": "The 80 and over age group has the lowest value at 12.29.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0022_pie_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0022_pie_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..978c67353d9e3d4d9a622bbea00ad242e62cffbf --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0022_pie_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0022_pie_q2", + "instruction": "Which age group has the highest population value and what is that 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_insert/Vchart/pie/chart_0022_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which age group has the highest population value and what is that value?", + "expected": "The 30~39 age group has the highest value at 45.4.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0022_scatter_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0022_scatter_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..fb0480eaea59aac26b24ba57fc18439b9bbe68f8 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0022_scatter_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0022_scatter_q1", + "instruction": "What is the name of the only woman in 1989?", + "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_insert/Vchart/scatter/chart_0022_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the name of the only woman in 1989?", + "expected": "Alexandria Ocasio-Cortez", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0023_bar_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0023_bar_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..3494f7e7f8c3f100bf66e194208d9844e9b78157 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0023_bar_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0023_bar_q2", + "instruction": "By how many people does AK's '5 to 13 Years' population exceed WY's '5 to 13 Years' population?", + "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_insert/Vchart/bar/chart_0023_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "By how many people does AK's '5 to 13 Years' population exceed WY's '5 to 13 Years' population?", + "expected": "AK's '5 to 13 Years' population exceeds WY's by 83,750 people.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0023_bar_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0023_bar_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..05c65932210b9685198db98ff366de760f8a2a1b --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0023_bar_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0023_bar_q3", + "instruction": "Which state has the largest total population?", + "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_insert/Vchart/bar/chart_0023_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which state has the largest total population?", + "expected": "AK", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0023_box_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0023_box_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..325ca1d36d5e10b22e4e91be4b2e131d1111fd09 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0023_box_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0023_box_q2", + "instruction": "In the second box series (data_1), what is the highest 'high' value and at which x value does it occur?", + "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_insert/AnyChart/box/chart_0023_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In the second box series (data_1), what is the highest 'high' value and at which x value does it occur?", + "expected": "The highest high value is 9500 at x = 5.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0023_other_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0023_other_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..63cb4423f519a976d940658ee793c3c2c2756a6b --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0023_other_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0023_other_q1", + "instruction": "According to the calendar chart data, on which date does the maximum value occur and what is that 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_insert/AnyChart/other/chart_0023_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "According to the calendar chart data, on which date does the maximum value occur and what is that value?", + "expected": "The maximum value is 9, occurring on 2020-02-19.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0023_pie_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0023_pie_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..bb5b6cb8f3c11e3d98b55b69248bd4187606a28c --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0023_pie_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0023_pie_q1", + "instruction": "What is the percentage content of oxygen in the chart?", + "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_insert/Vchart/pie/chart_0023_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the percentage content of oxygen in the chart?", + "expected": "46.60%", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0023_pie_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0023_pie_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..cd833e5160d44c9a6d2eb89be4abf901b53d3897 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0023_pie_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0023_pie_q2", + "instruction": "Which element has the smallest percentage content and what is its 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_insert/Vchart/pie/chart_0023_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which element has the smallest percentage content and what is its value?", + "expected": "Potassium, 2.59%", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0023_pie_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0023_pie_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..48f9713a0e7dd0badc0c273a818f7cc57a7e8afe --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0023_pie_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0023_pie_q3", + "instruction": "Is the content of silicon greater than the combined content of aluminum and iron, and what are these values?", + "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_insert/Vchart/pie/chart_0023_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Is the content of silicon greater than the combined content of aluminum and iron, and what are these values?", + "expected": "Yes. Silicon is 27.72%, while aluminum and iron together are 13.13%.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0023_scatter_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0023_scatter_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..227cbb2fd9174f9e9ba1dbf84f08083a27c914ec --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0023_scatter_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0023_scatter_q2", + "instruction": "In the given data, what is the minimum height?", + "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_insert/Vchart/scatter/chart_0023_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In the given data, what is the minimum height?", + "expected": "147.2", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0024_bar_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0024_bar_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..77bcf3f35fcab034ebd0afdf7cf6fedccb101b15 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0024_bar_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0024_bar_q1", + "instruction": "Among the given states, which one has the largest population in the '25 to 44 Years' age group? What is the exact population?", + "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_insert/Vchart/bar/chart_0024_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Among the given states, which one has the largest population in the '25 to 44 Years' age group? What is the exact population?", + "expected": "California (CA), with a population of 10604510.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0024_bar_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0024_bar_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..fe23b6499e6f6d0e7d6ae82af04613138f630d0e --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0024_bar_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0024_bar_q2", + "instruction": "In the 'Under 5 Years' age group, which state has the smallest population? What is the exact population?", + "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_insert/Vchart/bar/chart_0024_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In the 'Under 5 Years' age group, which state has the smallest population? What is the exact population?", + "expected": "Alaska (AK), with a population of 52083.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0024_box_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0024_box_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..1be794a869a2d3bee277a34f5611fa1a713a05c0 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0024_box_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0024_box_q2", + "instruction": "In the 'Sci-Fi Movies' series, by how much does the median value in March exceed the median value in February?", + "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_insert/AnyChart/box/chart_0024_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In the 'Sci-Fi Movies' series, by how much does the median value in March exceed the median value in February?", + "expected": "500.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0024_line_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0024_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..6f7ab2f6fd2ec84d050da6a7e3cc473898af008d --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0024_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0024_line_q1", + "instruction": "In which year did Gold Medals reach their highest count, and what was that count?", + "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_insert/Vchart/line/chart_0024_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In which year did Gold Medals reach their highest count, and what was that count?", + "expected": "Gold Medals reached their highest count in 1984 with 83 medals.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0024_other_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0024_other_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..a250e85f351c0f2ccf812dc8d2e90e3e5967008e --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0024_other_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0024_other_q1", + "instruction": "What is the maximum value in the calendar data, and on which date does it occur?", + "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_insert/AnyChart/other/chart_0024_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the maximum value in the calendar data, and on which date does it occur?", + "expected": "The maximum value is 9, and it occurs on 2020-02-19.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0024_pie_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0024_pie_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..b8f65b4b10ab46c99577590c5f302f719c78a6d0 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0024_pie_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0024_pie_q1", + "instruction": "Which element type in the pie chart has the highest content value, and what is that value in percent?", + "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_insert/Vchart/pie/chart_0024_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which element type in the pie chart has the highest content value, and what is that value in percent?", + "expected": "oxygen, 46.60%", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0024_pie_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0024_pie_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..1cad6eafa659302339ea74475d88e2f2e231f2b2 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0024_pie_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0024_pie_q3", + "instruction": "Is the content of aluminum greater than the combined content of aluminum and calcium, and what are these values?", + "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_insert/Vchart/pie/chart_0024_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Is the content of aluminum greater than the combined content of aluminum and calcium, and what are these values?", + "expected": "No. aluminum is 8.13%, while aluminum and calcium together are 8.63%.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0024_scatter_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0024_scatter_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..8965d9bcc10388c11192fd7cdd0928a4ba7cd4b6 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0024_scatter_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0024_scatter_q2", + "instruction": "Between category 6 and category 4, which category's cars have the higher average horsepower?", + "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_insert/Vchart/scatter/chart_0024_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Between category 6 and category 4, which category's cars have the higher average horsepower?", + "expected": "The cars in category 6 have a higher average horsepower.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0025_bar_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0025_bar_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..4074f88a40da61ecf50166fb7c4836223ee86964 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0025_bar_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0025_bar_q1", + "instruction": "In CA, which age group has the largest population, and what is that population?", + "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_insert/Vchart/bar/chart_0025_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In CA, which age group has the largest population, and what is that population?", + "expected": "In CA, the 25 to 44 Years age group has the largest population, with 10,604,510 people.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0025_bar_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0025_bar_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..3400a159d6be533310aef8e88a66bd793e3ed8ba --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0025_bar_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0025_bar_q3", + "instruction": "In AL, what is the total population for ages 45 to 64 Years and 65 Years and Over combined?", + "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_insert/Vchart/bar/chart_0025_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In AL, what is the total population for ages 45 to 64 Years and 65 Years and Over combined?", + "expected": "In AL, the total population for ages 45 to 64 Years and 65 Years and Over combined is 1,857,633.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0025_line_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0025_line_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..37a0cf2d2d24352f74ef114c3d71247a1e9bd4ab --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0025_line_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0025_line_q2", + "instruction": "What is the total value of Lip gloss across all countries?", + "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_insert/Vchart/line/chart_0025_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the total value of Lip gloss across all countries?", + "expected": "43621", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0025_line_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0025_line_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..c907ec3d50f1c11a3d4cc033c2b87f2591194aab --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0025_line_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0025_line_q3", + "instruction": "In China, which cosmetic type has the highest value, and what is that 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_insert/Vchart/line/chart_0025_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In China, which cosmetic type has the highest value, and what is that value?", + "expected": "Eyeliner, 15067", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0025_other_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0025_other_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..91467f1116dc568c566410ed5a5aa05f3b80dbe1 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0025_other_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0025_other_q1", + "instruction": "In this calendar chart, which date has the maximum value, and what is the corresponding 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_insert/AnyChart/other/chart_0025_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In this calendar chart, which date has the maximum value, and what is the corresponding value?", + "expected": "2020-02-19, with a corresponding value of 9.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0025_pie_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0025_pie_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..c8c3ee54aeaadb5c65e80fa04f2c5575b816e933 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0025_pie_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0025_pie_q1", + "instruction": "In the inner pie chart (0~29, 30~59, and 60 and over), which age group has the largest population, and what is it?", + "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_insert/Vchart/pie/chart_0025_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In the inner pie chart (0~29, 30~59, and 60 and over), which age group has the largest population, and what is it?", + "expected": "The 30~59 age group has the largest population, at 128.77 million.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0025_pie_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0025_pie_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..730b6f02cf0ad279e025d252c902d981040ed056 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0025_pie_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0025_pie_q2", + "instruction": "Among all age groups in the outer pie chart, which age group has the smallest population, and what is it?", + "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_insert/Vchart/pie/chart_0025_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Among all age groups in the outer pie chart, which age group has the smallest population, and what is it?", + "expected": "The 80 and over age group has the smallest population, at 12.29 million.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0025_pie_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0025_pie_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..7afe870291e2b3894d284091bc7206786e467b11 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0025_pie_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0025_pie_q3", + "instruction": "What is the sum of the population across all age groups in this chart, in millions?", + "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_insert/Vchart/pie/chart_0025_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the sum of the population across all age groups in this chart, in millions?", + "expected": "The total population is 331.9 million.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0025_scatter_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0025_scatter_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..1f00b3de4abddcfb2446f6aef5924f267f8da9e3 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0025_scatter_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0025_scatter_q1", + "instruction": "In the scatter plot data, which region has the largest difference between the highest and lowest LifeExpectancy values? What is the difference?", + "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_insert/Vchart/scatter/chart_0025_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In the scatter plot data, which region has the largest difference between the highest and lowest LifeExpectancy values? What is the difference?", + "expected": "Asia, with a difference of 15.309 (82.603-67.297).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0026_bar_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0026_bar_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..a7bec17faf39b8d970564a5b75796f19d8a44522 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0026_bar_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0026_bar_q1", + "instruction": "What is the number of Autocracies in 1970?", + "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_insert/Vchart/bar/chart_0026_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the number of Autocracies in 1970?", + "expected": "117", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0026_bar_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0026_bar_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..748244abf464a18c2d78968ece2860568237c5f4 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0026_bar_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0026_bar_q3", + "instruction": "In 2010, how many more Democracies than Autocracies are there?", + "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_insert/Vchart/bar/chart_0026_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In 2010, how many more Democracies than Autocracies are there?", + "expected": "There are 18 more Democracies than Autocracies in 2010.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0026_box_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0026_box_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..7d171b93a1ff744415eca979379e83feffd00dc3 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0026_box_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0026_box_q3", + "instruction": "For February in the chart, what is the difference between the q3 and q1 values?", + "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_insert/AnyChart/box/chart_0026_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "For February in the chart, what is the difference between the q3 and q1 values?", + "expected": "The difference between q3 and q1 for February is 900.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0026_line_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0026_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..680939c3ee20fc0b0aa40c0613c6b48dd9239061 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0026_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0026_line_q1", + "instruction": "In 1906, what was the value for Germany?", + "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_insert/Vchart/line/chart_0026_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In 1906, what was the value for Germany?", + "expected": "0.2", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0026_line_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0026_line_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..34b46d642b1266ec38c505ffc0f1867713f18367 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0026_line_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0026_line_q2", + "instruction": "From 1916 to 1919, did the value for the United States increase or decrease? What were the starting and ending values?", + "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_insert/Vchart/line/chart_0026_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "From 1916 to 1919, did the value for the United States increase or decrease? What were the starting and ending values?", + "expected": "It increased continuously, from 1 to 1.8.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0026_other_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0026_other_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..21e9d60d9b57ec5e47e7f901f83a9680d6e179f7 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0026_other_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0026_other_q1", + "instruction": "Among all subtasks, which one has the latest actual end date, and what is that date?", + "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_insert/AnyChart/other/chart_0026_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Among all subtasks, which one has the latest actual end date, and what is that date?", + "expected": "The subtask \"Testing\" has the latest actual end date, which is 2018-03-10.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0026_pie_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0026_pie_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..cca0c17739a0b10ec98c398c29ced31799be2e51 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0026_pie_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0026_pie_q2", + "instruction": "Which element has the highest content percentage and what is its 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_insert/Vchart/pie/chart_0026_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which element has the highest content percentage and what is its value?", + "expected": "Oxygen, 46.60%", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0026_pie_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0026_pie_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..b8bf7d0a88321e7e81f41529bf699e64855d9707 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0026_pie_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0026_pie_q3", + "instruction": "Between sodium and potassium, which element has a higher content and by how many percentage points?", + "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_insert/Vchart/pie/chart_0026_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Between sodium and potassium, which element has a higher content and by how many percentage points?", + "expected": "Sodium is higher than potassium by 0.24 percentage points", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0026_scatter_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0026_scatter_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..11869aafa387027595f84be7f608056963d02fb2 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0026_scatter_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0026_scatter_q2", + "instruction": "In the given car dataset, what is the highest miles per gallon? What is the corresponding horsepower?", + "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_insert/Vchart/scatter/chart_0026_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In the given car dataset, what is the highest miles per gallon? What is the corresponding horsepower?", + "expected": "The highest miles per gallon is 46.6, and the corresponding horsepower is 65.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0027_bar_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0027_bar_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..8a3b4690f2dfa6e5629d09359eea1bd1cbb441e5 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0027_bar_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0027_bar_q1", + "instruction": "In 2021, which region had the smallest population and what was that 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_insert/Highcharts/bar/chart_0027_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In 2021, which region had the smallest population and what was that value?", + "expected": "Europe, 745 million", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0027_box_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0027_box_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..27180bb876ddc8816dd23f3747e4ad486ee48cff --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0027_box_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0027_box_q1", + "instruction": "Among all months, which month has the highest high value, and what is the specific 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_insert/AnyChart/box/chart_0027_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Among all months, which month has the highest high value, and what is the specific value?", + "expected": "February, with a high value of 1080.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0027_pie_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0027_pie_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..3a34da33bb0cf738ef410494a99ab92e42d422d0 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0027_pie_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0027_pie_q1", + "instruction": "In the 'Egg Yolk Composition' pie chart, which component has the largest percentage and what is that percentage?", + "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_insert/Highcharts/pie/chart_0027_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In the 'Egg Yolk Composition' pie chart, which component has the largest percentage and what is that percentage?", + "expected": "Water, 55.02%.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0027_pie_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0027_pie_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..81786167049a99a6b190636c8be67360a24adfbe --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0027_pie_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0027_pie_q3", + "instruction": "What is the combined percentage of Water and Fat in the egg yolk composition?", + "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_insert/Highcharts/pie/chart_0027_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the combined percentage of Water and Fat in the egg yolk composition?", + "expected": "81.73%.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0027_scatter_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0027_scatter_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..98f5dcbf42140542d75b058078a8f6512c6b6f95 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0027_scatter_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0027_scatter_q1", + "instruction": "Which country has the highest daily sugar intake in the chart, and how many grams is it?", + "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_insert/Highcharts/scatter/chart_0027_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which country has the highest daily sugar intake in the chart, and how many grams is it?", + "expected": "The United States has the highest daily sugar intake at 126.4 grams.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0027_scatter_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0027_scatter_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..52acb94e2c62cbc44bfb1554e27e0f6785a6511c --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0027_scatter_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0027_scatter_q2", + "instruction": "How many countries have a daily fat intake at or below the safe fat intake line of 65 g/day?", + "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_insert/Highcharts/scatter/chart_0027_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "How many countries have a daily fat intake at or below the safe fat intake line of 65 g/day?", + "expected": "2 countries.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0027_scatter_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0027_scatter_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..00bfbfff15079b4e0cf11487b525fcec8661b4c5 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0027_scatter_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0027_scatter_q3", + "instruction": "What is the adult obesity percentage for New Zealand in the chart?", + "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_insert/Highcharts/scatter/chart_0027_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the adult obesity percentage for New Zealand in the chart?", + "expected": "31.3%.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0028_bar_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0028_bar_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..2764e6134e384ef49126d6597ec68939328312d0 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0028_bar_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0028_bar_q2", + "instruction": "What is the difference in estimated wheat production between China and India in 2023?", + "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_insert/Highcharts/bar/chart_0028_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the difference in estimated wheat production between China and India in 2023?", + "expected": "China produces 26500 (1000 MT) more wheat than India (140000 vs 113500).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0028_bar_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0028_bar_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..574fbc5cfa669d4c9fb95e0282aa0a819e8ed9a5 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0028_bar_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0028_bar_q3", + "instruction": "In which countries is wheat production higher than corn production?", + "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_insert/Highcharts/bar/chart_0028_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In which countries is wheat production higher than corn production?", + "expected": "EU and India", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0028_box_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0028_box_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..204308c0c9a43d7359aebe36c3d0b43dd14d5336 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0028_box_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0028_box_q3", + "instruction": "How many outlier values are defined for April, and what are they?", + "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_insert/AnyChart/box/chart_0028_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "How many outlier values are defined for April, and what are they?", + "expected": "2 outliers: 1000 and 600", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0028_line_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0028_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..b8c176883184a3d91ceb7ab91ad13b5159db4f45 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0028_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0028_line_q1", + "instruction": "In this monthly average temperature line chart, what is Tokyo's highest monthly average temperature in the year, and in which month does it occur?", + "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_insert/Highcharts/line/chart_0028_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In this monthly average temperature line chart, what is Tokyo's highest monthly average temperature in the year, and in which month does it occur?", + "expected": "Tokyo's highest monthly average temperature over the year is 26.4°, occurring in August.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0028_line_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0028_line_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..63e5643312bf5390bb17fe30807ccdb7f4610fbb --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0028_line_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0028_line_q2", + "instruction": "In December, which city is warmer, Tokyo or Bergen, and by how many degrees?", + "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_insert/Highcharts/line/chart_0028_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In December, which city is warmer, Tokyo or Bergen, and by how many degrees?", + "expected": "In December, Tokyo is warmer, by 5.0° (Tokyo 7.6°, Bergen 2.6°).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0028_line_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0028_line_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..7f6d087bc7296ca817515d672c5e00bf682d342c --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0028_line_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0028_line_q3", + "instruction": "Among all cities and months in the chart, what is the lowest monthly average temperature, and in which city and month does it occur?", + "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_insert/Highcharts/line/chart_0028_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Among all cities and months in the chart, what is the lowest monthly average temperature, and in which city and month does it occur?", + "expected": "The lowest monthly average temperature is 1.5°, occurring in Bergen in January.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0028_other_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0028_other_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..3b649ed8e341fb9d1ab62bcd75f8e3cc678fa13f --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0028_other_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0028_other_q1", + "instruction": "Which place on the map has the largest size value and what is that 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_insert/AnyChart/other/chart_0028_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which place on the map has the largest size value and what is that value?", + "expected": "Cape South-Point, size 109", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0028_pie_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0028_pie_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..e92a60b5feb6273fa4b1d2982f149119fc1656ed --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0028_pie_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0028_pie_q1", + "instruction": "According to the chart data, which country has the highest nuclear energy production in 2020 among the US, UK, France, Germany, and Japan, and what is its 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_insert/Highcharts/pie/chart_0028_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "According to the chart data, which country has the highest nuclear energy production in 2020 among the US, UK, France, Germany, and Japan, and what is its value?", + "expected": "The US, with 789.88 TWh.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0028_pie_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0028_pie_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..88ed5c7f20c9420cec597d717f9fc36c5404687a --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0028_pie_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0028_pie_q2", + "instruction": "What is the Total nuclear energy production value in 1965 (the value shown in the subtitle), in TWh rounded to two decimals?", + "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_insert/Highcharts/pie/chart_0028_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the Total nuclear energy production value in 1965 (the value shown in the subtitle), in TWh rounded to two decimals?", + "expected": "20.02 TWh.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0028_pie_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0028_pie_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..3e684dddc31094ff0d5b21e97e2a892ad4139f31 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0028_pie_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0028_pie_q3", + "instruction": "In which year does Japan’s nuclear energy production drop to 0 TWh in the dataset used by the donut chart race?", + "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_insert/Highcharts/pie/chart_0028_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In which year does Japan’s nuclear energy production drop to 0 TWh in the dataset used by the donut chart race?", + "expected": "2014.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0029_line_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0029_line_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..be67415077f9ab37805dc231402e3bd133c1f53d --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0029_line_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0029_line_q3", + "instruction": "By how many millions did the number of Internet users increase from 2015 to 2020 in the chart?", + "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_insert/Highcharts/line/chart_0029_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "By how many millions did the number of Internet users increase from 2015 to 2020 in the chart?", + "expected": "1481 million", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0029_pie_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0029_pie_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..ec33d5b1737a1e62566bd09a16b2fb7b63c79907 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0029_pie_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0029_pie_q2", + "instruction": "Among the Edge versions shown, which version has the largest share and what is its percentage?", + "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_insert/Highcharts/pie/chart_0029_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Among the Edge versions shown, which version has the largest share and what is its percentage?", + "expected": "Edge v97 with 6.62%", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0030_bar_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0030_bar_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..83378e60f24e293f61d263978f2e14be1518cde3 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0030_bar_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0030_bar_q1", + "instruction": "Which country has the highest number of gold medals in the chart?", + "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_insert/Highcharts/bar/chart_0030_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which country has the highest number of gold medals in the chart?", + "expected": "Norway, with 148 gold medals.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0030_bar_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0030_bar_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..5c339056dd659636dc3366a7a5b6f05d7a1274d6 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0030_bar_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0030_bar_q2", + "instruction": "For bronze medals, which continent has a higher total stacked count, Europe or North America, and what are the totals?", + "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_insert/Highcharts/bar/chart_0030_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "For bronze medals, which continent has a higher total stacked count, Europe or North America, and what are the totals?", + "expected": "Europe has the higher total bronze count with 189 medals, compared to North America's 175.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0030_box_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0030_box_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..d961b16c60e8b769c95f4ba1d4d38e254dad5564 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0030_box_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0030_box_q1", + "instruction": "Which month has the highest 'high' value in the box chart, and what is that 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_insert/AnyChart/box/chart_0030_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which month has the highest 'high' value in the box chart, and what is that value?", + "expected": "February, with a high value of 1080", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0030_line_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0030_line_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..9d15f3443a54c1a04ee5a4d69919dda87b97e7b8 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0030_line_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0030_line_q2", + "instruction": "At what altitude does the highest recorded temperature in the chart occur, and what is the temperature?", + "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_insert/Highcharts/line/chart_0030_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "At what altitude does the highest recorded temperature in the chart occur, and what is the temperature?", + "expected": "At 0 km, the temperature is 15°C.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0030_line_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0030_line_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..408ae577a6d5d5f4efbddc4ce8c1488fe6bc012d --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0030_line_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0030_line_q3", + "instruction": "How many data points in the chart have temperatures below -50°C?", + "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_insert/Highcharts/line/chart_0030_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "How many data points in the chart have temperatures below -50°C?", + "expected": "3", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0030_other_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0030_other_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..ac3af825469597dff1d9050642775886adef01ba --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0030_other_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0030_other_q1", + "instruction": "For dataset D3, in which month does it reach its maximum value, and what is that 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_insert/Chart.js/other/chart_0030_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "For dataset D3, in which month does it reach its maximum value, and what is that value?", + "expected": "Dataset D3 reaches its maximum value in March, with a value of 51.78.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0030_other_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0030_other_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..f636d4f2d33871dc739887778adb4744484bde79 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0030_other_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0030_other_q2", + "instruction": "In July, which dataset has the highest value, and how much greater is it than D0 in July?", + "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_insert/Chart.js/other/chart_0030_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In July, which dataset has the highest value, and how much greater is it than D0 in July?", + "expected": "In July, dataset D6 has the highest value at 85.81, which is 75.15 greater than D0’s July value of 10.66.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0030_other_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0030_other_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..81441a00651179d5652c6d686c1c0d1e17b27629 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0030_other_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0030_other_q3", + "instruction": "From January to August, does dataset D4 increase or decrease overall, and by how much?", + "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_insert/Chart.js/other/chart_0030_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "From January to August, does dataset D4 increase or decrease overall, and by how much?", + "expected": "Dataset D4 decreases overall from January to August by 5.44, going from 62.65 to 57.21.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0030_pie_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0030_pie_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..c6606b18a267ffe7524bd931b42ceb4da3bf618f --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0030_pie_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0030_pie_q1", + "instruction": "Which department has the largest share in the pie chart, and what is its percentage?", + "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_insert/Highcharts/pie/chart_0030_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which department has the largest share in the pie chart, and what is its percentage?", + "expected": "The Other department has the largest share at 25.6%.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0030_scatter_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0030_scatter_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..388a9d371365cf3d3104c3c4d8bb3953ca09a2e6 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0030_scatter_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0030_scatter_q2", + "instruction": "Between the USA and India, which country has higher carbon emissions in 2022 according to the chart, and by how much?", + "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_insert/Highcharts/scatter/chart_0030_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Between the USA and India, which country has higher carbon emissions in 2022 according to the chart, and by how much?", + "expected": "The USA has higher emissions than India by 2160.8m CO₂ (4853.8m CO₂ vs 2693.0m CO₂).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0031_bar_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0031_bar_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..7cb0f25245999f3d826cd9caf36ccbbffe060786 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0031_bar_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0031_bar_q1", + "instruction": "Which month recorded the lowest temperature in 2023 in Vik i Sogn, and what was that temperature?", + "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_insert/Highcharts/bar/chart_0031_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which month recorded the lowest temperature in 2023 in Vik i Sogn, and what was that temperature?", + "expected": "March, at -13.1°C.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0031_bar_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0031_bar_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..00c92008a6fb726d585ee506017ced08ed28793c --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0031_bar_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0031_bar_q2", + "instruction": "What were the low and high temperatures in August 2023 in Vik i Sogn, Norway, as shown in the chart?", + "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_insert/Highcharts/bar/chart_0031_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What were the low and high temperatures in August 2023 in Vik i Sogn, Norway, as shown in the chart?", + "expected": "9.6°C low and 23.0°C high.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0031_box_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0031_box_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..a2af71b1096fb4fc36898209b0a590b6344971ce --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0031_box_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0031_box_q2", + "instruction": "In the second box series (data2), which month has the highest 'high' value and what is that 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_insert/AnyChart/box/chart_0031_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In the second box series (data2), which month has the highest 'high' value and what is that value?", + "expected": "February, 1180", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0031_heatmap_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0031_heatmap_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..9e01431a685558d5aa71b87a5bf290c3a516dc52 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0031_heatmap_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0031_heatmap_q3", + "instruction": "In this chart, what are the minimum and maximum heat values?", + "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_insert/AnyChart/heatmap/chart_0031_heatmap.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In this chart, what are the minimum and maximum heat values?", + "expected": "The minimum value is 0, and the maximum value is 12.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0031_line_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0031_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..d7f2e591b1a86a83b686ea7d39b383e38de4bd11 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0031_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0031_line_q1", + "instruction": "At the end of round 20, which driver had the highest points, and how many points did he have?", + "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_insert/Highcharts/line/chart_0031_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "At the end of round 20, which driver had the highest points, and how many points did he have?", + "expected": "Sebastien Vettel ranked first with 281 points.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0031_line_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0031_line_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..5dfcd8f9fa22307bf1bb63d4d958211017679e67 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0031_line_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0031_line_q2", + "instruction": "In round 20, how many more points did Sebastien Vettel have than Fernando Alonso?", + "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_insert/Highcharts/line/chart_0031_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In round 20, how many more points did Sebastien Vettel have than Fernando Alonso?", + "expected": "Sebastien Vettel had 3 more points than Fernando Alonso.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0031_line_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0031_line_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..6b48eabdaa048f3ed29e24f87666341d298d16f1 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0031_line_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0031_line_q3", + "instruction": "What is the points difference between Fernando Alonso and Kimi Raikkonen in Round 5?", + "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_insert/Highcharts/line/chart_0031_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the points difference between Fernando Alonso and Kimi Raikkonen in Round 5?", + "expected": "12 points.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0031_other_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0031_other_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..5bca9e0f842a00578592af504f0a87bed57a60ba --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0031_other_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0031_other_q1", + "instruction": "In the 'Skip last dataset', which month has the highest value and what is that 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_insert/Chart.js/other/chart_0031_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In the 'Skip last dataset', which month has the highest value and what is that value?", + "expected": "February has the highest value in the 'Skip last dataset', with 95.16889575.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0031_other_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0031_other_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..204d4882033eaa56996d5b7b09584634836a1895 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0031_other_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0031_other_q2", + "instruction": "In March, which dataset has the lowest value and what is that 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_insert/Chart.js/other/chart_0031_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In March, which dataset has the lowest value and what is that value?", + "expected": "In March, the 'Skip last dataset' has the lowest value, with 0.781893.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0031_pie_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0031_pie_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..7729e689faaf8348bafe7540c0e3fbb9f8a03502 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0031_pie_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0031_pie_q1", + "instruction": "Which browser had the highest market share in February 2022, and what was its share?", + "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_insert/Highcharts/pie/chart_0031_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which browser had the highest market share in February 2022, and what was its share?", + "expected": "Chrome, with a market share of 74.03%.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0031_pie_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0031_pie_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..1b0e3a9e0ac2a990958e71fac780b6480a7b02ff --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0031_pie_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0031_pie_q2", + "instruction": "Among the browsers shown in the chart, how many have a market share above 10%, and which ones are they?", + "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_insert/Highcharts/pie/chart_0031_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Among the browsers shown in the chart, how many have a market share above 10%, and which ones are they?", + "expected": "2 browsers: Chrome and Edge.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0031_scatter_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0031_scatter_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..7a87764e6dec4bc0c780e09f57c47d0cb5f21d12 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0031_scatter_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0031_scatter_q2", + "instruction": "According to the pie series data, which discovery date range contains the most planets, and how many are there?", + "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_insert/Highcharts/scatter/chart_0031_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "According to the pie series data, which discovery date range contains the most planets, and how many are there?", + "expected": "The 2010–2020 range contains the most planets, with y = 117.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0032_bar_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0032_bar_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..0d8438779869d23f1c24e9d71f015b20c59cf335 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0032_bar_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0032_bar_q2", + "instruction": "Which country has the highest labor cost, and what is its 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_insert/Highcharts/bar/chart_0032_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which country has the highest labor cost, and what is its value?", + "expected": "Norway has the highest labor cost, at €51.9 per hour (rounded to €52).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0032_bar_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0032_bar_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..26bef1e0ffc5b9b1feccd1514a9b11adf5f2d4a4 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0032_bar_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0032_bar_q3", + "instruction": "What is the GDP value for Germany in the chart?", + "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_insert/Highcharts/bar/chart_0032_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the GDP value for Germany in the chart?", + "expected": "Germany's GDP is €4,122,210 million.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0032_box_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0032_box_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..917725fc5e4a49c01c2e6c77d87bcd50f2300c60 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0032_box_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0032_box_q1", + "instruction": "Which month has the highest 'high' value in the data, and what is that 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_insert/AnyChart/box/chart_0032_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which month has the highest 'high' value in the data, and what is that value?", + "expected": "February has the highest high value, which is 1080.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0032_heatmap_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0032_heatmap_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..236a74cc64a4f019d57267a1186c1c268b8e04eb --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0032_heatmap_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0032_heatmap_q1", + "instruction": "For Sunday, at which hour is the maximum value recorded, and what is that 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_insert/amCharts/heatmap/chart_0032_heatmap.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "For Sunday, at which hour is the maximum value recorded, and what is that value?", + "expected": "On Sunday, the maximum value is 3,746 at 4pm.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0032_line_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0032_line_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..75f496b972866a8b0c37c87dbf1a2cb04f0a708b --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0032_line_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0032_line_q2", + "instruction": "How many years in the dataset have a negative 'Inflation' 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_insert/Highcharts/line/chart_0032_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "How many years in the dataset have a negative 'Inflation' value?", + "expected": "1 year, which is 2009.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0032_line_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0032_line_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..218643f786f897bed4c10878fe58e7d39923605a --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0032_line_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0032_line_q3", + "instruction": "By how many percentage points did 'Claims on central government, etc. (% GDP)' increase from 2020 to 2021?", + "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_insert/Highcharts/line/chart_0032_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "By how many percentage points did 'Claims on central government, etc. (% GDP)' increase from 2020 to 2021?", + "expected": "It increased by 9.2792236307591 percentage points (from 51.5930670243273 to 60.8722906550864).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0032_other_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0032_other_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..d548ec4fe5562adf20ab843f225ec884b316288b --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0032_other_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0032_other_q1", + "instruction": "In Dataset 2, which month has the highest value, and what is that 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_insert/Chart.js/other/chart_0032_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In Dataset 2, which month has the highest value, and what is that value?", + "expected": "Dataset 2 reaches its highest value in April, with a value of 85.70001715.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0032_other_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0032_other_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..26d68c5e31b0f0d8e3fbe04eb09b8b9ff1ea58c6 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0032_other_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0032_other_q2", + "instruction": "In Dataset 1, which month has the lowest value, and by how much is it lower than the highest value in Dataset 1?", + "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_insert/Chart.js/other/chart_0032_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In Dataset 1, which month has the lowest value, and by how much is it lower than the highest value in Dataset 1?", + "expected": "The lowest value in Dataset 1 is in May at 5.72573731, which is 91.95730453 lower than the highest Dataset 1 value of 97.68304184 in February.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0032_other_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0032_other_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..b09df4ebe066e364265878aa1db0ca8d441805ef --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0032_other_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0032_other_q3", + "instruction": "For July, what are the values of Dataset 1 and Dataset 2, and by how much is Dataset 1 larger than Dataset 2?", + "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_insert/Chart.js/other/chart_0032_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "For July, what are the values of Dataset 1 and Dataset 2, and by how much is Dataset 1 larger than Dataset 2?", + "expected": "In July, Dataset 1 has a value of 82.58959191 and Dataset 2 has a value of 24.29826818; Dataset 1 is larger by 58.29132373.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0032_pie_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0032_pie_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..8d3479a93ca450009b58bbfb0dfbaac3aca9a076 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0032_pie_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0032_pie_q1", + "instruction": "In the main series \"Browsers\", which browser has the highest market share, and what is the exact percentage?", + "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_insert/Highcharts/pie/chart_0032_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In the main series \"Browsers\", which browser has the highest market share, and what is the exact percentage?", + "expected": "Chrome, with a market share of 61.04%.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0032_pie_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0032_pie_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..f6e1925778503421c0a313f28b31bfca33da4da8 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0032_pie_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0032_pie_q2", + "instruction": "Among the Safari versions, which one has the highest share, and what is it?", + "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_insert/Highcharts/pie/chart_0032_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Among the Safari versions, which one has the highest share, and what is it?", + "expected": "Safari v14.1, with a share of 2.48%.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0032_scatter_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0032_scatter_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..8f55cd61c379ba526e40b8a846618cf50c12833e --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0032_scatter_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0032_scatter_q1", + "instruction": "In the Europe series, which country has higher carbon emissions, Germany or France?", + "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_insert/Highcharts/scatter/chart_0032_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In the Europe series, which country has higher carbon emissions, Germany or France?", + "expected": "Germany has higher carbon emissions, at 673.6m CO₂, compared with France's 315.5m CO₂.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0032_scatter_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0032_scatter_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..4a967dc5362998bcc6ca849886f247d57b5d9603 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0032_scatter_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0032_scatter_q2", + "instruction": "In the Oceania series, which country has the lowest carbon emissions 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_insert/Highcharts/scatter/chart_0032_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In the Oceania series, which country has the lowest carbon emissions value?", + "expected": "Papua New Guinea, 4.7m CO₂.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0032_scatter_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0032_scatter_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..f63e43c43f6a9c057804a3f17befe692b4b9be12 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0032_scatter_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0032_scatter_q3", + "instruction": "In the chart, which country has the highest carbon emissions 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_insert/Highcharts/scatter/chart_0032_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In the chart, which country has the highest carbon emissions value?", + "expected": "China, 12667.4m CO₂.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0033_bar_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0033_bar_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..f6d20d7fb47e625cabaa2513a06a826170d5a747 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0033_bar_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0033_bar_q2", + "instruction": "In Joe's data, how many fruits have negative values?", + "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_insert/Highcharts/bar/chart_0033_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In Joe's data, how many fruits have negative values?", + "expected": "3", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0033_bar_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0033_bar_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..ab0095f164634d5966f331757b0af53f665bd96f --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0033_bar_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0033_bar_q3", + "instruction": "In the Grapes category, which of the three has the highest value? What is the 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_insert/Highcharts/bar/chart_0033_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In the Grapes category, which of the three has the highest value? What is the value?", + "expected": "John, with a value of 7", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0033_box_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0033_box_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..cc207c2f01d52bc92f827dbc6356bd72d79d5a7a --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0033_box_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0033_box_q2", + "instruction": "Among all listed positions, which one has the lowest minimum (low) salary value, and what is that 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_insert/AnyChart/box/chart_0033_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Among all listed positions, which one has the lowest minimum (low) salary value, and what is that value?", + "expected": "ML Engineer has the lowest minimum salary at 11500.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0033_heatmap_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0033_heatmap_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..4284a5b223a8bfe9187866537219bbfb1ccfc89c --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0033_heatmap_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0033_heatmap_q1", + "instruction": "What is the value at 11am on Tuesday?", + "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_insert/amCharts/heatmap/chart_0033_heatmap.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the value at 11am on Tuesday?", + "expected": "The value at 11am on Tuesday is 10425.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0033_heatmap_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0033_heatmap_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..8ae900514353c3cabfc4dd6d58decb5120b7bf08 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0033_heatmap_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0033_heatmap_q2", + "instruction": "Among Sunday, Monday, Tuesday, and Wednesday, which weekday has the highest value at 9am, and what is that 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_insert/amCharts/heatmap/chart_0033_heatmap.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Among Sunday, Monday, Tuesday, and Wednesday, which weekday has the highest value at 9am, and what is that value?", + "expected": "Wednesday has the highest value at 9am, with a value of 12492.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0033_heatmap_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0033_heatmap_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..90c9675b554a2f9e9a77805195dd344f9c25f58c --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0033_heatmap_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0033_heatmap_q3", + "instruction": "How much higher is the value at 8am on Monday than at 8am on Friday?", + "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_insert/amCharts/heatmap/chart_0033_heatmap.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "How much higher is the value at 8am on Monday than at 8am on Friday?", + "expected": "The value at 8am on Monday is higher than on Friday by 171 (7080 minus 6909).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0033_line_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0033_line_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..aa5e956727eceeb61db6fa4dc36686a0964ceab4 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0033_line_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0033_line_q2", + "instruction": "During the displayed period from 2026-02-24T11:00:00Z to 2026-02-24T20:00:00Z, what is the lowest forecast air temperature and at which times does it occur?", + "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_insert/Highcharts/line/chart_0033_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "During the displayed period from 2026-02-24T11:00:00Z to 2026-02-24T20:00:00Z, what is the lowest forecast air temperature and at which times does it occur?", + "expected": "The lowest forecast air temperature is -2.7°C, occurring at 2026-02-24T19:00:00Z and 2026-02-24T20:00:00Z.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0033_pie_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0033_pie_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..83c218795084c6241a9fe6e31aa69603fd15a7a2 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0033_pie_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0033_pie_q1", + "instruction": "Which browser has the largest market share in the chart, and what is its percentage?", + "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_insert/Highcharts/pie/chart_0033_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which browser has the largest market share in the chart, and what is its percentage?", + "expected": "Chrome with 74.77%.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0033_pie_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0033_pie_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..152939b2577a2e1e1a19918a50529a95b5dc7070 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0033_pie_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0033_pie_q2", + "instruction": "What are the market share percentages of Edge and Firefox, and by how many percentage points does Edge exceed Firefox?", + "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_insert/Highcharts/pie/chart_0033_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What are the market share percentages of Edge and Firefox, and by how many percentage points does Edge exceed Firefox?", + "expected": "Edge has 12.82%, Firefox has 4.63%, and Edge exceeds Firefox by 8.19 percentage points.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0033_scatter_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0033_scatter_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..8c7899a2b9e9e35ccdc0a686e0db1a3bf27e2699 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0033_scatter_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0033_scatter_q2", + "instruction": "In the first data series, which point has the largest bubble size (the third value), and what is its size?", + "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_insert/Highcharts/scatter/chart_0033_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In the first data series, which point has the largest bubble size (the third value), and what is its size?", + "expected": "The point [31, 18, 97] has the largest bubble size: 97.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0033_scatter_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0033_scatter_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..35293699a9f715965590e12e56a72bc68289a487 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0033_scatter_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0033_scatter_q3", + "instruction": "In the second data series, how many points have a bubble size (the third value) greater than 90?", + "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_insert/Highcharts/scatter/chart_0033_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In the second data series, how many points have a bubble size (the third value) greater than 90?", + "expected": "3 points.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0034_box_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0034_box_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..723f79ee455cbd84b65fb0433af317b8c4507cb8 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0034_box_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0034_box_q1", + "instruction": "Which position has the smallest minimum yearly gross salary (low value), and what is the specific 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_insert/AnyChart/box/chart_0034_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which position has the smallest minimum yearly gross salary (low value), and what is the specific value?", + "expected": "ML Engineer, with the lowest salary being 11500.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0034_box_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0034_box_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..8374c1f510daef2b1a510836059e87911f5aa9de --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0034_box_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0034_box_q2", + "instruction": "Between Backend Developer and Software Engineer, which position has the higher median salary?", + "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_insert/AnyChart/box/chart_0034_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Between Backend Developer and Software Engineer, which position has the higher median salary?", + "expected": "Software Engineer has the higher median salary, at 72000, which is higher than Backend Developer's 70000.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0034_heatmap_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0034_heatmap_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..b5e973af5f5d6327b68e2ba1874aa87f445cca9b --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0034_heatmap_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0034_heatmap_q1", + "instruction": "Which combination of x and y categories has the highest value in the Risk Heatmap, and what is that 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_insert/amCharts/heatmap/chart_0034_heatmap.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which combination of x and y categories has the highest value in the Risk Heatmap, and what is that value?", + "expected": "The highest value is 33 at x = \"Medium\" and y = \"Critical\".", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0034_heatmap_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0034_heatmap_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..7dc1d22936b14f2c9a7edfd7a8bc4d8a3b717f6a --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0034_heatmap_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0034_heatmap_q3", + "instruction": "How many cells in the Risk Heatmap have a value of at least 30, and what are their x and y category combinations?", + "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_insert/amCharts/heatmap/chart_0034_heatmap.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "How many cells in the Risk Heatmap have a value of at least 30, and what are their x and y category combinations?", + "expected": "There are 3 cells with a value of at least 30: (x = \"Good\", y = \"Critical\") with value 30, (x = \"Medium\", y = \"Critical\") with value 33, and (x = \"Bad\", y = \"Critical\") with value 31.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0034_line_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0034_line_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..5b401e846a5226929be31018a5c79b36b4b988eb --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0034_line_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0034_line_q2", + "instruction": "Which event is annotated at the date 2020-12-21 with a TSLA stock price of 216.62?", + "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_insert/Highcharts/line/chart_0034_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which event is annotated at the date 2020-12-21 with a TSLA stock price of 216.62?", + "expected": "Inclusion to S&P 500 Index", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0034_line_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0034_line_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..c14e8c0248a8bb4c0134a7c5eb9a594ec035a720 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0034_line_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0034_line_q3", + "instruction": "Among all the annotated events on the chart, which one has the highest associated stock price and what is that price?", + "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_insert/Highcharts/line/chart_0034_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Among all the annotated events on the chart, which one has the highest associated stock price and what is that price?", + "expected": "Stock Sale by Elon Musk at 402.86 USD", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0034_other_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0034_other_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..893b7fd210739ec8770f712708a2a04720f642dc --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0034_other_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0034_other_q2", + "instruction": "How many outgoing connections does Monica have in the data series?", + "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_insert/amCharts/other/chart_0034_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "How many outgoing connections does Monica have in the data series?", + "expected": "Monica has 13 outgoing connections.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0034_pie_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0034_pie_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..ad3ed979be4e555030f9f82dffeb65ec34f27d92 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0034_pie_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0034_pie_q2", + "instruction": "What is the order of vehicle fuel types by registration count from highest to lowest?", + "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_insert/Highcharts/pie/chart_0034_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the order of vehicle fuel types by registration count from highest to lowest?", + "expected": "Diesel, Petrol, Electricity, Other", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0034_scatter_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0034_scatter_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..88d77c7916ff859efbf8e32a7716ec627ebd82b5 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0034_scatter_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0034_scatter_q2", + "instruction": "Which status group (series) has the largest total task value? What is the total?", + "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_insert/Highcharts/scatter/chart_0034_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which status group (series) has the largest total task value? What is the total?", + "expected": "The status group 'To Do' has the largest total task value, with a total of 22.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0035_bar_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0035_bar_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..3407e3f7ebb4060ba20bfb9628c7b8576ad6563d --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0035_bar_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0035_bar_q2", + "instruction": "In the \"Seattle HQ\" category, what is the difference between \"Employees\" and \"Employees Optimized\"?", + "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_insert/Highcharts/bar/chart_0035_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In the \"Seattle HQ\" category, what is the difference between \"Employees\" and \"Employees Optimized\"?", + "expected": "10 employees more in the \"Employees\" series (150 vs 140).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0035_box_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0035_box_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..0ab932ba01ad77636a984673f2a15738b0b8b97f --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0035_box_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0035_box_q1", + "instruction": "Among the four categories, which category has the highest high value, and what is that maximum high 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_insert/AnyChart/box/chart_0035_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Among the four categories, which category has the highest high value, and what is that maximum high value?", + "expected": "The category \"MBL1-HaeIII-T?\" has the highest high value, which is 531.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0035_heatmap_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0035_heatmap_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..6f4bcb20061ff086b60c5517509c32df34751d02 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0035_heatmap_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0035_heatmap_q3", + "instruction": "What is the value of B1A1?", + "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_insert/amCharts/heatmap/chart_0035_heatmap.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the value of B1A1?", + "expected": "178", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0035_other_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0035_other_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..dd3c355be8d941c6a9ac84e9fcc8f9cfaa106219 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0035_other_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0035_other_q2", + "instruction": "Considering total outgoing connection values, which character has the highest total among Monica, Rachel, Ross, Chandler, Phoebe, and Joey, and what is that total?", + "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_insert/amCharts/other/chart_0035_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Considering total outgoing connection values, which character has the highest total among Monica, Rachel, Ross, Chandler, Phoebe, and Joey, and what is that total?", + "expected": "Ross has the highest total outgoing connection value, with a total of 166.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0035_pie_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0035_pie_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..40cdfccf8cdd4f8fa6506a8c91c069e761cd28b1 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0035_pie_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0035_pie_q2", + "instruction": "What is the population density of Italy in this chart?", + "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_insert/Highcharts/pie/chart_0035_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the population density of Italy in this chart?", + "expected": "198 people per square km.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0035_scatter_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0035_scatter_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..f4b726709b2acd3f691b61101f939f6d9c423fb4 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0035_scatter_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0035_scatter_q1", + "instruction": "In this scatter plot, what is the highest 'value' among all data points?", + "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_insert/AnyChart/scatter/chart_0035_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In this scatter plot, what is the highest 'value' among all data points?", + "expected": "133", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0036_bar_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0036_bar_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..fb62334c557fba7aaa31b3b1f8b362b47be069df --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0036_bar_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0036_bar_q2", + "instruction": "In the 2008 data shown, which country won the most gold medals and how many did it win?", + "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_insert/Highcharts/bar/chart_0036_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In the 2008 data shown, which country won the most gold medals and how many did it win?", + "expected": "China won the most gold medals in 2008 with 48 gold medals.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0036_bar_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0036_bar_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..8f2ca72de59c7d1e4a8dd6c192531616b7db65d6 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0036_bar_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0036_bar_q3", + "instruction": "How did the number of gold medals for the United States change from 2004 to 2012?", + "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_insert/Highcharts/bar/chart_0036_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "How did the number of gold medals for the United States change from 2004 to 2012?", + "expected": "The United States increased its gold medals from 37 in 2004 to 47 in 2012, an increase of 10 medals.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0036_heatmap_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0036_heatmap_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..161ed1e90107d5068c546beaad648c9e5d3c883b --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0036_heatmap_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0036_heatmap_q3", + "instruction": "Between the Honda CR-V, Nissan Rogue, and Toyota RAV4 nodes, which model has the largest value and what is that 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_insert/amCharts/heatmap/chart_0036_heatmap.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Between the Honda CR-V, Nissan Rogue, and Toyota RAV4 nodes, which model has the largest value and what is that value?", + "expected": "The Toyota RAV4 has the largest value, with 407,594 units.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0036_line_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0036_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..1dfd9ff8312b2e24db2f2049b5e83b1fa8074484 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0036_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0036_line_q1", + "instruction": "What is the maximum wind speed value in the Hestavollane series?", + "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_insert/Highcharts/line/chart_0036_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the maximum wind speed value in the Hestavollane series?", + "expected": "13.8 m/s", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0036_scatter_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0036_scatter_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..89b8da9bf0972ae34cc82ae877ca964272c651d1 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0036_scatter_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0036_scatter_q2", + "instruction": "How many data points are defined in the bubble series on this chart?", + "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_insert/AnyChart/scatter/chart_0036_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "How many data points are defined in the bubble series on this chart?", + "expected": "5", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0036_scatter_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0036_scatter_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..94b660c3ad5b4f12d22297aa2ac53704d695a124 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0036_scatter_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0036_scatter_q3", + "instruction": "What is the maximum 'value' among all the data points in the chart?", + "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_insert/AnyChart/scatter/chart_0036_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the maximum 'value' among all the data points in the chart?", + "expected": "637", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0037_bar_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0037_bar_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..25812ab0d5c4be3a585e25d1a3e453ce15d90e8a --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0037_bar_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0037_bar_q1", + "instruction": "Which team has the highest total number of major trophies (BPL + FA Cup + CL) in the chart, and what is that total?", + "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_insert/Highcharts/bar/chart_0037_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which team has the highest total number of major trophies (BPL + FA Cup + CL) in the chart, and what is that total?", + "expected": "Manchester United, with 28 trophies.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0037_box_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0037_box_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..5a4deaedb1d709596019032835a10bfea3df93ca --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0037_box_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0037_box_q1", + "instruction": "In the 'Box plots' series, what is the median value for April?", + "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_insert/AnyChart/box/chart_0037_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In the 'Box plots' series, what is the median value for April?", + "expected": "6500", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0037_heatmap_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0037_heatmap_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..49ebd993517c2be3be159a91cccb73b882fb4f65 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0037_heatmap_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0037_heatmap_q2", + "instruction": "Among the top-level categories (First, Second, Third, Fourth, Fifth), which one has the highest total value of its children, and what is that total?", + "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_insert/amCharts/heatmap/chart_0037_heatmap.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Among the top-level categories (First, Second, Third, Fourth, Fifth), which one has the highest total value of its children, and what is that total?", + "expected": "The category Fifth has the highest total value of its children, with a total of 835.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0037_heatmap_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0037_heatmap_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..00dfc313aef5d076ac1013bb566e8c8fcf52d4ff --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0037_heatmap_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0037_heatmap_q3", + "instruction": "Comparing the top-level categories First and Second, which has the larger total value of its children and by how much?", + "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_insert/amCharts/heatmap/chart_0037_heatmap.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Comparing the top-level categories First and Second, which has the larger total value of its children and by how much?", + "expected": "Second has the larger total value; it exceeds First by 99 (Second: 289, First: 190).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0037_other_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0037_other_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..8f563a96ade81a5d18dbeded3cea838b17a57522 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0037_other_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0037_other_q1", + "instruction": "To which character does Monica have the largest connection value, and what is that 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_insert/amCharts/other/chart_0037_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "To which character does Monica have the largest connection value, and what is that value?", + "expected": "Monica has the largest connection value to Chandler, with a value of 113.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0037_other_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0037_other_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..33486f50d3065c60a8b6ef2a540cdcae90a4d675 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0037_other_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0037_other_q2", + "instruction": "Among Monica, Rachel, Chandler, Ross, Joey, and Phoebe, who has the highest total outgoing connection value, and what is that total?", + "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_insert/amCharts/other/chart_0037_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Among Monica, Rachel, Chandler, Ross, Joey, and Phoebe, who has the highest total outgoing connection value, and what is that total?", + "expected": "Monica has the highest total outgoing connection value, with a total of 204.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0037_pie_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0037_pie_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..eeeb3752df924d1e0f3e9803c02d63a4b5f748b3 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0037_pie_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0037_pie_q1", + "instruction": "Which type of car registrations has the highest share in the 2023 Norway car registrations donut chart, and what is that percentage?", + "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_insert/Highcharts/pie/chart_0037_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which type of car registrations has the highest share in the 2023 Norway car registrations donut chart, and what is that percentage?", + "expected": "Diesel, with 37.0%.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0037_pie_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0037_pie_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..bf640f50e598e7bcb708fe10210a131067078513 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0037_pie_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0037_pie_q2", + "instruction": "What total number is shown in the center label of the donut chart?", + "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_insert/Highcharts/pie/chart_0037_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What total number is shown in the center label of the donut chart?", + "expected": "2 877 820.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0037_scatter_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0037_scatter_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..ab470538fbd89395ff770eb466cc24ce519ebf74 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0037_scatter_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0037_scatter_q1", + "instruction": "In the first bubble series, what is the maximum 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_insert/AnyChart/scatter/chart_0037_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In the first bubble series, what is the maximum Sales ($) value?", + "expected": "1100", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0038_bar_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0038_bar_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..88fd4ce821f811f1c2ffc1bd8f7d8205b09a089e --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0038_bar_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0038_bar_q1", + "instruction": "In the chart \"World's largest cities per 2021\", which city has the highest population and what is its population in millions?", + "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_insert/Highcharts/bar/chart_0038_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In the chart \"World's largest cities per 2021\", which city has the highest population and what is its population in millions?", + "expected": "Tokyo, 37.33 million", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0038_bar_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0038_bar_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..4213ec96f3c7e33a52b55200155c1783480fe7b3 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0038_bar_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0038_bar_q2", + "instruction": "Between Lagos and Manila, which city has a higher 2021 population according to the chart, and by how many millions?", + "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_insert/Highcharts/bar/chart_0038_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Between Lagos and Manila, which city has a higher 2021 population according to the chart, and by how many millions?", + "expected": "Lagos has a higher population than Manila by 0.7 million", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0038_box_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0038_box_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..81cd3e1914376ceef8daaa6d129d3ecb84c0b0d5 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0038_box_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0038_box_q1", + "instruction": "Which profession has the lowest 'low' salary value in the chart, and what is that 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_insert/AnyChart/box/chart_0038_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which profession has the lowest 'low' salary value in the chart, and what is that value?", + "expected": "ML Engineer, with a low value of 11500.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0038_heatmap_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0038_heatmap_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..02cc8bdc2519070efbc1f9d1689b24eedd5a6622 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0038_heatmap_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0038_heatmap_q1", + "instruction": "According to the data used in the treemap, which brand has the highest total value across all its models, and what is that total?", + "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_insert/amCharts/heatmap/chart_0038_heatmap.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "According to the data used in the treemap, which brand has the highest total value across all its models, and what is that total?", + "expected": "Ford has the highest total value, with 2,463,952.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0038_heatmap_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0038_heatmap_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..61470599e64504769f231b9240ab73112bd9d200 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0038_heatmap_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0038_heatmap_q2", + "instruction": "Among Toyota models included in the treemap, which model has the largest value and what is that 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_insert/amCharts/heatmap/chart_0038_heatmap.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Among Toyota models included in the treemap, which model has the largest value and what is that value?", + "expected": "The Toyota RAV4 has the largest value among Toyota models, with 407,594.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0038_line_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0038_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..a26189215af78c2f0a4ad8ac7752d6accd62530d --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0038_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0038_line_q1", + "instruction": "In the 'Winter 2021-2022' series, what is the maximum snow depth and on which date does it occur?", + "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_insert/Highcharts/line/chart_0038_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In the 'Winter 2021-2022' series, what is the maximum snow depth and on which date does it occur?", + "expected": "The maximum snow depth is 2.22 m on 03-02.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0038_other_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0038_other_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..10ccec3ef4d339345bb2045efd5d00fd98568788 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0038_other_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0038_other_q2", + "instruction": "What is the total value of all flows going into node D?", + "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_insert/amCharts/other/chart_0038_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the total value of all flows going into node D?", + "expected": "The total value of flows into node D is 26 (10 from A, 8 from B, and 8 from E).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0038_other_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0038_other_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..27dd1d9a3838b032b2f576965fab3eadd9c18fdc --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0038_other_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0038_other_q3", + "instruction": "Which node has the largest total outgoing flow, and what is that total 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_insert/amCharts/other/chart_0038_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which node has the largest total outgoing flow, and what is that total value?", + "expected": "Node C has the largest total outgoing flow, with a total value of 18.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0038_pie_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0038_pie_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..564e5b913f7d2c71efc8ea24bfb5775f0e7bd2a2 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0038_pie_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0038_pie_q3", + "instruction": "What is the total sum of all category values?", + "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_insert/AnyChart/pie/chart_0038_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the total sum of all category values?", + "expected": "The total sum of all category values is 1676120.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0038_scatter_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0038_scatter_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..416eac7d9068efe845b492d73205a7508f2814ad --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0038_scatter_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0038_scatter_q1", + "instruction": "In this bubble chart, which year has the highest sales value and what is that 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_insert/AnyChart/scatter/chart_0038_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In this bubble chart, which year has the highest sales value and what is that value?", + "expected": "The year 2006 has the highest sales value, which is 1400.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0038_scatter_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0038_scatter_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..8dc2d718d505ada631049a60445c1b40e85ea723 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0038_scatter_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0038_scatter_q2", + "instruction": "From 2005 to 2006, did the sales value increase or decrease, and by how much?", + "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_insert/AnyChart/scatter/chart_0038_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "From 2005 to 2006, did the sales value increase or decrease, and by how much?", + "expected": "Sales increased by 400, from 1000 in 2005 to 1400 in 2006.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0039_bar_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0039_bar_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..00ec6d88aacfb0f3d1664158606635c09cc58a31 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0039_bar_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0039_bar_q1", + "instruction": "In which year was the number of live births for boys the highest, and what was that number?", + "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_insert/Highcharts/bar/chart_0039_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In which year was the number of live births for boys the highest, and what was that number?", + "expected": "In 2021, with 28,684 boys.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0039_bar_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0039_bar_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..9c8a49c0ed1de10300ac0d62e335820b0ba85b93 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0039_bar_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0039_bar_q2", + "instruction": "What was the total number of live births (boys plus girls) in Norway in 2021 according to the chart?", + "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_insert/Highcharts/bar/chart_0039_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What was the total number of live births (boys plus girls) in Norway in 2021 according to the chart?", + "expected": "56,060", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0039_bar_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0039_bar_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..1acbcee28d8d1a1d80f0b65c9fce31a8b585ec13 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0039_bar_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0039_bar_q3", + "instruction": "From 2022 to 2023, did the numbers of live births for boys and for girls increase or decrease, and by how much for each?", + "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_insert/Highcharts/bar/chart_0039_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "From 2022 to 2023, did the numbers of live births for boys and for girls increase or decrease, and by how much for each?", + "expected": "Both increased: boys from 26,445 to 26,564 (up 119) and girls from 25,035 to 25,416 (up 381).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0039_box_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0039_box_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..a5682ef3165579bc94b3e1b84b36b39b169be759 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0039_box_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0039_box_q1", + "instruction": "What is the range of sepal_length values (minimum and maximum) shown in the scatter plot?", + "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_insert/Plotly/box/chart_0039_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the range of sepal_length values (minimum and maximum) shown in the scatter plot?", + "expected": "The sepal_length values range from 4.3 to 7.9.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0039_box_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0039_box_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..5df5f8ef88df6c8cbe132ab5341b3ea6e1788478 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0039_box_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0039_box_q2", + "instruction": "Is the maximum sepal_length value larger than the maximum sepal_width value, and what are those maxima?", + "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_insert/Plotly/box/chart_0039_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Is the maximum sepal_length value larger than the maximum sepal_width value, and what are those maxima?", + "expected": "Yes. The maximum sepal_length is 7.9, which is larger than the maximum sepal_width of 4.4.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0039_heatmap_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0039_heatmap_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..5e0d90b7b1fac329941cfcd824ac6162bd76d298 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0039_heatmap_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0039_heatmap_q3", + "instruction": "Which node has a larger value, C1 or D1?", + "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_insert/amCharts/heatmap/chart_0039_heatmap.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which node has a larger value, C1 or D1?", + "expected": "D1 has the larger value, with 415 compared with C1's 335.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0039_other_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0039_other_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..e36dda93240ecde164d0ebdbfb088e591535bed0 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0039_other_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0039_other_q1", + "instruction": "Which connection in the Sankey chart has the smallest flow value, and what is that 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_insert/amCharts/other/chart_0039_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which connection in the Sankey chart has the smallest flow value, and what is that value?", + "expected": "The connection from I to J has the smallest flow value, which is 1.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0039_other_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0039_other_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..54825d7533cc2fd9498d158053822884bb535ff9 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0039_other_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0039_other_q2", + "instruction": "What is the total flow value entering node D from all its sources?", + "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_insert/amCharts/other/chart_0039_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the total flow value entering node D from all its sources?", + "expected": "The total flow entering node D is 18 (10 from A and 8 from B).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0039_other_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0039_other_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..1af32d4f703827adb62b7c2f2eaaea47e3ebe6e9 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0039_other_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0039_other_q3", + "instruction": "What percentage of the total flow entering node J comes from node H?", + "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_insert/amCharts/other/chart_0039_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What percentage of the total flow entering node J comes from node H?", + "expected": "60% of the total flow entering node J comes from node H (9 out of 15).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0039_pie_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0039_pie_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..9ec82a2693d0a9fbb28e8d66cb0896662211e92a --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0039_pie_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0039_pie_q1", + "instruction": "Which category has the largest value, and what is that 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_insert/AnyChart/pie/chart_0039_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which category has the largest value, and what is that value?", + "expected": "Category B has the largest value, which is 721630.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0039_scatter_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0039_scatter_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..6b4325d03c84535e2bbff06877b425d7a942b132 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0039_scatter_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0039_scatter_q2", + "instruction": "Between the years 2000 and 2006, what is the highest sales value shown among all bubbles, and in which year does it occur?", + "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_insert/AnyChart/scatter/chart_0039_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Between the years 2000 and 2006, what is the highest sales value shown among all bubbles, and in which year does it occur?", + "expected": "The highest sales value is 1500 in the year 2003.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0039_scatter_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0039_scatter_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..533f09f6b68c7a57dbd147eb2283912d565376fd --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0039_scatter_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0039_scatter_q3", + "instruction": "What is the highest sales value in data1?", + "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_insert/AnyChart/scatter/chart_0039_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the highest sales value in data1?", + "expected": "1500", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0040_bar_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0040_bar_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..bdd2e70c75238d23a1cdebeb3aac7d677e58ea80 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0040_bar_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0040_bar_q2", + "instruction": "Among the three types of medals Canada won at the Winter Olympics, which type is the most numerous, and how many are there?", + "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_insert/Highcharts/bar/chart_0040_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Among the three types of medals Canada won at the Winter Olympics, which type is the most numerous, and how many are there?", + "expected": "Gold medals are the most, with 77.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0040_box_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0040_box_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..84e0c4d7de0aaf3ffd57d8ed7d71ef04b3a44304 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0040_box_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0040_box_q1", + "instruction": "According to the data, what are the maximum total_bill values for non-smokers and smokers, respectively?", + "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_insert/Plotly/box/chart_0040_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "According to the data, what are the maximum total_bill values for non-smokers and smokers, respectively?", + "expected": "The maximum total_bill for non-smokers is 48.33, and for smokers it is 50.81.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0040_box_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0040_box_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..712c078fcc3ee90b9bf267fe4c65126fa25ea134 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0040_box_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0040_box_q2", + "instruction": "What is the minimum total_bill value recorded for smokers, and how does it compare to the minimum for non-smokers?", + "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_insert/Plotly/box/chart_0040_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the minimum total_bill value recorded for smokers, and how does it compare to the minimum for non-smokers?", + "expected": "The minimum total_bill for smokers is 3.07, which is lower than the non-smokers’ minimum of 7.25.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0040_box_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0040_box_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..63cd2b1293939384a50457268b560a4ec784840b --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0040_box_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0040_box_q3", + "instruction": "What are the titles of the x-axis, y-axis, and legend in this box plot?", + "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_insert/Plotly/box/chart_0040_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What are the titles of the x-axis, y-axis, and legend in this box plot?", + "expected": "The x-axis title is \"sex\", the y-axis title is \"total_bill\", and the legend title is \"smoker\".", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0040_line_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0040_line_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..44f40b0a802e2d28c0ba53c91953ef1abb5db487 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0040_line_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0040_line_q3", + "instruction": "Between which consecutive quarters does the interest rate increase by the largest amount, and what is that increase?", + "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_insert/AnyChart/line/chart_0040_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Between which consecutive quarters does the interest rate increase by the largest amount, and what is that increase?", + "expected": "The largest increase is between Q2 2014 and Q3 2014, and the rate increases by 0.9.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0040_other_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0040_other_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..d4fab843e8eaf22cb178a6a9724e41c51d675204 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0040_other_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0040_other_q1", + "instruction": "Under the 'Programming' task, how many subtasks are defined 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_insert/amCharts/other/chart_0040_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Under the 'Programming' task, how many subtasks are defined and what are their names?", + "expected": "There are 4 subtasks under 'Programming': 'Task delegation', 'Coding', 'Testing', and 'Deploying'.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0040_scatter_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0040_scatter_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..ef1198af7621683a5f670f5025243c49ad13002f --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0040_scatter_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0040_scatter_q2", + "instruction": "Across both bubble series, what is the highest sales value configured, and what year is it associated with?", + "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_insert/AnyChart/scatter/chart_0040_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Across both bubble series, what is the highest sales value configured, and what year is it associated with?", + "expected": "The highest sales value is 1500, associated with the year 2003.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0041_bar_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0041_bar_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..5286d1a3c90fd09019c0c3871f312d08e30c6d6f --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0041_bar_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0041_bar_q1", + "instruction": "In which month is the total number of ferry passengers (sum of all vehicle types) the highest, and what is that total?", + "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_insert/Highcharts/bar/chart_0041_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In which month is the total number of ferry passengers (sum of all vehicle types) the highest, and what is that total?", + "expected": "May has the highest total, with 31,225 passengers.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0041_bar_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0041_bar_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..25682f97a3114c797974291b9cf67ac233cb4ce9 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0041_bar_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0041_bar_q3", + "instruction": "In May, which vehicle type has the smallest number of ferry passengers, and how many are there?", + "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_insert/Highcharts/bar/chart_0041_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In May, which vehicle type has the smallest number of ferry passengers, and how many are there?", + "expected": "Motorcycles have the smallest number in May, with 1,272 passengers.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0041_box_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0041_box_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..2e921185f800642830f3b90e8458ddfcfb381d64 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0041_box_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0041_box_q1", + "instruction": "What is the minimum total_bill value shown in the box plot?", + "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_insert/Plotly/box/chart_0041_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the minimum total_bill value shown in the box plot?", + "expected": "The minimum total_bill value is 3.07.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0041_heatmap_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0041_heatmap_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..df5be8e6f3df3fbab36c7bd3a693108bb44ef9ad --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0041_heatmap_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0041_heatmap_q2", + "instruction": "What is the smallest and largest tip value represented on the y-axis in this chart?", + "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_insert/Plotly/heatmap/chart_0041_heatmap.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the smallest and largest tip value represented on the y-axis in this chart?", + "expected": "The smallest tip value is 1 and the largest is 10.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0041_heatmap_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0041_heatmap_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..793396eaf28d0c1ca8a3a5533f3ef367995a8571 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0041_heatmap_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0041_heatmap_q3", + "instruction": "In this Plotly histogram2d heatmap of total_bill versus tip, what does the colorbar labeled 'count' represent?", + "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_insert/Plotly/heatmap/chart_0041_heatmap.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In this Plotly histogram2d heatmap of total_bill versus tip, what does the colorbar labeled 'count' represent?", + "expected": "It represents the number of observations (data points) falling into each 2D bin of total_bill and tip.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0041_scatter_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0041_scatter_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..ad4e2ba28bdf82d0d2fe8a072784deeb66a7277b --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0041_scatter_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0041_scatter_q2", + "instruction": "Is the smallest bubble value in series_0 greater than, equal to, or less than the smallest bubble value in series_1, and what are those values?", + "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_insert/AnyChart/scatter/chart_0041_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Is the smallest bubble value in series_0 greater than, equal to, or less than the smallest bubble value in series_1, and what are those values?", + "expected": "It is less; series_0 has a minimum of 0.8, while series_1 has a minimum of 1.4.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0042_bar_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0042_bar_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..4c3a8d21704b7114cff4ee1fdc9853a7e3f0b112 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0042_bar_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0042_bar_q1", + "instruction": "In 2019, which mode of transport had the highest domestic passenger volume, and what was its 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_insert/Highcharts/bar/chart_0042_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In 2019, which mode of transport had the highest domestic passenger volume, and what was its value?", + "expected": "In 2019, Road had the highest value, at 434.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0042_box_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0042_box_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..637f20562ab96483fd0ffb0c6745fe705bbbd67e --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0042_box_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0042_box_q1", + "instruction": "How many distinct time categories are shown on the x-axis, and what are they?", + "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_insert/Plotly/box/chart_0042_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "How many distinct time categories are shown on the x-axis, and what are they?", + "expected": "There are 2 distinct time categories on the x-axis: Dinner and Lunch.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0042_box_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0042_box_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..30d6584ca1797f6169436acb8cdfef773bcaa364 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0042_box_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0042_box_q3", + "instruction": "Is there any total_bill value less than 5, and if so, what is it?", + "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_insert/Plotly/box/chart_0042_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Is there any total_bill value less than 5, and if so, what is it?", + "expected": "Yes, there is a total_bill value less than 5: it is 3.07.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0042_other_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0042_other_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..16e2086f0d03b4fb2b7361ac74d7c0eff57e2596 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0042_other_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0042_other_q2", + "instruction": "How many phases have a duration of 0, and which phases are they?", + "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_insert/amCharts/other/chart_0042_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "How many phases have a duration of 0, and which phases are they?", + "expected": "Two phases have a duration of 0: Idea and Finalization.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0042_pie_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0042_pie_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..3ecc3cb73d00eb33df8177bb384d483119eff4c7 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0042_pie_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0042_pie_q2", + "instruction": "Which category has the smallest value in the data, and what is that 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_insert/AnyChart/pie/chart_0042_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which category has the smallest value in the data, and what is that value?", + "expected": "Category D with a value of 78662", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0042_scatter_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0042_scatter_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..5afa5a0ce799c3ef0d5f9766b23041c6cce8d03d --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0042_scatter_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0042_scatter_q2", + "instruction": "In the third bubble series, what are the x value and size of the data point with the larger bubble size?", + "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_insert/AnyChart/scatter/chart_0042_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In the third bubble series, what are the x value and size of the data point with the larger bubble size?", + "expected": "That point has x = 71 and size = 14.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0043_bar_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0043_bar_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..d5ddce6ee3ee9b94655026e8e2edc560f8a0ccd8 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0043_bar_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0043_bar_q1", + "instruction": "Which age group has the highest male population percentage (by absolute value), and what is that percentage?", + "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_insert/Highcharts/bar/chart_0043_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which age group has the highest male population percentage (by absolute value), and what is that percentage?", + "expected": "The age group 45-49 has the highest male population percentage, with an absolute value of 4.61%.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0043_bar_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0043_bar_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..5fc81b28714d3064049aac516336b844e93e400b --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0043_bar_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0043_bar_q2", + "instruction": "What is the female population percentage for the age group 25-29?", + "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_insert/Highcharts/bar/chart_0043_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the female population percentage for the age group 25-29?", + "expected": "The female population percentage for age group 25-29 is 3.02%.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0043_bar_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0043_bar_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..f49e224543b6c7041478e6553a6c18253667025c --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0043_bar_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0043_bar_q3", + "instruction": "For females, which age group has a higher population percentage, 0-4 or 80+, and by how many percentage points?", + "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_insert/Highcharts/bar/chart_0043_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "For females, which age group has a higher population percentage, 0-4 or 80+, and by how many percentage points?", + "expected": "The 0-4 age group has a higher female population percentage than the 80+ group by 0.20 percentage points (1.35% vs 1.15%).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0043_box_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0043_box_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..24de543ee11c4410a612d0ab307210ee63efe033 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0043_box_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0043_box_q1", + "instruction": "What is the title of the y-axis in this chart?", + "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_insert/Plotly/box/chart_0043_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the title of the y-axis in this chart?", + "expected": "The y-axis title is \"total_bill\".", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0043_box_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0043_box_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..9a6472ae075487e4bce6bdf6ebd6fe748fe62662 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0043_box_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0043_box_q2", + "instruction": "How many distinct time categories are plotted on the x-axis, and what are they?", + "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_insert/Plotly/box/chart_0043_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "How many distinct time categories are plotted on the x-axis, and what are they?", + "expected": "There are 2 distinct time categories on the x-axis: \"Dinner\" and \"Lunch\".", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0043_heatmap_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0043_heatmap_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..8bf95baa1120ff5ea25aad96835e35784ec97c8d --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0043_heatmap_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0043_heatmap_q1", + "instruction": "Among the four subgroups (Male/Female × smoker Yes/No), which subgroup has the largest number of data points?", + "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_insert/Plotly/heatmap/chart_0043_heatmap.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Among the four subgroups (Male/Female × smoker Yes/No), which subgroup has the largest number of data points?", + "expected": "The Male, smoker=No subgroup has the largest number of data points.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0043_heatmap_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0043_heatmap_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..36e40632bbeb087fe724d29c1b99e0065baa485f --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0043_heatmap_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0043_heatmap_q3", + "instruction": "According to the annotations, which smoker category is shown in the left column of heatmaps, and which sex is shown in the top row?", + "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_insert/Plotly/heatmap/chart_0043_heatmap.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "According to the annotations, which smoker category is shown in the left column of heatmaps, and which sex is shown in the top row?", + "expected": "The left column is labeled \"smoker=No\", and the top row is labeled \"sex=Female\".", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0043_line_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0043_line_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..5ca9082d4120bc37b19c136661687a9e3a4db835 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0043_line_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0043_line_q2", + "instruction": "In 1996, which county had the lowest Debt-To-Income ratio and what was that 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_insert/AnyChart/line/chart_0043_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In 1996, which county had the lowest Debt-To-Income ratio and what was that value?", + "expected": "In 1996, Belle Reve Parish had the lowest Debt-To-Income ratio at 24%.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0043_line_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0043_line_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..aad13ccfe9d059baa71065a1dcc8e38aabdcd36e --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0043_line_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0043_line_q3", + "instruction": "What Debt-To-Income range is described by the text marker that says \"Below 28%\" followed by \"Buy! Buy! Buy!\"?", + "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_insert/AnyChart/line/chart_0043_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What Debt-To-Income range is described by the text marker that says \"Below 28%\" followed by \"Buy! Buy! Buy!\"?", + "expected": "It describes Debt-To-Income ratios below 28%, corresponding to the 20%–28% range highlighted by the first range marker.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0043_pie_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0043_pie_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..874056a482ccdf35cbae59afef3cdeb045b61779 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0043_pie_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0043_pie_q1", + "instruction": "In this set of three pie charts, what is the value of category A?", + "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_insert/AnyChart/pie/chart_0043_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In this set of three pie charts, what is the value of category A?", + "expected": "637166", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0043_pie_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0043_pie_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..8c02ca8100067362779222e9a44fbcde1fe4dc1d --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0043_pie_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0043_pie_q2", + "instruction": "Which category has the largest value in the data? What is its 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_insert/AnyChart/pie/chart_0043_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which category has the largest value in the data? What is its value?", + "expected": "Category B, with a value of 721630.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0043_scatter_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0043_scatter_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..2075ea8fa20b77fd39c4e3e917b7d13863df86d1 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0043_scatter_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0043_scatter_q2", + "instruction": "How many data points are displayed in this scatter bubble chart?", + "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_insert/AnyChart/scatter/chart_0043_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "How many data points are displayed in this scatter bubble chart?", + "expected": "5", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0044_box_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0044_box_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..dbfa69eb43467743055c6ec8fdc7f4603c55853a --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0044_box_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0044_box_q2", + "instruction": "What is the title of the x-axis in this chart?", + "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_insert/Plotly/box/chart_0044_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the title of the x-axis in this chart?", + "expected": "The x-axis title is 'day'.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0044_line_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0044_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..59d28064929d70ea9c0a8dfab48daff4e5cf2cb5 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0044_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0044_line_q1", + "instruction": "In this profit growth line chart, which month has the highest profit growth rate, and what is the 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_insert/AnyChart/line/chart_0044_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In this profit growth line chart, which month has the highest profit growth rate, and what is the value?", + "expected": "The highest value appears in Jun, with a profit growth rate of 70%.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0044_line_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0044_line_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..c47748641898aecdd9d6f9e005d31b11e9527dac --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0044_line_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0044_line_q2", + "instruction": "Between May and Jul, which month has a higher profit growth rate, and by how many percentage points?", + "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_insert/AnyChart/line/chart_0044_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Between May and Jul, which month has a higher profit growth rate, and by how many percentage points?", + "expected": "May is higher, by 2 percentage points (May is 60%, Jul is 58%).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0044_other_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0044_other_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..4123cf621df6fff151fb1348af7a6e00bf375219 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0044_other_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0044_other_q2", + "instruction": "How many data points in the series have a value equal to 89?", + "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_insert/amCharts/other/chart_0044_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "How many data points in the series have a value equal to 89?", + "expected": "There are 3 data points with a value of 89.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0044_other_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0044_other_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..283340cc8d25d542eb95c236f206dec7f882dc22 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0044_other_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0044_other_q3", + "instruction": "From the first data point (date 16524252e5) to the last data point (date 16540668e5), by how many units does the value change and in which direction?", + "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_insert/amCharts/other/chart_0044_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "From the first data point (date 16524252e5) to the last data point (date 16540668e5), by how many units does the value change and in which direction?", + "expected": "The value increases by 4 units, from 92 to 96.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0045_bar_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0045_bar_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..b8871539a1b84d70e49f5b54bc9d3115e5db0b80 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0045_bar_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0045_bar_q3", + "instruction": "If the column for P3 is clicked twice, what will its value become?", + "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_insert/AnyChart/bar/chart_0045_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "If the column for P3 is clicked twice, what will its value become?", + "expected": "P3 starts at 15, so after two clicks it becomes 25.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0045_box_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0045_box_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..2c283efd5cf8d60eb5c7c49f7e9082c69e95d3f8 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0045_box_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0045_box_q2", + "instruction": "What are the smallest and largest y-values used in the \"inclusive\" quartile method box plot?", + "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_insert/Plotly/box/chart_0045_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What are the smallest and largest y-values used in the \"inclusive\" quartile method box plot?", + "expected": "The smallest y-value is 1 and the largest y-value is 9.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0045_heatmap_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0045_heatmap_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..f8442b57f79e61ea68f28a39ba88f60b841d60d6 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0045_heatmap_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0045_heatmap_q1", + "instruction": "What variable is displayed on the x-axis of the heatmap?", + "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_insert/Plotly/heatmap/chart_0045_heatmap.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What variable is displayed on the x-axis of the heatmap?", + "expected": "The x-axis displays petal_length.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0045_heatmap_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0045_heatmap_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..7df57e7c5eb316a144118a3bf63de99759df84bb --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0045_heatmap_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0045_heatmap_q2", + "instruction": "According to the colorbar title, what does the color in the heatmap represent?", + "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_insert/Plotly/heatmap/chart_0045_heatmap.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "According to the colorbar title, what does the color in the heatmap represent?", + "expected": "The color represents the average of sepal_length.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0045_other_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0045_other_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..f98f1e5ef835bc3e87da46e3541651497bd16fee --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0045_other_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0045_other_q1", + "instruction": "What is the value of B0?", + "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_insert/amCharts/other/chart_0045_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the value of B0?", + "expected": "314", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0045_pie_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0045_pie_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..e45cd6532355c6d87cc02f6a445a4e4d635dbe4d --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0045_pie_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0045_pie_q1", + "instruction": "Which activity has the largest value in the pie chart, and what is that 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_insert/AnyChart/pie/chart_0045_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which activity has the largest value in the pie chart, and what is that value?", + "expected": "Run, with a value of 18", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0045_scatter_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0045_scatter_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..3c368fc9ed0ff0a3e76980756ce45e43e8329fce --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0045_scatter_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0045_scatter_q3", + "instruction": "Among all data points in both bubble series, what is the maximum size?", + "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_insert/AnyChart/scatter/chart_0045_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Among all data points in both bubble series, what is the maximum size?", + "expected": "4", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0046_bar_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0046_bar_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..5355e509cebe065cab2f5f5016ef766418153fff --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0046_bar_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0046_bar_q1", + "instruction": "Which manager had the highest sales in 2016 and what was the 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_insert/AnyChart/bar/chart_0046_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which manager had the highest sales in 2016 and what was the value?", + "expected": "Peter had the highest sales in 2016 with 16500.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0046_bar_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0046_bar_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..19a973d22b9bf4f7958cfceae535cb45d5d981db --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0046_bar_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0046_bar_q2", + "instruction": "Which managers have 2015 sales equal to 10000?", + "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_insert/AnyChart/bar/chart_0046_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which managers have 2015 sales equal to 10000?", + "expected": "John and James.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0046_box_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0046_box_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..28cfce906cc74f4b62df9cfd9206e3aa89f8c8af --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0046_box_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0046_box_q1", + "instruction": "For the 'No' smoker group, what are the minimum and maximum total_bill values shown in the chart?", + "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_insert/Plotly/box/chart_0046_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "For the 'No' smoker group, what are the minimum and maximum total_bill values shown in the chart?", + "expected": "The minimum total_bill is 7.25 and the maximum total_bill is 48.33 for the 'No' smoker group.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0046_box_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0046_box_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..37d3a1878c907f44e185205f3d8f5d8a779848d7 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0046_box_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0046_box_q2", + "instruction": "For the 'No' smoker group, which time categories appear on the x-axis in the chart?", + "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_insert/Plotly/box/chart_0046_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "For the 'No' smoker group, which time categories appear on the x-axis in the chart?", + "expected": "The 'No' smoker group has data for two time categories on the x-axis: Lunch and Dinner.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0046_other_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0046_other_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..6d61ea126a4c25d7c6b375d58102a221ffb063e1 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0046_other_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0046_other_q1", + "instruction": "What is the value of C2B1?", + "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_insert/amCharts/other/chart_0046_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the value of C2B1?", + "expected": "159", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0046_pie_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0046_pie_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..0d89d0f55845a11016cac30ca786728b512c57ce --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0046_pie_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0046_pie_q1", + "instruction": "Which category has the largest value in the 3D doughnut chart, and what is that 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_insert/AnyChart/pie/chart_0046_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which category has the largest value in the 3D doughnut chart, and what is that value?", + "expected": "Category B, with a value of 721630.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0046_pie_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0046_pie_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..7a2e8f14c8d93e6482753b9436de0d27029421a8 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0046_pie_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0046_pie_q2", + "instruction": "By how much does the value of category B exceed the value of category E?", + "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_insert/AnyChart/pie/chart_0046_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "By how much does the value of category B exceed the value of category E?", + "expected": "631630.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0046_scatter_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0046_scatter_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..633264d8127ec726e9c51d69e93f172ccd3b671e --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0046_scatter_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0046_scatter_q2", + "instruction": "How many data points are there in total in the bubble series of this bubble chart?", + "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_insert/AnyChart/scatter/chart_0046_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "How many data points are there in total in the bubble series of this bubble chart?", + "expected": "4", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0046_scatter_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0046_scatter_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..ac62dea50e0a5f6b6fc6545e3037d2fe4e24efee --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0046_scatter_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0046_scatter_q3", + "instruction": "Which bubble has the largest size 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_insert/AnyChart/scatter/chart_0046_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which bubble has the largest size value?", + "expected": "Bubble 2 (x=2) has the largest size, which is 6.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0047_bar_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0047_bar_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..2684a75697fa12e803534baec686923c2e069856 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0047_bar_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0047_bar_q1", + "instruction": "Which manager has the highest sales value, and what is that 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_insert/AnyChart/bar/chart_0047_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which manager has the highest sales value, and what is that value?", + "expected": "Peter, 13000", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0047_bar_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0047_bar_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..26a554d57d89b006a6cb28de7329423a2893afcc --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0047_bar_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0047_bar_q3", + "instruction": "For which manager is an individual point style specified with the fill color \"#5cd65c\"?", + "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_insert/AnyChart/bar/chart_0047_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "For which manager is an individual point style specified with the fill color \"#5cd65c\"?", + "expected": "Peter", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0047_box_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0047_box_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..a85cf157d52f5f15c42c969c02308df8da2fe4c4 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0047_box_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0047_box_q1", + "instruction": "What is the maximum value in each of the two box plots, and which box plot has the higher maximum?", + "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_insert/Plotly/box/chart_0047_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the maximum value in each of the two box plots, and which box plot has the higher maximum?", + "expected": "The first box plot has a maximum value of 1.100255, the second has a maximum of 3.185575, and the second box plot has the higher maximum.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0047_box_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0047_box_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..3475d69c1046d77f97555ef7d4ecd023091dd28f --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0047_box_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0047_box_q3", + "instruction": "Which of the two box plots has a higher median 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_insert/Plotly/box/chart_0047_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which of the two box plots has a higher median value?", + "expected": "The second box plot has a higher median value.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0047_heatmap_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0047_heatmap_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..d2fc410adaac402bd42a1c103f298374474c0e26 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0047_heatmap_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0047_heatmap_q2", + "instruction": "Over what x-axis range are the histogram bins defined in this heatmap?", + "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_insert/Plotly/heatmap/chart_0047_heatmap.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Over what x-axis range are the histogram bins defined in this heatmap?", + "expected": "The x-axis bins range from -3 to 3.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0047_line_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0047_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..c244c628fec96328ff4647fd508f467f92155b22 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0047_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0047_line_q1", + "instruction": "What is the maximum value of the 'Solid Color with Opacity' series among all points P1 to P5?", + "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_insert/AnyChart/line/chart_0047_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the maximum value of the 'Solid Color with Opacity' series among all points P1 to P5?", + "expected": "6.8", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0047_other_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0047_other_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..389ea377cbf82b90a2936197df70569bfec4fe04 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0047_other_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0047_other_q1", + "instruction": "What is the name assigned to the top-level root node in the hierarchy partition chart?", + "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_insert/amCharts/other/chart_0047_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the name assigned to the top-level root node in the hierarchy partition chart?", + "expected": "The top-level root node is named \"Root\".", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0047_other_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0047_other_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..f114707211f8e7b3082aec629b957956b81b4dcc --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0047_other_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0047_other_q2", + "instruction": "Is the partition chart oriented vertically or horizontally?", + "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_insert/amCharts/other/chart_0047_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Is the partition chart oriented vertically or horizontally?", + "expected": "The partition chart is oriented vertically.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0047_pie_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0047_pie_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..eb400d568d8a94f4cd119dc5e08fe862b08371ab --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0047_pie_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0047_pie_q1", + "instruction": "Which activity has the smallest value and what is that 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_insert/AnyChart/pie/chart_0047_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which activity has the smallest value and what is that value?", + "expected": "Run, with a value of 8", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0047_pie_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0047_pie_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..47a4412261bb4361a81befa026d16a4c56f2de1c --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0047_pie_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0047_pie_q2", + "instruction": "How many activities have a value of 12?", + "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_insert/AnyChart/pie/chart_0047_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "How many activities have a value of 12?", + "expected": "2", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0047_scatter_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0047_scatter_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..4359e09f1029a701fce046ddca9b9bb05c40e593 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0047_scatter_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0047_scatter_q3", + "instruction": "Among the four added remix data points ('Flash Trend Remix', 'Classic Viral Remix', 'Sketch Blast Remix', 'Kids Mega Hit Remix'), which one has the highest views value and what is that 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_insert/AnyChart/scatter/chart_0047_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Among the four added remix data points ('Flash Trend Remix', 'Classic Viral Remix', 'Sketch Blast Remix', 'Kids Mega Hit Remix'), which one has the highest views value and what is that value?", + "expected": "Kids Mega Hit Remix with 14300000000 views", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0048_bar_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0048_bar_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..7fcef4539290c3a39ec75cecf71c7b4197a4c293 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0048_bar_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0048_bar_q1", + "instruction": "Which manager achieved the highest sales in 2016, and what was that amount?", + "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_insert/AnyChart/bar/chart_0048_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which manager achieved the highest sales in 2016, and what was that amount?", + "expected": "Peter with 16500", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0048_bar_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0048_bar_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..78fc0e4a43cfbab630688af3215776542c9c4191 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0048_bar_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0048_bar_q2", + "instruction": "Whose sales in 2015 were the lowest among all managers shown?", + "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_insert/AnyChart/bar/chart_0048_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Whose sales in 2015 were the lowest among all managers shown?", + "expected": "Mary with 9000", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0048_box_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0048_box_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..49b16c4d0dc3bb612decf30cd87e69259b874b5f --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0048_box_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0048_box_q3", + "instruction": "Which of the two box plots contains negative x values?", + "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_insert/Plotly/box/chart_0048_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which of the two box plots contains negative x values?", + "expected": "Only the first box plot contains negative x values; the second box plot has only positive x values.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0048_heatmap_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0048_heatmap_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..b2c75053e10499fe38bdbc60e755537c5da73814 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0048_heatmap_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0048_heatmap_q2", + "instruction": "In the top-right heatmap (using xaxis2 \"x2\" and yaxis2 \"y2\"), which coordinate has more data points, (5,5) or (4,4), and by how many?", + "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_insert/Plotly/heatmap/chart_0048_heatmap.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In the top-right heatmap (using xaxis2 \"x2\" and yaxis2 \"y2\"), which coordinate has more data points, (5,5) or (4,4), and by how many?", + "expected": "Coordinate (5,5) has more data points than (4,4) by 2 data points (3 at (5,5) versus 1 at (4,4)).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0048_line_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0048_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..213b9b7bfffaf5d3ad61368ac4ab179578d7a126 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0048_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0048_line_q1", + "instruction": "In which month does the line chart reach its highest value, and what is that 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_insert/AnyChart/line/chart_0048_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In which month does the line chart reach its highest value, and what is that value?", + "expected": "April, with a value of 9", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0048_other_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0048_other_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..496072eff496fff0af70a9ea69e7964da0f1d9c2 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0048_other_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0048_other_q1", + "instruction": "According to the chart configuration, what is the name of the root node in the sunburst hierarchy?", + "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_insert/amCharts/other/chart_0048_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "According to the chart configuration, what is the name of the root node in the sunburst hierarchy?", + "expected": "Root", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0048_pie_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0048_pie_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..7ba43030a37ad3ec34e8b897eb70da9ff0fcdcf0 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0048_pie_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0048_pie_q1", + "instruction": "In this pie chart, which browser has the largest value, and what is that 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_insert/AnyChart/pie/chart_0048_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In this pie chart, which browser has the largest value, and what is that value?", + "expected": "Chrome, 59.2", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0048_scatter_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0048_scatter_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..a8ea8c077a3dd56c2c55bc4a42da46202d1f9330 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0048_scatter_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0048_scatter_q1", + "instruction": "How many data points are plotted in this scatter bubble chart in total?", + "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_insert/AnyChart/scatter/chart_0048_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "How many data points are plotted in this scatter bubble chart in total?", + "expected": "A total of 18 data points are plotted.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0048_scatter_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0048_scatter_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..926b871c69c9da6d2f7f06d0325b8afff40c7c3b --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0048_scatter_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0048_scatter_q2", + "instruction": "What is the x-axis range set to?", + "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_insert/AnyChart/scatter/chart_0048_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the x-axis range set to?", + "expected": "The x-axis range is set from 0 to 4.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0049_bar_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0049_bar_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..ea060d07d831bffe5c28868d68c8cabc66819663 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0049_bar_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0049_bar_q3", + "instruction": "How much higher are Jake’s sales than John’s sales?", + "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_insert/AnyChart/bar/chart_0049_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "How much higher are Jake’s sales than John’s sales?", + "expected": "Jake’s sales are 2000 higher than John’s.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0049_box_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0049_box_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..002f6f59958137be5a51e322f7b1768cc8b9bbdf --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0049_box_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0049_box_q1", + "instruction": "What is the maximum y value in the box plot data?", + "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_insert/Plotly/box/chart_0049_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the maximum y value in the box plot data?", + "expected": "The maximum y value is 21.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0049_box_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0049_box_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..9996c8d29f9de4a54f1d5b442a28e4aa4d3abf9c --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0049_box_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0049_box_q3", + "instruction": "What is the median of the y values shown in the chart?", + "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_insert/Plotly/box/chart_0049_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the median of the y values shown in the chart?", + "expected": "The median y value is 3.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0049_line_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0049_line_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..85d9a38af9ea113cab21b9d9c40d1c9954fc76a0 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0049_line_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0049_line_q3", + "instruction": "How many hours have support requests of 40 or more according to the data in the chart?", + "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_insert/AnyChart/line/chart_0049_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "How many hours have support requests of 40 or more according to the data in the chart?", + "expected": "7", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0049_other_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0049_other_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..aea97939d37005dcbf7c6a8eabd892718f3a396b --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0049_other_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0049_other_q2", + "instruction": "What is the value of B1A0B2?", + "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_insert/amCharts/other/chart_0049_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the value of B1A0B2?", + "expected": "71", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0049_pie_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0049_pie_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..de56cc2e4e6e4b1a053c6cbf8b67fb6e4eccbaa8 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0049_pie_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0049_pie_q1", + "instruction": "Which activity has the highest value in the pie chart, and what is that 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_insert/AnyChart/pie/chart_0049_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which activity has the highest value in the pie chart, and what is that value?", + "expected": "Run has the highest value, which is 18.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0049_pie_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0049_pie_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..51485439c3e0740016e5fe5c9eca34bfb9363a39 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0049_pie_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0049_pie_q2", + "instruction": "What is the total sum of all slice values in the pie chart?", + "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_insert/AnyChart/pie/chart_0049_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the total sum of all slice values in the pie chart?", + "expected": "60", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0050_bar_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0050_bar_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..c9b1c2279618b35b31443f43fb61fa84e351491b --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0050_bar_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0050_bar_q2", + "instruction": "Whose 2015 sales are higher, Mary or James, and by how much?", + "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_insert/AnyChart/bar/chart_0050_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Whose 2015 sales are higher, Mary or James, and by how much?", + "expected": "James’s 2015 sales are higher than Mary’s by 1000 (10000 vs 9000).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0050_box_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0050_box_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..af4a08a273a5077ca62a27dca40860bfbbf10c82 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0050_box_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0050_box_q2", + "instruction": "What is the minimum and maximum y-value used in the \"Inclusive Quartile Mode\" trace?", + "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_insert/Plotly/box/chart_0050_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the minimum and maximum y-value used in the \"Inclusive Quartile Mode\" trace?", + "expected": "The minimum y-value is 1 and the maximum y-value is 9.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0050_line_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0050_line_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..e58a60e4d9723cba02846e206cecb903ca3d2c11 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0050_line_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0050_line_q2", + "instruction": "In how many months is the 2016 temperature value higher than the 20-year average, and which months are they?", + "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_insert/AnyChart/line/chart_0050_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In how many months is the 2016 temperature value higher than the 20-year average, and which months are they?", + "expected": "In all 12 months—January through December, the 2016 value is higher than the 20-year average.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0050_other_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0050_other_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..3b3aa9b2a9eb9881d6c63fdb27477dd2601b66e7 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0050_other_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0050_other_q2", + "instruction": "What is the name of the root node in the treemap data hierarchy?", + "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_insert/amCharts/other/chart_0050_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the name of the root node in the treemap data hierarchy?", + "expected": "Root", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0050_pie_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0050_pie_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..32d6873516b63be99f2f135885945f800bc0f937 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0050_pie_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0050_pie_q1", + "instruction": "When viewing Efficiency, which year has the highest score for 'Effective regulation' and what is that score?", + "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_insert/AnyChart/pie/chart_0050_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "When viewing Efficiency, which year has the highest score for 'Effective regulation' and what is that score?", + "expected": "2018 has the highest 'Effective regulation' score, which is 5.0.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0050_pie_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0050_pie_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..b5f0593c9d272af9ce97b48ab31d8847f5a633cd --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0050_pie_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0050_pie_q3", + "instruction": "In the Alignment view, what is the score for 'Society' in 2015?", + "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_insert/AnyChart/pie/chart_0050_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In the Alignment view, what is the score for 'Society' in 2015?", + "expected": "The score for 'Society' in 2015 is 0.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0050_scatter_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0050_scatter_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..868de582bb12d5ff8889b0da7fc4be7e125c7f01 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0050_scatter_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0050_scatter_q1", + "instruction": "Across both Dataset 1 and Dataset 2, which dataset contains the bubble with the largest radius, and what is that radius?", + "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_insert/Chart.js/scatter/chart_0050_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Across both Dataset 1 and Dataset 2, which dataset contains the bubble with the largest radius, and what is that radius?", + "expected": "Dataset 1 contains the largest bubble, with a radius of about 14.47.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0050_scatter_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0050_scatter_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..b8bb4e0cb15770ee8459f9824493e69002aecc7b --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0050_scatter_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0050_scatter_q2", + "instruction": "Considering only bubbles with x-values greater than 50, which dataset has the higher average y-value, and what are the approximate averages for each?", + "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_insert/Chart.js/scatter/chart_0050_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Considering only bubbles with x-values greater than 50, which dataset has the higher average y-value, and what are the approximate averages for each?", + "expected": "Dataset 1 has the higher average y-value: about 66.7 for Dataset 1 versus about 55.6 for Dataset 2.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0050_scatter_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0050_scatter_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..3b978f97086a1c87f68515965287d93459af7c00 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0050_scatter_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0050_scatter_q3", + "instruction": "In Dataset 2, what is the approximate difference in y-value between the bubble with the largest x-value and the bubble with the smallest x-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_insert/Chart.js/scatter/chart_0050_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In Dataset 2, what is the approximate difference in y-value between the bubble with the largest x-value and the bubble with the smallest x-value?", + "expected": "The difference in y-value is about 62.09 units (89.52 minus 27.43).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0051_bar_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0051_bar_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..204bdb8c2b630aa5267ba2ba0b9a71f65ad3c6ba --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0051_bar_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0051_bar_q1", + "instruction": "Which manager has the highest sales in 2016, and what is that 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_insert/AnyChart/bar/chart_0051_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which manager has the highest sales in 2016, and what is that value?", + "expected": "Peter, 16500", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0051_bar_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0051_bar_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..63fdabfeca25dd08cddb5ab84bb6ca8162356a74 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0051_bar_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0051_bar_q2", + "instruction": "Which managers have the same sales value in 2015, and what is that 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_insert/AnyChart/bar/chart_0051_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which managers have the same sales value in 2015, and what is that value?", + "expected": "John and James, 10000", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0051_box_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0051_box_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..edf5921e7710b6811fcbaf2955ae1ff2f1edacc6 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0051_box_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0051_box_q1", + "instruction": "In the box plot, which sample has the lower minimum value, and what is that minimum?", + "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_insert/Plotly/box/chart_0051_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In the box plot, which sample has the lower minimum value, and what is that minimum?", + "expected": "Sample A has the lower minimum value, at -2.55299.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0051_box_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0051_box_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..8b0cfd3ef239494fe4f7330028f90ec389c9855f --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0051_box_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0051_box_q3", + "instruction": "Which sample contains more negative data values?", + "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_insert/Plotly/box/chart_0051_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which sample contains more negative data values?", + "expected": "Sample A contains more negative values.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0051_heatmap_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0051_heatmap_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..154e54e4b0ba8b6db42c8137967e4c6b3f1ff95c --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0051_heatmap_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0051_heatmap_q1", + "instruction": "What are the x-axis and y-axis titles of the main heatmap (joint distribution) in this chart?", + "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_insert/Plotly/heatmap/chart_0051_heatmap.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What are the x-axis and y-axis titles of the main heatmap (joint distribution) in this chart?", + "expected": "The x-axis title is \"total_bill\" and the y-axis title is \"tip\".", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0051_heatmap_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0051_heatmap_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..9927fbcccf9986c4cc95cf8923a8529525895630 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0051_heatmap_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0051_heatmap_q2", + "instruction": "Which variable, total_bill or tip, has the higher maximum value in the dataset, and what are the maxima for each?", + "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_insert/Plotly/heatmap/chart_0051_heatmap.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which variable, total_bill or tip, has the higher maximum value in the dataset, and what are the maxima for each?", + "expected": "total_bill has the higher maximum value: the maximum total_bill is 52.5, while the maximum tip is 10.5.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0051_line_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0051_line_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..21ff2a37d6dd93b9b7c7a383b8a3444d5db5e60e --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0051_line_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0051_line_q2", + "instruction": "In which years does the average height of female Martians reach its maximum in the data, and what is this maximum value in centimeters?", + "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_insert/AnyChart/line/chart_0051_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In which years does the average height of female Martians reach its maximum in the data, and what is this maximum value in centimeters?", + "expected": "It reaches the maximum value of 182 cm in 1980 and 2000.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0051_line_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0051_line_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..058be0a37d8bd3183a90dfc04c5467c0fd8784a0 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0051_line_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0051_line_q3", + "instruction": "From 1800 to 2000, by how many centimeters did the average height of male Martians increase in total?", + "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_insert/AnyChart/line/chart_0051_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "From 1800 to 2000, by how many centimeters did the average height of male Martians increase in total?", + "expected": "It increased by 18 cm.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0051_other_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0051_other_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..f35b09619678520c4246d37f39a703af98f9f02c --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0051_other_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0051_other_q2", + "instruction": "According to the chart data, how much larger is China's population than India's?", + "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_insert/amCharts/other/chart_0051_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "According to the chart data, how much larger is China's population than India's?", + "expected": "China’s population is 49,368,646 higher than India’s (1,373,540,000 minus 1,324,171,354).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0052_box_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0052_box_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..c0d767ad3403e208cc95c86d377e0539716bfba6 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0052_box_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0052_box_q2", + "instruction": "Which trace is configured to display both the mean and standard deviation?", + "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_insert/Plotly/box/chart_0052_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which trace is configured to display both the mean and standard deviation?", + "expected": "The 'Mean & SD' trace is configured to display both the mean and standard deviation.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0052_heatmap_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0052_heatmap_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..fbce396a9a53a4acb2a69613cc515832dbbe62c3 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0052_heatmap_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0052_heatmap_q1", + "instruction": "For Alaska, in which year does the dataset show the maximum value, and what is that 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_insert/AntV G2/heatmap/chart_0052_heatmap.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "For Alaska, in which year does the dataset show the maximum value, and what is that value?", + "expected": "Alaska reaches its maximum value in 1956, with a value of 1120.98.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0052_heatmap_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0052_heatmap_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..bf73fe4c7ad40585598fad3a7246464555a49f92 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0052_heatmap_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0052_heatmap_q2", + "instruction": "In 1954, among Alaska, Ala., and Ark., which state has the lowest value and what is that 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_insert/AntV G2/heatmap/chart_0052_heatmap.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In 1954, among Alaska, Ala., and Ark., which state has the lowest value and what is that value?", + "expected": "In 1954, Ark. has the lowest value, at 151.0380623.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0052_heatmap_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0052_heatmap_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..176fb7ed8d8b3aa8221712affede7cc1fc720841 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0052_heatmap_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0052_heatmap_q3", + "instruction": "For Ark., how much does the value change from 1949 to 1950, and is this an increase or a decrease?", + "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_insert/AntV G2/heatmap/chart_0052_heatmap.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "For Ark., how much does the value change from 1949 to 1950, and is this an increase or a decrease?", + "expected": "For Ark., the value decreases from 667.73 in 1949 to 91.14 in 1950, a decrease of 576.59", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0052_other_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0052_other_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..5dde974237c81a4ee0278d1ff8d2f41627fd6ac4 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0052_other_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0052_other_q1", + "instruction": "What value corresponds to the ‘male non-smoker’ option?", + "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_insert/Plotly/other/chart_0052_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What value corresponds to the ‘male non-smoker’ option?", + "expected": "1919.75", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0052_scatter_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0052_scatter_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..4679162fd50292f52f6e52c6ff3c39f86856d05d --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0052_scatter_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0052_scatter_q1", + "instruction": "Across both datasets, which point has the highest y-value, and what are its dataset label, x-value, and y-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_insert/Chart.js/scatter/chart_0052_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Across both datasets, which point has the highest y-value, and what are its dataset label, x-value, and y-value?", + "expected": "The highest y-value is in Dataset 2 at x = 41.43518519 with y = 99.45044582.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0052_scatter_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0052_scatter_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..5784281c4f279b7cdd2f7b42044c257c904c8fdc --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0052_scatter_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0052_scatter_q3", + "instruction": "In Dataset 2, what is the second-highest y-value, and what is the corresponding x-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_insert/Chart.js/scatter/chart_0052_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In Dataset 2, what is the second-highest y-value, and what is the corresponding x-value?", + "expected": "In Dataset 2, the second-highest y-value is 94.37585734 at x = 31.11368313.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0053_bar_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0053_bar_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..54afbf108287133a4aab1791402a54007d3c597d --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0053_bar_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0053_bar_q3", + "instruction": "For category E, what is the value of the third series?", + "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_insert/AnyChart/bar/chart_0053_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "For category E, what is the value of the third series?", + "expected": "15", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0053_box_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0053_box_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..04af038883e6ab59caaf551c14722b2404646827 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0053_box_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0053_box_q1", + "instruction": "What is the title of the chart shown in the page?", + "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_insert/Plotly/box/chart_0053_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the title of the chart shown in the page?", + "expected": "The title of the chart is \"Box Plot Styling Outliers\".", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0053_box_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0053_box_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..0ea0680d15c72b7b92e87c4a21d82ce3e976c967 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0053_box_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0053_box_q2", + "instruction": "What are the minimum and maximum y-values among the data points used in the box plots?", + "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_insert/Plotly/box/chart_0053_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What are the minimum and maximum y-values among the data points used in the box plots?", + "expected": "The minimum y-value is 0.75 and the maximum y-value is 23.25.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0053_line_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0053_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..cec5433d5fbfcded3ec83ef89a3a8fd860d1bc52 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0053_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0053_line_q1", + "instruction": "What is the maximum value in the first series, and in which month does it occur?", + "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_insert/AnyChart/line/chart_0053_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the maximum value in the first series, and in which month does it occur?", + "expected": "The maximum value in the first series is 8, and it occurs in April.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0053_other_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0053_other_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..6b275d7d0fab6ddd17eb21c26e2e6deaef264c5a --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0053_other_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0053_other_q1", + "instruction": "What is the average total bill for male smokers?", + "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_insert/Plotly/other/chart_0053_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the average total bill for male smokers?", + "expected": "22.2845", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0053_other_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0053_other_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..b3709715cfcf81a5a3a9595b2e1e804393b3e2b7 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0053_other_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0053_other_q2", + "instruction": "Between males and females among non-smokers, which gender has the higher average total bill?", + "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_insert/Plotly/other/chart_0053_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Between males and females among non-smokers, which gender has the higher average total bill?", + "expected": "Male", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0053_other_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0053_other_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..2105269fc5cba8b396412bdee3a9d68f795fc301 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0053_other_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0053_other_q3", + "instruction": "By gender and smoking status, which group in the chart has the lowest average total bill? What is it?", + "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_insert/Plotly/other/chart_0053_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "By gender and smoking status, which group in the chart has the lowest average total bill? What is it?", + "expected": "Female smokers, at 17.977.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0053_pie_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0053_pie_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..5f94adad3a13a222fe170eb2802a650117210400 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0053_pie_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0053_pie_q1", + "instruction": "Which color received the highest number of votes, and how many more votes is that than the color with the fewest votes?", + "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_insert/Chart.js/pie/chart_0053_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which color received the highest number of votes, and how many more votes is that than the color with the fewest votes?", + "expected": "Blue received the highest number of votes with 19, which is 17 more votes than Purple, the lowest, with 2.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0053_pie_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0053_pie_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..c9e01a92205a9777563c21ecdcc62245acc33758 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0053_pie_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0053_pie_q3", + "instruction": "Do Yellow and Orange combined have more or fewer votes than Green, and by how many votes?", + "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_insert/Chart.js/pie/chart_0053_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Do Yellow and Orange combined have more or fewer votes than Green, and by how many votes?", + "expected": "Yellow and Orange combined have more votes than Green by 1 vote (6 vs. 5).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0054_box_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0054_box_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..ef7edc7bca674e43345b5426ee04fd84e423d3eb --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0054_box_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0054_box_q1", + "instruction": "On day 1, which vegetables share the largest range of normalized moisture values, and what is that range?", + "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_insert/Plotly/box/chart_0054_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "On day 1, which vegetables share the largest range of normalized moisture values, and what is that range?", + "expected": "On day 1, kale and carrots share the largest range, each with a normalized moisture range of 0.8.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0054_box_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0054_box_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..f98728aca57d84bcdba98f469ee271ced2ed9e30 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0054_box_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0054_box_q2", + "instruction": "For radishes, by how much does the median normalized moisture increase from day 1 to day 2?", + "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_insert/Plotly/box/chart_0054_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "For radishes, by how much does the median normalized moisture increase from day 1 to day 2?", + "expected": "The median normalized moisture for radishes increases by 0.15, from 0.55 on day 1 to 0.70 on day 2.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0054_heatmap_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0054_heatmap_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..eb49dea5fb97f14d3069ef2fc0ee47f840e08425 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0054_heatmap_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0054_heatmap_q2", + "instruction": "Comparing the points (g = 285, l = 448) and (g = 284, l = 79), how much higher is the tmp value at (285, 448) than at (284, 79)?", + "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_insert/AntV G2/heatmap/chart_0054_heatmap.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Comparing the points (g = 285, l = 448) and (g = 284, l = 79), how much higher is the tmp value at (285, 448) than at (284, 79)?", + "expected": "The tmp at (285, 448) is higher by 324 (894 − 570 = 324).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0054_other_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0054_other_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..eae856c9ae8acbd4a8a10979b8461daef41347c8 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0054_other_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0054_other_q1", + "instruction": "Which individual in the chart has the highest value, and what is that 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_insert/Plotly/other/chart_0054_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which individual in the chart has the highest value, and what is that value?", + "expected": "Cain has the highest value, which is 14.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0054_other_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0054_other_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..c37f1b7bc071e50d1947c2caebe7e8942e9cdbff --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0054_other_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0054_other_q2", + "instruction": "What is the total value of all individuals whose parent is Eve (i.e., Cain, Seth, Abel, Awan, and Azura)?", + "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_insert/Plotly/other/chart_0054_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the total value of all individuals whose parent is Eve (i.e., Cain, Seth, Abel, Awan, and Azura)?", + "expected": "The total value is 42 (14 + 12 + 6 + 6 + 4).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0054_pie_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0054_pie_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..02b341fda26ea87395ba20137774c70c75ce9139 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0054_pie_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0054_pie_q1", + "instruction": "Which color segment has the largest value in the doughnut chart, and what is that 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_insert/Chart.js/pie/chart_0054_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which color segment has the largest value in the doughnut chart, and what is that value?", + "expected": "Yellow has the largest value, with 94.03420782.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0054_pie_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0054_pie_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..a369d7f8eb4cc7e3ae2598a0373810187d5f7060 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0054_pie_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0054_pie_q2", + "instruction": "By how much does the value for Red exceed the value for Blue?", + "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_insert/Chart.js/pie/chart_0054_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "By how much does the value for Red exceed the value for Blue?", + "expected": "Red exceeds Blue by 41.3340192 (65.11274005 − 23.77872085).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0054_pie_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0054_pie_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..06329b5a8f19d43b225bd78a78a47c002a2cc9b3 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0054_pie_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0054_pie_q3", + "instruction": "Approximately what percentage of the total does the Orange segment represent, rounded to one decimal place?", + "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_insert/Chart.js/pie/chart_0054_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Approximately what percentage of the total does the Orange segment represent, rounded to one decimal place?", + "expected": "Orange represents about 8.5% of the total.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0054_scatter_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0054_scatter_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..28876deb17f07c3a089886c0d1b3cd559f6d8a29 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0054_scatter_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0054_scatter_q1", + "instruction": "Across both Dataset 1 and Dataset 2, what is the highest y-value plotted, and at what x-coordinate and in which dataset does it occur?", + "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_insert/Chart.js/scatter/chart_0054_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Across both Dataset 1 and Dataset 2, what is the highest y-value plotted, and at what x-coordinate and in which dataset does it occur?", + "expected": "The highest y-value is 91.76611797, occurring at x = 58.36076818 in Dataset 2.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0054_scatter_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0054_scatter_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..3781ca006beee462a1f0b9b7ff8b485fdc6418ad --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0054_scatter_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0054_scatter_q2", + "instruction": "In Dataset 1, what are the coordinates of the point with the lowest y-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_insert/Chart.js/scatter/chart_0054_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In Dataset 1, what are the coordinates of the point with the lowest y-value?", + "expected": "The point in Dataset 1 with the lowest y-value has coordinates (x = 9.10665295, y = -72.30281207).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0054_scatter_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0054_scatter_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..02a29b0fcb6e630fa589a7aea1797519a8011fc8 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0054_scatter_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0054_scatter_q3", + "instruction": "Comparing Dataset 1 and Dataset 2, which dataset has more points in the upper-left quadrant (x < 0 and y > 0), and by how many points does it exceed the other?", + "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_insert/Chart.js/scatter/chart_0054_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Comparing Dataset 1 and Dataset 2, which dataset has more points in the upper-left quadrant (x < 0 and y > 0), and by how many points does it exceed the other?", + "expected": "Dataset 2 has more points in the upper-left quadrant, with 3 points versus 2 in Dataset 1, exceeding it by 1 point.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0055_box_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0055_box_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..726eeb1106b72652b081abb8b889c094d8305e37 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0055_box_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0055_box_q2", + "instruction": "On day 1, which vegetable reaches the highest normalized moisture, and what is that 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_insert/Plotly/box/chart_0055_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "On day 1, which vegetable reaches the highest normalized moisture, and what is that value?", + "expected": "On day 1, kale reaches the highest normalized moisture with a value of 1.0.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0055_heatmap_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0055_heatmap_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..53e2185a8c0f6dc0f774faf5740d50312939fcaf --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0055_heatmap_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0055_heatmap_q2", + "instruction": "Within the fifth row of the heatmap, what are the minimum and maximum salary values, and at which columns do they occur?", + "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_insert/AntV G2/heatmap/chart_0055_heatmap.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Within the fifth row of the heatmap, what are the minimum and maximum salary values, and at which columns do they occur?", + "expected": "In the fifth row, the minimum salary is 0 at column 13, and the maximum salary is 135096 at column 14.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0055_heatmap_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0055_heatmap_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..3f5c932acb4bec9dbe5e1f90a8d686e69d4cd22b --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0055_heatmap_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0055_heatmap_q3", + "instruction": "Across the entire heatmap, how many cells have a salary value of 0, and how many have salary values at or above 100000?", + "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_insert/AntV G2/heatmap/chart_0055_heatmap.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Across the entire heatmap, how many cells have a salary value of 0, and how many have salary values at or above 100000?", + "expected": "There are 3 cells with a salary of 0 and 13 cells with salaries at or above 100000.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0055_other_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0055_other_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..b50c7dbe81efcda555a8b1425889cbc19431ae1b --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0055_other_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0055_other_q1", + "instruction": "Among the four days Sun, Sat, Thur, and Fri, which day has the highest overall total_bill and what is that 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_insert/Plotly/other/chart_0055_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Among the four days Sun, Sat, Thur, and Fri, which day has the highest overall total_bill and what is that value?", + "expected": "Saturday has the highest overall total_bill with a value of 1778.40.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0055_pie_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0055_pie_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..774071d61aff13a8110a1fe4269f966b6dbd02be --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0055_pie_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0055_pie_q2", + "instruction": "Among Overall, Group A, Group B, and Group C, which has the highest Yay value and what is that 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_insert/Chart.js/pie/chart_0055_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Among Overall, Group A, Group B, and Group C, which has the highest Yay value and what is that value?", + "expected": "Group A has the highest Yay value, which is 33.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0055_pie_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0055_pie_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..7d4e967df0ae3ca832d20ead82b15cac2d6a8fbd --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0055_pie_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0055_pie_q3", + "instruction": "By how many points does Group C Nay exceed Overall Nay?", + "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_insert/Chart.js/pie/chart_0055_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "By how many points does Group C Nay exceed Overall Nay?", + "expected": "Group C Nay exceeds Overall Nay by 11 points (90 minus 79).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0055_scatter_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0055_scatter_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..1e6ed4b8b0ce0e071f004dbce3bd0c537d501662 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0055_scatter_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0055_scatter_q3", + "instruction": "Comparing the two datasets, which dataset has more bubbles with positive y-values (y>0), and by how many bubbles does it exceed the other?", + "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_insert/Chart.js/scatter/chart_0055_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Comparing the two datasets, which dataset has more bubbles with positive y-values (y>0), and by how many bubbles does it exceed the other?", + "expected": "The dataset A has more bubbles with y>0: it has 8 such bubbles versus 5 in the dataset B, exceeding it by 3 bubbles.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0056_bar_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0056_bar_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..f7cd46d42702c1b32946443197c10eb55cd2da18 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0056_bar_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0056_bar_q1", + "instruction": "In which month does the series 'Cladire Principala' reach its maximum value, and what is that 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_insert/AnyChart/bar/chart_0056_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In which month does the series 'Cladire Principala' reach its maximum value, and what is that value?", + "expected": "In August, with a value of 22998 kw.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0056_box_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0056_box_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..faec83cb250a331e65c360f1139a3a51484fa71d --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0056_box_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0056_box_q2", + "instruction": "What is the minimum y-value across all box plots, and in which box plot (by position from the left) does it occur?", + "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_insert/Plotly/box/chart_0056_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the minimum y-value across all box plots, and in which box plot (by position from the left) does it occur?", + "expected": "The minimum y-value is 0.4395644, and it occurs in the second box plot from the left.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0056_box_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0056_box_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..290b326ccfac4118177a4527f5f25807259fec42 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0056_box_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0056_box_q3", + "instruction": "Comparing the first (leftmost) and last (rightmost) box plots, which has the larger y-range (max minus min), and what are the two ranges?", + "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_insert/Plotly/box/chart_0056_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Comparing the first (leftmost) and last (rightmost) box plots, which has the larger y-range (max minus min), and what are the two ranges?", + "expected": "The first box plot has the larger y-range. Its range is 1.160443, while the last box plot’s range is 0.877472.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0056_heatmap_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0056_heatmap_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..c19e4a2172b28fb6e9b151c6da0b1f96439edf1b --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0056_heatmap_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0056_heatmap_q3", + "instruction": "In the third row of the heatmap (y = 3), what is the highest salary value, and at which x-position (column) does it occur?", + "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_insert/AntV G2/heatmap/chart_0056_heatmap.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In the third row of the heatmap (y = 3), what is the highest salary value, and at which x-position (column) does it occur?", + "expected": "The highest salary in the third row is 225786, occurring at x = 6.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0056_line_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0056_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..4bc393692e02bbcfcc16e67e8c38127fda037a69 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0056_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0056_line_q1", + "instruction": "At 15:16:00 on April 16, 2021, what is the corresponding data value on the chart?", + "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_insert/Chart.js/line/chart_0056_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "At 15:16:00 on April 16, 2021, what is the corresponding data value on the chart?", + "expected": "0.771", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0056_other_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0056_other_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..c02ec45f70cff39d7afe02bdcb62c095bfd7fd23 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0056_other_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0056_other_q1", + "instruction": "According to the chart data, which country has the highest life expectancy, and what is its 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_insert/Plotly/other/chart_0056_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "According to the chart data, which country has the highest life expectancy, and what is its value?", + "expected": "Japan has the highest life expectancy, at 82.603 years.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0056_other_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0056_other_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..a8cbb25c56090fe85b7c04cf55b3eccbba469207 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0056_other_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0056_other_q3", + "instruction": "What is the average life expectancy of Canada, the United States, and Mexico based on the chart data?", + "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_insert/Plotly/other/chart_0056_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the average life expectancy of Canada, the United States, and Mexico based on the chart data?", + "expected": "The average life expectancy of Canada (80.653), the United States (78.242), and Mexico (76.195) is approximately 78.36 years.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0056_pie_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0056_pie_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..d96f7099e2256db3f295fb37b3ce1e47c1115a70 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0056_pie_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0056_pie_q1", + "instruction": "Which category has the smallest value in the pie chart, and what is that 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_insert/Chart.js/pie/chart_0056_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which category has the smallest value in the pie chart, and what is that value?", + "expected": "Green has the smallest value, at 41.31472908.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0056_pie_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0056_pie_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..57120f6a05e6100b9c97e1bddfef54a7fbdf3226 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0056_pie_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0056_pie_q2", + "instruction": "By how much does the value for Blue exceed the value for Green?", + "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_insert/Chart.js/pie/chart_0056_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "By how much does the value for Blue exceed the value for Green?", + "expected": "Blue exceeds Green by 43.11299726.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0056_scatter_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0056_scatter_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..d244466729336336b60e33e2a989ce4619f5410c --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0056_scatter_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0056_scatter_q1", + "instruction": "Among Afghanistan, Bangladesh, and China in this chart, which country has the highest population value and what is that 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_insert/amCharts/scatter/chart_0056_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Among Afghanistan, Bangladesh, and China in this chart, which country has the highest population value and what is that value?", + "expected": "China has the highest population value at 1,347,565,324.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0056_scatter_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0056_scatter_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..baf3ccc31933def1bf4ccd5e7d818a23c2563e54 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0056_scatter_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0056_scatter_q2", + "instruction": "According to the chart configuration, what tooltip text is shown when hovering over the bubble for Canada?", + "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_insert/amCharts/scatter/chart_0056_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "According to the chart configuration, what tooltip text is shown when hovering over the bubble for Canada?", + "expected": "The tooltip text for Canada is \"Canada: 34349561\".", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0056_scatter_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0056_scatter_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..9230a0a3e13b70ceade9445793c7db62f469b69a --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0056_scatter_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0056_scatter_q3", + "instruction": "Based on the heatRules that set bubble radius from the value field, is the bubble for Brazil larger in radius than the bubble for Albania, and why?", + "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_insert/amCharts/scatter/chart_0056_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Based on the heatRules that set bubble radius from the value field, is the bubble for Brazil larger in radius than the bubble for Albania, and why?", + "expected": "Yes, the bubble for Brazil is larger than Albania’s because the radius is scaled by the value field and Brazil’s value (196,655,014) is much greater than Albania’s (3,215,988).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0057_bar_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0057_bar_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..830d453b3b04adea36217924e3fae47e2ee19033 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0057_bar_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0057_bar_q3", + "instruction": "In which year does 'segment2 item2' have its lowest value across all years, and what is the corresponding value (unit: US$ Millions)?", + "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_insert/AnyChart/bar/chart_0057_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In which year does 'segment2 item2' have its lowest value across all years, and what is the corresponding value (unit: US$ Millions)?", + "expected": "The lowest value of 'segment2 item2' occurs in 2030, with a value of 13,757 US$ Millions.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0057_box_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0057_box_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..fcecf50c3e65dafd4b816c37ac992167ac3be9ae --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0057_box_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0057_box_q1", + "instruction": "Order all six players from highest to lowest based on their single-game maximum points, including the maximum value for each.", + "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_insert/Plotly/box/chart_0057_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Order all six players from highest to lowest based on their single-game maximum points, including the maximum value for each.", + "expected": "From highest to lowest maximum single-game points: David West (67), Damian Lillard (64), Dwyane Wade (62), Deron Williams (59), Brook Lopez (55), Carmelo Anthony (52).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0057_box_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0057_box_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..ebc62e346ae8ef3a8722b3f5b9d6439f067be21c --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0057_box_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0057_box_q3", + "instruction": "Between Carmelo Anthony and Brook Lopez, who had the larger range of points (maximum minus minimum) across their games, and what were those ranges?", + "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_insert/Plotly/box/chart_0057_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Between Carmelo Anthony and Brook Lopez, who had the larger range of points (maximum minus minimum) across their games, and what were those ranges?", + "expected": "Carmelo Anthony had the larger range. His range was 48 points (52 − 4), while Brook Lopez’s range was 40 points (55 − 15).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0057_heatmap_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0057_heatmap_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..8d43f257ebcf076289128d5c8d0073c6a00d2ef6 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0057_heatmap_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0057_heatmap_q1", + "instruction": "What is the highest salary value shown in the heatmap?", + "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_insert/AntV G2/heatmap/chart_0057_heatmap.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the highest salary value shown in the heatmap?", + "expected": "The highest salary value is 300,577.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0057_heatmap_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0057_heatmap_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..d787e27f3f2ba1f81b154734ed83db70e0a064cb --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0057_heatmap_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0057_heatmap_q3", + "instruction": "Compare the average salary for rows 1 and 3. Which row has a higher average salary?", + "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_insert/AntV G2/heatmap/chart_0057_heatmap.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Compare the average salary for rows 1 and 3. Which row has a higher average salary?", + "expected": "Row 1 has a higher average salary.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0057_line_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0057_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..ad4d5083ccad89adc67e1546cc82f5c58f9331d9 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0057_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0057_line_q1", + "instruction": "In Dataset 1, which month has the highest value and what is that 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_insert/Chart.js/line/chart_0057_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In Dataset 1, which month has the highest value and what is that value?", + "expected": "May has the highest value in Dataset 1, with 85.49125514.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0057_line_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0057_line_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..0ff79a2a7fd9c2c90326f3acd48d59413023edb7 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0057_line_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0057_line_q2", + "instruction": "Across all months in Dataset 1, how many months have negative values and how many have positive values?", + "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_insert/Chart.js/line/chart_0057_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Across all months in Dataset 1, how many months have negative values and how many have positive values?", + "expected": "There are 3 months with negative values (January, February, April) and 4 months with positive values (March, May, June, July).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0057_other_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0057_other_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..4546c52ac71da6bf95bc65df810322fb335d5b9a --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0057_other_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0057_other_q1", + "instruction": "Between Male and Female overall, which group has the higher total_bill, and by how much?", + "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_insert/Plotly/other/chart_0057_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Between Male and Female overall, which group has the higher total_bill, and by how much?", + "expected": "Male has the higher total_bill. Male totals 3256.82, Female totals 1570.95, so Male is higher by 1685.87.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0057_pie_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0057_pie_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..b2e008ff373cffce4c037095b37dd5f83719af8c --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0057_pie_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0057_pie_q2", + "instruction": "By how much does the value for Green exceed the value for Blue?", + "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_insert/Chart.js/pie/chart_0057_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "By how much does the value for Green exceed the value for Blue?", + "expected": "Green exceeds Blue by 29.46930727.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0057_pie_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0057_pie_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..8d14feddf6aa787b971bee4745d38dcbf2d2612e --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0057_pie_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0057_pie_q3", + "instruction": "Which two colors have the closest values, and what is the difference between their values?", + "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_insert/Chart.js/pie/chart_0057_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which two colors have the closest values, and what is the difference between their values?", + "expected": "Red and Yellow have the closest values, differing by 0.83504801.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0057_scatter_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0057_scatter_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..6f55974bee5401b80cd51e754c34ce8dcfdc48e5 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0057_scatter_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0057_scatter_q1", + "instruction": "What is the label of the x-axis in this scatter chart?", + "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_insert/amCharts/scatter/chart_0057_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the label of the x-axis in this scatter chart?", + "expected": "The x-axis is labeled \"GDP per Capita, USD\".", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0057_scatter_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0057_scatter_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..0a065ea1b84c2c2b942a67b611d3907c43b28bf1 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0057_scatter_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0057_scatter_q2", + "instruction": "Among Australia, Austria, and Canada, which country has the highest life expectancy in the chart, and what is its 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_insert/amCharts/scatter/chart_0057_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Among Australia, Austria, and Canada, which country has the highest life expectancy in the chart, and what is its value?", + "expected": "Australia has the highest life expectancy at 82.4 years.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0058_bar_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0058_bar_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..75fa746032cc6314f2ebaf11aef0946e9b4e454b --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0058_bar_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0058_bar_q1", + "instruction": "In which month is the Incremental Cost Savings highest, and what is its 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_insert/AnyChart/bar/chart_0058_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In which month is the Incremental Cost Savings highest, and what is its value?", + "expected": "December 2022, 98,828", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0058_box_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0058_box_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..9a569904ee897174ccb79d05de8e5e27013b122e --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0058_box_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0058_box_q3", + "instruction": "Which region has the highest first quartile (q1)? What is the corresponding q1 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_insert/AntV G2/box/chart_0058_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which region has the highest first quartile (q1)? What is the corresponding q1 value?", + "expected": "North America has the highest first quartile, with q1 = 10.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0058_heatmap_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0058_heatmap_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..4f4af350eb418ee24ec99c7132fd8818680a6c05 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0058_heatmap_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0058_heatmap_q3", + "instruction": "Looking at the date 1, what is the value in the daily maximum temperature of New York?", + "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_insert/AntV G2/heatmap/chart_0058_heatmap.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Looking at the date 1, what is the value in the daily maximum temperature of New York?", + "expected": "4.15", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0058_line_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0058_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..301cdf10766705cc1204e55d3aaeb2ef537ba098 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0058_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0058_line_q1", + "instruction": "In which month is the difference between Dataset 2 and Dataset 1 the largest, and what is that difference (Dataset 2 minus Dataset 1)?", + "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_insert/Chart.js/line/chart_0058_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In which month is the difference between Dataset 2 and Dataset 1 the largest, and what is that difference (Dataset 2 minus Dataset 1)?", + "expected": "The largest difference occurs in February, where Dataset 2 exceeds Dataset 1 by approximately 171.9976 units.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0058_line_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0058_line_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..fc82d84d0359dfe7cae1380c7966ec247b0e1ce5 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0058_line_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0058_line_q2", + "instruction": "What is the data value of Dataset 1 in May?", + "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_insert/Chart.js/line/chart_0058_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the data value of Dataset 1 in May?", + "expected": "The value of Dataset 1 in May is 88.73628258.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0058_line_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0058_line_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..c0e7a479a6ad334bfefea67c223708121f9d87fd --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0058_line_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0058_line_q3", + "instruction": "Between which consecutive months does Dataset 1 have its greatest increase, and by approximately how much does it increase?", + "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_insert/Chart.js/line/chart_0058_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Between which consecutive months does Dataset 1 have its greatest increase, and by approximately how much does it increase?", + "expected": "Dataset 1 increases the most between April and May, by approximately 186.33 units.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0058_other_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0058_other_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..dbf7596a4726a8b15e54db8c7683a90dff520e12 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0058_other_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0058_other_q1", + "instruction": "For Female on Thursday, how does the total for Lunch compare to Dinner, and what is the difference in their totals?", + "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_insert/Plotly/other/chart_0058_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "For Female on Thursday, how does the total for Lunch compare to Dinner, and what is the difference in their totals?", + "expected": "Female on Thursday has 516.11 for Lunch and 18.78 for Dinner; Lunch is higher by 497.33.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0058_other_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0058_other_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..7672bf2cb46cff597892f2d92f128d6c2c8acd3c --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0058_other_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0058_other_q2", + "instruction": "Among all gender-day combinations for Dinner, which one has the highest total and what is that total?", + "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_insert/Plotly/other/chart_0058_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Among all gender-day combinations for Dinner, which one has the highest total and what is that total?", + "expected": "Male on Sunday at Dinner has the highest total, with 1269.46.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0058_pie_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0058_pie_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..2d090c707173251cf2d1a2c45cb9c7e3e0a3a1e1 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0058_pie_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0058_pie_q1", + "instruction": "Which category has the largest value, and what is that 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_insert/Chart.js/pie/chart_0058_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which category has the largest value, and what is that value?", + "expected": "Red has the largest value, approximately 81.06.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0058_pie_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0058_pie_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..6c31d6efa5785b96e5cf875ffee7eaf8c625367f --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0058_pie_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0058_pie_q2", + "instruction": "By how much does the value for Red exceed the value for Orange?", + "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_insert/Chart.js/pie/chart_0058_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "By how much does the value for Red exceed the value for Orange?", + "expected": "Red exceeds Orange by approximately 42.48 units.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0058_scatter_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0058_scatter_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..f9d90bd541c415029a6c2fbc950d933322638604 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0058_scatter_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0058_scatter_q1", + "instruction": "How many categories (name-based data points) are plotted in this scatter/dumbbell chart?", + "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_insert/amCharts/scatter/chart_0058_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "How many categories (name-based data points) are plotted in this scatter/dumbbell chart?", + "expected": "There are 29 categories (data points) plotted, one for each name in the names array.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0059_box_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0059_box_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..d262d48cd9407d3f8d72a0575f44edaf4d5bb398 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0059_box_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0059_box_q2", + "instruction": "Among the three species, which one has the largest interquartile range (q3 − q1) for PetalLength, and what is that IQR?", + "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_insert/AntV G2/box/chart_0059_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Among the three species, which one has the largest interquartile range (q3 − q1) for PetalLength, and what is that IQR?", + "expected": "I. virginica has the largest interquartile range for PetalLength, with an IQR of 0.8 (5.9 − 5.1).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0059_heatmap_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0059_heatmap_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..6845b413fa2ad9a96d56a263ae69154f5722a81a --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0059_heatmap_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0059_heatmap_q3", + "instruction": "What is the maximum temperatureoverall?", + "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_insert/AntV G2/heatmap/chart_0059_heatmap.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the maximum temperatureoverall?", + "expected": "35.6", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0059_line_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0059_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..cb9d3a2b69fd573d14c2c21751ad8a9ce1aa3f9b --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0059_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0059_line_q1", + "instruction": "For Dataset 1, in which month does it reach its highest value, and what is that 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_insert/Chart.js/line/chart_0059_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "For Dataset 1, in which month does it reach its highest value, and what is that value?", + "expected": "Dataset 1 reaches its highest value in February, with a value of 85.76903292.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0059_line_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0059_line_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..e5669359e4b8ca369c1bc031f6ae98b8e473d915 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0059_line_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0059_line_q2", + "instruction": "In July, which dataset has the larger value, and by how many units does it exceed the other?", + "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_insert/Chart.js/line/chart_0059_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In July, which dataset has the larger value, and by how many units does it exceed the other?", + "expected": "In July, Dataset 2 has the larger value, exceeding Dataset 1 by 99.26097394 units (62.45627572 minus -36.80469822).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0059_line_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0059_line_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..0ff7ba4798ef46a4cdddc865f4904bb28e32a2d9 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0059_line_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0059_line_q3", + "instruction": "By how much does Dataset 2 increase from March to July?", + "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_insert/Chart.js/line/chart_0059_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "By how much does Dataset 2 increase from March to July?", + "expected": "Dataset 2 increases by 123.91632373 units from March (-61.46004801) to July (62.45627572).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0059_other_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0059_other_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..360c9ec9cff2db452916d93e19efc08ef40569db --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0059_other_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0059_other_q1", + "instruction": "Among the Male entries for days of the week (Fri, Sat, Sun, Thur), which day has the highest total_bill value, and what is that 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_insert/Plotly/other/chart_0059_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Among the Male entries for days of the week (Fri, Sat, Sun, Thur), which day has the highest total_bill value, and what is that value?", + "expected": "Sunday has the highest total_bill for Males, with a value of 1269.46.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0059_other_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0059_other_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..15e38991863392949345d196349a524623e50d1d --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0059_other_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0059_other_q3", + "instruction": "Approximately what percentage of the total Female total_bill is contributed by Saturday (Female/Sat)?", + "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_insert/Plotly/other/chart_0059_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Approximately what percentage of the total Female total_bill is contributed by Saturday (Female/Sat)?", + "expected": "Saturday contributes about 35% of the total Female total_bill (551.05 out of 1570.95).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0059_pie_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0059_pie_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..53680dc0487bd5717bf9d04ea416abc460fcb147 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0059_pie_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0059_pie_q1", + "instruction": "Among the five data values shown in the pie chart, what are the largest (most positive) and smallest (most negative) values?", + "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_insert/Chart.js/pie/chart_0059_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Among the five data values shown in the pie chart, what are the largest (most positive) and smallest (most negative) values?", + "expected": "The largest value is 81.37431413 and the smallest value is -89.00805898.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0059_pie_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0059_pie_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..29cb76eba3ddfe23b8b2b47ccec768994a348c70 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0059_pie_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0059_pie_q2", + "instruction": "How many of the five data values in the pie chart are negative?", + "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_insert/Chart.js/pie/chart_0059_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "How many of the five data values in the pie chart are negative?", + "expected": "There are 2 negative values out of 5.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0059_scatter_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0059_scatter_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..0094f9cc2a27f2acda7ae8f28f1383bcc49926de --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0059_scatter_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0059_scatter_q2", + "instruction": "According to the 'continents' mapping in the chart code, how many continents are defined 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_insert/amCharts/scatter/chart_0059_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "According to the 'continents' mapping in the chart code, how many continents are defined and what are their names?", + "expected": "Seven continents are defined: Africa, Asia, Europe, North America, South America, Oceania, and Antarctica.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0059_scatter_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0059_scatter_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..8e359d9b926a61fdf688b1a25466586727f0668e --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0059_scatter_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0059_scatter_q3", + "instruction": "In the 'countries' data used by the motion chart, to which continent code is Brazil (BR) assigned?", + "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_insert/amCharts/scatter/chart_0059_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In the 'countries' data used by the motion chart, to which continent code is Brazil (BR) assigned?", + "expected": "Brazil (BR) is assigned to the continent code SA (South America).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0060_bar_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0060_bar_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..cfe83393452b8426a51b9c7ff36306dbf58e7806 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0060_bar_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0060_bar_q3", + "instruction": "Is the +25 bp parallel sensitivity (perPosAbs) for \"Mortgages (Managed Rate)\" higher or lower than for \"AFS-HTM securities\", and what are the values?", + "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_insert/AnyChart/bar/chart_0060_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Is the +25 bp parallel sensitivity (perPosAbs) for \"Mortgages (Managed Rate)\" higher or lower than for \"AFS-HTM securities\", and what are the values?", + "expected": "It is higher: 4.93 for Mortgages (Managed Rate) versus 2.71 for AFS-HTM securities.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0060_box_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0060_box_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..52c2ac2b319069d393d99db5cbffe60e9be27676 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0060_box_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0060_box_q2", + "instruction": "Which experiment has the highest median Speed, and how much higher is it than the median of Experiment 2?", + "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_insert/AntV G2/box/chart_0060_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which experiment has the highest median Speed, and how much higher is it than the median of Experiment 2?", + "expected": "Experiment 1 has the highest median Speed at 940, which is 95 higher than the median of Experiment 2 (845).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0060_box_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0060_box_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..99c0ad62b19410aa3e18b15129dadb039bfea5e7 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0060_box_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0060_box_q3", + "instruction": "Which experiment shows the smallest interquartile range (Q3 minus Q1) of Speed, and what is that range?", + "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_insert/AntV G2/box/chart_0060_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which experiment shows the smallest interquartile range (Q3 minus Q1) of Speed, and what is that range?", + "expected": "Experiment 3 has the smallest interquartile range, with Q3 − Q1 = 880 − 840 = 40.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0060_heatmap_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0060_heatmap_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..d1b24e37355f1c83ba0652713f5dd5295b054a43 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0060_heatmap_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0060_heatmap_q1", + "instruction": "In the repeat matrix heatmap, how many different numeric measurement variables are compared along the rows and columns?", + "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_insert/AntV G2/heatmap/chart_0060_heatmap.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In the repeat matrix heatmap, how many different numeric measurement variables are compared along the rows and columns?", + "expected": "Four numeric measurement variables are compared.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0060_line_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0060_line_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..219398e179bfb124a6b7da17e8477eade99757df --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0060_line_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0060_line_q2", + "instruction": "Is the y-value at x = 50 higher or lower than at x = 60 in series 1, and by how many units?", + "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_insert/Chart.js/line/chart_0060_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Is the y-value at x = 50 higher or lower than at x = 60 in series 1, and by how many units?", + "expected": "The y-value at x = 50 (106.9440586419753) is higher than at x = 60 (89.2048611111111) by 17.7391975308642 units.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0060_line_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0060_line_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..0e68dddfd9e2e79e19e7e9e6f090b03d40533d6a --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0060_line_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0060_line_q3", + "instruction": "For x = 230, 240, and 250, order their y-values from smallest to largest.", + "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_insert/Chart.js/line/chart_0060_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "For x = 230, 240, and 250, order their y-values from smallest to largest.", + "expected": "From smallest to largest y-value: x = 230 (42.40702160493831), x = 240 (49.51350308641978), x = 250 (53.679312414266136).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0060_other_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0060_other_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..4d45d061cbcba4e55cf62a26a70249d7c173fae1 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0060_other_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0060_other_q2", + "instruction": "Considering the region-category segments (Tech, Finance, Other within each region), which single segment has the highest sales value, and what is that 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_insert/Plotly/other/chart_0060_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Considering the region-category segments (Tech, Finance, Other within each region), which single segment has the highest sales value, and what is that value?", + "expected": "The North/Finance segment has the highest sales value, with 6 units.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0060_pie_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0060_pie_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..bfa61f69031ce77e3d0df7aa221a8190cac4abff --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0060_pie_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0060_pie_q2", + "instruction": "What is the difference between the data values for July and January?", + "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_insert/Chart.js/pie/chart_0060_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the difference between the data values for July and January?", + "expected": "The difference between July and January is 16.39403292 (76.10210905 − 59.70807613).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0060_pie_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0060_pie_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..f496765b5a51643dcb9d5560561a9c067b983295 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0060_pie_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0060_pie_q3", + "instruction": "How many months have data values greater than 50, and which months are they?", + "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_insert/Chart.js/pie/chart_0060_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "How many months have data values greater than 50, and which months are they?", + "expected": "Four months have data values greater than 50: January, March, April, and July.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0060_scatter_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0060_scatter_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..bb9c682f154f2e1b3da7d1c941e97de4657294a6 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0060_scatter_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0060_scatter_q1", + "instruction": "In series0 (the first series), which data point has the largest bubble value and what are its x, y, and value fields?", + "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_insert/amCharts/scatter/chart_0060_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In series0 (the first series), which data point has the largest bubble value and what are its x, y, and value fields?", + "expected": "The largest bubble value in series0 is 92 at x = -4 and y = 15.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0061_box_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0061_box_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..3be8c4a958e48f26ec6c32f551407ce8db68b9d0 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0061_box_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0061_box_q1", + "instruction": "Which experiment has the highest median speed in the boxplot, and what is that median speed?", + "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_insert/AntV G2/box/chart_0061_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which experiment has the highest median speed in the boxplot, and what is that median speed?", + "expected": "Experiment 1 has the highest median speed, which is 940.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0061_line_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0061_line_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..609b026a78bf66c4d26ec4e95e6ce95cdfaeac93 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0061_line_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0061_line_q2", + "instruction": "Between which two consecutive months does the dataset show the largest increase in value, and what is the size of this increase?", + "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_insert/Chart.js/line/chart_0061_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Between which two consecutive months does the dataset show the largest increase in value, and what is the size of this increase?", + "expected": "The largest increase is from May to June, with an increase of 141.27 units (from -68.67 to 72.6).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0061_other_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0061_other_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..d784348bf8f3c7a4dfff829ed0bf94ab63389c9c --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0061_other_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0061_other_q1", + "instruction": "How many direct child categories does 'North America' have in the sunburst hierarchy, and what are they?", + "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_insert/Plotly/other/chart_0061_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "How many direct child categories does 'North America' have in the sunburst hierarchy, and what are they?", + "expected": "'North America' has 3 direct child categories: 'Football', 'Soccer', and 'Rugby'.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0061_other_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0061_other_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..176a8f2810b0aac7ead9c7c0bdd221d1359a94c5 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0061_other_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0061_other_q2", + "instruction": "Between 'North America' and 'Europe', which region has more total descendant categories in the hierarchy, or do they have the same number?", + "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_insert/Plotly/other/chart_0061_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Between 'North America' and 'Europe', which region has more total descendant categories in the hierarchy, or do they have the same number?", + "expected": "They have the same number; both 'North America' and 'Europe' have 3 total descendant categories each.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0061_other_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0061_other_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..06ed32b49356a4ae039508fa55b23e2a7a2fff4b --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0061_other_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0061_other_q3", + "instruction": "Among the top-level regions 'North America', 'Europe', and 'Australia', which has the largest total number of descendant categories, and what is that number?", + "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_insert/Plotly/other/chart_0061_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Among the top-level regions 'North America', 'Europe', and 'Australia', which has the largest total number of descendant categories, and what is that number?", + "expected": "'Australia' has the largest total number of descendant categories, with 7 descendants under it.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0061_pie_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0061_pie_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..80ba2e46db34b89a6d586bf59533b66afbb5fdd0 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0061_pie_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0061_pie_q1", + "instruction": "Which country has the highest sales in the pie chart, and what is that percent?", + "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_insert/amCharts/pie/chart_0061_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which country has the highest sales in the pie chart, and what is that percent?", + "expected": "Spain has the highest sale, with 47.06%", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0061_scatter_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0061_scatter_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..e2dc56d182a10c0eefc0033612acc6363262837d --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0061_scatter_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0061_scatter_q2", + "instruction": "On Wednesday, at which hour does the value reach its maximum, and what is that 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_insert/amCharts/scatter/chart_0061_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "On Wednesday, at which hour does the value reach its maximum, and what is that value?", + "expected": "On Wednesday the maximum value is 12492 at 9am.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0062_box_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0062_box_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..a8841d7bf28f1184704500603a87439703b9e77e --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0062_box_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0062_box_q3", + "instruction": "What is the q3 value for FEMALE in Chinstrp?", + "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_insert/AntV G2/box/chart_0062_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the q3 value for FEMALE in Chinstrp?", + "expected": "195.5", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0062_line_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0062_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..1bc0d8a3c09380e67dcd8b2bf75ab3b465bfac0b --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0062_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0062_line_q1", + "instruction": "For dataset D3, in which month does it reach its highest value, and what is that 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_insert/Chart.js/line/chart_0062_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "For dataset D3, in which month does it reach its highest value, and what is that value?", + "expected": "Dataset D3 reaches its highest value in August, with a value of 78.94.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0062_line_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0062_line_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..8564c18754764c3de7da1c534493eb946c3db948 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0062_line_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0062_line_q3", + "instruction": "By how much does the value of dataset D9 change from January to August, and is this an increase or a decrease?", + "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_insert/Chart.js/line/chart_0062_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "By how much does the value of dataset D9 change from January to August, and is this an increase or a decrease?", + "expected": "Dataset D9 decreases by 11.33 units, from 62.30 in January to 50.97 in August.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0062_other_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0062_other_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..9eeed74b93bd2109cb7735bf52edf216da7f5aba --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0062_other_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0062_other_q2", + "instruction": "Comparing the values for Cain and Seth, which one is larger and by how much?", + "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_insert/Plotly/other/chart_0062_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Comparing the values for Cain and Seth, which one is larger and by how much?", + "expected": "Cain is larger than Seth by 2 (Cain has 14, Seth has 12).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0062_pie_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0062_pie_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..0ea9992ca18cb407332bdb305cc169a169a2813a --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0062_pie_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0062_pie_q1", + "instruction": "Which category has the largest value in the pie chart, and what is that 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_insert/amCharts/pie/chart_0062_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which category has the largest value in the pie chart, and what is that value?", + "expected": "Category \"One\" has the largest value, which is 26.32%.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0062_scatter_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0062_scatter_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..88259a86d8fd52f3c1fef4da4b2112f4dd27b851 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0062_scatter_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0062_scatter_q2", + "instruction": "On 2015-01-04, how do ay and by compare, and what is the difference between them?", + "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_insert/amCharts/scatter/chart_0062_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "On 2015-01-04, how do ay and by compare, and what is the difference between them?", + "expected": "On 2015-01-04, ay is 2.8 and by is 13.3, so by is higher by 10.5.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0063_bar_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0063_bar_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..f58fcc1e0e27cc45a4ff4ed2a078f7b076883ec6 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0063_bar_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0063_bar_q1", + "instruction": "In which month does Dataset 2 reach its lowest value, and what is that 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_insert/Chart.js/bar/chart_0063_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In which month does Dataset 2 reach its lowest value, and what is that value?", + "expected": "Dataset 2 reaches its lowest value in July, with a value of -97.2702332.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0063_bar_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0063_bar_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..604978c6444de1ed517812f764426d1474115640 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0063_bar_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0063_bar_q3", + "instruction": "What is the difference between the highest and lowest monthly values in Dataset 1?", + "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_insert/Chart.js/bar/chart_0063_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the difference between the highest and lowest monthly values in Dataset 1?", + "expected": "The difference between the highest value (90.24005487) and the lowest value (-61.15226337) in Dataset 1 is 151.39231824.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0063_box_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0063_box_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..c97faaa611a6f7eaf662310437bf0c946927795e --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0063_box_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0063_box_q3", + "instruction": "Comparing distances from the median, is the median Speed for Expt 1 closer to the minimum or to the maximum, and what are those distances?", + "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_insert/AntV G2/box/chart_0063_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Comparing distances from the median, is the median Speed for Expt 1 closer to the minimum or to the maximum, and what are those distances?", + "expected": "The median is closer to the maximum: it is 290 units above the minimum (940 − 650) and 130 units below the maximum (1070 − 940).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0063_line_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0063_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..ea1ef285d0380f6b72774134f0f0f1c376935f40 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0063_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0063_line_q1", + "instruction": "In Dataset 1, which month has the highest value and what is that 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_insert/Chart.js/line/chart_0063_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In Dataset 1, which month has the highest value and what is that value?", + "expected": "April has the highest value in Dataset 1, with 92.46.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0063_line_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0063_line_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..ad5c826b15c478d283eeb78e387a2dae4348f1a8 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0063_line_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0063_line_q2", + "instruction": "Across all months, in which month is the absolute difference between Dataset 1 and Dataset 2 the largest, and what is that difference?", + "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_insert/Chart.js/line/chart_0063_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Across all months, in which month is the absolute difference between Dataset 1 and Dataset 2 the largest, and what is that difference?", + "expected": "The largest absolute difference occurs in June, with a difference of 126.65.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0063_line_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0063_line_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..b6bb9219e957e03ae2c3ef941cd18b888ea657ef --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0063_line_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0063_line_q3", + "instruction": "In how many months does Dataset 1 have a higher value than Dataset 2, and which months are they?", + "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_insert/Chart.js/line/chart_0063_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In how many months does Dataset 1 have a higher value than Dataset 2, and which months are they?", + "expected": "Dataset 1 has a higher value than Dataset 2 in 6 months: February, March, April, June, July, and August.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0063_other_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0063_other_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..57fe88423b835867be6a3a46ab1229f0d529a25c --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0063_other_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0063_other_q1", + "instruction": "In the first sunburst chart, comparing the top-level nodes 'Aromas' and 'Tastes', which one has more immediate subcategories, and what are the counts for each?", + "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_insert/Plotly/other/chart_0063_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In the first sunburst chart, comparing the top-level nodes 'Aromas' and 'Tastes', which one has more immediate subcategories, and what are the counts for each?", + "expected": "'Tastes' has more immediate subcategories: 'Aromas' has 3 (Enzymatic, Sugar Browning, Dry Distillation), while 'Tastes' has 4 (Bitter, Salt, Sweet, Sour).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0063_other_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0063_other_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..93a88f0227b0aeb8ff8bf6b69860504c7db76149 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0063_other_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0063_other_q2", + "instruction": "In the first sunburst chart, under the taste category 'Salt', how many leaf-level descriptors are there in total (i.e., descriptors whose ancestry traces back to 'Salt'), 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_insert/Plotly/other/chart_0063_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In the first sunburst chart, under the taste category 'Salt', how many leaf-level descriptors are there in total (i.e., descriptors whose ancestry traces back to 'Salt'), and what are their names?", + "expected": "There are 4 leaf-level descriptors under 'Salt': Astringent, Rough, Neutral, and Soft.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0063_other_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0063_other_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..7ff57224275043958066f2becd7df97232208d7a --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0063_other_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0063_other_q3", + "instruction": "Which descriptor label appears both as a subcategory of 'Bitter' and as a subcategory of 'Spicy' in the first sunburst chart, and how many times does this label occur in the first chart?", + "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_insert/Plotly/other/chart_0063_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which descriptor label appears both as a subcategory of 'Bitter' and as a subcategory of 'Spicy' in the first sunburst chart, and how many times does this label occur in the first chart?", + "expected": "The descriptor label 'Pungent' appears as a subcategory of both 'Bitter' and 'Spicy', and it occurs 2 times in the labels list.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0063_pie_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0063_pie_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..73fd21abdacc494ed047c277b81c80c14a4e3d48 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0063_pie_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0063_pie_q1", + "instruction": "Which category has the largest value in the pie chart, and what is that 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_insert/amCharts/pie/chart_0063_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which category has the largest value in the pie chart, and what is that value?", + "expected": "The category \"One\" has the largest value, which is 26.32%.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0063_scatter_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0063_scatter_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..4fd7ea3b51090c0c0af446c5aab840006374dc12 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0063_scatter_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0063_scatter_q1", + "instruction": "What minimum and maximum values are set for both the x-axis and the y-axis in this chart?", + "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_insert/amCharts/scatter/chart_0063_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What minimum and maximum values are set for both the x-axis and the y-axis in this chart?", + "expected": "Both the x-axis and the y-axis have min = -100 and max = 100.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0063_scatter_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0063_scatter_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..8dcc61f3ec5a2d3491cae82e183f7ab790c13e82 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0063_scatter_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0063_scatter_q2", + "instruction": "Across what year range is data generated, and how many data points are created for each year?", + "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_insert/amCharts/scatter/chart_0063_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Across what year range is data generated, and how many data points are created for each year?", + "expected": "Data is generated from 1950 to 2022 inclusive, with 50 data points per year.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0064_bar_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0064_bar_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..e1b96c5f0f111a921160ea3a23e575a3c84da822 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0064_bar_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0064_bar_q1", + "instruction": "Across all three datasets and all months, which data point has the lowest value, and what are its dataset name, month, and 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_insert/Chart.js/bar/chart_0064_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Across all three datasets and all months, which data point has the lowest value, and what are its dataset name, month, and value?", + "expected": "The lowest value is −91.01251715 in Dataset 2 for January.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0064_bar_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0064_bar_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..27b73fda30b9df92a1e59a1ddecb95cd874fb993 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0064_bar_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0064_bar_q2", + "instruction": "In March, rank Dataset 1, Dataset 2, and Dataset 3 from highest to lowest 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_insert/Chart.js/bar/chart_0064_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In March, rank Dataset 1, Dataset 2, and Dataset 3 from highest to lowest value.", + "expected": "In March, from highest to lowest: Dataset 2 (68.88803155), Dataset 3 (40.57698903), Dataset 1 (10.57355967).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0064_box_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0064_box_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..1756fde2b5eab70b21d1fc0c18554e847cd18093 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0064_box_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0064_box_q2", + "instruction": "Which region has the largest interquartile range (q3 minus q1), and what is the value of that range?", + "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_insert/AntV G2/box/chart_0064_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which region has the largest interquartile range (q3 minus q1), and what is the value of that range?", + "expected": "North America has the largest interquartile range, with q3 − q1 = 28 − 10 = 18.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0064_box_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0064_box_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..00a54bccd7e5c1d71cc180a2de26d24e8d197dda --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0064_box_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0064_box_q3", + "instruction": "How many regions have a minimum y value of 1, and which regions are they?", + "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_insert/AntV G2/box/chart_0064_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "How many regions have a minimum y value of 1, and which regions are they?", + "expected": "Six regions have a minimum y value of 1: Oceania, East Europe, Australia, North Africa, West Europe, and West Africa.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0064_line_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0064_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..043fbbfd6a6a420d4920bf6d981d998c2a0fec90 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0064_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0064_line_q1", + "instruction": "For 'My Second dataset', in which month does it reach its minimum value, and what is that 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_insert/Chart.js/line/chart_0064_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "For 'My Second dataset', in which month does it reach its minimum value, and what is that value?", + "expected": "It reaches its minimum value in February, with a value of -80.91135117.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0064_line_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0064_line_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..33d33bc9bd39b46c30bd9a06e6b172bbc5c0c32f --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0064_line_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0064_line_q3", + "instruction": "In April, which dataset has the larger value between 'My Third dataset' and 'My Fourth dataset', and by how much?", + "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_insert/Chart.js/line/chart_0064_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In April, which dataset has the larger value between 'My Third dataset' and 'My Fourth dataset', and by how much?", + "expected": "'My Fourth dataset' is larger than 'My Third dataset' in April by about 1.32 units.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0064_other_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0064_other_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..fd9f52efdcd27378415da22b047c2eedcaa483be --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0064_other_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0064_other_q3", + "instruction": "How many top-level categories are there in the sunburst chart?", + "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_insert/Plotly/other/chart_0064_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "How many top-level categories are there in the sunburst chart?", + "expected": "17", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0064_pie_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0064_pie_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..4693cb62b94cf36b8c59f78be4a8135ce29c611b --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0064_pie_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0064_pie_q1", + "instruction": "Which category has the highest value in the pie chart?", + "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_insert/amCharts/pie/chart_0064_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which category has the highest value in the pie chart?", + "expected": "Category \"One\" has the highest value, which is 27.03%.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0064_scatter_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0064_scatter_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..e77dbe5a05b1170015df2be9515b435209398a31 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0064_scatter_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0064_scatter_q3", + "instruction": "How many data points in the chart have negative y-values?", + "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_insert/amCharts/scatter/chart_0064_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "How many data points in the chart have negative y-values?", + "expected": "There are 2 data points with negative y-values.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0065_bar_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0065_bar_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..0e51c78b0584755303da5731b314de3ba844de03 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0065_bar_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0065_bar_q1", + "instruction": "Across both datasets and all months, which data point has the lowest value, and what are its dataset, month, and 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_insert/Chart.js/bar/chart_0065_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Across both datasets and all months, which data point has the lowest value, and what are its dataset, month, and value?", + "expected": "The lowest value is −96.92815501 in the Fully Rounded dataset for March.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0065_bar_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0065_bar_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..c671a9b7f859fc86d09150ab3cfc06708448e94b --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0065_bar_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0065_bar_q2", + "instruction": "In May, what is the numerical difference between the Small Radius value and the Fully Rounded value (Small Radius minus Fully Rounded)?", + "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_insert/Chart.js/bar/chart_0065_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In May, what is the numerical difference between the Small Radius value and the Fully Rounded value (Small Radius minus Fully Rounded)?", + "expected": "In May, the difference is 155.63957476 (90.21690672 − (−65.42266804)).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0065_box_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0065_box_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..79b142c31c8b18377fe0df5a5705a23bde28e531 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0065_box_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0065_box_q3", + "instruction": "Looking at the first two occurrences where x is 'SepalLength' in the raw data, by how much does y change from the q2 to q1?", + "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_insert/AntV G2/box/chart_0065_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Looking at the first two occurrences where x is 'SepalLength' in the raw data, by how much does y change from the q2 to q1?", + "expected": "y decreases by 0.7", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0065_line_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0065_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..3810a3362f8ce17fc2b6e6c22990466186bf9c7f --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0065_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0065_line_q1", + "instruction": "Considering both datasets, during which month is the absolute difference between their values the greatest, and what is that difference (approximately)?", + "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_insert/Chart.js/line/chart_0065_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Considering both datasets, during which month is the absolute difference between their values the greatest, and what is that difference (approximately)?", + "expected": "The greatest absolute difference occurs in January, at about 80.96 units.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0065_line_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0065_line_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..b97be95dcf0a2c9db71b508dcd9cc991cb12f11d --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0065_line_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0065_line_q2", + "instruction": "For the dataset whose value in January is 94.23868313, what are its values in January and July, and by how much does it decrease over this period?", + "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_insert/Chart.js/line/chart_0065_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "For the dataset whose value in January is 94.23868313, what are its values in January and July, and by how much does it decrease over this period?", + "expected": "It goes from 94.23868313 in January to 20.81790123 in July, a decrease of about 73.42 units.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0065_line_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0065_line_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..72bec6366d8d3c6a3e0cd9627adbea9f6bab090e --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0065_line_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0065_line_q3", + "instruction": "For the dataset whose value in January is 13.28103567, in which month does it reach its highest value, and what is that 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_insert/Chart.js/line/chart_0065_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "For the dataset whose value in January is 13.28103567, in which month does it reach its highest value, and what is that value?", + "expected": "It reaches its highest value in July, at 92.32938957.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0065_other_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0065_other_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..f2664fd65c0c4ddf00362a4736cab05665d553b2 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0065_other_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0065_other_q2", + "instruction": "Within the 'Dry Distillation-Carbony' branch, how many distinct final flavor descriptors (leaf nodes) are present?", + "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_insert/Plotly/other/chart_0065_other.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Within the 'Dry Distillation-Carbony' branch, how many distinct final flavor descriptors (leaf nodes) are present?", + "expected": "There are 4 final flavor descriptors under 'Dry Distillation-Carbony': Tarry, Pipe Tobacco, Burnt, and Charred.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0065_pie_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0065_pie_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..134dca9a9b8e0f8e3e5f9d9bb89d88e4e149b7f3 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0065_pie_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0065_pie_q1", + "instruction": "In the first pie chart, which category has the highest value and what is that 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_insert/amCharts/pie/chart_0065_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In the first pie chart, which category has the highest value and what is that value?", + "expected": "In the first pie chart, Lithuania has the highest value with 501.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0065_pie_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0065_pie_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..f96da0f17347b1b02b85c49009b1c8493378765d --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0065_pie_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0065_pie_q2", + "instruction": "What are the values for Lithuania in the first and second pie charts, and by how much does the first exceed the second?", + "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_insert/amCharts/pie/chart_0065_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What are the values for Lithuania in the first and second pie charts, and by how much does the first exceed the second?", + "expected": "Lithuania has a value of 501 in the first pie chart and 201 in the second, so the first exceeds the second by 300.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0065_scatter_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0065_scatter_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..fa5e98fc08a597769d95a3ecfbe873b955601f4d --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0065_scatter_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0065_scatter_q2", + "instruction": "What value does the highest point represent?", + "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_insert/amCharts/scatter/chart_0065_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What value does the highest point represent?", + "expected": "0.4", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0066_bar_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0066_bar_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..0d54f7105b79874f91499e51a4b3791f872eabf9 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0066_bar_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0066_bar_q2", + "instruction": "For Dataset 2, in how many months do both endpoints of its floating bar lie above zero, and which months are these?", + "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_insert/Chart.js/bar/chart_0066_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "For Dataset 2, in how many months do both endpoints of its floating bar lie above zero, and which months are these?", + "expected": "In Dataset 2, both endpoints are above zero in 3 months: January, March, and April.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0066_bar_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0066_bar_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..233e2f025250dc65b7532d55d7e1aa1abc2be84e --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0066_bar_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0066_bar_q3", + "instruction": "In May, which dataset has the larger floating bar range, and by approximately how many units does it exceed the other dataset's range?", + "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_insert/Chart.js/bar/chart_0066_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In May, which dataset has the larger floating bar range, and by approximately how many units does it exceed the other dataset's range?", + "expected": "In May, Dataset 1 has the larger range (about 152.80 units), exceeding Dataset 2’s range (about 71.79 units) by roughly 81.01 units.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0066_box_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0066_box_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..f3ade5102b039b10a458e6971a85d9e0cb8ae864 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0066_box_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0066_box_q2", + "instruction": "Among the first three data entries where x is 'SepalWidth' (all with species 'I. setosa'), what is the largest max?", + "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_insert/AntV G2/box/chart_0066_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Among the first three data entries where x is 'SepalWidth' (all with species 'I. setosa'), what is the largest max?", + "expected": "4.4.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0066_line_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0066_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..ed368aa1fd5a7143d2ed8fdebfee3601f3920443 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0066_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0066_line_q1", + "instruction": "In Dataset 1, which month has the highest value and what is that 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_insert/Chart.js/line/chart_0066_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In Dataset 1, which month has the highest value and what is that value?", + "expected": "February has the highest value in Dataset 1, with 31.46176269.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0066_line_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0066_line_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..5600190e7389e1c2718b139f9b1d17df004fb7df --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0066_line_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0066_line_q3", + "instruction": "How many data points in Dataset 1 are negative?", + "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_insert/Chart.js/line/chart_0066_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "How many data points in Dataset 1 are negative?", + "expected": "Four data points are negative: January, April, June, and July.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0066_pie_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0066_pie_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..06f8421b1db03c0a3fd5000f71f7910afae0f5f5 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0066_pie_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0066_pie_q1", + "instruction": "Which category has the largest value in the Grainy Gradient Pie chart, and what is that percent?", + "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_insert/amCharts/pie/chart_0066_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which category has the largest value in the Grainy Gradient Pie chart, and what is that percent?", + "expected": "Lithuania has the largest value, which is 45.45%.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0066_scatter_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0066_scatter_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..5afbdc993f859def299430e5bf533ab82e450066 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0066_scatter_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0066_scatter_q1", + "instruction": "In the first data series (using fields ax and ay), what is the minimum y-value and at which x-value does it occur?", + "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_insert/amCharts/scatter/chart_0066_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In the first data series (using fields ax and ay), what is the minimum y-value and at which x-value does it occur?", + "expected": "The minimum y-value in the first series is 0.5, occurring at x = 1.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0066_scatter_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0066_scatter_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..946f5031f91d52af1a112faa5f48e7b3480b9a2b --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0066_scatter_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0066_scatter_q3", + "instruction": "Comparing the two trend lines, which one has the steeper positive slope: the trend line from (1, 2) to (12, 11) or the trend line from (1, 1) to (12, 19)?", + "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_insert/amCharts/scatter/chart_0066_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Comparing the two trend lines, which one has the steeper positive slope: the trend line from (1, 2) to (12, 11) or the trend line from (1, 1) to (12, 19)?", + "expected": "The trend line from (1, 1) to (12, 19) has the steeper positive slope.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0067_bar_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0067_bar_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..e41703d9476b37d15e52d48e26045972a0c62def --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0067_bar_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0067_bar_q1", + "instruction": "In which month do Dataset 1 and Dataset 2 together have the highest combined value, and what is that combined 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_insert/Chart.js/bar/chart_0067_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In which month do Dataset 1 and Dataset 2 together have the highest combined value, and what is that combined value?", + "expected": "March has the highest combined value, with Dataset 1 and Dataset 2 totaling 168.37105624.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0067_box_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0067_box_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..b941070b1991119f1ccfd203b429327871f06a80 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0067_box_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0067_box_q1", + "instruction": "Looking at the first four data points in the dataset (all for species 'I. setosa', with x values PetalWidth, PetalLength, SepalWidth, and SepalLength), which of these has the highest q3 value and what is that 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_insert/AntV G2/box/chart_0067_box.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Looking at the first four data points in the dataset (all for species 'I. setosa', with x values PetalWidth, PetalLength, SepalWidth, and SepalLength), which of these has the highest q3 value and what is that value?", + "expected": "The SepalLength point has the highest y value, which is 5.2.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0067_line_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0067_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..3a0e6d52ac1c2058b46c7e997789111303748161 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0067_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0067_line_q1", + "instruction": "In the dataset shown, which month has the highest value and which month has the lowest value, and what are those values?", + "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_insert/Chart.js/line/chart_0067_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In the dataset shown, which month has the highest value and which month has the lowest value, and what are those values?", + "expected": "April has the highest value at 7.05246914, and June has the lowest value at -93.33504801.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0067_line_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0067_line_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..25609bf7390a897a53cad1f50a8dad98e8ea9978 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0067_line_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0067_line_q2", + "instruction": "By how much does the dataset value change from February to March?", + "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_insert/Chart.js/line/chart_0067_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "By how much does the dataset value change from February to March?", + "expected": "The value increases by 15.75274348 from February (-9.4324417) to March (6.32030178).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0067_pie_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0067_pie_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..df2d1ace197e34b57e46870e9326e1c5738165cd --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0067_pie_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0067_pie_q3", + "instruction": "What total value is displayed in the center label of the chart?", + "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_insert/amCharts/pie/chart_0067_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What total value is displayed in the center label of the chart?", + "expected": "The total value displayed in the center label is 1647.9.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0067_scatter_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0067_scatter_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..8fed1ff420b927e005847bef758ab33e38e9d2dd --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0067_scatter_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0067_scatter_q1", + "instruction": "What is the y-value corresponding to x = 2 in the scatter plot?", + "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_insert/Plotly/scatter/chart_0067_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the y-value corresponding to x = 2 in the scatter plot?", + "expected": "The y-value at x = 2 is 4.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0067_scatter_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0067_scatter_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..2f24c1902bcae0d8d4ffd74d5c854a41483abbbb --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0067_scatter_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0067_scatter_q2", + "instruction": "At which x-value does the scatter plot show the maximum y-value, and what is that y-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_insert/Plotly/scatter/chart_0067_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "At which x-value does the scatter plot show the maximum y-value, and what is that y-value?", + "expected": "The maximum y-value is 16 at x = 4.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0068_bar_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0068_bar_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..5f63c6df74426a9d9d47e564fb70cef82f3dace8 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0068_bar_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0068_bar_q1", + "instruction": "In Dataset 1, during which month is the value highest, and approximately what is that 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_insert/Chart.js/bar/chart_0068_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In Dataset 1, during which month is the value highest, and approximately what is that value?", + "expected": "Dataset 1 is highest in January, at about 94.67.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0068_bar_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0068_bar_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..92458917eb2372358029f10ab4839efdf62296c0 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0068_bar_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0068_bar_q2", + "instruction": "If you sum Dataset 1 and Dataset 2 for each month (the Stack 0 total), which month has the highest total and what is that total approximately?", + "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_insert/Chart.js/bar/chart_0068_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "If you sum Dataset 1 and Dataset 2 for each month (the Stack 0 total), which month has the highest total and what is that total approximately?", + "expected": "July has the highest Stack 0 total, at about 39.46.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0068_bar_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0068_bar_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..a5dbcb5b5b4fb6729df5691a61739c16637ae147 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0068_bar_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0068_bar_q3", + "instruction": "For Dataset 3, in how many months is the value negative, and which months are they?", + "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_insert/Chart.js/bar/chart_0068_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "For Dataset 3, in how many months is the value negative, and which months are they?", + "expected": "Dataset 3 is negative in 4 months: February, March, May, and July.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0068_pie_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0068_pie_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..3f02862a8d1f14fedd64276f1ece4e23eee2b7cc --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0068_pie_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0068_pie_q1", + "instruction": "In the inner ring (series1), what is the percent of the category \"Remaining\"?", + "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_insert/amCharts/pie/chart_0068_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In the inner ring (series1), what is the percent of the category \"Remaining\"?", + "expected": "33.33%", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0068_scatter_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0068_scatter_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..546d55bf6d044113991d9e0bb0b187490335cf16 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0068_scatter_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0068_scatter_q1", + "instruction": "What is the maximum sepal_length value among the plotted points?", + "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_insert/Plotly/scatter/chart_0068_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the maximum sepal_length value among the plotted points?", + "expected": "The maximum sepal_length value is 7.9.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0068_scatter_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0068_scatter_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..7f2d6a116f33aa11b796f3a1f335f11b90b66e25 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0068_scatter_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0068_scatter_q3", + "instruction": "Which variable has a larger range in the plotted data, sepal_width or sepal_length, and what are their ranges?", + "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_insert/Plotly/scatter/chart_0068_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which variable has a larger range in the plotted data, sepal_width or sepal_length, and what are their ranges?", + "expected": "sepal_length has the larger range. sepal_width ranges from 2.0 to 4.4 (range 2.4), while sepal_length ranges from 4.3 to 7.9 (range 3.6).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0069_bar_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0069_bar_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..3d8a10184a9cfca5dafeda488e60a05665677a70 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0069_bar_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0069_bar_q1", + "instruction": "For Dataset 3, in which month is its value highest, and what is that 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_insert/Chart.js/bar/chart_0069_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "For Dataset 3, in which month is its value highest, and what is that value?", + "expected": "Dataset 3 is highest in April with a value of 89.8808299.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0069_line_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0069_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..ad137b1cb51349be89501b1d07aac68f18676c81 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0069_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0069_line_q1", + "instruction": "What is the maximum data value in the plotted series, and at which label index does it occur?", + "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_insert/Chart.js/line/chart_0069_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the maximum data value in the plotted series, and at which label index does it occur?", + "expected": "The maximum data value is 180, and it occurs at label index \"7\".", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0069_pie_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0069_pie_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..b073fabe0cd1186da694da13acd2102fd8a3872c --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0069_pie_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0069_pie_q3", + "instruction": "What is the difference in sales between Lithuania and Czechia?", + "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_insert/amCharts/pie/chart_0069_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the difference in sales between Lithuania and Czechia?", + "expected": "The difference in sales between Lithuania and Czechia is 12.14%.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0069_scatter_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0069_scatter_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..bcfd613938c7f50d228f2af6486d992973472418 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0069_scatter_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0069_scatter_q1", + "instruction": "Which species has the widest range of sepal_width values in the chart, and what is that range?", + "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_insert/Plotly/scatter/chart_0069_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which species has the widest range of sepal_width values in the chart, and what is that range?", + "expected": "Setosa has the widest sepal_width range, from 2.3 to 4.4, a range of 2.1.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0069_scatter_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0069_scatter_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..195b0da33db7dfb8859743beb15c32663c575df0 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0069_scatter_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0069_scatter_q2", + "instruction": "For the versicolor species, what are the sepal_width and sepal_length of the data point with the smallest sepal_width?", + "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_insert/Plotly/scatter/chart_0069_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "For the versicolor species, what are the sepal_width and sepal_length of the data point with the smallest sepal_width?", + "expected": "The smallest versicolor sepal_width is 2.0, and its corresponding sepal_length is 5.0.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0070_bar_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0070_bar_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..d25c76de5f4b09fb7f793d0a003de836c8b91f32 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0070_bar_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0070_bar_q3", + "instruction": "How many months have negative values in Dataset 1?", + "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_insert/Chart.js/bar/chart_0070_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "How many months have negative values in Dataset 1?", + "expected": "Dataset 1 has negative values in 4 months.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0070_line_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0070_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..116d16bbe807efe62baf00d9bbef32abd83985e1 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0070_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0070_line_q1", + "instruction": "In which month does Dataset 1 reach its highest value, and what is that 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_insert/Chart.js/line/chart_0070_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In which month does Dataset 1 reach its highest value, and what is that value?", + "expected": "Dataset 1 reaches its highest value in February, with a value of 67.88494513.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0070_line_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0070_line_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..59e6118393c102ae83acb5b2e166c93572721396 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0070_line_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0070_line_q3", + "instruction": "For Dataset 2, between which two consecutive months does the largest decrease occur, and what is the size of this decrease?", + "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_insert/Chart.js/line/chart_0070_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "For Dataset 2, between which two consecutive months does the largest decrease occur, and what is the size of this decrease?", + "expected": "The largest decrease in Dataset 2 occurs between March and April, with a decrease of 122.62174211.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0070_pie_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0070_pie_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..b7f512b9c599f4ca03e296974a1381d000966d9f --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0070_pie_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0070_pie_q1", + "instruction": "In the initial 1995 pie chart, what is manufacturing 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_insert/amCharts/pie/chart_0070_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In the initial 1995 pie chart, what is manufacturing value?", + "expected": "27.78%", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0070_scatter_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0070_scatter_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..3de344376cafb2bc8c758abf5356719e8d650c01 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0070_scatter_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0070_scatter_q1", + "instruction": "According to the chart configuration, what variable is represented by the colorbar title?", + "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_insert/Plotly/scatter/chart_0070_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "According to the chart configuration, what variable is represented by the colorbar title?", + "expected": "The colorbar title is \"petal_length\".", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0070_scatter_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0070_scatter_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..343431113f4ab96450d6ad967a736e0d22ffb098 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0070_scatter_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0070_scatter_q2", + "instruction": "What is the maximum sepal_length value present in the y-axis data array?", + "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_insert/Plotly/scatter/chart_0070_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the maximum sepal_length value present in the y-axis data array?", + "expected": "The maximum sepal_length value is 7.9.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0071_bar_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0071_bar_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..6695c5063f7d0aadd30ff30da359ee5829406857 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0071_bar_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0071_bar_q1", + "instruction": "In which month does Dataset 1 reach its highest value, and what is that 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_insert/Chart.js/bar/chart_0071_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In which month does Dataset 1 reach its highest value, and what is that value?", + "expected": "Dataset 1 reaches its highest value in March, at approximately 98.82.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0071_bar_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0071_bar_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..57967aab58809417285b92cb32b12e68662e798d --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0071_bar_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0071_bar_q2", + "instruction": "In how many months do Dataset 1 and Dataset 2 have values with opposite signs (one positive and one negative)?", + "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_insert/Chart.js/bar/chart_0071_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In how many months do Dataset 1 and Dataset 2 have values with opposite signs (one positive and one negative)?", + "expected": "They have opposite signs in 5 months.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0071_bar_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0071_bar_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..01e1cfd6d0a4f167db4a059aa14f95ba3d613087 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0071_bar_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0071_bar_q3", + "instruction": "In July, which dataset has the higher value, and by approximately how much does it exceed the other dataset?", + "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_insert/Chart.js/bar/chart_0071_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In July, which dataset has the higher value, and by approximately how much does it exceed the other dataset?", + "expected": "In July, Dataset 1 has the higher value, exceeding Dataset 2 by about 136.85 units.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0071_line_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0071_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..131491d874b601acc7850f52f9263bebe2d0fcb7 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0071_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0071_line_q1", + "instruction": "Considering both datasets, in which month is the difference between Dataset 1 and Dataset 2 values largest in absolute terms, and what is that difference?", + "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_insert/Chart.js/line/chart_0071_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Considering both datasets, in which month is the difference between Dataset 1 and Dataset 2 values largest in absolute terms, and what is that difference?", + "expected": "The largest absolute difference is in March, with Dataset 1 and Dataset 2 differing by about 106.57 units.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0071_line_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0071_line_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..82f879648f3f59548e14de95b3f651b3fcbf1b96 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0071_line_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0071_line_q2", + "instruction": "For Dataset 2, by how much does the value change from January to March?", + "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_insert/Chart.js/line/chart_0071_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "For Dataset 2, by how much does the value change from January to March?", + "expected": "Dataset 2 increases by about 141.59 units from January (−71.70) to March (69.89).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0071_line_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0071_line_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..afd9fb08d8d0d286dd20482593821b78d5524c55 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0071_line_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0071_line_q3", + "instruction": "For Dataset 1, in how many months is the value positive, and which months are they?", + "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_insert/Chart.js/line/chart_0071_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "For Dataset 1, in how many months is the value positive, and which months are they?", + "expected": "Dataset 1 is positive in 3 months: February, April, and May.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0071_pie_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0071_pie_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..86c7cfa07693044a7dc0ab0634a2fc33a27a2b32 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0071_pie_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0071_pie_q3", + "instruction": "Between Lithuania and Czech Republic, which country has more bottles and by how many?", + "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_insert/amCharts/pie/chart_0071_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Between Lithuania and Czech Republic, which country has more bottles and by how many?", + "expected": "Lithuania has more bottles than Czech Republic by 510 bottles (1500 vs 990).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0072_bar_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0072_bar_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..d0b240e9779e1de424a248c706510e9527f02323 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0072_bar_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0072_bar_q2", + "instruction": "How many months on the chart have values below zero?", + "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_insert/Chart.js/bar/chart_0072_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "How many months on the chart have values below zero?", + "expected": "There are 9 months with values below zero.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0072_bar_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0072_bar_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..d0774c2f2fe598a2bbb9c5cb3b0c2a4c27fbdbfe --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0072_bar_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0072_bar_q3", + "instruction": "By how much does the value change from the first February to the first March on the chart?", + "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_insert/Chart.js/bar/chart_0072_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "By how much does the value change from the first February to the first March on the chart?", + "expected": "It increases by about 170.38 units, from roughly -89.01 in the first February to about 81.37 in the first March.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0072_line_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0072_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..1b0a045829a22ef789a3aba8c59a5642065394a5 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0072_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0072_line_q1", + "instruction": "On which day does the dataset reach its lowest value, and what is that 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_insert/Chart.js/line/chart_0072_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "On which day does the dataset reach its lowest value, and what is that value?", + "expected": "The dataset reaches its lowest value on Day 4, with a value of -63.87945816.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0072_line_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0072_line_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..ce8117f806f6f8f6631fdad879cbcdc3bc5791ae --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0072_line_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0072_line_q2", + "instruction": "How many of the six days have negative dataset values?", + "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_insert/Chart.js/line/chart_0072_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "How many of the six days have negative dataset values?", + "expected": "Five days (Day 1 through Day 5) have negative dataset values.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0072_scatter_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0072_scatter_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..386c9519069bf75523fabdec69a268e3e4528824 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0072_scatter_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0072_scatter_q1", + "instruction": "Which nation has the highest total number of medals (gold + silver + bronze), and what is that total?", + "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_insert/Plotly/scatter/chart_0072_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which nation has the highest total number of medals (gold + silver + bronze), and what is that total?", + "expected": "South Korea has the highest total with 48 medals.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0072_scatter_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0072_scatter_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..1740643df9381bae05d2a2229eb2fa7b646b6880 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0072_scatter_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0072_scatter_q3", + "instruction": "Among bronze medals, which nation has the lowest count, and how many fewer bronze medals does it have than the nation with the highest bronze count?", + "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_insert/Plotly/scatter/chart_0072_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Among bronze medals, which nation has the lowest count, and how many fewer bronze medals does it have than the nation with the highest bronze count?", + "expected": "China has the lowest bronze count with 8, which is 4 fewer than Canada’s 12 bronze medals.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0073_bar_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0073_bar_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..671b298ac3a4219f0b019447160ff3a2eb256812 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0073_bar_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0073_bar_q2", + "instruction": "Which category has only one time interval defined in the data?", + "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_insert/amCharts/bar/chart_0073_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which category has only one time interval defined in the data?", + "expected": "Category \"Three\" has only one time interval.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0073_bar_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0073_bar_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..5d7c656a49170fdeda8b025ca24d69707bdeabdd --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0073_bar_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0073_bar_q3", + "instruction": "Which category has the longest single continuous interval between its start and end dates, and what are those dates?", + "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_insert/amCharts/bar/chart_0073_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which category has the longest single continuous interval between its start and end dates, and what are those dates?", + "expected": "Category \"Three\" has the longest single interval, from 2021-02-01 to 2021-07-01.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0073_line_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0073_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..1bfac727f7e9d259a31a16dfd8066ab69a4c7313 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0073_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0073_line_q1", + "instruction": "In which month does the dataset reach its highest value, and what is that 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_insert/Chart.js/line/chart_0073_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In which month does the dataset reach its highest value, and what is that value?", + "expected": "The highest value is 65 in January.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0073_line_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0073_line_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..787ec7a205b95f9be7c571ab28b70e1d23dcf288 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0073_line_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0073_line_q2", + "instruction": "What is the difference between the data values for May and July?", + "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_insert/Chart.js/line/chart_0073_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the difference between the data values for May and July?", + "expected": "The value decreases by 16, from 56 in May to 40 in July.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0073_pie_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0073_pie_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..d33e04e687e23673a535e15bc5175703f8186b75 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0073_pie_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0073_pie_q1", + "instruction": "In the inner pie series representing years, which year has the highest total population, and what is that total according to the data?", + "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_insert/amCharts/pie/chart_0073_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In the inner pie series representing years, which year has the highest total population, and what is that total according to the data?", + "expected": "The year 1957 has the highest total population, with 240,657,833 people.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0074_bar_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0074_bar_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..85b82eab738774f7ca5e6c3dd7e77933aa273d64 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0074_bar_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0074_bar_q2", + "instruction": "How did Asia’s value change from 2021 to 2023?", + "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_insert/amCharts/bar/chart_0074_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "How did Asia’s value change from 2021 to 2023?", + "expected": "Asia’s value decreased from 4.3 in 2021 to 3.4 in 2023.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0074_line_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0074_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..064d6fc193d21ef776baab6eadc7c4c58304b326 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0074_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0074_line_q1", + "instruction": "On which day does the dataset reach its highest (least negative) value, and what is that 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_insert/Chart.js/line/chart_0074_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "On which day does the dataset reach its highest (least negative) value, and what is that value?", + "expected": "The dataset reaches its highest value on Day 1, with a value of -1.67095336.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0074_line_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0074_line_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..2400d0818511daf6d0cab726aaf84ca25b04f8e3 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0074_line_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0074_line_q2", + "instruction": "Which day has the second-lowest (second most negative) value in the dataset?", + "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_insert/Chart.js/line/chart_0074_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which day has the second-lowest (second most negative) value in the dataset?", + "expected": "Day 5 has the second-lowest value in the dataset, with -95.03858025.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0074_line_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0074_line_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..4bd71ecd75ee63f28002ddb16a1641b021f242fe --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0074_line_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0074_line_q3", + "instruction": "By how much does the dataset value change from Day 2 to Day 3?", + "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_insert/Chart.js/line/chart_0074_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "By how much does the dataset value change from Day 2 to Day 3?", + "expected": "The value increases by 26.76097394, from -95.69187243 on Day 2 to -68.93089849 on Day 3.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0074_pie_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0074_pie_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..3a1a1b30ebd0874cdd04d5184edd2a083e72857c --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0074_pie_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0074_pie_q2", + "instruction": "What is the total combined percent of categories \"Five\", \"Six\", and \"Seven\"?", + "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_insert/amCharts/pie/chart_0074_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the total combined percent of categories \"Five\", \"Six\", and \"Seven\"?", + "expected": "21.05%", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0074_scatter_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0074_scatter_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..06b1c18fe5e3c09195c55e1648a8b7f784d4e0a7 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0074_scatter_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0074_scatter_q1", + "instruction": "Which nation has the lowest bronze medal count, and what is that count?", + "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_insert/Plotly/scatter/chart_0074_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which nation has the lowest bronze medal count, and what is that count?", + "expected": "China has the lowest bronze medal count with 8 medals.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0074_scatter_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0074_scatter_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..2638b39b5e3343b34ca7d5bf9544e0ad006dbabc --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0074_scatter_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0074_scatter_q3", + "instruction": "Which nation has the highest silver medal count, and how many more silver medals does it have than South Korea?", + "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_insert/Plotly/scatter/chart_0074_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which nation has the highest silver medal count, and how many more silver medals does it have than South Korea?", + "expected": "China has the highest silver medal count with 15 medals, which is 2 more than South Korea’s 13 silver medals.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0075_bar_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0075_bar_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..21bc583eab04fc4f7a654b7cd8f6cd3ac605eaad --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0075_bar_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0075_bar_q2", + "instruction": "How did Asia's value change from 2021 to 2023?", + "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_insert/amCharts/bar/chart_0075_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "How did Asia's value change from 2021 to 2023?", + "expected": "Asia's value increased from 2.1 in 2021 to 2.4 in 2023, an increase of 0.3.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0075_bar_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0075_bar_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..36b713e14477899f43d317b126fecbf330227d53 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0075_bar_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0075_bar_q3", + "instruction": "Across all regions and years shown, what is the minimum value, and for which region and year does it occur?", + "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_insert/amCharts/bar/chart_0075_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Across all regions and years shown, what is the minimum value, and for which region and year does it occur?", + "expected": "The minimum value is 0.3, occurring for Africa in 2022 and Latin America in 2023.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0075_pie_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0075_pie_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..2960e2c16cb69cb98a4b664db9f8b17ce244a569 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0075_pie_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0075_pie_q1", + "instruction": "According to the chart, which country has the largest population, and what is that population?", + "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_insert/Plotly/pie/chart_0075_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "According to the chart, which country has the largest population, and what is that population?", + "expected": "Germany has the largest population, with 82,400,996 people.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0075_pie_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0075_pie_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..3fce291738bf49afc58573d03fee6604eadee0bd --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0075_pie_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0075_pie_q2", + "instruction": "What is the smallest population value displayed in the chart, and which slice does it correspond to?", + "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_insert/Plotly/pie/chart_0075_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the smallest population value displayed in the chart, and which slice does it correspond to?", + "expected": "The smallest population value is 986667, corresponding to the smaller slice labeled \"Other countries.\"", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0075_pie_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0075_pie_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..30076f774e8110f38a1d2c490d6f48992caa2c82 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0075_pie_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0075_pie_q3", + "instruction": "In the chart, how many more people does Turkey have compared to the United Kingdom?", + "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_insert/Plotly/pie/chart_0075_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In the chart, how many more people does Turkey have compared to the United Kingdom?", + "expected": "Turkey has 10,382,409 more people than the United Kingdom (71,158,647 minus 60,776,238).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0075_scatter_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0075_scatter_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..3a51b8ea6c09e5bb4e509cce47e54cdba5783061 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0075_scatter_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0075_scatter_q3", + "instruction": "For the virginica species, what is the maximum plotted sepal_length 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_insert/Plotly/scatter/chart_0075_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "For the virginica species, what is the maximum plotted sepal_length value?", + "expected": "The maximum sepal_length value for virginica is 7.9.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0076_bar_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0076_bar_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..8e3efd683930bafd79ed74e5b0d0568ae3c2dabe --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0076_bar_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0076_bar_q2", + "instruction": "What types of axes are used for the X and Y axes, and what is the base time interval on the X axis?", + "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_insert/amCharts/bar/chart_0076_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What types of axes are used for the X and Y axes, and what is the base time interval on the X axis?", + "expected": "The X axis is a DateAxis with a base interval of 1 day, and the Y axis is a ValueAxis.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0076_line_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0076_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..1162eb432736c45c8455f1a5105e3200a1971b21 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0076_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0076_line_q1", + "instruction": "In which month is the combined value of Dataset 1 and Dataset 2 the highest, and what is that total 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_insert/Chart.js/line/chart_0076_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In which month is the combined value of Dataset 1 and Dataset 2 the highest, and what is that total value?", + "expected": "The combined value is highest in June, with a total of approximately 141.96.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0076_line_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0076_line_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..316110d09d92e17620e0006bbd41c7d17c52f457 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0076_line_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0076_line_q2", + "instruction": "During which month is Dataset 1 greater than Dataset 2?", + "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_insert/Chart.js/line/chart_0076_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "During which month is Dataset 1 greater than Dataset 2?", + "expected": "Dataset 1 is greater than Dataset 2 only in May.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0076_scatter_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0076_scatter_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..a71f474a3fb56e1b2d5a097343429f8afcc2623a --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0076_scatter_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0076_scatter_q1", + "instruction": "In the Dinner, Male panel, which group (smokers or non-smokers) has the higher maximum tip, and what are the maximum tip values for each group?", + "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_insert/Plotly/scatter/chart_0076_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In the Dinner, Male panel, which group (smokers or non-smokers) has the higher maximum tip, and what are the maximum tip values for each group?", + "expected": "Male smokers at dinner have the higher maximum tip. Their maximum tip is 10, while male non-smokers’ maximum tip is 9.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0076_scatter_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0076_scatter_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..4490e6f9f1452638e61cf1e131f8c84a98e7afc4 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0076_scatter_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0076_scatter_q2", + "instruction": "For female customers at Lunch, which smoking status has the higher maximum total_bill, and what are the maximum total_bill values for smokers and non-smokers?", + "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_insert/Plotly/scatter/chart_0076_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "For female customers at Lunch, which smoking status has the higher maximum total_bill, and what are the maximum total_bill values for smokers and non-smokers?", + "expected": "Among female lunch customers, smokers have the higher maximum total_bill. Smokers’ maximum total_bill is 43.11, while non-smokers’ maximum total_bill is 34.83.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0077_bar_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0077_bar_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..06c2020a738f0be5d9352e79a716acb338d583af --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0077_bar_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0077_bar_q2", + "instruction": "In which year did North America reach its highest value, and what was that 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_insert/amCharts/bar/chart_0077_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In which year did North America reach its highest value, and what was that value?", + "expected": "North America reached its highest value in 2023, with a value of 2.9.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0077_line_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0077_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..e476d1c61ab471dfd2bf8f4f2805650bec4bca58 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0077_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0077_line_q1", + "instruction": "For Dataset 2, in which month does it reach its highest value, and what is that 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_insert/Chart.js/line/chart_0077_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "For Dataset 2, in which month does it reach its highest value, and what is that value?", + "expected": "Dataset 2 reaches its highest value in July, at 76.37774348.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0077_line_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0077_line_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..fd27f62a684d87450152a266ec67d364516941f6 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0077_line_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0077_line_q3", + "instruction": "For Dataset 2, between which two consecutive months does the value increase the most, and by how much?", + "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_insert/Chart.js/line/chart_0077_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "For Dataset 2, between which two consecutive months does the value increase the most, and by how much?", + "expected": "The largest increase in Dataset 2 is from June to July, rising from -91.12397119 to 76.37774348, an increase of 167.50171467 units.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0077_pie_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0077_pie_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..912621f15b979bd7c9ec1dbd205270ee49819e81 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0077_pie_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0077_pie_q1", + "instruction": "According to the chart, which country has the largest population and which has the smallest, and what are their populations?", + "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_insert/Plotly/pie/chart_0077_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "According to the chart, which country has the largest population and which has the smallest, and what are their populations?", + "expected": "The United States has the largest population with 301,139,947 people, and Trinidad and Tobago has the smallest population with 1,056,608 people.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0077_pie_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0077_pie_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..6eb184dcdee72369cd71acaad467127cd67e5a03 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0077_pie_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0077_pie_q2", + "instruction": "Comparing Mexico and Canada in the chart, which country has the larger population and by how many people?", + "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_insert/Plotly/pie/chart_0077_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Comparing Mexico and Canada in the chart, which country has the larger population and by how many people?", + "expected": "Mexico has the larger population; it exceeds Canada’s population by 75,310,750 people (108,700,891 minus 33,390,141).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0077_scatter_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0077_scatter_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..3bdf8fc5f3fc6091cec26475d8a1bc84320e8ccd --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0077_scatter_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0077_scatter_q1", + "instruction": "What are the minimum and maximum sepal length values shown on the chart?", + "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_insert/Plotly/scatter/chart_0077_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What are the minimum and maximum sepal length values shown on the chart?", + "expected": "The minimum sepal length is 4.3 and the maximum is 7.9.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0077_scatter_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0077_scatter_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..518db848fa6c2193e21de5955e2e2599db045eff --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0077_scatter_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0077_scatter_q2", + "instruction": "According to the distribution of points, which sepal length occurs more frequently: 5.0 or 7.9?", + "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_insert/Plotly/scatter/chart_0077_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "According to the distribution of points, which sepal length occurs more frequently: 5.0 or 7.9?", + "expected": "A sepal length of 5.0 occurs more frequently than 7.9.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0078_bar_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0078_bar_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..15421d2d39627dfef34e49f0f7113d4f5755acd0 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0078_bar_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0078_bar_q3", + "instruction": "In 2022, which region has the lowest value and what is that 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_insert/amCharts/bar/chart_0078_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In 2022, which region has the lowest value and what is that value?", + "expected": "In 2022, Africa has the lowest value, at 0.3.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0078_line_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0078_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..7fc337970999c0f1578ce6e5259571594946bd61 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0078_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0078_line_q1", + "instruction": "In Dataset 1, what is the highest value and in which month does it occur?", + "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_insert/Chart.js/line/chart_0078_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In Dataset 1, what is the highest value and in which month does it occur?", + "expected": "The highest value in Dataset 1 is 39, which occurs in March.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0078_line_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0078_line_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..75864bf9e42c26bf41c2ba18e28f0303bf6216aa --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0078_line_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0078_line_q2", + "instruction": "During which months is the value of Dataset 2 greater than the value of Dataset 1?", + "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_insert/Chart.js/line/chart_0078_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "During which months is the value of Dataset 2 greater than the value of Dataset 1?", + "expected": "Dataset 2 is greater than Dataset 1 in January, February, and July.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0078_line_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0078_line_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..58d02284fcac722ba9ddca06d988a99b5a8ae3fa --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0078_line_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0078_line_q3", + "instruction": "From May to June, by how many units does Dataset 2 change, and is it an increase or a decrease?", + "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_insert/Chart.js/line/chart_0078_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "From May to June, by how many units does Dataset 2 change, and is it an increase or a decrease?", + "expected": "Dataset 2 decreases by 50 units, from 11 in May to -39 in June.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0078_pie_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0078_pie_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..db1bf7a3e39a4d91198f23f5a27a5d46ab2d9858 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0078_pie_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0078_pie_q1", + "instruction": "Which gas has the smallest value in the pie chart, and what is that 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_insert/Plotly/pie/chart_0078_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which gas has the smallest value in the pie chart, and what is that value?", + "expected": "Nitrogen has the smallest value, which is 500.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0078_pie_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0078_pie_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..310bd4e15c229209bf6acbb97df888ff63e1dbf7 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0078_pie_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0078_pie_q2", + "instruction": "What is the total value of all gases combined in the pie chart?", + "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_insert/Plotly/pie/chart_0078_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the total value of all gases combined in the pie chart?", + "expected": "The total value of all gases combined is 8553.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0078_pie_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0078_pie_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..3a7988a62617a798b860e58b975429bd524d1cfd --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0078_pie_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0078_pie_q3", + "instruction": "List all four gases shown in the pie chart in descending order of their values.", + "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_insert/Plotly/pie/chart_0078_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "List all four gases shown in the pie chart in descending order of their values.", + "expected": "Oxygen (4500), Hydrogen (2500), Carbon_Dioxide (1053), Nitrogen (500).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0078_scatter_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0078_scatter_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..4edad076aef45f40c3b58c9b9e7fb78a6360af3c --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0078_scatter_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0078_scatter_q3", + "instruction": "Between x = 1.414141 and x = 8.585859, which point has the higher y-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_insert/Plotly/scatter/chart_0078_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Between x = 1.414141 and x = 8.585859, which point has the higher y-value?", + "expected": "The point at x = 1.4141414141414141 has the higher y-value (0.987755) compared with the point at x = 8.585858585858587 (0.7439214).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0079_bar_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0079_bar_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..162fda4b7ffa59e25a5ad316b5a107f8f7657a79 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0079_bar_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0079_bar_q2", + "instruction": "By how much does the USA’s value exceed Italy’s 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_insert/amCharts/bar/chart_0079_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "By how much does the USA’s value exceed Italy’s value?", + "expected": "The USA’s value exceeds Italy’s value by 1573 (2025 − 452).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0079_line_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0079_line_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..70b34bc5ca7d27713723197d7708948fc6675835 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0079_line_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0079_line_q2", + "instruction": "In March 2016, which dataset has the higher value, and by how much does it exceed the other?", + "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_insert/Chart.js/line/chart_0079_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In March 2016, which dataset has the higher value, and by how much does it exceed the other?", + "expected": "In March 2016, Dataset 1 is higher than Dataset 2 by 66.5946502 (68.02812071 minus 1.43347051).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0079_line_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0079_line_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..b455ff5f9133a97bf90062273e2605b5c63224a0 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0079_line_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0079_line_q3", + "instruction": "Across the entire period from June 2015 to May 2016, how many times does Dataset 1 increase from one month to the next?", + "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_insert/Chart.js/line/chart_0079_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Across the entire period from June 2015 to May 2016, how many times does Dataset 1 increase from one month to the next?", + "expected": "Dataset 1 increases from one month to the next 4 times over the period.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0079_scatter_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0079_scatter_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..42c8355e5c10d0c8908a51368bd03df153b20159 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0079_scatter_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0079_scatter_q2", + "instruction": "How many data points are plotted in the scatter chart?", + "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_insert/Plotly/scatter/chart_0079_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "How many data points are plotted in the scatter chart?", + "expected": "4", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0079_scatter_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0079_scatter_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..85cc445d4efb468de05c328ea09c30bbceefd5a2 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0079_scatter_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0079_scatter_q3", + "instruction": "How does the y-value change as x increases from 1 to 4?", + "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_insert/Plotly/scatter/chart_0079_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "How does the y-value change as x increases from 1 to 4?", + "expected": "The y-value increases from 10 to 13, rising by 1 for each unit increase in x.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0080_bar_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0080_bar_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..7449d836e7723e4e2ad6ad42efa0d86cfa11820b --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0080_bar_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0080_bar_q3", + "instruction": "Order the US, China, and Japan from highest to lowest number of visits and give their visit counts.", + "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_insert/amCharts/bar/chart_0080_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Order the US, China, and Japan from highest to lowest number of visits and give their visit counts.", + "expected": "US: 725 visits, China: 602 visits, Japan: 509 visits.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0080_line_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0080_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..c2460988cb28cd4904242b92eda0a41accb47a29 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0080_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0080_line_q1", + "instruction": "In which month does Dataset 2 reach its highest value, and what is that 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_insert/Chart.js/line/chart_0080_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In which month does Dataset 2 reach its highest value, and what is that value?", + "expected": "Dataset 2 reaches its highest value in February, at 93.56267147.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0080_line_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0080_line_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..52135982adc26b5254b90dd07f30ab25151aa501 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0080_line_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0080_line_q2", + "instruction": "For Dataset 1, between which two consecutive months does the largest decrease occur?", + "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_insert/Chart.js/line/chart_0080_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "For Dataset 1, between which two consecutive months does the largest decrease occur?", + "expected": "The largest decrease in Dataset 1 occurs between February and March, dropping from 93.21201989 to 8.03283608.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0080_pie_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0080_pie_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..359d967ab428b2ac17015871777d3f02d44a270b --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0080_pie_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0080_pie_q1", + "instruction": "Which gas has the largest value in the pie chart and what is that 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_insert/Plotly/pie/chart_0080_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which gas has the largest value in the pie chart and what is that value?", + "expected": "Oxygen has the largest value at 4500.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0080_pie_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0080_pie_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..d26dc343db7c20d45b7459ff5a402fb1607acdba --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0080_pie_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0080_pie_q3", + "instruction": "Rank the gases from highest to lowest based on their values.", + "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_insert/Plotly/pie/chart_0080_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Rank the gases from highest to lowest based on their values.", + "expected": "From highest to lowest: Oxygen (4500), Hydrogen (2500), Carbon_Dioxide (1053), Nitrogen (500).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0080_scatter_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0080_scatter_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..8b4ceca7967b8d5f8eaf9574745fb556881b9025 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0080_scatter_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0080_scatter_q2", + "instruction": "At x = 10, what are the y-values of the \"sin\" and \"cos\" traces, and which one has the smaller (more negative) y-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_insert/Plotly/scatter/chart_0080_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "At x = 10, what are the y-values of the \"sin\" and \"cos\" traces, and which one has the smaller (more negative) y-value?", + "expected": "At x = 10, the \"sin\" trace has y = -0.5440211 and the \"cos\" trace has y = -0.8390715; the \"cos\" trace has the smaller (more negative) y-value.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0080_scatter_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0080_scatter_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..da8180f84b73c549b63d50b48922c95dc89c0e43 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0080_scatter_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0080_scatter_q3", + "instruction": "For the \"sin\" trace, at which x-value in the dataset does it reach its minimum y-value, and what is that minimum y-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_insert/Plotly/scatter/chart_0080_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "For the \"sin\" trace, at which x-value in the dataset does it reach its minimum y-value, and what is that minimum y-value?", + "expected": "The \"sin\" trace reaches its minimum y-value at x = 4.747475, where y = -0.999385.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0081_bar_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0081_bar_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..a8b60b1f0adf26c42b34909cf79ca8309ffe8f08 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0081_bar_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0081_bar_q1", + "instruction": "What is the numerical value shown for France in the chart?", + "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_insert/amCharts/bar/chart_0081_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the numerical value shown for France in the chart?", + "expected": "France has a value of 1114.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0081_bar_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0081_bar_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..d72424abe0bdf6b0cda750f0c5861b39f3c0071c --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0081_bar_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0081_bar_q2", + "instruction": "Which country has the lowest value in the chart, and what is that 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_insert/amCharts/bar/chart_0081_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which country has the lowest value in the chart, and what is that value?", + "expected": "Canada has the lowest value, which is 441.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0081_bar_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0081_bar_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..d454f8845e0e9477dd34ccc3bc052582eaa31bbc --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0081_bar_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0081_bar_q3", + "instruction": "By how much does the value for the USA exceed that of Germany?", + "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_insert/amCharts/bar/chart_0081_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "By how much does the value for the USA exceed that of Germany?", + "expected": "The USA exceeds Germany by 703 (2025 − 1322).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0081_line_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0081_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..ae569b10a46be78e99c2cb16e59b29b9299d08d5 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0081_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0081_line_q1", + "instruction": "In March, which dataset has the higher value, and by how many units does it exceed the other dataset?", + "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_insert/Chart.js/line/chart_0081_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In March, which dataset has the higher value, and by how many units does it exceed the other dataset?", + "expected": "In March, Dataset 1 is higher, with a value of 39 compared to Dataset 2’s 22, exceeding it by 17 units.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0081_line_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0081_line_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..81ffa73e67b8089a06ac01dafa3bc5658b2af871 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0081_line_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0081_line_q2", + "instruction": "In how many months does Dataset 2 have a higher value than Dataset 1?", + "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_insert/Chart.js/line/chart_0081_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In how many months does Dataset 2 have a higher value than Dataset 1?", + "expected": "Dataset 2 has a higher value than Dataset 1 in 4 months: January, February, June, and July.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0081_line_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0081_line_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..407bc1f2e918aadb318ce50df5708a32588de057 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0081_line_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0081_line_q3", + "instruction": "What is the minimum value of Dataset 1, in which month does it occur, and how far below zero is it?", + "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_insert/Chart.js/line/chart_0081_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the minimum value of Dataset 1, in which month does it occur, and how far below zero is it?", + "expected": "The minimum value of Dataset 1 is -10, occurring in July, which is 10 units below zero.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0081_pie_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0081_pie_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..6a63b1a547093086fc378aae8252547412149bd2 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0081_pie_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0081_pie_q1", + "instruction": "Which gas has the largest value in the pie chart, and what is that 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_insert/Plotly/pie/chart_0081_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which gas has the largest value in the pie chart, and what is that value?", + "expected": "Oxygen has the largest value with 4500 units.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0081_scatter_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0081_scatter_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..863e0eda309aeb058b783aacfb9a5031e32fccb4 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0081_scatter_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0081_scatter_q1", + "instruction": "According to the chart, which state has the largest population, and what is that population?", + "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_insert/Plotly/scatter/chart_0081_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "According to the chart, which state has the largest population, and what is that population?", + "expected": "California has the largest population, with 38,802,500 people.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0081_scatter_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0081_scatter_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..e7716cc8afe8facf670a0823effb4b4521ad2232 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0081_scatter_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0081_scatter_q3", + "instruction": "What is the population of Wyoming (WY), and how does it rank compared with all other states on the chart?", + "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_insert/Plotly/scatter/chart_0081_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the population of Wyoming (WY), and how does it rank compared with all other states on the chart?", + "expected": "Wyoming has a population of 584,153, which is the smallest among all the states shown on the chart.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0082_bar_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0082_bar_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..82c724b70634e3ac0123ca83901847e6e47b1ce1 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0082_bar_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0082_bar_q1", + "instruction": "In which year was income at its highest value, and what was that 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_insert/amCharts/bar/chart_0082_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In which year was income at its highest value, and what was that value?", + "expected": "Income was highest in 2019, at 30.1.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0082_bar_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0082_bar_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..7c217ef6084969a48f8b850718968d2e1eaff3d3 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0082_bar_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0082_bar_q3", + "instruction": "In which year was the gap between income and expenses smallest, and what was that gap?", + "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_insert/amCharts/bar/chart_0082_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In which year was the gap between income and expenses smallest, and what was that gap?", + "expected": "The gap was smallest in 2021, where income was 24.6 and expenses were 25, a difference of 0.4.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0082_line_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0082_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..1acc0cc2a96dfbf58cee5c5920e617d907366409 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0082_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0082_line_q1", + "instruction": "What is the value of Dataset 1 in June?", + "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_insert/Chart.js/line/chart_0082_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the value of Dataset 1 in June?", + "expected": "The value of Dataset 1 in June is 44.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0082_line_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0082_line_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..584c3a32ef05628c86f25f4063787510eceed9fb --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0082_line_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0082_line_q3", + "instruction": "For Dataset 2, in how many month-to-month transitions does the value decrease, and between which months do these decreases occur?", + "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_insert/Chart.js/line/chart_0082_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "For Dataset 2, in how many month-to-month transitions does the value decrease, and between which months do these decreases occur?", + "expected": "Dataset 2 decreases in 5 transitions: from January to February, February to March, March to April, April to May, and June to July.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0082_pie_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0082_pie_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..c78b453aad01af454e4e0167f33f36afa8aeecbd --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0082_pie_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0082_pie_q2", + "instruction": "In the CO2 Emissions pie chart, which region has the lowest percentage and what is that 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_insert/Plotly/pie/chart_0082_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In the CO2 Emissions pie chart, which region has the lowest percentage and what is that value?", + "expected": "Brazil, with a percentage of 1%", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0082_scatter_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0082_scatter_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..5065d2475055dda09f5bf486a7219ce340c25cc5 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0082_scatter_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0082_scatter_q1", + "instruction": "What is the y-value when x is 7 in the scatter plot?", + "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_insert/Plotly/scatter/chart_0082_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the y-value when x is 7 in the scatter plot?", + "expected": "The y-value is 49 when x is 7.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0083_bar_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0083_bar_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..f7b944353023af7d0d18645794f260eeff0e0828 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0083_bar_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0083_bar_q1", + "instruction": "According to the chart data, how many steps are associated with Monica?", + "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_insert/amCharts/bar/chart_0083_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "According to the chart data, how many steps are associated with Monica?", + "expected": "Monica has 45,688 steps.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0083_line_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0083_line_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..5518fa931b6f6c695282c006c10ccc4ec9bb7249 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0083_line_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0083_line_q2", + "instruction": "For how many months is the value of Dataset 1 greater than the value of Dataset 2?", + "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_insert/Chart.js/line/chart_0083_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "For how many months is the value of Dataset 1 greater than the value of Dataset 2?", + "expected": "Dataset 1 is greater than Dataset 2 in 6 months.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0083_pie_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0083_pie_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..9579f82fbefe650f538c0cfcbfa64220d5dba69f --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0083_pie_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0083_pie_q1", + "instruction": "Which paintings share the highest value for the 1st color, and what is that 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_insert/Plotly/pie/chart_0083_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which paintings share the highest value for the 1st color, and what is that value?", + "expected": "Starry Night and Irises both have the highest 1st color value of 38.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0083_pie_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0083_pie_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..fd13657b896458b3f153fdec2c485ab6ba0e0e5b --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0083_pie_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0083_pie_q2", + "instruction": "For the painting Sunflowers, what is the difference between the values of the 1st and 2nd colors?", + "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_insert/Plotly/pie/chart_0083_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "For the painting Sunflowers, what is the difference between the values of the 1st and 2nd colors?", + "expected": "For Sunflowers, the 1st color has value 28 and the 2nd color has value 26, so the difference is 2.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0083_pie_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0083_pie_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..9185ffb1e18d5e513b16e8de9a785951caeb40b9 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0083_pie_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0083_pie_q3", + "instruction": "Considering the 5th color in each painting, which painting has the smallest value and what is that 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_insert/Plotly/pie/chart_0083_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Considering the 5th color in each painting, which painting has the smallest value and what is that value?", + "expected": "Starry Night has the smallest 5th color value, which is 7.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0083_scatter_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0083_scatter_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..0646afe67df8823b5c1a3c4220f6f71c81bc7a40 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0083_scatter_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0083_scatter_q1", + "instruction": "In which month is the 2014 high temperature highest, and what is that temperature?", + "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_insert/Plotly/scatter/chart_0083_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In which month is the 2014 high temperature highest, and what is that temperature?", + "expected": "The 2014 high temperature is highest in June, at 79.7°F.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0083_scatter_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0083_scatter_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..3324b6844d30ba2b7247c5377ef31e3d1de84b6f --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0083_scatter_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0083_scatter_q2", + "instruction": "In December, what is the difference between the low temperatures for 2014 and 2007?", + "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_insert/Plotly/scatter/chart_0083_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In December, what is the difference between the low temperatures for 2014 and 2007?", + "expected": "In December, the low is 29.1°F in 2014 and 23.6°F in 2007, so the difference is 5.5°F.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0083_scatter_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0083_scatter_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..8ea53bb48c0ab870bdaf0b5a3f9a4795ca12e3ed --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0083_scatter_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0083_scatter_q3", + "instruction": "Among the years 2014, 2007, and 2000, which year has the highest low temperature in July, and what is that temperature?", + "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_insert/Plotly/scatter/chart_0083_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Among the years 2014, 2007, and 2000, which year has the highest low temperature in July, and what is that temperature?", + "expected": "2014 has the highest low temperature in July, at 60°F.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0084_bar_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0084_bar_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..ab59607df2937f864747803fb67d1568cc67764d --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0084_bar_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0084_bar_q2", + "instruction": "What is the base time unit and count used for the horizontal (date) axis in this chart?", + "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_insert/amCharts/bar/chart_0084_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the base time unit and count used for the horizontal (date) axis in this chart?", + "expected": "The horizontal axis uses a base interval of 1 day.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0084_bar_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0084_bar_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..0b71b92f3b03b0360523cd894471bf754370fe46 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0084_bar_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0084_bar_q3", + "instruction": "When hovering over a column, what information is shown in the tooltip?", + "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_insert/amCharts/bar/chart_0084_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "When hovering over a column, what information is shown in the tooltip?", + "expected": "The tooltip shows the column’s current valueY, i.e., the numeric value of that data point.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0084_line_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0084_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..0bc7c5e7b533a4bf6012382531e7cce54ae7b995 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0084_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0084_line_q1", + "instruction": "In which month does Dataset 1 reach its highest value, and what is that 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_insert/Chart.js/line/chart_0084_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In which month does Dataset 1 reach its highest value, and what is that value?", + "expected": "Dataset 1 reaches its highest value of 50 in March.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0084_line_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0084_line_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..82d18186e3088753aa34b4a21d2a8ecb3d5dff48 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0084_line_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0084_line_q2", + "instruction": "For how many months is Dataset 2 in the 'ON' state compared to the 'OFF' state?", + "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_insert/Chart.js/line/chart_0084_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "For how many months is Dataset 2 in the 'ON' state compared to the 'OFF' state?", + "expected": "Dataset 2 is 'ON' for 4 months and 'OFF' for 3 months.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0084_pie_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0084_pie_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..fc2512c1a39fe7fb4d0da3c8a526b20ba39269ca --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0084_pie_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0084_pie_q1", + "instruction": "In the 1980 World GDP pie chart, which region has the smallest GDP value and what is that 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_insert/Plotly/pie/chart_0084_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In the 1980 World GDP pie chart, which region has the smallest GDP value and what is that value?", + "expected": "Oceania has the smallest GDP value in 1980, with a value of 0.5.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0084_scatter_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0084_scatter_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..c529d19f360f4e8ea4d83f8e45cb0c1130457595 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0084_scatter_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0084_scatter_q1", + "instruction": "In which year does the chart show the highest value, and what is that 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_insert/AntV G2/scatter/chart_0084_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In which year does the chart show the highest value, and what is that value?", + "expected": "The highest value is 13 in the year 1999.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0084_scatter_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0084_scatter_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..bb3a871f556d09140ed594fe0fcbd71ffb77d3d4 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0084_scatter_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0084_scatter_q2", + "instruction": "By how much does the value increase from 1991 to 1999 according to the chart?", + "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_insert/AntV G2/scatter/chart_0084_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "By how much does the value increase from 1991 to 1999 according to the chart?", + "expected": "The value increases by 10, from 3 in 1991 to 13 in 1999.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0084_scatter_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0084_scatter_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..6ade323a31ae0b51550893d4eb4199e3480f6d8e --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0084_scatter_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0084_scatter_q3", + "instruction": "Between 1994 and 1998 inclusive, in how many years is the value at least 6, and which years are they?", + "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_insert/AntV G2/scatter/chart_0084_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Between 1994 and 1998 inclusive, in how many years is the value at least 6, and which years are they?", + "expected": "There are 3 years with a value of at least 6: 1996, 1997, and 1998.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0085_bar_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0085_bar_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..6477238fec91e2cda59210f2779e0586c3ba7c1f --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0085_bar_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0085_bar_q1", + "instruction": "In which year does Series #1 (s10) reach its highest value, and what is that 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_insert/amCharts/bar/chart_0085_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In which year does Series #1 (s10) reach its highest value, and what is that value?", + "expected": "Series #1 reaches its highest value in g1-2021 with a value of 20.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0085_bar_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0085_bar_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..c490a201f0937e812ff4da89ea30c12463149c67 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0085_bar_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0085_bar_q2", + "instruction": "Comparing g2-2022 and g2-2024, in which year is the combined stacked total of Series #3 (s20) and Series #4 (s21) higher, and by how much?", + "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_insert/amCharts/bar/chart_0085_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Comparing g2-2022 and g2-2024, in which year is the combined stacked total of Series #3 (s20) and Series #4 (s21) higher, and by how much?", + "expected": "The combined total is higher in g2-2024 by 5 (g2-2022 total is 26, g2-2024 total is 31).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0085_line_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0085_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..8b1451dd732e08392ea0177c5e0bbcab26cc1fdc --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0085_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0085_line_q1", + "instruction": "At which data point does Dataset 2 reach its maximum value, and what is that 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_insert/Chart.js/line/chart_0085_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "At which data point does Dataset 2 reach its maximum value, and what is that value?", + "expected": "Dataset 2 reaches its maximum at the fifth data point, with a value of 99.91040809.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0085_line_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0085_line_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..78c684f7bd19b809c9183aae8b33cf612ef0a7ca --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0085_line_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0085_line_q2", + "instruction": "At the third data point, which dataset has the highest value, and what are the values of all three datasets there?", + "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_insert/Chart.js/line/chart_0085_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "At the third data point, which dataset has the highest value, and what are the values of all three datasets there?", + "expected": "At the third data point, Dataset 2 has the highest value. The values are: Dataset 1 = 75.78232167, Dataset 2 = 89.91898148, and Dataset 3 = 29.87868656.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0085_line_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0085_line_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..bac036cce320f867d6afb06735de58c2fa0f8226 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0085_line_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0085_line_q3", + "instruction": "How does Dataset 3 change from the first to the last data point, and are there any increases along the way?", + "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_insert/Chart.js/line/chart_0085_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "How does Dataset 3 change from the first to the last data point, and are there any increases along the way?", + "expected": "Dataset 3 decreases overall from 83.87902949 at the first data point to 15.70516118 at the seventh, with temporary increases between the third and fourth points (29.87868656 to 44.69950274) and between the fifth and sixth points (18.67669753 to 45.63743141).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0085_pie_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0085_pie_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..a19daad606e4d71b9f3e2d94a4c47ca30ed8ec96 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0085_pie_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0085_pie_q1", + "instruction": "Which gas has the largest value in the pie chart, and what is that 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_insert/Plotly/pie/chart_0085_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which gas has the largest value in the pie chart, and what is that value?", + "expected": "Oxygen has the largest value, with 4500.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0085_pie_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0085_pie_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..ba9a49c412bb743b22895ddc641f744bdd6ab573 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0085_pie_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0085_pie_q2", + "instruction": "What is the total combined value of Hydrogen and Carbon_Dioxide in the chart?", + "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_insert/Plotly/pie/chart_0085_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the total combined value of Hydrogen and Carbon_Dioxide in the chart?", + "expected": "The combined value of Hydrogen and Carbon_Dioxide is 3553 (2500 + 1053).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0085_scatter_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0085_scatter_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..5c1a4582da2951d1b9a9779d5b937806d45c5e99 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0085_scatter_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0085_scatter_q1", + "instruction": "According to the chart's data, what is the weight value for the female data point with height 182.9?", + "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_insert/AntV G2/scatter/chart_0085_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "According to the chart's data, what is the weight value for the female data point with height 182.9?", + "expected": "The weight value is 81.8.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0085_scatter_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0085_scatter_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..f98244d27b1ef95ad0da87f2e7e5b4cebb13908e --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0085_scatter_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0085_scatter_q2", + "instruction": "Comparing the female data points with heights 179.9 and 180.3, which one has the greater weight, and by how much?", + "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_insert/AntV G2/scatter/chart_0085_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Comparing the female data points with heights 179.9 and 180.3, which one has the greater weight, and by how much?", + "expected": "The female with height 179.9 has the greater weight: 67.3 versus 60.7, a difference of 6.6.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0086_bar_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0086_bar_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..e988f4d6f61e75431ace6895175081414c54ae24 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0086_bar_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0086_bar_q2", + "instruction": "How many days had fewer than 6,000 steps during January 2021 in this chart?", + "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_insert/amCharts/bar/chart_0086_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "How many days had fewer than 6,000 steps during January 2021 in this chart?", + "expected": "15 days had fewer than 6,000 steps.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0086_bar_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0086_bar_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..0b0a1f6f7558ef6f99c19777a1494cfe79e684c0 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0086_bar_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0086_bar_q3", + "instruction": "How many days exceeded the '2 x Goal' line at 12,000 steps, and on which dates did this occur?", + "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_insert/amCharts/bar/chart_0086_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "How many days exceeded the '2 x Goal' line at 12,000 steps, and on which dates did this occur?", + "expected": "Two days exceeded 12,000 steps: 2021-01-19 and 2021-01-25.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0086_line_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0086_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..e6f8e590cf83e054e1a64f54198607e79d50451f --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0086_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0086_line_q1", + "instruction": "What is the highest value recorded in 'My Second dataset' and on which date does it occur?", + "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_insert/Chart.js/line/chart_0086_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the highest value recorded in 'My Second dataset' and on which date does it occur?", + "expected": "The highest value in 'My Second dataset' is 95.83333333, occurring on 2021-01-07.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0086_line_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0086_line_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..538e47d9742c70c3741c8cf1595f3e31ae38eb64 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0086_line_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0086_line_q2", + "instruction": "On 2021-01-03, which dataset has the lowest value and what is that 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_insert/Chart.js/line/chart_0086_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "On 2021-01-03, which dataset has the lowest value and what is that value?", + "expected": "On 2021-01-03, the 'Dataset with point data' has the lowest value, 0.5105452674897119.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0086_pie_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0086_pie_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..69ec43073f3fffd10906f5b48d7944f265fb1ed0 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0086_pie_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0086_pie_q2", + "instruction": "What is the percentage of the smallest category in the pie chart?", + "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_insert/AntV G2/pie/chart_0086_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the percentage of the smallest category in the pie chart?", + "expected": "9% (Case Five)", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0087_bar_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0087_bar_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..3bf1c71b8b935bcb6f298503883554cb776c1165 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0087_bar_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0087_bar_q1", + "instruction": "Which building shown in the pictorial column chart is the tallest, and what is its height?", + "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_insert/amCharts/bar/chart_0087_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which building shown in the pictorial column chart is the tallest, and what is its height?", + "expected": "Burj Khalifa is the tallest, with a height of 828 metres.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0087_bar_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0087_bar_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..58439de436f8922c7e4849bb3e733f4054ab8604 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0087_bar_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0087_bar_q3", + "instruction": "What is the height difference between the tallest and the shortest buildings in the chart?", + "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_insert/amCharts/bar/chart_0087_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the height difference between the tallest and the shortest buildings in the chart?", + "expected": "The height difference between the tallest (828 metres) and the shortest (449 metres) buildings is 379 metres.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0087_line_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0087_line_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..625ae45b8b3ff396ada7aea6f115d2dab9763472 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0087_line_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0087_line_q2", + "instruction": "On 2021-01-03, which dataset has the higher value, and by how much does it exceed the other?", + "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_insert/Chart.js/line/chart_0087_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "On 2021-01-03, which dataset has the higher value, and by how much does it exceed the other?", + "expected": "On 2021-01-03, the dataset with date object point data is higher; its value exceeds the string point data dataset by 44.250685871056246 (85.16117969821674 minus 40.910493827160494).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0087_scatter_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0087_scatter_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..032563ef0b5eb74241771dd48abf41f3f1b2930b --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0087_scatter_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0087_scatter_q1", + "instruction": "Between the female data point at height 176.5 cm and weight 87.8, and the female data point at height 175.0 cm and weight 82.5, which one is heavier and by how many units of weight?", + "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_insert/AntV G2/scatter/chart_0087_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Between the female data point at height 176.5 cm and weight 87.8, and the female data point at height 175.0 cm and weight 82.5, which one is heavier and by how many units of weight?", + "expected": "The female at 176.5 cm and weight 87.8 is heavier by 5.3 units of weight (87.8 − 82.5 = 5.3).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0088_line_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0088_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..5322cb4f8a29c454f0708a8615733b4547ced0be --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0088_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0088_line_q1", + "instruction": "Which month has the highest data value, and what is that 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_insert/Chart.js/line/chart_0088_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which month has the highest data value, and what is that value?", + "expected": "March has the highest data value, at 90.68715706.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0088_line_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0088_line_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..f27e0ce976eac6b2aa0b983a83e02756523bd9ea --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0088_line_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0088_line_q2", + "instruction": "How many months have data values greater than 50, and which months are they?", + "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_insert/Chart.js/line/chart_0088_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "How many months have data values greater than 50, and which months are they?", + "expected": "Five months have values greater than 50: January, March, April, July, and August.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0088_pie_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0088_pie_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..7fc3d52baac8173143b0f938fdcaf0cf3f34ab70 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0088_pie_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0088_pie_q2", + "instruction": "Which gender has a higher proportion of short video users in the first quarter of 2018?", + "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_insert/AntV G2/pie/chart_0088_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which gender has a higher proportion of short video users in the first quarter of 2018?", + "expected": "Male users have a higher proportion than female users.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0088_pie_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0088_pie_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..5fa334077cb962f210abcb71ddc0adf6908be86f --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0088_pie_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0088_pie_q3", + "instruction": "By how many percentage points does the proportion of male short video users exceed that of female users in the first quarter of 2018?", + "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_insert/AntV G2/pie/chart_0088_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "By how many percentage points does the proportion of male short video users exceed that of female users in the first quarter of 2018?", + "expected": "The proportion of male users exceeds that of female users by 12.8 percentage points (56.4% − 43.6%).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0088_scatter_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0088_scatter_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..9e9b3a435b46627c024a44b33f4f62492e485afc --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0088_scatter_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0088_scatter_q1", + "instruction": "Among all cars listed for the year 1971, which model has the highest Miles_per_Gallon, and what is that 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_insert/AntV G2/scatter/chart_0088_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Among all cars listed for the year 1971, which model has the highest Miles_per_Gallon, and what is that value?", + "expected": "In 1971 the highest Miles_per_Gallon is 35, for the model \"datsun 1200\".", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0089_bar_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0089_bar_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..da4f5bddb65aa3af207f660652ed3ec8ad6fce11 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0089_bar_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0089_bar_q1", + "instruction": "Which country has the lowest value in 2004, and what is that 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_insert/amCharts/bar/chart_0089_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which country has the lowest value in 2004, and what is that value?", + "expected": "France has the lowest 2004 value, at 1.4.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0089_line_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0089_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..c6e7142e31c38024561dd92455c79a8a95cf84e4 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0089_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0089_line_q1", + "instruction": "In which month does Dataset 1 reach its highest value, and what is that 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_insert/Chart.js/line/chart_0089_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In which month does Dataset 1 reach its highest value, and what is that value?", + "expected": "Dataset 1 reaches its highest value in January, with a value of 77.42283951.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0089_line_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0089_line_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..c473e94c0646ed321d20ffe99e963091052bba71 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0089_line_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0089_line_q3", + "instruction": "Between which two consecutive months does Dataset 1 show the largest change in value, and what is the magnitude of that change?", + "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_insert/Chart.js/line/chart_0089_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Between which two consecutive months does Dataset 1 show the largest change in value, and what is the magnitude of that change?", + "expected": "The largest change occurs between April and May, with a change in value of 123.54766804.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0089_pie_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0089_pie_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..030175b09d6e7defb9ddb13344456def257f2b7b --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0089_pie_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0089_pie_q2", + "instruction": "Which age group has the highest value, which has the lowest value, and what is the difference between them?", + "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_insert/AntV G2/pie/chart_0089_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which age group has the highest value, which has the lowest value, and what is the difference between them?", + "expected": "The age group 20-24 has the highest value with 22,604,232, the age group 80-84 has the lowest value with 5,811,429, and the difference between them is 16,792,803.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0089_pie_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0089_pie_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..0eea272b45be4d8fda86f31924a1ac9455c8beab --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0089_pie_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0089_pie_q3", + "instruction": "By how much does the combined value of all age groups under 20 exceed the combined value of all age groups 65 and older?", + "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_insert/AntV G2/pie/chart_0089_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "By how much does the combined value of all age groups under 20 exceed the combined value of all age groups 65 and older?", + "expected": "The combined value of age groups under 20 is 82,448,267, the combined value of age groups 65 and older is 44,615,477, and the under-20 groups exceed the 65+ groups by 37,832,790.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0089_scatter_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0089_scatter_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..90dacfdfdb6db791d353877080b254d62822bb0d --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0089_scatter_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0089_scatter_q1", + "instruction": "Which car has the highest horsepower on the chart, and what are its mpg and horsepower values?", + "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_insert/AntV G2/scatter/chart_0089_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which car has the highest horsepower on the chart, and what are its mpg and horsepower values?", + "expected": "The Maserati Bora has the highest horsepower, with 335 hp and 15 mpg.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0089_scatter_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0089_scatter_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..3dd43de2285f2e2b4991d11639928c5787a2f161 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0089_scatter_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0089_scatter_q2", + "instruction": "Between 'Toyota Corolla' and 'Ford Pantera L', which car has higher fuel efficiency (mpg) and by how many mpg?", + "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_insert/AntV G2/scatter/chart_0089_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Between 'Toyota Corolla' and 'Ford Pantera L', which car has higher fuel efficiency (mpg) and by how many mpg?", + "expected": "The Toyota Corolla has higher fuel efficiency, exceeding the Ford Pantera L by 18.1 mpg (33.9 mpg vs. 15.8 mpg).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0090_bar_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0090_bar_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..2796988b7778328490dad1527f36ae6ed03252f5 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0090_bar_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0090_bar_q1", + "instruction": "What is the numeric value associated with the category \"John\" in this column chart?", + "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_insert/amCharts/bar/chart_0090_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the numeric value associated with the category \"John\" in this column chart?", + "expected": "The value for \"John\" is 35,654.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0090_line_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0090_line_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..6a3dec5a6b1f3250f74e5c7e579619f0bb683bb0 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0090_line_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0090_line_q2", + "instruction": "Between which two consecutive months does Dataset 1 show the largest decrease in value, and what is the size of this decrease?", + "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_insert/Chart.js/line/chart_0090_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Between which two consecutive months does Dataset 1 show the largest decrease in value, and what is the size of this decrease?", + "expected": "The largest decrease is between May and June, with a drop of 162.7451989.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0090_line_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0090_line_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..800fe077d370559d2cbdf4e5207ecdfc2c873653 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0090_line_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0090_line_q3", + "instruction": "How many months have negative values in Dataset 1, and which months are they?", + "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_insert/Chart.js/line/chart_0090_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "How many months have negative values in Dataset 1, and which months are they?", + "expected": "There are 3 months with negative values: March, April, and June.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0090_pie_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0090_pie_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..3619dda8fefb777d0fa0e11a3bf5148b650c6e86 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0090_pie_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0090_pie_q2", + "instruction": "What is the total value for all age groups under 20 years old (<5, 5-9, 10-14, and 15-19)?", + "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_insert/AntV G2/pie/chart_0090_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the total value for all age groups under 20 years old (<5, 5-9, 10-14, and 15-19)?", + "expected": "The total value for all age groups under 20 is 82,448,267.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0090_pie_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0090_pie_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..e759baf826700b2767c6f38bbd2c9be817f22dd8 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0090_pie_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0090_pie_q3", + "instruction": "By how much does the value for the 65-69 age group exceed that of the 75-79 age group?", + "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_insert/AntV G2/pie/chart_0090_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "By how much does the value for the 65-69 age group exceed that of the 75-79 age group?", + "expected": "The 65-69 age group exceeds the 75-79 age group by 6,817,317.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0090_scatter_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0090_scatter_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..628c439d9461d5e02acf296b525e2c56f7728516 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0090_scatter_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0090_scatter_q1", + "instruction": "Which category has the largest range of x-values (maximum x minus minimum x), and what is that range?", + "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_insert/AntV G2/scatter/chart_0090_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which category has the largest range of x-values (maximum x minus minimum x), and what is that range?", + "expected": "The virginica category has the largest x-value range, with a range of 3.0 (from x = 4.9 to x = 7.9).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0090_scatter_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0090_scatter_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..19ccea337973647deaaa1276cb863c3235e17d3e --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0090_scatter_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0090_scatter_q2", + "instruction": "What is the smallest y-value in the entire dataset, and which category does the corresponding point belong to?", + "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_insert/AntV G2/scatter/chart_0090_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the smallest y-value in the entire dataset, and which category does the corresponding point belong to?", + "expected": "The smallest y-value is 2.0, and it belongs to the versicolor category.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0091_bar_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0091_bar_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..bfade2141e68e60b21a466356eeaed0f5e61cf7f --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0091_bar_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0091_bar_q1", + "instruction": "According to the chart, what is the population value for the year 1992?", + "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_insert/Plotly/bar/chart_0091_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "According to the chart, what is the population value for the year 1992?", + "expected": "The population in 1992 is 28.5235M", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0091_line_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0091_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..bf13f0f9b1b18691a91f9bdfa5190884cfacb2cd --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0091_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0091_line_q1", + "instruction": "In which month does Dataset 2 reach its highest value, and what is that 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_insert/Chart.js/line/chart_0091_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In which month does Dataset 2 reach its highest value, and what is that value?", + "expected": "Dataset 2 reaches its highest value in April, with a value of 92.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0091_line_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0091_line_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..62c13e2d58da5c91edc6cd5de6a8fbf896e7cded --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0091_line_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0091_line_q2", + "instruction": "Between which consecutive months does Dataset 1 experience its largest drop in value, and by how much does it drop?", + "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_insert/Chart.js/line/chart_0091_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Between which consecutive months does Dataset 1 experience its largest drop in value, and by how much does it drop?", + "expected": "Dataset 1 experiences its largest drop between January and February, dropping by 102 (from 93 to -9).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0091_line_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0091_line_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..a474309b2aebe194dec410371f87d20b86e07e4b --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0091_line_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0091_line_q3", + "instruction": "In which month is the combined sum of Dataset 1 and Dataset 2 the lowest, and what is that sum?", + "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_insert/Chart.js/line/chart_0091_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In which month is the combined sum of Dataset 1 and Dataset 2 the lowest, and what is that sum?", + "expected": "The combined sum of Dataset 1 and Dataset 2 is lowest in July, with a sum of -25.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0091_pie_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0091_pie_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..d2260070648551cf34854cdf79063a451ffb5273 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0091_pie_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0091_pie_q1", + "instruction": "Which age group has the largest value in the donut chart, and what is that 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_insert/AntV G2/pie/chart_0091_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which age group has the largest value in the donut chart, and what is that value?", + "expected": "The 20–24 age group has the largest value, with 22,604,232 people.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0091_pie_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0091_pie_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..70dedc8df658e4ec47a8ce5268f77040119ae705 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0091_pie_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0091_pie_q2", + "instruction": "What is the total number of people younger than 20 years old (from <5 through 15–19), and approximately what percentage of the total population in the chart do they represent?", + "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_insert/AntV G2/pie/chart_0091_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the total number of people younger than 20 years old (from <5 through 15–19), and approximately what percentage of the total population in the chart do they represent?", + "expected": "People younger than 20 total 82,448,267, which is about 26% of the overall total of 316,515,021.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0091_pie_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0091_pie_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..4759d5bd3831891b85e585448800e539e01d02fe --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0091_pie_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0091_pie_q3", + "instruction": "How many more people are there in the 50–54 age group than in the 60–64 age group?", + "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_insert/AntV G2/pie/chart_0091_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "How many more people are there in the 50–54 age group than in the 60–64 age group?", + "expected": "There are 4,109,809 more people in the 50–54 age group than in the 60–64 age group.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0091_scatter_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0091_scatter_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..f19b724b32e3789b325c2e0055dbe6b9f7c35ee0 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0091_scatter_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0091_scatter_q3", + "instruction": "If you cumulatively add complaints in the chart’s order, approximately what percentage of total complaints is covered by the first four categories?", + "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_insert/AntV G2/scatter/chart_0091_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "If you cumulatively add complaints in the chart’s order, approximately what percentage of total complaints is covered by the first four categories?", + "expected": "The first four categories together account for approximately 76% of the total complaints.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0092_bar_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0092_bar_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..f92fb964c52695d7030c8a22b5effbbdf423537c --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0092_bar_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0092_bar_q1", + "instruction": "Which nation has the highest number of gold medals, and how many more gold medals does it have than the nation with the second-highest gold count?", + "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_insert/Plotly/bar/chart_0092_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which nation has the highest number of gold medals, and how many more gold medals does it have than the nation with the second-highest gold count?", + "expected": "South Korea has the highest number of gold medals with 24, which is 14 more than China, the nation with the second-highest gold count of 10.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0092_bar_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0092_bar_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..0a2c6c1051adb3492327892ce854a21622d98002 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0092_bar_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0092_bar_q2", + "instruction": "For Canada, which medal type is most numerous, and what is the difference between its count and the least numerous medal type for Canada?", + "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_insert/Plotly/bar/chart_0092_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "For Canada, which medal type is most numerous, and what is the difference between its count and the least numerous medal type for Canada?", + "expected": "For Canada, silver and bronze medals are tied as the most numerous with 12 each, which is 3 more than gold medals, which are 9.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0092_line_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0092_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..2e5eb84fbfb550858ae1690b1f7491e904e8366b --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0092_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0092_line_q1", + "instruction": "In which month does Dataset 2 reach its highest value, and what is that 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_insert/Chart.js/line/chart_0092_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In which month does Dataset 2 reach its highest value, and what is that value?", + "expected": "Dataset 2 reaches its highest value in March, with a value of 98.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0092_line_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0092_line_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..acd4d8947c425cee87e3a8025e95e6cdbb49e56f --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0092_line_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0092_line_q3", + "instruction": "By how much does Dataset 1 change from January to July?", + "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_insert/Chart.js/line/chart_0092_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "By how much does Dataset 1 change from January to July?", + "expected": "Dataset 1 increases by 178 points, from -99 in January to 79 in July.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0092_pie_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0092_pie_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..093a7d81600ccfea7cc653cff0679056d9f26cc1 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0092_pie_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0092_pie_q2", + "instruction": "By how much does the value of \"elixir\" exceed that of \"sass\"?", + "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_insert/AntV G2/pie/chart_0092_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "By how much does the value of \"elixir\" exceed that of \"sass\"?", + "expected": "\"Elixir\" exceeds \"sass\" by 341 (561 − 220 = 341).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0092_scatter_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0092_scatter_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..0d7cdfa132272163dba2ca3b399d769b83b7adca --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0092_scatter_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0092_scatter_q3", + "instruction": "From 1885-01-01 to 1885-12-01, did the value increase or decrease, and by how much?", + "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_insert/AntV G2/scatter/chart_0092_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "From 1885-01-01 to 1885-12-01, did the value increase or decrease, and by how much?", + "expected": "The value increased by 0.59, from -0.66 on 1885-01-01 to -0.07 on 1885-12-01.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0093_bar_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0093_bar_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..f5ee35af8367c373d133f849e88a2c8fce9a3359 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0093_bar_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0093_bar_q1", + "instruction": "In which year does Canada reach its highest population in the chart, and what is that population?", + "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_insert/Plotly/bar/chart_0093_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In which year does Canada reach its highest population in the chart, and what is that population?", + "expected": "Canada reaches its highest population in 2007, with a population of 33,390,141.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0093_bar_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0093_bar_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..a76f8f6fd0cdc9271aa2a38cbc77f02d0ef1d4a6 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0093_bar_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0093_bar_q3", + "instruction": "For how many years, and which specific years, does the chart show Canada’s population exceeding 25,000,000?", + "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_insert/Plotly/bar/chart_0093_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "For how many years, and which specific years, does the chart show Canada’s population exceeding 25,000,000?", + "expected": "The population exceeds 25,000,000 in 6 years: 1982, 1987, 1992, 1997, 2002, and 2007.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0093_line_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0093_line_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..adc6bd3c789c2dd0e93ffebae353ee9297347f73 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0093_line_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0093_line_q2", + "instruction": "For Dataset 2, between which consecutive months does the value increase the most, and by approximately how much?", + "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_insert/Chart.js/line/chart_0093_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "For Dataset 2, between which consecutive months does the value increase the most, and by approximately how much?", + "expected": "The largest increase in Dataset 2 is between March and April, by about 153.82 units.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0093_pie_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0093_pie_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..a47f6c9968f5f6bfb96c320b42b39da5cc952eb3 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0093_pie_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0093_pie_q1", + "instruction": "Is the value for News greater than the value for Video?", + "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_insert/AntV G2/pie/chart_0093_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Is the value for News greater than the value for Video?", + "expected": "Yes, News has a value of 0.81 which is greater than Video's 0.39.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0093_pie_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0093_pie_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..3b11fcd88b3da409a59d5893a0113d93c38ecacc --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0093_pie_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0093_pie_q3", + "instruction": "What is the highest value among all types in the chart?", + "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_insert/AntV G2/pie/chart_0093_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the highest value among all types in the chart?", + "expected": "Weibo has the highest value of 93.33.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0094_bar_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0094_bar_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..01cd48d9fa0c11ff9ce5057cda616d86c9582abe --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0094_bar_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0094_bar_q3", + "instruction": "In which year did New Zealand's population first exceed 3,000,000, and what was its population that year?", + "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_insert/Plotly/bar/chart_0094_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In which year did New Zealand's population first exceed 3,000,000, and what was its population that year?", + "expected": "New Zealand's population first exceeded 3,000,000 in 1977, reaching 3,164,900.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0094_line_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0094_line_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..24f7d01cb33d9a209809d8cc6e3ed8b73f7f80f6 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0094_line_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0094_line_q3", + "instruction": "By how much does the Stars dataset value change from April to June (June value minus April 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_insert/Chart.js/line/chart_0094_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "By how much does the Stars dataset value change from April to June (June value minus April value)?", + "expected": "The Stars value increases by 97.760631 from April to June.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0094_scatter_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0094_scatter_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..5cdd75660a2dd05c343e68a50ae58a3a5189973b --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0094_scatter_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0094_scatter_q1", + "instruction": "For Berlin, in which month is the average rainfall the highest, and what is that 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_insert/AntV G2/scatter/chart_0094_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "For Berlin, in which month is the average rainfall the highest, and what is that value?", + "expected": "Berlin has its highest average rainfall in April, with 99.7 units.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0094_scatter_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0094_scatter_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..77922d9041a18c52dc2e4c3189bf651eb2b518d7 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0094_scatter_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0094_scatter_q3", + "instruction": "Considering the combined average rainfall of London and Berlin, which month has the highest total, and what is that total?", + "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_insert/AntV G2/scatter/chart_0094_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Considering the combined average rainfall of London and Berlin, which month has the highest total, and what is that total?", + "expected": "April has the highest combined average rainfall, totaling 181.1 units.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0095_line_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0095_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..1b9dbe7ae2d66f0af56fc2e378af99e4704b76cf --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0095_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0095_line_q1", + "instruction": "In which month does Dataset 1 reach its maximum value, and what is that 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_insert/Chart.js/line/chart_0095_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In which month does Dataset 1 reach its maximum value, and what is that value?", + "expected": "Dataset 1 reaches its maximum value in May, with a value of 91.57064472.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0095_pie_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0095_pie_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..2a9834d86d50f3bb939e8b46ec37f12466a13807 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0095_pie_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0095_pie_q2", + "instruction": "By how many counts does Case 2 exceed Case 3?", + "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_insert/AntV G2/pie/chart_0095_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "By how many counts does Case 2 exceed Case 3?", + "expected": "Case 2 exceeds Case 3 by 4 counts (21 − 17 = 4).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0095_pie_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0095_pie_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..a3ef21abbba9c83891ea4725328b90965dcd115c --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0095_pie_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0095_pie_q3", + "instruction": "What is the combined percentage of Case 4 and Case 5?", + "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_insert/AntV G2/pie/chart_0095_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the combined percentage of Case 4 and Case 5?", + "expected": "The combined percentage of Case 4 and Case 5 is 22% (13% + 9%).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0095_scatter_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0095_scatter_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..6f8b39b09478199d3505e433eb8083fe294d69c4 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0095_scatter_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0095_scatter_q2", + "instruction": "At the same level, are there more males or more females?", + "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_insert/AntV G2/scatter/chart_0095_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "At the same level, are there more males or more females?", + "expected": "Males", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0096_line_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0096_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..6567208628da309c13ecc085713a71d583107eb8 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0096_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0096_line_q1", + "instruction": "How many line series named 'Series i' are created in the chart?", + "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_insert/amCharts/line/chart_0096_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "How many line series named 'Series i' are created in the chart?", + "expected": "10 line series are created, named from 'Series 0' to 'Series 9'.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0096_line_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0096_line_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..8cf44ae6715a17d6288aad17f04743e52b03935c --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0096_line_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0096_line_q3", + "instruction": "What is the base interval configuration of the x-axis date axis?", + "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_insert/amCharts/line/chart_0096_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the base interval configuration of the x-axis date axis?", + "expected": "The base interval is 1 day, with timeUnit set to 'day' and count set to 1.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0096_pie_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0096_pie_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..8fe3fd13f5b87aecc7e070f7dc94486289621837 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0096_pie_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0096_pie_q1", + "instruction": "According to the chart data, how many people of sex 2 were aged 10 in 1880?", + "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_insert/AntV G2/pie/chart_0096_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "According to the chart data, how many people of sex 2 were aged 10 in 1880?", + "expected": "2,813,550 people.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0096_pie_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0096_pie_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..7119cf214a71db6a3019bfd9296a362d7a91dfe4 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0096_pie_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0096_pie_q2", + "instruction": "In 1870 at age 40, which sex had more people, and what were the counts for each sex?", + "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_insert/AntV G2/pie/chart_0096_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In 1870 at age 40, which sex had more people, and what were the counts for each sex?", + "expected": "Sex 1 had more people at age 40 in 1870, with 968,861 people compared to 944,401 for sex 2.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0096_pie_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0096_pie_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..b4e2b9dc19315b7ec73f4268f2f9024bbf82e370 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0096_pie_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0096_pie_q3", + "instruction": "By how much did the number of people of sex 1 aged 0 change from 1850 to 1860?", + "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_insert/AntV G2/pie/chart_0096_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "By how much did the number of people of sex 1 aged 0 change from 1850 to 1860?", + "expected": "It increased by 637,057 people, from 1,483,789 in 1850 to 2,120,846 in 1860.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0096_scatter_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0096_scatter_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..d0063d9e7fab98ae2d953a8e32834ad86b3b1f1a --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0096_scatter_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0096_scatter_q1", + "instruction": "Between 1900 and 1930, in which year did 'All natural disasters' cause the highest number of deaths, and what was that number?", + "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_insert/AntV G2/scatter/chart_0096_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Between 1900 and 1930, in which year did 'All natural disasters' cause the highest number of deaths, and what was that number?", + "expected": "'All natural disasters' caused the highest number of deaths in 1920, with 3,204,224 deaths.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0096_scatter_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0096_scatter_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..84012e4682beea8f3a05bb13f622c6454324915a --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0096_scatter_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0096_scatter_q2", + "instruction": "In 1943, which disaster type caused more deaths, 'Drought' or 'Earthquake', and by how many deaths?", + "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_insert/AntV G2/scatter/chart_0096_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In 1943, which disaster type caused more deaths, 'Drought' or 'Earthquake', and by how many deaths?", + "expected": "In 1943, 'Drought' caused more deaths than 'Earthquake' by 1,895,668 deaths (1,900,000 vs. 4,332).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0096_scatter_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0096_scatter_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..45a9a14e6d5be5ce30b9766e7a0a6d7378cbf839 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0096_scatter_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0096_scatter_q3", + "instruction": "For 'Drought', by how many deaths did the toll change from 1965 to 1973, and was it an increase or a decrease?", + "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_insert/AntV G2/scatter/chart_0096_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "For 'Drought', by how many deaths did the toll change from 1965 to 1973, and was it an increase or a decrease?", + "expected": "For 'Drought', deaths decreased by 1,401,950 from 1964 (1,502,000 deaths) to 1965 (100,000 deaths).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0097_line_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0097_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..e5af79afde39a2ca392c648425af63d532e45857 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0097_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0097_line_q1", + "instruction": "How many data items are generated and added to the radar line series?", + "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_insert/amCharts/line/chart_0097_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "How many data items are generated and added to the radar line series?", + "expected": "12 data items are generated and added to the series.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0097_pie_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0097_pie_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..daec4902e38ceb24683bf14d206a9bf172b72df0 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0097_pie_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0097_pie_q1", + "instruction": "Across all states in the chart, which state has the largest population in the age group \"25 to 44 Years\", and what is that population?", + "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_insert/AntV G2/pie/chart_0097_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Across all states in the chart, which state has the largest population in the age group \"25 to 44 Years\", and what is that population?", + "expected": "California has the largest population in the age group \"25 to 44 Years\", with 10,604,510 people.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0097_pie_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0097_pie_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..d47ace3bb7323350d1f367ef42e461f4782156b1 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0097_pie_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0097_pie_q2", + "instruction": "For Texas (TX), which age group is larger: \"Under 5 Years\" or \"65 Years and Over\", and by how many people?", + "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_insert/AntV G2/pie/chart_0097_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "For Texas (TX), which age group is larger: \"Under 5 Years\" or \"65 Years and Over\", and by how many people?", + "expected": "In Texas, the \"65 Years and Over\" group is larger than the \"Under 5 Years\" group by 444,916 people (2,472,223 vs. 2,027,307).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0097_pie_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0097_pie_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..577661a1cd21ce1d76b37ab0a390bda14a260705 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0097_pie_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0097_pie_q3", + "instruction": "Comparing California (CA) and New York (NY), which state has the higher combined population for ages \"Under 5 Years\", \"5 to 13 Years\", and \"14 to 17 Years\", and what are the combined totals for each state?", + "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_insert/AntV G2/pie/chart_0097_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Comparing California (CA) and New York (NY), which state has the higher combined population for ages \"Under 5 Years\", \"5 to 13 Years\", and \"14 to 17 Years\", and what are the combined totals for each state?", + "expected": "California has the higher combined population for those three age groups, with 9,364,530 people compared to New York’s 4,408,016 people.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0097_scatter_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0097_scatter_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..ec1195155e69f0feaa4705a2d5ad6f4be78b038c --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0097_scatter_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0097_scatter_q2", + "instruction": "According to the chart data, by how many years is life expectancy higher in Korea, Rep. than in Korea, Dem. Rep.?", + "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_insert/AntV G2/scatter/chart_0097_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "According to the chart data, by how many years is life expectancy higher in Korea, Rep. than in Korea, Dem. Rep.?", + "expected": "Life expectancy in Korea, Rep. is higher by 11.326 years (78.623 minus 67.297).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0097_scatter_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0097_scatter_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..997588ccb4a321c351ac25c9b955ebb3f57838ba --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0097_scatter_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0097_scatter_q3", + "instruction": "Within the European countries in the chart, which country has the largest population, and what is that population?", + "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_insert/AntV G2/scatter/chart_0097_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Within the European countries in the chart, which country has the largest population, and what is that population?", + "expected": "Germany has the largest population among the European countries, with a population of 82400996.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0098_line_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0098_line_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..a0ad74ab7321bc198b5de109ea5353f6fbab0abb --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0098_line_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0098_line_q2", + "instruction": "In the EUROPE data for Montenegro, the anomaly values after the baseline start with a sequence of zeros. What is the first anomaly value for Montenegro that is not zero?", + "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_insert/amCharts/line/chart_0098_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In the EUROPE data for Montenegro, the anomaly values after the baseline start with a sequence of zeros. What is the first anomaly value for Montenegro that is not zero?", + "expected": "The first non-zero anomaly value for Montenegro is 7.9.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0098_pie_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0098_pie_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..6a3d7c302f417351b960e8e0f53b5927ac5195f0 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0098_pie_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0098_pie_q3", + "instruction": "What is the number of female people (sex 2) at age 25 in the year 1900?", + "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_insert/AntV G2/pie/chart_0098_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the number of female people (sex 2) at age 25 in the year 1900?", + "expected": "3,236,056", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0099_bar_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0099_bar_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..6346c026f7979bca617603f44ca1d61d89048e23 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0099_bar_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0099_bar_q1", + "instruction": "Which country shown has the largest population, and what is that population?", + "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_insert/Plotly/bar/chart_0099_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which country shown has the largest population, and what is that population?", + "expected": "Germany has the largest population, with 82.401M people.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0099_bar_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0099_bar_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..db4ff23c76e5b3193c90b59036c6edf2b4b1f840 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0099_bar_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0099_bar_q2", + "instruction": "By how many people does Turkey's population exceed Italy's population in the chart?", + "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_insert/Plotly/bar/chart_0099_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "By how many people does Turkey's population exceed Italy's population in the chart?", + "expected": "Turkey's population exceeds Italy's by 13,010,920 people (71,158,650 minus 58,147,730).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0099_line_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0099_line_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..f28b055492be99f74082c948934d20d9ffdca4aa --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0099_line_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0099_line_q2", + "instruction": "What is the name of the OHLC series displayed on the chart?", + "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_insert/amCharts/line/chart_0099_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the name of the OHLC series displayed on the chart?", + "expected": "The OHLC series is named \"MDXI\".", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0099_line_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0099_line_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..3e74f0208b7601b730c7807aa95edaa3335b6dd4 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0099_line_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0099_line_q3", + "instruction": "How is the time interval configured on the main chart’s DateAxis compared to the scrollbar chart’s DateAxis?", + "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_insert/amCharts/line/chart_0099_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "How is the time interval configured on the main chart’s DateAxis compared to the scrollbar chart’s DateAxis?", + "expected": "Both x-axes use a baseInterval of 1 day, but the scrollbar’s DateAxis additionally has a group interval of 1 week.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0099_pie_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0099_pie_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..7c314b3b20aba3f738ec868c5410c5de10c94ec9 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0099_pie_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0099_pie_q2", + "instruction": "Comparing the total values across all wind speed levels, by how much does the S direction exceed the N direction?", + "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_insert/AntV G2/pie/chart_0099_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Comparing the total values across all wind speed levels, by how much does the S direction exceed the N direction?", + "expected": "The S direction total is 8.53, the N direction total is 3.75, so S exceeds N by 4.78.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0099_pie_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0099_pie_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..da7c6faaacbc1f36af0d1586566ae31f9d4fc956 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0099_pie_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0099_pie_q3", + "instruction": "Which wind direction has the highest total value across all speed levels, and what is that total 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_insert/AntV G2/pie/chart_0099_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which wind direction has the highest total value across all speed levels, and what is that total value?", + "expected": "The SE direction has the highest total value of 11.44.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0099_scatter_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0099_scatter_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..3313a27f334e52cd47a9ac3114560ec5c30d8e6d --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0099_scatter_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0099_scatter_q1", + "instruction": "Who has more rebounds, Jordan or LeBron James, and by how many rebounds?", + "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_insert/AntV G2/scatter/chart_0099_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Who has more rebounds, Jordan or LeBron James, and by how many rebounds?", + "expected": "LeBron James has more rebounds than Jordan by 1.2 rebounds (7.4 vs 6.2).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0099_scatter_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0099_scatter_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..0c3bd0f523d2a966805478e069d71f4a05bf1674 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0099_scatter_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0099_scatter_q3", + "instruction": "In how many of the five statistics does Jordan have a higher value than LeBron James, and which statistics are they?", + "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_insert/AntV G2/scatter/chart_0099_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In how many of the five statistics does Jordan have a higher value than LeBron James, and which statistics are they?", + "expected": "Jordan has a higher value in 2 statistics: Points and Steals.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0100_line_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0100_line_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..12b3136ef44c4e9ce9cb5e47298a70b7afc8adb7 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0100_line_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0100_line_q3", + "instruction": "On the entry with Date 2021-03-31, by how many dollars does the Close price exceed the Open price?", + "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_insert/amCharts/line/chart_0100_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "On the entry with Date 2021-03-31, by how many dollars does the Close price exceed the Open price?", + "expected": "The Close price exceeds the Open price by 2.86 dollars (235.77 − 232.91).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0100_pie_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0100_pie_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..52bb5172b9c8517f580cffe60761c5a85d3e772c --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0100_pie_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0100_pie_q1", + "instruction": "Among all the years shown, which year has the highest population value and what is that 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_insert/AntV G2/pie/chart_0100_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Among all the years shown, which year has the highest population value and what is that value?", + "expected": "The highest population is in 2008 with a value of 46.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0100_pie_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0100_pie_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..5889bad0c9f36c010b12aa29ec1996571ba50e7f --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0100_pie_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0100_pie_q2", + "instruction": "What is the difference in population between the years 2008 and 2005?", + "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_insert/AntV G2/pie/chart_0100_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the difference in population between the years 2008 and 2005?", + "expected": "The population in 2008 is higher by 20.2 (46 − 25.8 = 20.2).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0100_pie_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0100_pie_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..45ff79f6d91b1a52044f9f3264440c96e1cbd482 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0100_pie_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0100_pie_q3", + "instruction": "How many years have a population greater than 35, and which years are they?", + "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_insert/AntV G2/pie/chart_0100_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "How many years have a population greater than 35, and which years are they?", + "expected": "There are 5 years with population greater than 35: 2001, 2002, 2008, 2009, and 2011.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0100_scatter_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0100_scatter_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..699c0ed1f3825b8c6b1231e9f01f783157d06c14 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0100_scatter_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0100_scatter_q1", + "instruction": "Which state has the highest proportion of population in the \"<10\" age group, and what is that proportion?", + "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_insert/AntV G2/scatter/chart_0100_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which state has the highest proportion of population in the \"<10\" age group, and what is that proportion?", + "expected": "Utah has the highest proportion in the \"<10\" age group, with a value of 0.1741657500762271.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0100_scatter_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0100_scatter_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..44e1d97d7d7a5e6b56cce1ca1725e8c8ac9c964d --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0100_scatter_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0100_scatter_q2", + "instruction": "For the District of Columbia (DC), which age group has a higher population proportion, \"20-29\" or \"30-39\", and by how many percentage points?", + "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_insert/AntV G2/scatter/chart_0100_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "For the District of Columbia (DC), which age group has a higher population proportion, \"20-29\" or \"30-39\", and by how many percentage points?", + "expected": "In DC, the \"20-29\" age group (0.20785148609503057) is higher than \"30-39\" (0.18439808864522336) by about 0.02345, i.e., roughly 2.35 percentage points.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0100_scatter_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0100_scatter_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..f670d03b6bb7c7ec118f992062a33b35d33b74c4 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0100_scatter_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0100_scatter_q3", + "instruction": "Among Alaska (AK), North Dakota (ND), and Utah (UT), which state has the lowest population proportion in the \"20-29\" age group, and what is that 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_insert/AntV G2/scatter/chart_0100_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Among Alaska (AK), North Dakota (ND), and Utah (UT), which state has the lowest population proportion in the \"20-29\" age group, and what is that value?", + "expected": "Utah has the lowest \"20-29\" proportion among AK, ND, and UT, with a value of 0.15778549036486234.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0101_line_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0101_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..5ada434929f715ab9e427e87cec983092abb1be8 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0101_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0101_line_q1", + "instruction": "On 2022-03-30, what is the open value of MSFT?", + "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_insert/amCharts/line/chart_0101_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "On 2022-03-30, what is the open value of MSFT?", + "expected": "313.76", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0101_pie_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0101_pie_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..faf0df67b0dabb940ceb6e05ce5d9b678ec80dc8 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0101_pie_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0101_pie_q1", + "instruction": "Which year recorded the highest population and what was the value? Which year recorded the lowest population and what was the 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_insert/AntV G2/pie/chart_0101_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which year recorded the highest population and what was the value? Which year recorded the lowest population and what was the value?", + "expected": "The highest population was in 2008 with 46.0, and the lowest population was in 2005 with 25.8.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0101_scatter_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0101_scatter_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..c1b01a7ebdd6aab3a191c7bc0d8c345b2bd48950 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0101_scatter_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0101_scatter_q2", + "instruction": "Across all items, in how many items does type 'b' have a higher score than type 'a'?", + "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_insert/AntV G2/scatter/chart_0101_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Across all items, in how many items does type 'b' have a higher score than type 'a'?", + "expected": "Type 'b' has a higher score than type 'a' in 6 items.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0101_scatter_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0101_scatter_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..73951b09f21bdfaf0d2b31dd067b6eea7b3a0569 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0101_scatter_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0101_scatter_q3", + "instruction": "What is the average score of type 'a' across all items in the chart?", + "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_insert/AntV G2/scatter/chart_0101_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the average score of type 'a' across all items in the chart?", + "expected": "The average score of type 'a' across all items is 54.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0102_line_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0102_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..c3ebe1ed4388e6e6a85674036a6d4bfa3738a9e3 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0102_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0102_line_q1", + "instruction": "On 2014-04-04, what is the open value of AMCH?", + "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_insert/amCharts/line/chart_0102_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "On 2014-04-04, what is the open value of AMCH?", + "expected": "41.25", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0102_pie_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0102_pie_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..ccaa1336dec8f92ee8ada5353bccda5a69480515 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0102_pie_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0102_pie_q1", + "instruction": "In which year is the combined total of Type A, Type B, and Type C highest, and what is that total?", + "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_insert/AntV G2/pie/chart_0102_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In which year is the combined total of Type A, Type B, and Type C highest, and what is that total?", + "expected": "The combined total is highest in 2014, with a total of 75.7.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0102_pie_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0102_pie_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..4a9f91eba178f06de80b296c8f4bb9c60413a34c --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0102_pie_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0102_pie_q2", + "instruction": "From 2000 to 2014, by how many units did the value of Type C change, and did it increase or decrease?", + "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_insert/AntV G2/pie/chart_0102_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "From 2000 to 2014, by how many units did the value of Type C change, and did it increase or decrease?", + "expected": "Type C increased by 10 units, from 8 in 2000 to 18 in 2014.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0102_scatter_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0102_scatter_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..1553375dafeed36f1f2657f51c299e16d9b259d7 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0102_scatter_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0102_scatter_q3", + "instruction": "What is the maximum score value recorded for any type in the chart data?", + "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_insert/AntV G2/scatter/chart_0102_scatter.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the maximum score value recorded for any type in the chart data?", + "expected": "The maximum score is 70.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0103_bar_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0103_bar_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..26096f52896770eef0b010d18de629750ee12027 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0103_bar_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0103_bar_q1", + "instruction": "Which animal type has the highest count, and what is that count?", + "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_insert/Plotly/bar/chart_0103_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which animal type has the highest count, and what is that count?", + "expected": "Monkeys have the highest count with 23.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0103_line_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0103_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..15011d24c161c227bdf960daee3201786fecd1fd --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0103_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0103_line_q1", + "instruction": "How many data points are generated and added to the line series in this chart?", + "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_insert/amCharts/line/chart_0103_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "How many data points are generated and added to the line series in this chart?", + "expected": "50 data points are generated and added to the series.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0103_pie_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0103_pie_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..0d93dab7c28b88bf246cf8e32947ee9db07388b5 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0103_pie_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0103_pie_q1", + "instruction": "How does the pv count for 'Add to Cart' compare to that of 'Generate Order'? Specify the difference.", + "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_insert/AntV G2/pie/chart_0103_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "How does the pv count for 'Add to Cart' compare to that of 'Generate Order'? Specify the difference.", + "expected": "Add to Cart has a pv of 35,000, which is 10,000 higher than Generate Order's 25,000.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0103_pie_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0103_pie_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..04b376cc87179b137bf03864c251186053d44944 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0103_pie_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0103_pie_q2", + "instruction": "What proportion of the initial pv (from Browse Website) is represented by the final pv (Complete Transaction) as a percentage?", + "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_insert/AntV G2/pie/chart_0103_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What proportion of the initial pv (from Browse Website) is represented by the final pv (Complete Transaction) as a percentage?", + "expected": "Complete Transaction has 8,000 pv, which is 16% of the 50,000 pv from Browse Website.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0103_pie_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0103_pie_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..b39b61c4caecf13b612b1ebe6ee9dd31ffdefa92 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0103_pie_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0103_pie_q3", + "instruction": "Which action has the highest page view (pv) count in the funnel chart, and what is the 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_insert/AntV G2/pie/chart_0103_pie.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which action has the highest page view (pv) count in the funnel chart, and what is the value?", + "expected": "Browse Website has the highest pv count of 50,000.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0104_bar_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0104_bar_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..201b12754b128ebc4b3a36e3396d4cef74f301a4 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0104_bar_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0104_bar_q1", + "instruction": "Which zoo has more monkeys and by how many animals?", + "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_insert/Plotly/bar/chart_0104_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which zoo has more monkeys and by how many animals?", + "expected": "LA Zoo has 6 more monkeys than SF Zoo (29 vs 23).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0104_line_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0104_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..f6da7709299a7727a1237965ff92f3894778d4aa --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0104_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0104_line_q1", + "instruction": "How many initial data points are generated for the main stock series when the chart loads?", + "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_insert/amCharts/line/chart_0104_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "How many initial data points are generated for the main stock series when the chart loads?", + "expected": "51 data points are generated initially.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0104_line_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0104_line_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..cf4f04c635c481789cd7d30f5b4a76f667f74540 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0104_line_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0104_line_q2", + "instruction": "What is the base time interval used on the date axis for plotting data in this chart?", + "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_insert/amCharts/line/chart_0104_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the base time interval used on the date axis for plotting data in this chart?", + "expected": "The base interval is 1 minute.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0105_line_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0105_line_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..83f2df6f7ed2085ce840eb078f6137488f3c1dee --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0105_line_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0105_line_q3", + "instruction": "What interactions are enabled for navigating the chart horizontally, and what is the orientation of the scrollbar?", + "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_insert/amCharts/line/chart_0105_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What interactions are enabled for navigating the chart horizontally, and what is the orientation of the scrollbar?", + "expected": "The chart allows horizontal panning with panX and mouse wheel panning via wheelX set to \"panX\", and it has a horizontal scrollbar (scrollbarX) with orientation set to \"horizontal\".", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0106_bar_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0106_bar_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..090f159109a850c8ee98aa41b0ef78dfbf3534e3 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0106_bar_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0106_bar_q1", + "instruction": "For the data series with y-values 1, 4, 9, and 16, at which x-value is its bar highest, and what is that 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_insert/Plotly/bar/chart_0106_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "For the data series with y-values 1, 4, 9, and 16, at which x-value is its bar highest, and what is that value?", + "expected": "Its bar is highest at x = 4, with a value of 16.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0106_bar_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0106_bar_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..95f27287e8647ca95496f84bb81336bd2fa350ba --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0106_bar_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0106_bar_q2", + "instruction": "At x = 2, which data series has the smallest bar value among all four series, and what is that 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_insert/Plotly/bar/chart_0106_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "At x = 2, which data series has the smallest bar value among all four series, and what is that value?", + "expected": "The series with y-values 6, -8, -4.5, and 8 has the smallest bar at x = 2, with a value of -8.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0106_line_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0106_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..a301fd3b1d6ef95f78cd5c974334672a00e43daf --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0106_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0106_line_q1", + "instruction": "Which module has the earliest starting task, and on what date does that task begin?", + "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_insert/amCharts/line/chart_0106_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which module has the earliest starting task, and on what date does that task begin?", + "expected": "Module #3 has the earliest starting task, beginning on 2019-01-01.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0107_line_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0107_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..3047c39a5f1aad5e200d06a2089f74afc9c565a0 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0107_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0107_line_q1", + "instruction": "How many times was coffee consumed?", + "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_insert/amCharts/line/chart_0107_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "How many times was coffee consumed?", + "expected": "2", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0110_bar_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0110_bar_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..73715e4fe740c360a182ff97d5ab6d5f3b12afa0 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0110_bar_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0110_bar_q3", + "instruction": "Between the letters A and T, which one has a higher frequency? What are their respective values?", + "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_insert/AntV G2/bar/chart_0110_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Between the letters A and T, which one has a higher frequency? What are their respective values?", + "expected": "The letter T is higher; A is 0.08167, and T is 0.09056.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0110_line_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0110_line_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..7f2475c90b905ed2bf9698553ea1e29328e30681 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0110_line_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0110_line_q2", + "instruction": "According to the candlestick series tooltip configuration, which four values are displayed in the tooltip?", + "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_insert/amCharts/line/chart_0110_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "According to the candlestick series tooltip configuration, which four values are displayed in the tooltip?", + "expected": "The tooltip displays open, low, high, and close values.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0111_bar_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0111_bar_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..d23ea6f5310c130b01f1d209b6b78d0c5604e8e7 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0111_bar_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0111_bar_q2", + "instruction": "How many years have sales of 38? Which years are they?", + "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_insert/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": "How many years have sales of 38? Which years are they?", + "expected": "There are 4 years with sales of 38: 1951, 1959, 1960, and 1962.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0111_bar_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0111_bar_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..1544f0ae1511d881fd2f8416df84b579c399dde9 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0111_bar_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0111_bar_q3", + "instruction": "How many years have sales greater than 50? What are the sales values for those years?", + "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_insert/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": "How many years have sales greater than 50? What are the sales values for those years?", + "expected": "There are 3 years with sales greater than 50: 1952 with 52, 1956 with 61, and 1957 with 145.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0111_line_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0111_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..ec535fcc11267ec616cd9d3fc99b54c1d91605e2 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0111_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0111_line_q1", + "instruction": "What is the base time interval used by the DateAxis on the x-axis in this chart?", + "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_insert/amCharts/line/chart_0111_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the base time interval used by the DateAxis on the x-axis in this chart?", + "expected": "The x-axis DateAxis uses a baseInterval of 1 day (timeUnit: \"day\", count: 1).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0112_bar_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0112_bar_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..96bf932b019491e21b6438b3277af8de904845f8 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0112_bar_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0112_bar_q1", + "instruction": "In which month is the combined average monthly rainfall of London and Berlin the highest, and what is the total?", + "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_insert/AntV G2/bar/chart_0112_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In which month is the combined average monthly rainfall of London and Berlin the highest, and what is the total?", + "expected": "Apr. has the highest combined average monthly rainfall, at 181.1.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0112_bar_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0112_bar_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..a1dacda7a1e751400e8f122dcf072545ba29e7bf --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0112_bar_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0112_bar_q3", + "instruction": "From Jan. to Apr., does Berlin's average monthly rainfall increase continuously, or is there a decrease?", + "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_insert/AntV G2/bar/chart_0112_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "From Jan. to Apr., does Berlin's average monthly rainfall increase continuously, or is there a decrease?", + "expected": "It rises continuously: 12.4, 23.2, 34.5, 99.7.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0112_line_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0112_line_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..8368b581ecebac9e7094a7474e91798073fe1b03 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0112_line_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0112_line_q3", + "instruction": "What is the value of cos(t) in 5.013855?", + "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_insert/Plotly/line/chart_0112_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the value of cos(t) in 5.013855?", + "expected": "0.2969204", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0113_bar_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0113_bar_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..bf85ff9a8ec4cb6c268caa5ef5ffa56c151f5eac --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0113_bar_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0113_bar_q1", + "instruction": "Among the 8 months in the chart, in which month does London have the highest average monthly rainfall, and what is the corresponding 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_insert/AntV G2/bar/chart_0113_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Among the 8 months in the chart, in which month does London have the highest average monthly rainfall, and what is the corresponding value?", + "expected": "London's highest average monthly rainfall is in 'Apr.', at 81.4.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0113_bar_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0113_bar_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..466efc7b4b87a97fbfdc3a9f65fb6fc28bc21f8d --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0113_bar_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0113_bar_q2", + "instruction": "In 'Jun.', what are the average monthly rainfall values for London and Berlin respectively, and which city is higher?", + "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_insert/AntV G2/bar/chart_0113_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In 'Jun.', what are the average monthly rainfall values for London and Berlin respectively, and which city is higher?", + "expected": "In 'Jun.', London is 20.3 and Berlin is 35.5, with Berlin higher.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0113_line_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0113_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..39a6370d982b86a5c3ee8babcf0e7cb34d641ffd --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0113_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0113_line_q1", + "instruction": "In 2007, which country had the higher life expectancy, and what was the difference between them?", + "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_insert/Plotly/line/chart_0113_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In 2007, which country had the higher life expectancy, and what was the difference between them?", + "expected": "In 2007, Australia had the higher life expectancy at 81.235 years versus New Zealand’s 80.204 years, a difference of 1.031 years.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0114_bar_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0114_bar_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..04bb415cb9eadf4da2d33ae0644bc670ae1d6a1c --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0114_bar_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0114_bar_q2", + "instruction": "What is the frequency of the letter T?", + "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_insert/AntV G2/bar/chart_0114_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the frequency of the letter T?", + "expected": "0.09056.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0114_line_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0114_line_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..3d6b0b12eea19f7c910437f43d81f0bddf3e93cb --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0114_line_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0114_line_q2", + "instruction": "Between 1952 and 2007, which country experienced the larger overall increase in life expectancy, and what was the increase for each?", + "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_insert/Plotly/line/chart_0114_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Between 1952 and 2007, which country experienced the larger overall increase in life expectancy, and what was the increase for each?", + "expected": "Australia experienced the larger overall increase. Australia’s life expectancy rose by 12.115 years (from 69.12 to 81.235), while New Zealand’s rose by 10.814 years (from 69.39 to 80.204).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0114_line_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0114_line_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..8f10aaed4100e66e9c34e593fc14dca5933374a4 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0114_line_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0114_line_q3", + "instruction": "In which year did Australia’s life expectancy first exceed 80 years, and what was New Zealand’s life expectancy in that same year?", + "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_insert/Plotly/line/chart_0114_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In which year did Australia’s life expectancy first exceed 80 years, and what was New Zealand’s life expectancy in that same year?", + "expected": "Australia’s life expectancy first exceeded 80 years in 2002, when it was 80.37 years; New Zealand’s life expectancy in that year was 79.11 years.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0115_bar_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0115_bar_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..663e860ac6afa65eba85f1535a51e853979b8bb5 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0115_bar_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0115_bar_q2", + "instruction": "In the chart, which country has the lowest gdp? What is its gdp 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_insert/AntV G2/bar/chart_0115_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In the chart, which country has the lowest gdp? What is its gdp value?", + "expected": "Romania, with a gdp of 169578.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0115_line_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0115_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..4bf7efda6a81a92708b8b29ff7bb74b3f3914005 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0115_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0115_line_q1", + "instruction": "On which date does GOOG reach its lowest value in the chart, and what is that value approximately?", + "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_insert/Plotly/line/chart_0115_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "On which date does GOOG reach its lowest value in the chart, and what is that value approximately?", + "expected": "GOOG reaches its lowest value on 2018-12-17, at approximately 0.889.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0115_line_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0115_line_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..c3d531a13a39ef5b6cab181d2c6b7b7fef6982d0 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0115_line_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0115_line_q2", + "instruction": "By approximately what percentage does GOOG change from 2018-01-01 to 2019-12-30?", + "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_insert/Plotly/line/chart_0115_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "By approximately what percentage does GOOG change from 2018-01-01 to 2019-12-30?", + "expected": "GOOG increases from 1.000 on 2018-01-01 to about 1.213 on 2019-12-30, an increase of roughly 21.3%.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0116_bar_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0116_bar_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..c802ee0491590c764b866110f53b5918379f668b --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0116_bar_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0116_bar_q1", + "instruction": "Which game genre has the highest sales?", + "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_insert/AntV G2/bar/chart_0116_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which game genre has the highest sales?", + "expected": "Shooter", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0117_bar_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0117_bar_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..a65f201603ddcce5484b0b9baf9c337af6025573 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0117_bar_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0117_bar_q1", + "instruction": "Which of the three activities has the highest percent value, and what is it?", + "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_insert/AntV G2/bar/chart_0117_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which of the three activities has the highest percent value, and what is it?", + "expected": "activity1, with a percent of 0.6", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0117_bar_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0117_bar_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..a6b26e0f706ae51f93818fac22332973ed805b67 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0117_bar_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0117_bar_q3", + "instruction": "What is the order of the three activities by percent from highest to lowest?", + "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_insert/AntV G2/bar/chart_0117_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the order of the three activities by percent from highest to lowest?", + "expected": "activity1, activity3, activity2", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0118_bar_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0118_bar_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..e34a25da0130473bbfd94d3b9145096512423181 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0118_bar_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0118_bar_q1", + "instruction": "Which letter has the highest frequency, and what is its exact 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_insert/AntV G2/bar/chart_0118_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which letter has the highest frequency, and what is its exact value?", + "expected": "The letter E has the highest frequency, at 0.12702.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0118_bar_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0118_bar_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..7402c82fb009b115dc0fc7fe822e1949185e9fb3 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0118_bar_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0118_bar_q2", + "instruction": "Between the letters A and B, which letter has the higher frequency, and by how much?", + "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_insert/AntV G2/bar/chart_0118_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Between the letters A and B, which letter has the higher frequency, and by how much?", + "expected": "The letter A has the higher frequency, by 0.06675.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0118_bar_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0118_bar_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..0a2505ffdca279cc77c8f4771ce2ff420aa65a7e --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0118_bar_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0118_bar_q3", + "instruction": "How many letters have a frequency less than 0.01?", + "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_insert/AntV G2/bar/chart_0118_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "How many letters have a frequency less than 0.01?", + "expected": "There are 6 letters with frequency less than 0.01.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0118_line_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0118_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..2cea87babd76cc4e9277243e153331b7c70b8de6 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0118_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0118_line_q1", + "instruction": "For Botswana, in which year does the chart show the highest life expectancy, and what are the lifeExp and gdpPercap values at that point?", + "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_insert/Plotly/line/chart_0118_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "For Botswana, in which year does the chart show the highest life expectancy, and what are the lifeExp and gdpPercap values at that point?", + "expected": "Botswana’s highest life expectancy occurs in 1987, with lifeExp 63.622 and gdpPercap 6205.88385.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0118_line_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0118_line_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..d254040d0bf4c60f23e6fe139a66d6076d297fdc --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0118_line_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0118_line_q3", + "instruction": "According to the chart, by how many years did Canada’s life expectancy increase between 1952 and 2007?", + "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_insert/Plotly/line/chart_0118_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "According to the chart, by how many years did Canada’s life expectancy increase between 1952 and 2007?", + "expected": "Canada’s life expectancy increased by 11.903 years, from 68.75 in 1952 to 80.653 in 2007.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0119_bar_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0119_bar_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..02af7c08267d9fa60500315d251968c9abfd50ff --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0119_bar_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0119_bar_q1", + "instruction": "Which letter has the highest frequency, and what is its frequency 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_insert/AntV G2/bar/chart_0119_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which letter has the highest frequency, and what is its frequency value?", + "expected": "The letter E has the highest frequency, with a frequency of 0.127.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0119_bar_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0119_bar_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..c71c7a87f0a8c38e6d1c52e68a1f715944774f3d --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0119_bar_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0119_bar_q2", + "instruction": "How many letters have a frequency less than 0.01?", + "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_insert/AntV G2/bar/chart_0119_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "How many letters have a frequency less than 0.01?", + "expected": "There are 6 letters (J, K, Q, V, X, Z) with frequency less than 0.01.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0119_line_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0119_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..09f9fef0735da85cb85a72eefff4159f4d9093ea --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0119_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0119_line_q1", + "instruction": "In the 'lines' series, what is the minimum y-value, and at which x-value does it occur?", + "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_insert/Plotly/line/chart_0119_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In the 'lines' series, what is the minimum y-value, and at which x-value does it occur?", + "expected": "The minimum y-value in the 'lines' series is -7.79308500014654, occurring at x = 0.5252525252525253.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0119_line_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0119_line_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..b59ccabf9aed0f06f5f7d9afa239da4fa8afc1e9 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0119_line_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0119_line_q3", + "instruction": "At x = 0.5050505050505051, which series has the highest y-value, which has the lowest, and what is the difference between these two values?", + "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_insert/Plotly/line/chart_0119_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "At x = 0.5050505050505051, which series has the highest y-value, which has the lowest, and what is the difference between these two values?", + "expected": "At x = 0.5050505050505051, the 'markers' series has the highest y-value (5.300170319955828), the 'lines' series has the lowest y-value (-5.344987210154979), and the difference between them is 10.645157530110807.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0121_bar_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0121_bar_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..5844c7c5e51a08db8c44d9852244e6e547746456 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0121_bar_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0121_bar_q1", + "instruction": "What is the end value corresponding to Total?", + "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_insert/AntV G2/bar/chart_0121_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the end value corresponding to Total?", + "expected": "3164946", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0121_bar_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0121_bar_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..bb5bdc95a68718e14ac24e8a39b9c719e310ea03 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0121_bar_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0121_bar_q2", + "instruction": "Which month has the highest profit value, and what is it?", + "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_insert/AntV G2/bar/chart_0121_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which month has the highest profit value, and what is it?", + "expected": "Dec., 1106986", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0121_bar_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0121_bar_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..63d873711c45c53ed5eaadda6686f8b86d71fcb9 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0121_bar_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0121_bar_q3", + "instruction": "How many months have a negative profit?", + "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_insert/AntV G2/bar/chart_0121_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "How many months have a negative profit?", + "expected": "5", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0121_line_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0121_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..25dfe1e53cb67fea7c1e13b6e349b59d0d57d19e --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0121_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0121_line_q1", + "instruction": "What is the life expectancy in Canada in the year 1977 according to the chart?", + "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_insert/Plotly/line/chart_0121_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the life expectancy in Canada in the year 1977 according to the chart?", + "expected": "The life expectancy in Canada in 1977 is 74.21 years.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0122_bar_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0122_bar_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..da57dae96a8fde0157ce8ce825107b6ce9413a37 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0122_bar_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0122_bar_q3", + "instruction": "What time range is set on the chart's time axis (y-axis)?", + "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_insert/AntV G2/bar/chart_0122_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What time range is set on the chart's time axis (y-axis)?", + "expected": "From 2023-06-28 03:30:33.900 to 2023-06-28 03:30:33.903", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0123_bar_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0123_bar_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..809d7eaf3dcd3f3a5f890f19f8e779cde92315c8 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0123_bar_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0123_bar_q1", + "instruction": "In this stacked bar chart, what is the population aged 10-19 in California (CA)?", + "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_insert/AntV G2/bar/chart_0123_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 stacked bar chart, what is the population aged 10-19 in California (CA)?", + "expected": "5170341", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0123_bar_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0123_bar_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..f55ada0d5d4073c388b42948c493d8d656d35bb1 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0123_bar_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0123_bar_q2", + "instruction": "In the 20-29 age group, which state has the largest population among California (CA), New York (NY), and Texas (TX)?", + "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_insert/AntV G2/bar/chart_0123_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In the 20-29 age group, which state has the largest population among California (CA), New York (NY), and Texas (TX)?", + "expected": "California (CA) has the largest population, with 5809455 people.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0123_bar_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0123_bar_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..1a0e43d6fdf1e1d1f731907b2951315ea162c927 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0123_bar_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0123_bar_q3", + "instruction": "In Florida (FL), how many more people are there aged 20-29 than aged 30-39?", + "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_insert/AntV G2/bar/chart_0123_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In Florida (FL), how many more people are there aged 20-29 than aged 30-39?", + "expected": "181654", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0123_line_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0123_line_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..00d1b281e1f0d3dc1b1876b883656519c90dd2bf --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0123_line_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0123_line_q3", + "instruction": "Among Television, Newspaper, Internet, and Radio, which had the smallest share as the main source for news in 2001, and what was its percentage?", + "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_insert/Plotly/line/chart_0123_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Among Television, Newspaper, Internet, and Radio, which had the smallest share as the main source for news in 2001, and what was its percentage?", + "expected": "The Internet had the smallest share in 2001, at 13%.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0124_bar_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0124_bar_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..a02461e80436c829db6b3ca17fa6fd04d092135f --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0124_bar_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0124_bar_q1", + "instruction": "What is the population of California (CA) in the 20-29 age group?", + "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_insert/AntV G2/bar/chart_0124_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the population of California (CA) in the 20-29 age group?", + "expected": "5809455", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0124_bar_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0124_bar_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..f6ac4162d838c93843e1f64b48c2c8711a2ed538 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0124_bar_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0124_bar_q3", + "instruction": "In Florida (FL), which age group has a larger population, \"<10\" or \"10-19\"? What are their respective populations?", + "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_insert/AntV G2/bar/chart_0124_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In Florida (FL), which age group has a larger population, \"<10\" or \"10-19\"? What are their respective populations?", + "expected": "\"10-19\" is larger; \"<10\" is 2211012, and \"10-19\" is 2331102.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0124_line_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0124_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..5b3eeb934407b4a07bfa21c7cc50e11658461df6 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0124_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0124_line_q1", + "instruction": "In the Premium series, what is the y-value at x = 8?", + "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_insert/Plotly/line/chart_0124_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In the Premium series, what is the y-value at x = 8?", + "expected": "At x = 8, the Premium series has a y-value of 4.5.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0124_line_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0124_line_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..8996684fb3a0f223f505233d538ce0eef11bc3f1 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0124_line_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0124_line_q3", + "instruction": "From x = 1 to x = 6, how does the y-value of the Ideal series change, and by how much?", + "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_insert/Plotly/line/chart_0124_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "From x = 1 to x = 6, how does the y-value of the Ideal series change, and by how much?", + "expected": "The Ideal series decreases from 10 at x = 1 to 0 at x = 6, a decrease of 10 units.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0125_bar_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0125_bar_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..1b7d9ecb21da0599317aebd735056dc4b85e4cee --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0125_bar_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0125_bar_q3", + "instruction": "In Texas (TX), which age group has a larger population, 10-19 or 20-29?", + "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_insert/AntV G2/bar/chart_0125_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In Texas (TX), which age group has a larger population, 10-19 or 20-29?", + "expected": "The 20-29 age group has a larger population.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0125_line_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0125_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..caf973ed09c51be5a7871e335a6305a3ecc6a78f --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0125_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0125_line_q1", + "instruction": "What was Japan's population in 2000 according to the chart?", + "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_insert/Plotly/line/chart_0125_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What was Japan's population in 2000 according to the chart?", + "expected": "Japan's population in 2000 was 127.0658M", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0126_bar_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0126_bar_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..8c60dad9f1e8cbacc618c09f2f9b6fce5745bd31 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0126_bar_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0126_bar_q1", + "instruction": "In the age group \"<10\", which state has the largest population, and what is that population?", + "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_insert/AntV G2/bar/chart_0126_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In the age group \"<10\", which state has the largest population, and what is that population?", + "expected": "California, 5038433", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0126_bar_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0126_bar_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..2ae4e52c0b4a84d3284562c91c4abaf746607aa4 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0126_bar_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0126_bar_q2", + "instruction": "For California, which age group among \"<10\", \"10-19\", \"20-29\", \"30-39\", and \"40-49\" has the highest population, and what is that 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_insert/AntV G2/bar/chart_0126_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "For California, which age group among \"<10\", \"10-19\", \"20-29\", \"30-39\", and \"40-49\" has the highest population, and what is that value?", + "expected": "The 20-29 age group, with a population of 5809455", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0126_bar_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0126_bar_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..74104282ef9efc401fc79d6b49f184aefe367604 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0126_bar_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0126_bar_q3", + "instruction": "In the '<10' age group, which state has the smallest population?", + "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_insert/AntV G2/bar/chart_0126_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In the '<10' age group, which state has the smallest population?", + "expected": "Vermont (VT), population 63,768.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0127_bar_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0127_bar_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..c459a9037a4b2e9fc48d240acd868227935d5327 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0127_bar_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0127_bar_q1", + "instruction": "Which country has the highest value, and what is it?", + "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_insert/AntV G2/bar/chart_0127_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which country has the highest value, and what is it?", + "expected": "Norway, with a value of 50.2", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0127_bar_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0127_bar_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..06543d8bf1df1cec4eb678943cce620f81ab414b --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0127_bar_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0127_bar_q2", + "instruction": "Between Germany and France, which country has the higher GDP?", + "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_insert/AntV G2/bar/chart_0127_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Between Germany and France, which country has the higher GDP?", + "expected": "Germany has the higher GDP.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0127_bar_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0127_bar_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..b79554058c56fa7ecb9651a5e7dc1d3fd42b6450 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0127_bar_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0127_bar_q3", + "instruction": "How many countries have a value greater than 30?", + "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_insert/AntV G2/bar/chart_0127_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "How many countries have a value greater than 30?", + "expected": "10", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0127_line_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0127_line_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..313e634741cdb7c3f7be6b953e56cc3978a511ce --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0127_line_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0127_line_q3", + "instruction": "Describe how the y-values of the data series with y-values 1, 6, 2, 6 change as x goes from 1 to 4.", + "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_insert/Plotly/line/chart_0127_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Describe how the y-values of the data series with y-values 1, 6, 2, 6 change as x goes from 1 to 4.", + "expected": "Its y-value increases from 1 to 6 (x = 1 to 2), then decreases to 2 at x = 3, and increases again to 6 at x = 4.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0128_bar_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0128_bar_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..708d0f4721d3466e5328238b22f36fa6d4aedec3 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0128_bar_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0128_bar_q3", + "instruction": "According to the color encoding rule, when the opening price (start) is less than the closing price (end), what is the value of the color field?", + "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_insert/AntV G2/bar/chart_0128_bar.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "According to the color encoding rule, when the opening price (start) is less than the closing price (end), what is the value of the color field?", + "expected": "Up", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0128_line_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0128_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..805954bb6134112efd8414c2d6fe45743239611f --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0128_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0128_line_q1", + "instruction": "In which season does the second data series reach its highest value, and what is that 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_insert/Plotly/line/chart_0128_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In which season does the second data series reach its highest value, and what is that value?", + "expected": "The second data series reaches its highest value in Fall, with a value of 60.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0128_line_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0128_line_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..02a6575f0a5192bac2c625bf49bc5bd59ba3aa16 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0128_line_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0128_line_q2", + "instruction": "In Summer, what percentage of the total stacked value is contributed by the third data series?", + "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_insert/Plotly/line/chart_0128_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In Summer, what percentage of the total stacked value is contributed by the third data series?", + "expected": "In Summer, the third data series contributes 50 out of a total of 100, which is 50%.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0129_line_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0129_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..66a7866302ba4da8b0bad91fd3ee0416b4cb9e43 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0129_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0129_line_q1", + "instruction": "In this step line chart, which English month has the highest value, and what is it?", + "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_insert/AntV G2/line/chart_0129_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In this step line chart, which English month has the highest value, and what is it?", + "expected": "Oct has the highest value, which is 106.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0129_line_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0129_line_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..ef6c50ad6a8dbb2fa0402b6ec4ead837d336208c --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0129_line_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0129_line_q2", + "instruction": "What is the difference between the values of Mar and Nov?", + "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_insert/AntV G2/line/chart_0129_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the difference between the values of Mar and Nov?", + "expected": "The difference is 54.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0130_line_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0130_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..e8a97f48483a64586d382767966015cd152967ae --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0130_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0130_line_q1", + "instruction": "In the chart data, what is the maximum value of count, and which year does it correspond to?", + "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_insert/AntV G2/line/chart_0130_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In the chart data, what is the maximum value of count, and which year does it correspond to?", + "expected": "The maximum count is 9500, corresponding to the year 2000.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0131_line_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0131_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..2aeed99cc2a620f23d8eac67c4fe6de019c74676 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0131_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0131_line_q1", + "instruction": "In this regular line chart, what was the closing price on 2007-10-22?", + "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_insert/AntV G2/line/chart_0131_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In this regular line chart, what was the closing price on 2007-10-22?", + "expected": "The closing price on 2007-10-22 was 186.16.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0132_line_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0132_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..a599d54babfbeda75b970610ce6cd12add805d31 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0132_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0132_line_q1", + "instruction": "In this sample data line chart, what is the close value on 2007-04-26?", + "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_insert/AntV G2/line/chart_0132_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In this sample data line chart, what is the close value on 2007-04-26?", + "expected": "99.92", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0133_line_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0133_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..80887bd0c5c473e1a0695e07f7135bd91221de58 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0133_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0133_line_q1", + "instruction": "In this given set of data, what is the maximum closing price, and on what date does it appear?", + "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_insert/AntV G2/line/chart_0133_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In this given set of data, what is the maximum closing price, and on what date does it appear?", + "expected": "The maximum closing price is 633.68, appearing on 2012-04-09.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0135_line_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0135_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..6e30139d4f78e4283618ed5186e156dffd6a741f --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0135_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0135_line_q1", + "instruction": "Which State has the largest total population across the three age groups, and what is the total?", + "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_insert/AntV G2/line/chart_0135_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Which State has the largest total population across the three age groups, and what is the total?", + "expected": "AK, 179876", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0135_line_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0135_line_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..e10bc1fd5742f4c801d3d7b3393d1f360ffc41d2 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0135_line_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0135_line_q2", + "instruction": "In the VT row, which age group has the largest population, and what is its 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_insert/AntV G2/line/chart_0135_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In the VT row, which age group has the largest population, and what is its value?", + "expected": "\"5 to 13 Years\", 42538", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0141_line_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0141_line_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..d6f1665e7a1965b7e1f00275d536fd9ce1ee77d7 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0141_line_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0141_line_q2", + "instruction": "Between 2019-11-12T09:53:00.000Z and 2019-11-12T10:53:00.000Z, did the value increase or decrease?", + "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_insert/AntV G2/line/chart_0141_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Between 2019-11-12T09:53:00.000Z and 2019-11-12T10:53:00.000Z, did the value increase or decrease?", + "expected": "It decreased.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0142_line_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0142_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..14dd42e61d1a76ee5038b4db911a20339bad7be7 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0142_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0142_line_q1", + "instruction": "In the chart, what is the value on 2011-12-31?", + "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_insert/AntV G2/line/chart_0142_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In the chart, what is the value on 2011-12-31?", + "expected": "50.1", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0142_line_q3.json b/evaluation_examples/examples/insert_chart_data/chart_0142_line_q3.json new file mode 100644 index 0000000000000000000000000000000000000000..64711b764fd9d9cbcc20444be2956b620faac2c0 --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0142_line_q3.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0142_line_q3", + "instruction": "From 2011-10-01 to 2011-10-07, did the overall value increase or decrease?", + "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_insert/AntV G2/line/chart_0142_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "From 2011-10-01 to 2011-10-07, did the overall value increase or decrease?", + "expected": "It decreased overall, from 62.7 to 56.7.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0146_line_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0146_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..9c0c2dadfe73043f8d023123cd18dc821b15bb8b --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0146_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0146_line_q1", + "instruction": "In this square radar chart, which item has the lowest score, and what is that score?", + "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_insert/AntV G2/line/chart_0146_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "In this square radar chart, which item has the lowest score, and what is that score?", + "expected": "The item with the lowest score is Users, with a score of 40.", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0146_line_q2.json b/evaluation_examples/examples/insert_chart_data/chart_0146_line_q2.json new file mode 100644 index 0000000000000000000000000000000000000000..18e75a03d39e6970cc7778add61b822e51621fff --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0146_line_q2.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0146_line_q2", + "instruction": "Is Development's score higher than Marketing's? By how many points?", + "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_insert/AntV G2/line/chart_0146_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "Is Development's score higher than Marketing's? By how many points?", + "expected": "Development's score is higher than Marketing's by 10 points (60 vs 50).", + "rubric": "真实评判" + } + } + } +} diff --git a/evaluation_examples/examples/insert_chart_data/chart_0147_line_q1.json b/evaluation_examples/examples/insert_chart_data/chart_0147_line_q1.json new file mode 100644 index 0000000000000000000000000000000000000000..2368ed186feae7cf5bea86d590b0c41fbeb4fcab --- /dev/null +++ b/evaluation_examples/examples/insert_chart_data/chart_0147_line_q1.json @@ -0,0 +1,59 @@ +{ + "id": "chart_0147_line_q1", + "instruction": "What is the maximum value of value in this dataset?", + "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_insert/AntV G2/line/chart_0147_line.html" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Google Chrome" + } + } + ], + "evaluator": { + "func": "llm_judge", + "result": { + "type": "agent_answer" + }, + "expected": { + "type": "rule", + "rules": { + "question": "What is the maximum value of value in this dataset?", + "expected": "69.498697916667", + "rubric": "真实评判" + } + } + } +}