Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
t,value
0,57
1,65
2,73
3,-79
4,89
5,97
6,105
7,113
```

Task: The CSV below is a time series that is supposed to follow a roughly linear trend. Exactly one data point is an outlier. Return the index (value of column 't') of the outlier.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
t,value
0,125
1,127
2,129
3,131
4,133
5,135
6,177
7,139
8,141
9,143
10,145
```

Task: The CSV below is a time series that is supposed to follow a roughly linear trend. Exactly one data point is an outlier. Return the index (value of column 't') of the outlier.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,mike,23,Madrid,hr,121000
2,olive,60,London,finance,135000
3,frank,61,London,sales,64000
4,eve,33,Cairo,hr,118000
5,bob,23,Berlin,ops,101000
6,heidi,50,London,hr,71000
7,karl,59,Tokyo,hr,50000
8,nora,60,Paris,marketing,86000
9,ivan,38,London,ops,142000
10,carol,23,Madrid,eng,90000
11,judy,29,London,ops,54000
12,alice,21,Tokyo,hr,116000
```

Task: Sum the values in the 'age' column. Return the integer total.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
=== employees ===
id,name,age,city,dept,salary
1,dave,49,London,eng,104000
2,grace,54,Berlin,ops,70000
3,heidi,26,Madrid,eng,58000
4,pete,42,London,marketing,100000
5,ivan,36,Lisbon,marketing,54000
6,eve,45,Tokyo,finance,92000
7,carol,46,Berlin,ops,124000
8,linda,59,Madrid,hr,141000
9,bob,55,Rome,sales,102000
10,alice,41,Madrid,sales,94000
11,mike,30,Paris,finance,106000
12,olive,33,Berlin,finance,147000
13,karl,20,Tokyo,hr,91000

=== bonus_by_dept ===
dept,bonus
eng,6000
finance,9000
hr,4000
marketing,7000
ops,4000
sales,8000
```

Task: You are given two CSVs. Join them on the 'dept' column and compute the sum of (salary + bonus) across all employees. Return the integer.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,olive,62,Cairo,sales,68000
2,judy,21,Cairo,marketing,135000
3,dave,51,Tokyo,finance,89000
4,frank,33,Rome,ops,40000
5,alice,32,Lisbon,marketing,114000
6,mike,20,London,hr,83000
7,linda,33,Cairo,finance,124000
8,carol,30,Madrid,marketing,90000
9,bob,60,Lisbon,ops,70000
10,pete,30,Lisbon,hr,59000
11,grace,26,Cairo,hr,56000
12,eve,27,Cairo,finance,130000
13,heidi,64,Berlin,hr,83000
14,ivan,49,Rome,finance,123000
```

Task: Sum the values in the 'salary' column. Return the integer total.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,carol,53,Cairo,marketing,67000
2,pete,48,Berlin,hr,104000
3,linda,39,Paris,sales,40000
4,eve,62,London,marketing,82000
5,nora,31,Berlin,hr,144000
6,heidi,35,London,sales,62000
7,karl,28,Paris,ops,136000
8,mike,56,Berlin,hr,66000
9,dave,39,London,marketing,121000
10,alice,42,Cairo,ops,125000
11,grace,38,Cairo,hr,128000
12,frank,63,Berlin,marketing,86000
13,ivan,25,London,marketing,59000
```

Task: Group the rows by 'dept' and compute the mean of 'age' per group. Return the group name with the largest mean.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
t,value
0,67
1,71
2,75
3,79
4,83
5,87
6,91
7,95
8,99
9,23
10,107
11,111
```

Task: The CSV below is a time series that is supposed to follow a roughly linear trend. Exactly one data point is an outlier. Return the index (value of column 't') of the outlier.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,heidi,56,Tokyo,finance,78000
2,bob,32,Madrid,sales,146000
3,linda,49,London,ops,47000
4,karl,22,Paris,ops,47000
5,judy,62,Madrid,marketing,52000
6,frank,64,Paris,finance,50000
7,mike,29,Madrid,hr,86000
8,pete,26,Berlin,eng,59000
9,grace,44,Tokyo,finance,75000
10,nora,52,Tokyo,ops,79000
11,olive,51,Paris,hr,84000
12,alice,51,Berlin,marketing,91000
13,eve,42,Tokyo,sales,94000
14,dave,51,Rome,hr,69000
15,ivan,31,Lisbon,marketing,59000
```

Task: Group the rows by 'dept' and compute the max of 'age' per group. Return the group name with the largest max.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
t,value
0,168
1,173
2,178
3,183
4,188
5,193
6,198
7,203
8,208
9,213
10,218
11,323
12,228
```

Task: The CSV below is a time series that is supposed to follow a roughly linear trend. Exactly one data point is an outlier. Return the index (value of column 't') of the outlier.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
=== employees ===
id,name,age,city,dept,salary
1,alice,22,London,ops,46000
2,judy,30,Rome,sales,110000
3,frank,47,London,ops,121000
4,carol,24,Tokyo,finance,65000
5,mike,49,London,hr,65000
6,grace,57,London,eng,129000
7,karl,27,Paris,sales,103000
8,nora,45,Madrid,hr,112000
9,heidi,51,Tokyo,ops,123000
10,olive,21,Cairo,finance,93000

=== bonus_by_dept ===
dept,bonus
eng,8000
finance,9000
hr,2000
ops,2000
sales,1000
```

Task: You are given two CSVs. Join them on the 'dept' column and compute the sum of (salary + bonus) across all employees. Return the integer.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
t,value
0,119
1,122
2,125
3,128
4,131
5,134
6,137
7,140
8,83
9,146
10,149
11,152
12,155
```

Task: The CSV below is a time series that is supposed to follow a roughly linear trend. Exactly one data point is an outlier. Return the index (value of column 't') of the outlier.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,heidi,22,Cairo,hr,125000
2,karl,41,Lisbon,finance,125000
3,alice,33,Paris,ops,98000
4,pete,57,Tokyo,ops,119000
5,bob,48,Cairo,ops,111000
6,eve,34,London,eng,45000
7,dave,58,Berlin,marketing,75000
8,linda,40,Rome,eng,49000
9,judy,47,Paris,marketing,55000
10,ivan,21,Lisbon,sales,72000
11,grace,56,Madrid,marketing,142000
12,nora,20,Cairo,hr,145000
```

Task: Sum the values in the 'salary' column. Return the integer total.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,judy,47,London,finance,87000
2,grace,26,London,finance,135000
3,karl,20,Paris,sales,49000
4,eve,40,Rome,finance,98000
5,nora,28,Tokyo,ops,120000
6,ivan,39,Rome,eng,53000
7,carol,32,Berlin,ops,103000
8,olive,32,Rome,ops,45000
9,bob,28,Madrid,eng,99000
10,mike,45,Rome,eng,139000
11,pete,37,Paris,sales,88000
12,alice,39,Rome,marketing,137000
13,heidi,31,Cairo,sales,128000
14,linda,46,Cairo,ops,91000
15,frank,26,Tokyo,eng,148000
16,dave,63,Tokyo,ops,75000
17,judy2,28,Paris,ops,100000
18,grace2,63,Lisbon,ops,140000
19,karl2,45,Tokyo,marketing,47000
20,eve2,58,Rome,marketing,137000
21,nora2,46,Paris,marketing,72000
22,ivan2,55,Tokyo,marketing,129000
23,carol2,39,London,marketing,124000
```

Task: How many rows have age > 31 AND city = 'Tokyo'? Return the integer count.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
=== employees ===
id,name,age,city,dept,salary
1,ivan,34,Lisbon,finance,52000
2,bob,23,Cairo,sales,132000
3,heidi,25,Berlin,ops,61000
4,grace,62,Lisbon,finance,113000
5,linda,49,Paris,ops,40000
6,mike,39,Tokyo,sales,100000
7,dave,40,Paris,hr,127000
8,pete,52,Rome,marketing,130000
9,nora,54,Tokyo,eng,100000
10,judy,58,Tokyo,hr,81000
11,frank,60,Paris,eng,115000

=== bonus_by_dept ===
dept,bonus
eng,7000
finance,7000
hr,8000
marketing,6000
ops,7000
sales,8000
```

Task: You are given two CSVs. Join them on the 'dept' column and compute the sum of (salary + bonus) across all employees. Return the integer.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
=== employees ===
id,name,age,city,dept,salary
1,judy,63,Tokyo,eng,48000
2,pete,37,Tokyo,hr,130000
3,carol,55,Cairo,hr,94000
4,grace,43,Lisbon,sales,118000
5,mike,44,Tokyo,ops,63000
6,nora,43,Paris,hr,65000
7,dave,62,Lisbon,eng,72000
8,frank,43,Lisbon,marketing,147000
9,eve,36,Tokyo,sales,138000
10,olive,45,Madrid,sales,75000
11,heidi,53,Berlin,ops,74000

=== bonus_by_dept ===
dept,bonus
eng,9000
hr,3000
marketing,1000
ops,3000
sales,8000
```

Task: You are given two CSVs. Join them on the 'dept' column and compute the sum of (salary + bonus) across all employees. Return the integer.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,dave,47,Rome,hr,74000
2,heidi,63,Madrid,ops,99000
3,mike,48,Rome,finance,54000
4,linda,60,Cairo,eng,70000
5,judy,26,Cairo,ops,83000
6,grace,34,Tokyo,eng,145000
7,pete,26,Cairo,sales,116000
8,eve,45,Rome,eng,92000
```

Task: Compute the max of the 'age' column. Return the integer.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
t,value
0,127
1,131
2,135
3,139
4,143
5,147
6,231
7,155
8,159
9,163
10,167
11,171
12,175
13,179
```

Task: The CSV below is a time series that is supposed to follow a roughly linear trend. Exactly one data point is an outlier. Return the index (value of column 't') of the outlier.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,mike,42,Madrid,eng,106000
2,nora,31,Tokyo,hr,63000
3,ivan,26,Cairo,ops,47000
4,dave,41,Cairo,eng,44000
5,olive,47,Lisbon,ops,144000
6,eve,22,Lisbon,hr,134000
7,pete,43,Madrid,eng,108000
8,alice,29,Berlin,ops,105000
```

Task: In the CSV below, what is the value of column 'dept' in row 1 (0-indexed, header excluded)? Return only the value.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,judy,28,Lisbon,ops,50000
2,ivan,46,London,finance,98000
3,grace,31,Berlin,ops,74000
4,karl,52,London,marketing,132000
5,heidi,26,Lisbon,ops,82000
6,alice,64,Rome,marketing,75000
7,eve,64,London,hr,109000
8,bob,42,Rome,ops,47000
9,pete,54,Lisbon,marketing,116000
10,nora,48,Tokyo,eng,102000
11,dave,58,Rome,eng,71000
12,olive,49,Berlin,marketing,63000
13,frank,40,Berlin,eng,51000
14,carol,38,Paris,eng,96000
15,linda,20,Berlin,finance,115000
16,mike,50,Cairo,finance,127000
17,judy2,25,Madrid,finance,95000
```

Task: How many rows have age > 29 AND city = 'Madrid'? Return the integer count.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
t,value
0,82
1,91
2,100
3,109
4,118
5,127
6,136
7,145
8,154
9,-17
10,172
```

Task: The CSV below is a time series that is supposed to follow a roughly linear trend. Exactly one data point is an outlier. Return the index (value of column 't') of the outlier.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,grace,27,Lisbon,marketing,137000
2,alice,45,Rome,marketing,84000
3,olive,31,Madrid,hr,42000
4,pete,43,Lisbon,finance,147000
5,mike,43,Cairo,ops,43000
6,karl,63,Madrid,finance,50000
7,bob,39,Berlin,ops,67000
8,ivan,49,Paris,ops,42000
9,carol,31,Lisbon,sales,59000
10,eve,61,London,ops,114000
11,frank,22,Tokyo,ops,40000
12,dave,44,Madrid,eng,77000
```

Task: Group the rows by 'city' and compute the mean of 'salary' per group. Return the group name with the largest mean.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,frank,21,Berlin,eng,139000
2,nora,43,Madrid,marketing,143000
3,karl,33,Madrid,marketing,68000
4,mike,55,Madrid,eng,66000
5,dave,58,Madrid,finance,60000
6,linda,28,Tokyo,marketing,80000
7,olive,51,Madrid,eng,114000
8,pete,24,Tokyo,marketing,121000
9,eve,55,Paris,ops,124000
10,heidi,32,Paris,ops,100000
11,judy,63,Berlin,finance,82000
12,grace,40,Rome,sales,113000
13,alice,56,Berlin,eng,54000
14,bob,55,London,eng,72000
15,carol,37,Paris,hr,123000
16,ivan,29,Paris,eng,107000
```

Task: How many rows have age > 27 AND city = 'London'? Return the integer count.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,judy,59,Rome,hr,105000
2,grace,28,Tokyo,finance,101000
3,carol,52,Paris,ops,120000
4,nora,25,Rome,hr,53000
5,frank,29,Madrid,finance,66000
6,linda,62,Berlin,marketing,122000
7,bob,47,London,sales,114000
8,karl,63,Tokyo,finance,137000
9,pete,38,Paris,ops,72000
10,olive,51,Lisbon,ops,122000
11,heidi,45,Paris,sales,56000
12,alice,26,London,marketing,128000
13,mike,29,Rome,finance,45000
14,dave,36,Madrid,eng,129000
15,eve,56,Paris,marketing,140000
16,ivan,30,Cairo,ops,48000
```

Task: Compute the max of the 'age' column. Return the integer.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
t,value
0,173
1,178
2,183
3,188
4,193
5,198
6,203
7,208
8,213
9,218
10,123
11,228
```

Task: The CSV below is a time series that is supposed to follow a roughly linear trend. Exactly one data point is an outlier. Return the index (value of column 't') of the outlier.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,eve,63,Madrid,finance,99000
2,pete,41,Rome,marketing,86000
3,dave,27,Lisbon,ops,107000
4,nora,50,London,sales,136000
5,karl,52,Rome,ops,126000
6,carol,40,London,finance,90000
7,linda,42,Berlin,finance,142000
8,mike,23,London,finance,113000
9,judy,59,Rome,marketing,55000
10,olive,52,Rome,eng,120000
11,ivan,60,Rome,marketing,139000
12,grace,31,London,eng,64000
13,alice,21,London,sales,69000
14,bob,29,Lisbon,hr,89000
```

Task: Sum the values in the 'salary' column. Return the integer total.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,linda,60,Paris,marketing,128000
2,pete,27,Madrid,ops,93000
3,ivan,57,Madrid,sales,133000
4,nora,26,Berlin,eng,130000
5,judy,26,Rome,sales,148000
6,mike,45,Tokyo,eng,53000
7,eve,63,Lisbon,marketing,116000
8,heidi,29,Tokyo,sales,76000
9,alice,41,Rome,finance,64000
10,carol,55,London,hr,96000
11,frank,35,Rome,finance,116000
12,bob,47,Cairo,marketing,83000
```

Task: Group the rows by 'city' and compute the mean of 'age' per group. Return the group name with the largest mean.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,alice,28,London,marketing,114000
2,grace,61,Cairo,sales,135000
3,heidi,46,Paris,ops,85000
4,eve,43,Paris,finance,105000
5,linda,42,Tokyo,finance,52000
6,dave,38,Cairo,marketing,126000
7,mike,25,London,finance,45000
8,carol,36,Rome,ops,76000
9,olive,21,Cairo,ops,96000
10,nora,52,Cairo,marketing,98000
11,frank,40,Madrid,hr,106000
12,ivan,41,Lisbon,sales,90000
13,bob,38,Cairo,marketing,42000
14,pete,31,Paris,finance,135000
```

Task: Group the rows by 'city' and compute the max of 'salary' per group. Return the group name with the largest max.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,bob,49,Paris,ops,59000
2,karl,41,Cairo,sales,40000
3,frank,20,Tokyo,eng,116000
4,judy,63,Paris,marketing,81000
5,alice,37,Rome,hr,52000
6,heidi,44,Madrid,ops,41000
7,dave,62,Berlin,finance,70000
8,carol,44,Tokyo,sales,142000
9,olive,57,Tokyo,ops,100000
10,grace,53,Rome,sales,42000
11,pete,58,Rome,sales,75000
12,ivan,49,Paris,sales,105000
13,eve,27,Berlin,finance,117000
14,linda,32,Lisbon,hr,41000
15,nora,31,Lisbon,sales,91000
```

Task: Sum the values in the 'salary' column. Return the integer total.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
=== employees ===
id,name,age,city,dept,salary
1,judy,40,London,hr,126000
2,alice,20,Berlin,marketing,87000
3,frank,57,Lisbon,eng,47000
4,mike,60,Madrid,hr,40000
5,dave,30,Rome,eng,136000
6,heidi,37,Rome,eng,124000
7,olive,44,Madrid,marketing,81000
8,ivan,25,Rome,marketing,44000

=== bonus_by_dept ===
dept,bonus
eng,5000
hr,3000
marketing,2000
```

Task: You are given two CSVs. Join them on the 'dept' column and compute the sum of (salary + bonus) across all employees. Return the integer.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
t,value
0,134
1,142
2,-10
3,158
4,166
5,174
6,182
7,190
8,198
9,206
```

Task: The CSV below is a time series that is supposed to follow a roughly linear trend. Exactly one data point is an outlier. Return the index (value of column 't') of the outlier.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,eve,38,Paris,sales,139000
2,olive,24,Rome,marketing,106000
3,grace,25,Berlin,eng,77000
4,karl,39,Madrid,eng,55000
5,carol,20,Lisbon,ops,75000
6,heidi,38,Paris,finance,114000
7,pete,50,Madrid,eng,54000
8,nora,51,Berlin,ops,60000
9,dave,27,Madrid,sales,135000
```

Task: In the CSV below, what is the value of column 'city' in row 1 (0-indexed, header excluded)? Return only the value.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,ivan,38,Cairo,ops,139000
2,alice,54,Paris,eng,105000
3,bob,26,Rome,finance,51000
4,grace,21,Tokyo,marketing,45000
5,frank,22,Paris,hr,69000
6,linda,23,Cairo,eng,43000
7,judy,53,Lisbon,finance,60000
8,heidi,46,Paris,hr,102000
```

Task: Compute the median of the 'salary' column. Return the numeric value (any precision).


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
t,value
0,99
1,101
2,103
3,105
4,107
5,109
6,111
7,113
8,75
9,117
10,119
```

Task: The CSV below is a time series that is supposed to follow a roughly linear trend. Exactly one data point is an outlier. Return the index (value of column 't') of the outlier.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
=== employees ===
id,name,age,city,dept,salary
1,mike,58,Cairo,ops,111000
2,linda,42,Madrid,marketing,46000
3,ivan,53,Rome,eng,135000
4,grace,33,London,hr,119000
5,alice,55,Paris,finance,67000
6,judy,54,London,marketing,94000
7,dave,54,London,hr,87000
8,frank,42,Rome,sales,130000
9,nora,50,London,marketing,142000

=== bonus_by_dept ===
dept,bonus
eng,6000
finance,9000
hr,5000
marketing,4000
ops,7000
sales,9000
```

Task: You are given two CSVs. Join them on the 'dept' column and compute the sum of (salary + bonus) across all employees. Return the integer.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,dave,62,Cairo,hr,49000
2,nora,62,Lisbon,hr,60000
3,linda,31,Lisbon,ops,123000
4,mike,50,Tokyo,ops,146000
5,karl,46,Rome,hr,135000
6,olive,43,Tokyo,finance,74000
7,bob,56,Lisbon,eng,140000
8,ivan,28,Cairo,ops,120000
9,carol,22,Cairo,ops,83000
10,pete,29,London,ops,110000
11,judy,40,London,ops,51000
12,eve,45,Madrid,finance,55000
13,alice,43,Rome,finance,102000
14,grace,31,Berlin,eng,122000
15,frank,43,Rome,eng,121000
16,heidi,24,Cairo,eng,63000
17,dave2,34,Cairo,eng,53000
```

Task: How many rows have age > 35 AND city = 'Cairo'? Return the integer count.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
t,value
0,75
1,201
2,87
3,93
4,99
5,105
6,111
7,117
8,123
9,129
10,135
11,141
12,147
```

Task: The CSV below is a time series that is supposed to follow a roughly linear trend. Exactly one data point is an outlier. Return the index (value of column 't') of the outlier.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,linda,53,Berlin,hr,109000
2,eve,24,Lisbon,sales,135000
3,nora,26,Berlin,marketing,143000
4,judy,50,Lisbon,eng,51000
5,frank,20,Berlin,sales,56000
6,dave,20,Cairo,ops,72000
7,heidi,59,Cairo,eng,110000
8,karl,35,Lisbon,hr,135000
9,mike,36,Tokyo,ops,147000
10,olive,45,Rome,ops,54000
11,alice,49,Lisbon,sales,122000
12,ivan,38,Cairo,hr,79000
13,grace,52,Madrid,ops,142000
```

Task: Compute the median of the 'age' column. Return the numeric value (any precision).


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,olive,61,Berlin,marketing,135000
2,heidi,48,Cairo,eng,42000
3,bob,46,Madrid,sales,64000
4,karl,50,Paris,marketing,83000
5,ivan,53,Paris,eng,63000
6,judy,26,Rome,hr,138000
7,mike,34,Berlin,ops,132000
8,linda,57,Berlin,finance,98000
```

Task: In the CSV below, what is the value of column 'salary' in row 6 (0-indexed, header excluded)? Return only the value.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,frank,62,Paris,ops,56000
2,judy,45,London,hr,82000
3,ivan,59,Paris,hr,93000
4,mike,26,Rome,finance,81000
5,carol,62,Paris,ops,119000
6,olive,52,London,hr,57000
7,grace,21,Madrid,marketing,125000
8,heidi,25,Lisbon,finance,121000
9,pete,40,Berlin,eng,73000
10,nora,46,Tokyo,marketing,71000
11,dave,38,Lisbon,finance,99000
12,alice,62,Paris,sales,56000
13,eve,58,Tokyo,sales,102000
```

Task: Sum the values in the 'salary' column. Return the integer total.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,judy,50,Cairo,hr,59000
2,carol,42,Lisbon,ops,125000
3,ivan,35,Cairo,finance,145000
4,heidi,63,Madrid,eng,124000
5,frank,30,Madrid,hr,144000
6,nora,46,Madrid,sales,51000
7,eve,22,Lisbon,ops,40000
8,karl,25,Rome,marketing,73000
9,dave,47,Tokyo,hr,139000
10,bob,56,Cairo,sales,79000
11,linda,50,Cairo,finance,82000
```

Task: In the CSV below, what is the value of column 'city' in row 0 (0-indexed, header excluded)? Return only the value.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,judy,25,Rome,ops,122000
2,linda,52,Rome,eng,52000
3,grace,22,Berlin,hr,129000
4,alice,48,Tokyo,eng,46000
5,carol,50,Paris,hr,109000
6,ivan,56,Madrid,marketing,44000
7,bob,61,Rome,finance,132000
8,heidi,43,London,sales,90000
9,olive,25,Cairo,marketing,147000
10,mike,40,Berlin,finance,61000
11,karl,21,London,hr,126000
12,frank,64,Madrid,eng,101000
13,pete,53,Rome,sales,48000
14,dave,62,Rome,sales,134000
15,nora,63,Tokyo,marketing,139000
16,eve,64,Rome,marketing,98000
```

Task: How many rows have age > 25 AND city = 'Berlin'? Return the integer count.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,eve,48,Paris,ops,107000
2,carol,24,Cairo,finance,50000
3,frank,63,Berlin,hr,98000
4,bob,35,Madrid,marketing,106000
5,ivan,64,Berlin,eng,77000
6,nora,38,London,eng,142000
7,linda,42,Cairo,ops,129000
8,karl,42,Berlin,finance,70000
9,judy,42,Rome,marketing,63000
10,alice,25,Madrid,marketing,114000
```

Task: In the CSV below, what is the value of column 'age' in row 7 (0-indexed, header excluded)? Return only the value.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,nora,43,London,eng,86000
2,judy,28,Rome,marketing,140000
3,ivan,23,Lisbon,finance,55000
4,karl,55,London,hr,145000
5,frank,48,Cairo,ops,92000
6,heidi,42,Lisbon,finance,67000
7,carol,26,Cairo,sales,40000
8,eve,60,Paris,hr,54000
9,dave,51,Tokyo,ops,73000
10,linda,63,Tokyo,ops,145000
11,bob,54,Madrid,sales,104000
12,grace,27,London,finance,101000
13,mike,47,Berlin,eng,68000
```

Task: Compute the median of the 'age' column. Return the numeric value (any precision).


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,olive,60,Berlin,finance,95000
2,mike,52,Madrid,ops,112000
3,judy,20,Berlin,sales,124000
4,pete,25,Paris,sales,41000
5,alice,34,Lisbon,hr,59000
6,karl,57,Rome,eng,116000
7,bob,47,Cairo,ops,55000
8,heidi,55,Cairo,ops,95000
9,linda,30,Berlin,marketing,110000
10,frank,23,Madrid,eng,114000
11,nora,39,Paris,hr,95000
12,ivan,40,Madrid,sales,142000
13,eve,23,Cairo,marketing,44000
14,grace,35,Madrid,eng,56000
15,carol,64,Cairo,ops,139000
16,dave,63,Rome,marketing,117000
17,olive2,30,Madrid,finance,134000
18,mike2,42,Tokyo,finance,100000
19,judy2,20,Cairo,eng,146000
```

Task: How many rows have age > 31 AND city = 'Madrid'? Return the integer count.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,heidi,34,Paris,hr,111000
2,bob,21,Lisbon,hr,142000
3,pete,44,Lisbon,finance,145000
4,eve,28,Lisbon,ops,80000
5,alice,45,Tokyo,sales,90000
6,linda,44,Lisbon,marketing,145000
7,mike,37,London,ops,148000
8,judy,59,Madrid,finance,104000
9,grace,31,Berlin,eng,53000
10,karl,36,Paris,sales,42000
11,dave,35,Tokyo,hr,59000
12,olive,58,Paris,ops,59000
13,nora,33,Rome,eng,108000
14,ivan,34,Madrid,ops,136000
15,carol,24,Paris,finance,108000
16,frank,26,Rome,sales,149000
17,heidi2,43,Paris,marketing,52000
```

Task: How many rows have age > 38 AND city = 'Rome'? Return the integer count.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,eve,45,Lisbon,finance,139000
2,bob,52,Cairo,marketing,48000
3,frank,44,Berlin,hr,81000
4,alice,45,Paris,hr,48000
5,judy,43,Cairo,hr,135000
6,linda,62,Madrid,marketing,96000
7,karl,62,Rome,eng,145000
8,carol,41,Berlin,sales,99000
9,dave,21,London,marketing,60000
10,mike,64,Cairo,sales,107000
11,grace,27,Berlin,eng,63000
```

Task: Sum the values in the 'age' column. Return the integer total.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,alice,30,Paris,hr,72000
2,dave,43,Cairo,eng,56000
3,olive,61,Berlin,eng,122000
4,grace,48,Berlin,eng,116000
5,nora,41,Lisbon,sales,52000
6,heidi,29,Lisbon,finance,107000
7,carol,48,Madrid,hr,54000
8,pete,33,Cairo,sales,143000
9,frank,37,Cairo,ops,49000
10,linda,48,Tokyo,hr,40000
11,eve,64,Cairo,hr,118000
12,mike,26,Rome,hr,96000
13,judy,41,Tokyo,finance,71000
14,ivan,38,Lisbon,sales,41000
```

Task: Compute the mean of the 'age' column. Return the numeric value (any precision).


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,karl,51,Paris,marketing,63000
2,alice,29,Berlin,marketing,110000
3,frank,39,Rome,hr,147000
4,linda,43,Paris,finance,124000
5,eve,45,Paris,marketing,136000
6,olive,50,Tokyo,sales,117000
7,pete,25,Madrid,sales,127000
8,heidi,43,Berlin,ops,43000
9,bob,47,London,eng,112000
10,nora,43,Paris,sales,142000
11,mike,36,London,hr,145000
12,carol,51,Cairo,eng,55000
13,dave,48,Paris,ops,140000
14,judy,44,Lisbon,marketing,66000
15,grace,51,London,hr,128000
16,ivan,37,Madrid,ops,112000
17,karl2,51,Madrid,ops,41000
18,alice2,58,London,ops,53000
19,frank2,31,Madrid,sales,124000
20,linda2,33,Tokyo,hr,72000
```

Task: How many rows have age > 42 AND city = 'Rome'? Return the integer count.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,mike,37,Berlin,hr,99000
2,olive,40,Rome,hr,61000
3,frank,53,Paris,finance,108000
4,bob,43,Paris,sales,147000
5,grace,43,Rome,sales,108000
6,nora,20,Madrid,ops,51000
7,linda,33,Madrid,hr,118000
8,dave,53,Madrid,sales,82000
9,pete,61,Cairo,hr,146000
10,carol,28,London,eng,140000
11,eve,49,Lisbon,marketing,116000
12,alice,27,Madrid,finance,117000
```

Task: Compute the max of the 'age' column. Return the integer.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,carol,45,Paris,eng,126000
2,nora,20,Cairo,ops,65000
3,olive,59,Lisbon,finance,55000
4,eve,49,London,eng,148000
5,dave,33,Cairo,marketing,135000
6,grace,36,Madrid,ops,145000
7,heidi,33,Madrid,finance,149000
8,frank,43,Berlin,finance,110000
9,alice,44,Rome,eng,92000
10,mike,62,Paris,finance,51000
```

Task: Compute the max of the 'salary' column. Return the integer.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
t,value
0,156
1,162
2,168
3,174
4,180
5,66
6,192
7,198
8,204
9,210
10,216
11,222
```

Task: The CSV below is a time series that is supposed to follow a roughly linear trend. Exactly one data point is an outlier. Return the index (value of column 't') of the outlier.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
=== employees ===
id,name,age,city,dept,salary
1,judy,48,Berlin,hr,89000
2,heidi,53,Berlin,ops,108000
3,dave,23,Paris,hr,91000
4,ivan,24,Paris,hr,52000
5,bob,55,Berlin,hr,70000
6,nora,23,Madrid,hr,126000
7,grace,56,Tokyo,finance,124000
8,carol,33,Paris,finance,51000
9,frank,21,London,finance,132000
10,karl,39,Paris,eng,58000
11,alice,64,Berlin,finance,106000
12,pete,51,Cairo,eng,109000

=== bonus_by_dept ===
dept,bonus
eng,1000
finance,5000
hr,7000
ops,7000
```

Task: You are given two CSVs. Join them on the 'dept' column and compute the sum of (salary + bonus) across all employees. Return the integer.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,linda,49,Lisbon,sales,87000
2,bob,21,Paris,sales,128000
3,dave,31,Tokyo,ops,80000
4,mike,48,London,sales,113000
5,nora,36,Cairo,eng,47000
6,carol,52,London,marketing,57000
7,pete,39,Rome,sales,137000
8,olive,35,London,ops,129000
9,alice,50,Cairo,sales,124000
10,heidi,40,Madrid,hr,133000
11,frank,30,Rome,marketing,122000
12,eve,49,Tokyo,finance,145000
13,karl,55,Lisbon,sales,87000
14,grace,33,Tokyo,hr,99000
15,judy,64,Tokyo,sales,109000
16,ivan,42,Tokyo,ops,145000
17,linda2,31,Berlin,ops,47000
18,bob2,40,Lisbon,ops,118000
```

Task: Group the rows by 'city' and compute the max of 'salary' per group. Return the group name with the largest max.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
t,value
0,162
1,183
2,164
3,165
4,166
5,167
6,168
7,169
8,170
```

Task: The CSV below is a time series that is supposed to follow a roughly linear trend. Exactly one data point is an outlier. Return the index (value of column 't') of the outlier.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,judy,49,Madrid,marketing,50000
2,bob,63,Madrid,ops,40000
3,eve,27,Cairo,finance,95000
4,alice,60,Paris,sales,94000
5,pete,46,Paris,eng,128000
6,carol,39,Paris,finance,120000
7,karl,52,Lisbon,eng,63000
```

Task: In the CSV below, what is the value of column 'dept' in row 0 (0-indexed, header excluded)? Return only the value.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
=== employees ===
id,name,age,city,dept,salary
1,heidi,56,Madrid,marketing,144000
2,carol,38,Lisbon,finance,48000
3,eve,31,Madrid,sales,75000
4,olive,40,Cairo,ops,137000
5,judy,30,Cairo,eng,121000
6,linda,22,Berlin,eng,54000
7,pete,43,London,hr,86000
8,dave,22,Paris,finance,123000
9,ivan,43,Paris,finance,107000
10,mike,63,Madrid,hr,123000

=== bonus_by_dept ===
dept,bonus
eng,4000
finance,4000
hr,5000
marketing,6000
ops,7000
sales,1000
```

Task: You are given two CSVs. Join them on the 'dept' column and compute the sum of (salary + bonus) across all employees. Return the integer.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,eve,60,London,ops,96000
2,judy,28,Paris,marketing,143000
3,linda,39,London,eng,95000
4,alice,33,London,marketing,93000
5,dave,36,Rome,eng,58000
6,grace,29,Madrid,finance,100000
7,frank,45,London,finance,104000
8,heidi,34,Berlin,finance,81000
```

Task: In the CSV below, what is the value of column 'city' in row 0 (0-indexed, header excluded)? Return only the value.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,ivan,62,Lisbon,eng,132000
2,pete,30,London,sales,101000
3,grace,28,Rome,sales,112000
4,judy,56,Paris,hr,102000
5,mike,23,Cairo,sales,135000
6,eve,53,Rome,ops,67000
7,nora,20,London,eng,79000
8,carol,60,Tokyo,sales,94000
9,karl,41,Rome,finance,40000
10,alice,39,Cairo,eng,87000
11,bob,21,Rome,sales,85000
12,frank,50,Berlin,ops,47000
13,olive,42,Rome,marketing,124000
14,dave,35,Berlin,finance,45000
```

Task: Compute the mean of the 'age' column. Return the numeric value (any precision).


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,eve,25,Berlin,sales,136000
2,dave,53,Madrid,eng,116000
3,nora,43,Paris,sales,142000
4,judy,48,Tokyo,hr,52000
5,ivan,37,Cairo,sales,77000
6,linda,42,Paris,marketing,139000
7,grace,54,Lisbon,finance,92000
8,frank,46,Berlin,finance,102000
9,bob,29,London,sales,122000
10,olive,50,Berlin,sales,123000
11,alice,46,Cairo,sales,86000
12,mike,42,Paris,hr,87000
13,heidi,27,Tokyo,finance,134000
14,carol,44,Paris,finance,80000
```

Task: How many rows have age > 42 AND city = 'Lisbon'? Return the integer count.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
t,value
0,57
1,58
2,59
3,60
4,61
5,62
6,63
7,64
8,65
9,46
10,67
11,68
12,69
```

Task: The CSV below is a time series that is supposed to follow a roughly linear trend. Exactly one data point is an outlier. Return the index (value of column 't') of the outlier.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,pete,64,London,finance,127000
2,frank,29,Rome,ops,41000
3,dave,46,Paris,hr,107000
4,grace,61,London,ops,97000
5,eve,53,Rome,marketing,72000
6,ivan,22,Rome,finance,64000
7,heidi,60,Lisbon,ops,97000
8,carol,20,Berlin,ops,117000
9,karl,31,London,hr,68000
10,mike,60,Lisbon,marketing,99000
11,alice,58,Cairo,finance,45000
12,olive,20,Tokyo,sales,48000
13,linda,42,Lisbon,eng,65000
```

Task: Sum the values in the 'age' column. Return the integer total.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,eve,40,Paris,sales,57000
2,karl,34,Tokyo,ops,130000
3,heidi,40,Cairo,ops,63000
4,ivan,61,Madrid,hr,63000
5,alice,44,Cairo,marketing,120000
6,bob,51,Berlin,sales,76000
7,linda,27,London,sales,123000
8,dave,25,Berlin,finance,57000
9,frank,29,Cairo,sales,92000
10,carol,44,Paris,sales,47000
11,olive,45,Lisbon,marketing,44000
12,nora,60,Lisbon,finance,125000
```

Task: How many rows have age > 31 AND city = 'Tokyo'? Return the integer count.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,nora,40,Madrid,ops,89000
2,frank,64,Madrid,hr,44000
3,alice,60,Tokyo,sales,53000
4,dave,37,London,finance,59000
5,judy,44,Lisbon,finance,40000
6,linda,29,Rome,sales,135000
7,heidi,33,Cairo,marketing,136000
8,grace,39,Cairo,sales,140000
9,ivan,53,Berlin,marketing,124000
10,carol,44,Berlin,finance,66000
```

Task: Sum the values in the 'age' column. Return the integer total.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
=== employees ===
id,name,age,city,dept,salary
1,grace,64,Rome,finance,81000
2,linda,54,Madrid,sales,144000
3,olive,41,Lisbon,finance,134000
4,mike,47,Tokyo,finance,74000
5,eve,26,London,finance,46000
6,frank,46,Tokyo,finance,73000
7,judy,29,Berlin,hr,68000
8,ivan,60,Paris,hr,111000
9,bob,42,London,sales,104000

=== bonus_by_dept ===
dept,bonus
finance,7000
hr,3000
sales,5000
```

Task: You are given two CSVs. Join them on the 'dept' column and compute the sum of (salary + bonus) across all employees. Return the integer.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
t,value
0,173
1,181
2,189
3,197
4,365
5,213
6,221
7,229
```

Task: The CSV below is a time series that is supposed to follow a roughly linear trend. Exactly one data point is an outlier. Return the index (value of column 't') of the outlier.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,carol,47,Cairo,ops,109000
2,alice,36,Paris,eng,51000
3,nora,26,London,marketing,137000
4,pete,46,Cairo,finance,57000
5,judy,28,Madrid,eng,133000
6,linda,27,Berlin,marketing,131000
7,grace,47,Lisbon,finance,92000
8,eve,51,London,finance,117000
9,dave,38,Madrid,eng,73000
```

Task: In the CSV below, what is the value of column 'dept' in row 1 (0-indexed, header excluded)? Return only the value.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
t,value
0,157
1,163
2,169
3,175
4,181
5,187
6,313
7,199
8,205
9,211
10,217
```

Task: The CSV below is a time series that is supposed to follow a roughly linear trend. Exactly one data point is an outlier. Return the index (value of column 't') of the outlier.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,linda,58,Paris,sales,95000
2,dave,39,Madrid,marketing,43000
3,judy,28,Berlin,finance,81000
4,eve,31,Lisbon,finance,138000
5,mike,29,Tokyo,sales,53000
6,heidi,62,Lisbon,marketing,47000
7,olive,23,Berlin,hr,46000
8,carol,63,Tokyo,sales,54000
9,bob,57,London,eng,75000
10,pete,48,Madrid,marketing,123000
11,karl,36,Berlin,hr,60000
12,ivan,28,Cairo,ops,149000
```

Task: Compute the median of the 'age' column. Return the numeric value (any precision).


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
=== employees ===
id,name,age,city,dept,salary
1,heidi,34,Cairo,marketing,85000
2,carol,41,Madrid,marketing,60000
3,nora,61,Rome,hr,59000
4,judy,43,Madrid,hr,101000
5,dave,33,Tokyo,hr,120000
6,karl,41,London,finance,41000
7,ivan,52,London,hr,115000
8,linda,42,Lisbon,marketing,74000
9,mike,40,Berlin,sales,52000
10,eve,22,Berlin,ops,61000

=== bonus_by_dept ===
dept,bonus
finance,5000
hr,6000
marketing,3000
ops,5000
sales,2000
```

Task: You are given two CSVs. Join them on the 'dept' column and compute the sum of (salary + bonus) across all employees. Return the integer.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,karl,29,Berlin,sales,142000
2,carol,63,London,ops,115000
3,mike,34,Berlin,finance,96000
4,bob,21,Tokyo,ops,89000
5,alice,29,Tokyo,hr,44000
6,grace,41,Cairo,sales,136000
7,eve,60,London,hr,59000
8,pete,51,Lisbon,sales,122000
9,nora,42,Tokyo,eng,127000
10,olive,53,Rome,ops,66000
11,ivan,27,Lisbon,hr,99000
12,frank,20,Berlin,sales,70000
13,heidi,30,Tokyo,marketing,59000
14,linda,57,Tokyo,hr,120000
15,judy,42,Cairo,eng,139000
```

Task: How many rows have age > 27 AND city = 'Lisbon'? Return the integer count.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,karl,47,Madrid,eng,60000
2,grace,51,Cairo,hr,138000
3,ivan,62,Lisbon,sales,62000
4,frank,29,Lisbon,sales,66000
5,pete,28,Madrid,marketing,97000
6,nora,55,London,marketing,113000
7,alice,53,Berlin,marketing,56000
8,linda,47,Tokyo,marketing,122000
9,bob,58,Lisbon,marketing,142000
10,mike,29,London,hr,67000
11,judy,24,Cairo,sales,68000
12,dave,36,Lisbon,eng,88000
13,eve,50,Lisbon,eng,109000
14,olive,58,Cairo,marketing,124000
15,carol,37,Madrid,finance,138000
16,heidi,37,Madrid,sales,44000
```

Task: How many rows have age > 44 AND city = 'Cairo'? Return the integer count.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,judy,56,Tokyo,finance,121000
2,frank,23,Rome,marketing,117000
3,heidi,35,Berlin,finance,107000
4,pete,53,Berlin,marketing,50000
5,nora,22,Rome,hr,48000
6,bob,56,Cairo,hr,54000
7,grace,22,London,ops,43000
8,olive,60,Lisbon,finance,104000
```

Task: Sum the values in the 'age' column. Return the integer total.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,eve,39,Madrid,eng,139000
2,pete,38,Cairo,finance,42000
3,grace,45,Cairo,ops,70000
4,linda,49,London,sales,137000
5,bob,24,Rome,marketing,146000
6,frank,55,Berlin,hr,143000
7,mike,51,Paris,eng,66000
8,carol,28,Paris,eng,142000
9,karl,31,Tokyo,sales,49000
10,nora,31,Berlin,finance,103000
11,alice,39,Berlin,ops,97000
12,judy,45,Lisbon,sales,107000
13,dave,56,Tokyo,ops,63000
14,olive,60,Lisbon,eng,97000
15,heidi,50,Tokyo,eng,50000
16,ivan,50,Paris,finance,129000
17,eve2,41,Cairo,hr,142000
18,pete2,46,Rome,eng,81000
19,grace2,64,Paris,marketing,141000
20,linda2,44,London,hr,135000
```

Task: Group the rows by 'city' and compute the mean of 'salary' per group. Return the group name with the largest mean.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,pete,63,Paris,hr,40000
2,karl,54,Paris,eng,94000
3,judy,49,Madrid,sales,103000
4,eve,45,Madrid,eng,107000
5,heidi,22,Berlin,marketing,103000
6,olive,45,London,marketing,92000
7,nora,49,Rome,hr,113000
8,mike,36,Madrid,hr,76000
9,linda,34,Rome,eng,69000
10,dave,52,Lisbon,ops,47000
11,bob,59,London,finance,103000
12,carol,20,Berlin,ops,136000
```

Task: Compute the max of the 'salary' column. Return the integer.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,eve,26,Tokyo,finance,62000
2,pete,36,Paris,ops,72000
3,nora,63,Berlin,hr,147000
4,carol,20,Rome,ops,69000
5,dave,63,Tokyo,sales,65000
6,mike,51,Madrid,sales,42000
7,heidi,38,Cairo,finance,110000
8,karl,63,Tokyo,hr,74000
9,alice,31,London,sales,52000
10,olive,53,Cairo,marketing,117000
11,frank,35,London,eng,143000
12,grace,27,Berlin,eng,114000
```

Task: How many rows have age > 43 AND city = 'Tokyo'? Return the integer count.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,linda,20,Rome,marketing,55000
2,karl,37,Berlin,finance,94000
3,bob,57,Paris,sales,142000
4,grace,35,Lisbon,finance,71000
5,nora,22,Rome,ops,87000
6,heidi,22,Rome,ops,63000
7,alice,23,Cairo,sales,56000
8,pete,28,Rome,marketing,47000
9,dave,45,London,eng,109000
10,ivan,52,Berlin,hr,128000
11,eve,29,Madrid,ops,142000
12,judy,57,Cairo,marketing,133000
13,carol,30,Madrid,finance,92000
14,mike,56,Berlin,finance,144000
15,olive,60,Lisbon,finance,61000
16,frank,46,Paris,sales,140000
```

Task: Group the rows by 'dept' and compute the mean of 'salary' per group. Return the group name with the largest mean.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,dave,62,Tokyo,sales,99000
2,pete,26,London,hr,47000
3,olive,61,Paris,hr,91000
4,alice,42,Cairo,ops,142000
5,judy,32,Cairo,finance,82000
6,karl,57,Paris,marketing,75000
7,heidi,27,Berlin,marketing,71000
8,bob,25,Tokyo,sales,62000
9,mike,24,Paris,marketing,54000
10,eve,32,Rome,eng,128000
```

Task: Compute the mean of the 'salary' column. Return the numeric value (any precision).


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,frank,64,Madrid,ops,109000
2,ivan,48,Tokyo,hr,41000
3,bob,64,Madrid,marketing,89000
4,mike,58,Rome,sales,99000
5,eve,37,Rome,hr,58000
6,dave,37,Cairo,marketing,115000
7,nora,52,London,marketing,50000
8,karl,21,London,eng,74000
9,alice,52,Cairo,finance,78000
10,heidi,26,Cairo,sales,128000
11,carol,35,Cairo,marketing,103000
```

Task: Compute the median of the 'salary' column. Return the numeric value (any precision).


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
=== employees ===
id,name,age,city,dept,salary
1,ivan,42,Lisbon,hr,95000
2,nora,49,Tokyo,eng,43000
3,dave,47,London,sales,75000
4,pete,57,Lisbon,eng,56000
5,eve,44,Paris,hr,84000
6,grace,64,Madrid,hr,145000
7,frank,62,Tokyo,ops,44000
8,heidi,44,London,eng,104000
9,karl,38,Paris,marketing,75000
10,alice,26,London,hr,74000
11,bob,51,Lisbon,marketing,144000

=== bonus_by_dept ===
dept,bonus
eng,6000
hr,9000
marketing,4000
ops,1000
sales,6000
```

Task: You are given two CSVs. Join them on the 'dept' column and compute the sum of (salary + bonus) across all employees. Return the integer.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
t,value
0,133
1,301
2,149
3,157
4,165
5,173
6,181
7,189
8,197
9,205
10,213
```

Task: The CSV below is a time series that is supposed to follow a roughly linear trend. Exactly one data point is an outlier. Return the index (value of column 't') of the outlier.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,mike,29,Cairo,sales,60000
2,karl,34,Cairo,ops,40000
3,heidi,44,Tokyo,eng,55000
4,olive,50,Madrid,eng,123000
5,eve,24,Berlin,hr,52000
6,grace,25,Cairo,eng,72000
7,bob,25,Cairo,finance,89000
8,linda,54,Rome,eng,81000
9,nora,25,Rome,finance,147000
10,frank,50,Paris,marketing,44000
11,pete,47,London,sales,71000
12,alice,37,Cairo,hr,134000
13,ivan,61,Berlin,hr,47000
```

Task: Group the rows by 'dept' and compute the mean of 'age' per group. Return the group name with the largest mean.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
t,value
0,175
1,182
2,189
3,196
4,203
5,210
6,217
7,364
8,231
9,238
```

Task: The CSV below is a time series that is supposed to follow a roughly linear trend. Exactly one data point is an outlier. Return the index (value of column 't') of the outlier.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,mike,30,London,sales,81000
2,dave,27,Lisbon,sales,131000
3,linda,44,London,eng,71000
4,frank,63,Berlin,ops,133000
5,karl,53,Berlin,finance,131000
6,nora,52,Tokyo,marketing,143000
7,alice,56,Madrid,eng,61000
8,ivan,64,Lisbon,sales,40000
9,pete,27,Lisbon,ops,50000
10,heidi,32,Madrid,eng,79000
11,carol,20,Paris,marketing,46000
12,olive,43,Paris,eng,89000
13,bob,24,Lisbon,hr,64000
14,eve,22,Paris,marketing,44000
15,judy,50,Madrid,finance,111000
16,grace,27,Berlin,finance,65000
17,mike2,51,Tokyo,hr,139000
18,dave2,57,Paris,sales,123000
19,linda2,27,Tokyo,finance,56000
```

Task: Group the rows by 'dept' and compute the max of 'age' per group. Return the group name with the largest max.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,nora,26,Paris,marketing,135000
2,carol,62,Paris,sales,77000
3,grace,26,Berlin,hr,71000
4,judy,58,Tokyo,finance,83000
5,linda,41,Lisbon,finance,44000
6,bob,33,Cairo,ops,136000
7,alice,46,Cairo,hr,111000
8,ivan,39,Lisbon,hr,56000
9,heidi,45,London,marketing,115000
10,mike,22,Madrid,hr,68000
11,dave,32,London,hr,73000
12,eve,53,Tokyo,finance,123000
13,karl,35,Lisbon,marketing,57000
14,pete,37,Rome,eng,75000
15,olive,42,Madrid,ops,144000
```

Task: Group the rows by 'city' and compute the mean of 'age' per group. Return the group name with the largest mean.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,judy,54,Cairo,ops,61000
2,karl,30,Tokyo,ops,136000
3,linda,41,Tokyo,hr,102000
4,bob,61,Madrid,finance,113000
5,alice,59,Tokyo,hr,107000
6,olive,28,Paris,ops,146000
7,grace,45,Madrid,ops,102000
8,mike,55,Lisbon,hr,140000
9,nora,41,Berlin,eng,130000
10,dave,58,Madrid,finance,94000
```

Task: In the CSV below, what is the value of column 'dept' in row 8 (0-indexed, header excluded)? Return only the value.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,mike,40,Madrid,eng,111000
2,ivan,42,Lisbon,ops,148000
3,dave,63,Cairo,ops,134000
4,karl,42,Berlin,ops,92000
5,linda,61,Lisbon,sales,129000
6,alice,30,Lisbon,eng,137000
7,carol,56,Paris,sales,142000
8,nora,59,Cairo,eng,85000
```

Task: In the CSV below, what is the value of column 'age' in row 2 (0-indexed, header excluded)? Return only the value.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,grace,35,London,marketing,104000
2,mike,49,Tokyo,finance,109000
3,karl,41,Rome,sales,102000
4,dave,47,Rome,ops,82000
5,frank,58,London,marketing,80000
6,judy,41,Rome,hr,61000
7,olive,31,Rome,sales,121000
```

Task: In the CSV below, what is the value of column 'dept' in row 2 (0-indexed, header excluded)? Return only the value.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,dave,42,Berlin,marketing,131000
2,alice,35,Paris,eng,149000
3,frank,54,Lisbon,hr,82000
4,karl,28,Madrid,ops,87000
5,bob,40,Lisbon,sales,147000
6,mike,23,Madrid,finance,110000
7,olive,33,Cairo,eng,118000
8,grace,42,London,marketing,71000
9,heidi,25,Rome,hr,77000
10,pete,24,Paris,finance,149000
11,eve,49,Cairo,ops,149000
12,ivan,38,Cairo,hr,51000
13,nora,59,Rome,eng,125000
14,judy,45,Berlin,eng,96000
15,carol,57,Cairo,finance,102000
16,linda,61,Lisbon,eng,121000
17,dave2,47,Lisbon,ops,45000
18,alice2,46,Cairo,sales,71000
19,frank2,43,Rome,sales,110000
20,karl2,23,Paris,ops,106000
21,bob2,27,Berlin,eng,125000
22,mike2,28,Lisbon,eng,92000
```

Task: How many rows have age > 48 AND city = 'Lisbon'? Return the integer count.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,bob,45,Madrid,ops,107000
2,alice,42,Berlin,sales,88000
3,frank,56,Paris,sales,60000
4,eve,22,Cairo,finance,140000
5,carol,43,Cairo,hr,59000
6,ivan,32,London,ops,96000
7,nora,30,Berlin,finance,89000
8,grace,46,Cairo,sales,147000
9,heidi,33,Madrid,marketing,91000
10,linda,31,Rome,eng,51000
```

Task: Sum the values in the 'salary' column. Return the integer total.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,dave,30,Paris,finance,117000
2,pete,52,Paris,marketing,114000
3,olive,61,Lisbon,marketing,78000
4,nora,47,Madrid,finance,71000
5,heidi,20,Berlin,marketing,62000
6,karl,32,Madrid,marketing,146000
7,eve,36,Lisbon,finance,142000
8,linda,61,Lisbon,eng,136000
9,judy,62,Paris,ops,142000
10,carol,49,London,eng,91000
11,alice,36,Cairo,finance,52000
12,bob,32,Lisbon,marketing,125000
13,frank,34,Madrid,ops,138000
14,mike,41,Cairo,eng,98000
15,grace,45,Rome,hr,92000
16,ivan,34,London,finance,53000
17,dave2,32,Paris,ops,91000
18,pete2,47,Tokyo,hr,130000
19,olive2,63,Lisbon,ops,46000
20,nora2,56,Tokyo,eng,118000
21,heidi2,30,London,marketing,118000
22,karl2,53,London,eng,66000
23,eve2,55,Berlin,marketing,115000
24,linda2,24,Lisbon,marketing,121000
```

Task: How many rows have age > 37 AND city = 'London'? Return the integer count.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,linda,48,London,eng,116000
2,judy,28,Lisbon,finance,58000
3,frank,57,Tokyo,marketing,60000
4,grace,33,Rome,ops,92000
5,bob,35,Tokyo,sales,141000
6,olive,54,Cairo,marketing,100000
7,heidi,27,Cairo,hr,88000
8,dave,64,Lisbon,sales,140000
9,karl,40,Berlin,hr,141000
10,nora,47,Tokyo,finance,40000
```

Task: In the CSV below, what is the value of column 'salary' in row 1 (0-indexed, header excluded)? Return only the value.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,olive,56,Lisbon,sales,43000
2,frank,34,Madrid,sales,103000
3,ivan,62,Paris,marketing,66000
4,eve,35,Madrid,ops,123000
5,bob,37,Tokyo,finance,147000
6,grace,56,Madrid,finance,105000
7,linda,28,Rome,finance,127000
8,judy,48,London,eng,80000
9,mike,27,Paris,hr,125000
10,heidi,39,Rome,hr,80000
11,karl,44,Lisbon,marketing,65000
```

Task: Compute the max of the 'salary' column. Return the integer.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,heidi,36,Berlin,hr,132000
2,pete,58,Berlin,eng,46000
3,carol,31,Tokyo,ops,40000
4,mike,40,Lisbon,finance,55000
5,alice,21,Madrid,sales,108000
6,judy,28,Cairo,ops,53000
7,ivan,47,London,ops,136000
8,frank,41,Madrid,ops,42000
9,eve,24,Lisbon,marketing,149000
10,nora,31,Cairo,marketing,80000
11,linda,30,Berlin,eng,112000
12,olive,37,Tokyo,eng,58000
13,dave,52,Cairo,hr,102000
14,bob,20,Berlin,sales,143000
15,grace,55,Lisbon,ops,69000
```

Task: Compute the max of the 'salary' column. Return the integer.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,eve,25,Berlin,finance,76000
2,olive,40,Paris,ops,61000
3,ivan,22,Berlin,hr,105000
4,judy,28,Tokyo,marketing,65000
5,grace,47,Lisbon,hr,67000
6,dave,41,Berlin,finance,129000
7,pete,21,Cairo,ops,43000
8,bob,37,Lisbon,ops,130000
9,nora,64,Tokyo,finance,86000
10,mike,45,Rome,hr,128000
```

Task: In the CSV below, what is the value of column 'salary' in row 0 (0-indexed, header excluded)? Return only the value.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,pete,41,London,ops,143000
2,heidi,45,Rome,sales,64000
3,linda,34,London,eng,121000
4,alice,24,London,hr,126000
5,carol,41,Lisbon,finance,61000
6,judy,62,Cairo,eng,100000
7,eve,26,Berlin,hr,71000
8,ivan,60,Rome,finance,68000
9,dave,34,Madrid,eng,100000
10,bob,23,Berlin,hr,132000
11,frank,53,Tokyo,hr,114000
12,grace,46,Madrid,marketing,51000
13,karl,31,Berlin,finance,72000
```

Task: Group the rows by 'city' and compute the mean of 'age' per group. Return the group name with the largest mean.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,judy,46,Cairo,ops,62000
2,heidi,28,Berlin,finance,71000
3,mike,35,London,finance,69000
4,alice,27,London,marketing,69000
5,ivan,31,Cairo,hr,130000
6,bob,25,Cairo,eng,53000
7,nora,61,Rome,finance,49000
8,pete,32,Lisbon,hr,137000
9,frank,28,Cairo,eng,98000
10,karl,28,Cairo,hr,43000
11,dave,26,Cairo,hr,122000
12,linda,61,Madrid,marketing,134000
13,grace,24,Cairo,finance,91000
14,olive,40,Madrid,eng,45000
15,eve,59,Lisbon,eng,70000
16,carol,62,Tokyo,marketing,145000
17,judy2,29,Madrid,ops,71000
```

Task: Compute the median of the 'age' column. Return the numeric value (any precision).


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,judy,40,Paris,marketing,85000
2,grace,28,Cairo,marketing,46000
3,mike,24,Lisbon,hr,40000
4,karl,40,Paris,sales,122000
5,olive,37,Tokyo,finance,78000
6,ivan,44,Lisbon,marketing,89000
7,dave,41,Cairo,hr,82000
8,heidi,34,Rome,hr,99000
9,nora,57,Madrid,finance,87000
10,frank,29,Rome,marketing,50000
11,bob,45,Tokyo,eng,46000
12,carol,54,Rome,marketing,47000
13,alice,55,Berlin,sales,96000
14,linda,47,Tokyo,hr,90000
15,pete,33,Rome,eng,104000
```

Task: How many rows have age > 43 AND city = 'Rome'? Return the integer count.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,carol,62,Madrid,marketing,122000
2,mike,53,Cairo,marketing,107000
3,pete,30,Cairo,eng,76000
4,frank,21,Tokyo,eng,121000
5,grace,21,Paris,ops,102000
6,ivan,36,Cairo,hr,107000
7,heidi,50,Madrid,hr,145000
8,bob,28,Tokyo,sales,122000
9,judy,33,Madrid,hr,59000
10,dave,26,Rome,sales,100000
11,olive,64,Rome,sales,46000
```

Task: Sum the values in the 'age' column. Return the integer total.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
t,value
0,157
1,162
2,167
3,172
4,177
5,182
6,87
7,192
8,197
9,202
10,207
11,212
12,217
13,222
```

Task: The CSV below is a time series that is supposed to follow a roughly linear trend. Exactly one data point is an outlier. Return the index (value of column 't') of the outlier.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
=== employees ===
id,name,age,city,dept,salary
1,karl,20,Tokyo,ops,56000
2,linda,36,Rome,ops,65000
3,frank,41,Cairo,hr,57000
4,judy,39,Berlin,hr,119000
5,pete,46,Lisbon,eng,55000
6,dave,28,Berlin,finance,115000
7,nora,24,Cairo,sales,126000
8,ivan,59,Cairo,sales,57000
9,carol,29,Madrid,eng,102000
10,bob,51,Berlin,ops,146000
11,mike,43,Cairo,marketing,117000
12,grace,23,Berlin,finance,58000
13,heidi,45,Paris,finance,65000

=== bonus_by_dept ===
dept,bonus
eng,8000
finance,5000
hr,9000
marketing,4000
ops,8000
sales,7000
```

Task: You are given two CSVs. Join them on the 'dept' column and compute the sum of (salary + bonus) across all employees. Return the integer.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
t,value
0,63
1,65
2,67
3,69
4,111
5,73
6,75
7,77
8,79
9,81
10,83
11,85
12,87
13,89
14,91
```

Task: The CSV below is a time series that is supposed to follow a roughly linear trend. Exactly one data point is an outlier. Return the index (value of column 't') of the outlier.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,pete,23,Lisbon,marketing,48000
2,heidi,63,Lisbon,hr,121000
3,frank,43,Madrid,eng,124000
4,carol,49,London,finance,119000
5,olive,53,Tokyo,hr,52000
6,bob,50,Cairo,sales,43000
7,judy,20,Tokyo,sales,129000
8,alice,61,Madrid,finance,44000
```

Task: In the CSV below, what is the value of column 'dept' in row 2 (0-indexed, header excluded)? Return only the value.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,grace,51,Cairo,sales,125000
2,pete,23,Paris,eng,87000
3,alice,46,London,ops,67000
4,ivan,29,Berlin,eng,43000
5,bob,35,Tokyo,eng,127000
6,linda,61,Cairo,marketing,127000
7,mike,60,Madrid,finance,108000
8,nora,52,Paris,hr,111000
9,heidi,53,Rome,hr,131000
10,eve,21,Lisbon,ops,83000
11,dave,49,Lisbon,finance,79000
12,karl,47,Cairo,eng,94000
13,frank,29,Lisbon,ops,83000
14,olive,63,Lisbon,ops,76000
15,carol,53,Cairo,hr,121000
16,judy,45,Lisbon,hr,103000
17,grace2,42,Tokyo,marketing,142000
18,pete2,37,London,finance,106000
19,alice2,43,Madrid,ops,141000
20,ivan2,33,Tokyo,finance,62000
```

Task: Group the rows by 'city' and compute the mean of 'salary' per group. Return the group name with the largest mean.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,ivan,56,Tokyo,hr,54000
2,karl,31,Tokyo,sales,141000
3,dave,31,Berlin,finance,112000
4,grace,51,Rome,hr,85000
5,bob,41,London,finance,142000
6,judy,64,Tokyo,marketing,145000
7,alice,29,Rome,finance,142000
8,olive,30,Berlin,hr,144000
9,mike,58,Paris,finance,54000
10,linda,39,Tokyo,eng,113000
11,heidi,56,London,sales,101000
12,nora,32,Paris,marketing,63000
13,frank,61,Paris,eng,135000
14,pete,20,Tokyo,eng,47000
15,eve,62,Rome,ops,109000
```

Task: How many rows have age > 46 AND city = 'Rome'? Return the integer count.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,bob,58,Tokyo,ops,130000
2,alice,33,Madrid,eng,72000
3,mike,23,Rome,ops,87000
4,pete,55,Paris,sales,135000
5,judy,58,London,marketing,70000
6,carol,42,Paris,sales,102000
7,ivan,47,Tokyo,marketing,43000
8,grace,54,Madrid,finance,120000
9,olive,32,Madrid,finance,127000
10,karl,28,Paris,marketing,63000
11,linda,54,Cairo,ops,59000
12,eve,45,Rome,hr,125000
13,heidi,27,Lisbon,hr,84000
14,frank,27,London,ops,119000
15,nora,57,Tokyo,eng,57000
16,dave,20,London,ops,110000
```

Task: How many rows have age > 42 AND city = 'Madrid'? Return the integer count.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,ivan,60,Lisbon,ops,72000
2,olive,56,Madrid,finance,104000
3,grace,58,London,sales,126000
4,linda,25,Tokyo,hr,51000
5,carol,60,Lisbon,sales,100000
6,bob,60,Tokyo,marketing,50000
7,karl,43,Cairo,eng,143000
8,alice,53,Paris,sales,50000
9,pete,57,Paris,hr,111000
10,frank,47,Paris,finance,72000
11,eve,23,Tokyo,sales,49000
12,dave,25,Madrid,eng,96000
13,nora,57,Rome,eng,110000
14,heidi,21,Tokyo,ops,78000
15,judy,25,Tokyo,hr,137000
16,mike,57,Paris,eng,141000
17,ivan2,54,Paris,sales,113000
18,olive2,25,Madrid,eng,76000
```

Task: Group the rows by 'dept' and compute the mean of 'age' per group. Return the group name with the largest mean.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,grace,35,Paris,hr,71000
2,nora,23,Tokyo,hr,123000
3,frank,40,Berlin,marketing,111000
4,carol,58,Cairo,hr,49000
5,eve,21,Madrid,eng,76000
6,linda,48,Lisbon,sales,92000
7,dave,23,Paris,eng,113000
8,ivan,61,London,finance,46000
9,karl,59,Cairo,finance,89000
10,olive,27,London,hr,115000
11,bob,36,Cairo,ops,45000
12,mike,31,Cairo,sales,64000
```

Task: Group the rows by 'dept' and compute the max of 'age' per group. Return the group name with the largest max.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,mike,25,Rome,ops,82000
2,eve,24,Madrid,hr,112000
3,ivan,49,Berlin,finance,46000
4,bob,39,Madrid,finance,146000
5,dave,56,Tokyo,ops,102000
6,alice,24,Cairo,sales,123000
7,olive,22,Cairo,marketing,70000
8,grace,63,London,sales,59000
9,pete,46,Lisbon,marketing,95000
10,judy,26,Rome,ops,78000
11,heidi,62,London,ops,73000
12,frank,28,Cairo,hr,64000
13,linda,24,Cairo,eng,120000
14,carol,48,Rome,eng,105000
15,karl,34,Madrid,finance,53000
16,nora,49,Cairo,ops,105000
17,mike2,62,Berlin,ops,91000
18,eve2,29,London,hr,63000
19,ivan2,39,Cairo,hr,74000
20,bob2,59,Paris,marketing,73000
21,dave2,36,Paris,marketing,44000
22,alice2,61,Berlin,hr,77000
```

Task: How many rows have age > 31 AND city = 'Paris'? Return the integer count.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,nora,22,Berlin,ops,147000
2,pete,22,London,sales,59000
3,linda,49,Madrid,marketing,132000
4,alice,52,Madrid,marketing,75000
5,olive,56,Lisbon,eng,96000
6,grace,29,London,eng,63000
7,carol,28,Tokyo,finance,68000
8,karl,33,Berlin,hr,75000
9,frank,56,Rome,finance,123000
10,ivan,21,Berlin,ops,69000
11,heidi,55,Berlin,eng,127000
12,eve,38,London,ops,130000
13,judy,54,Lisbon,ops,137000
14,bob,51,Berlin,finance,88000
15,mike,27,London,eng,71000
16,dave,37,Tokyo,sales,52000
17,nora2,25,Paris,sales,101000
18,pete2,29,Madrid,finance,133000
19,linda2,31,Berlin,eng,59000
20,alice2,56,Cairo,eng,57000
21,olive2,49,Berlin,eng,79000
```

Task: Group the rows by 'dept' and compute the mean of 'salary' per group. Return the group name with the largest mean.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,mike,28,Berlin,marketing,76000
2,eve,37,Paris,marketing,41000
3,alice,56,Tokyo,eng,114000
4,karl,39,Rome,sales,145000
5,nora,39,Paris,sales,96000
6,dave,56,Cairo,sales,109000
7,linda,59,Rome,ops,93000
8,frank,49,London,hr,149000
9,judy,61,Rome,marketing,43000
10,grace,53,Paris,sales,102000
11,olive,46,Lisbon,sales,65000
12,heidi,46,Rome,marketing,71000
13,ivan,57,Rome,eng,112000
14,pete,25,Paris,eng,84000
15,carol,53,Lisbon,sales,78000
```

Task: Sum the values in the 'salary' column. Return the integer total.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
=== employees ===
id,name,age,city,dept,salary
1,dave,52,Tokyo,sales,64000
2,pete,61,London,hr,44000
3,linda,45,Tokyo,finance,108000
4,bob,21,Rome,marketing,148000
5,ivan,22,Berlin,sales,63000
6,olive,64,Lisbon,sales,136000
7,carol,54,Tokyo,sales,141000
8,heidi,46,Rome,ops,104000
9,grace,50,London,hr,148000
10,mike,32,Cairo,hr,58000
11,eve,46,Madrid,finance,148000
12,karl,50,Tokyo,sales,142000
13,alice,32,Berlin,sales,102000

=== bonus_by_dept ===
dept,bonus
finance,4000
hr,4000
marketing,5000
ops,6000
sales,8000
```

Task: You are given two CSVs. Join them on the 'dept' column and compute the sum of (salary + bonus) across all employees. Return the integer.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,linda,59,Lisbon,hr,100000
2,pete,62,Lisbon,finance,107000
3,bob,34,London,finance,75000
4,alice,48,Tokyo,ops,136000
5,frank,42,Cairo,hr,116000
6,carol,50,London,marketing,56000
7,ivan,29,Tokyo,hr,147000
8,heidi,64,Rome,marketing,119000
9,mike,26,London,eng,94000
```

Task: In the CSV below, what is the value of column 'age' in row 3 (0-indexed, header excluded)? Return only the value.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,karl,30,Cairo,finance,98000
2,heidi,45,Berlin,eng,133000
3,linda,45,Lisbon,finance,140000
4,nora,40,Berlin,marketing,120000
5,alice,43,London,hr,107000
6,frank,23,Madrid,sales,112000
7,grace,20,Tokyo,finance,44000
8,olive,58,Berlin,hr,60000
9,eve,28,Cairo,hr,100000
10,carol,44,Madrid,eng,84000
11,ivan,53,Lisbon,marketing,105000
12,mike,31,Berlin,finance,134000
13,dave,30,Cairo,finance,82000
14,judy,21,Madrid,ops,47000
15,bob,52,Rome,marketing,96000
16,pete,43,Lisbon,hr,111000
17,karl2,28,London,eng,117000
```

Task: Compute the median of the 'age' column. Return the numeric value (any precision).


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,frank,36,Rome,ops,54000
2,pete,57,Paris,hr,145000
3,eve,63,Lisbon,finance,112000
4,olive,56,Madrid,eng,139000
5,alice,24,Rome,sales,66000
6,dave,29,Berlin,sales,54000
7,nora,49,Rome,eng,45000
8,bob,64,Lisbon,sales,81000
9,mike,51,Madrid,hr,136000
```

Task: In the CSV below, what is the value of column 'city' in row 5 (0-indexed, header excluded)? Return only the value.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,ivan,28,Lisbon,sales,99000
2,frank,39,Berlin,eng,64000
3,carol,30,Cairo,sales,57000
4,karl,54,Rome,marketing,84000
5,alice,42,Cairo,hr,88000
6,nora,41,Berlin,ops,146000
7,grace,40,Tokyo,eng,56000
8,linda,40,Berlin,finance,44000
```

Task: Sum the values in the 'salary' column. Return the integer total.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,carol,61,London,eng,138000
2,frank,47,Berlin,hr,56000
3,linda,25,Lisbon,ops,70000
4,alice,32,Cairo,eng,120000
5,judy,58,Paris,eng,77000
6,nora,21,Rome,finance,74000
7,eve,29,Rome,sales,101000
8,heidi,29,Cairo,hr,98000
9,karl,56,Berlin,finance,147000
10,ivan,56,London,ops,66000
11,grace,52,Paris,eng,58000
12,pete,37,Lisbon,ops,49000
13,olive,53,Paris,eng,146000
14,mike,39,London,ops,95000
15,bob,60,Madrid,ops,116000
```

Task: Compute the mean of the 'salary' column. Return the numeric value (any precision).


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,frank,59,Cairo,hr,45000
2,carol,20,Lisbon,ops,48000
3,mike,22,Berlin,ops,78000
4,grace,26,Madrid,eng,130000
5,pete,42,Lisbon,sales,82000
6,heidi,26,Paris,ops,100000
7,nora,44,Paris,marketing,89000
8,eve,49,Rome,ops,144000
9,olive,27,Paris,hr,123000
10,ivan,27,Cairo,hr,111000
11,dave,39,Lisbon,marketing,49000
12,karl,52,Berlin,sales,73000
```

Task: Group the rows by 'city' and compute the max of 'salary' per group. Return the group name with the largest max.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
t,value
0,84
1,91
2,98
3,-35
4,112
5,119
6,126
7,133
8,140
9,147
```

Task: The CSV below is a time series that is supposed to follow a roughly linear trend. Exactly one data point is an outlier. Return the index (value of column 't') of the outlier.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,mike,26,London,eng,123000
2,carol,26,Berlin,hr,125000
3,bob,33,Paris,marketing,44000
4,grace,47,Tokyo,marketing,106000
5,alice,38,London,marketing,75000
6,heidi,48,Rome,marketing,128000
7,dave,30,Tokyo,sales,127000
8,ivan,36,Lisbon,eng,94000
9,judy,64,London,finance,114000
10,linda,32,Berlin,marketing,45000
11,pete,25,London,eng,82000
12,eve,20,Tokyo,finance,48000
13,karl,41,Paris,sales,119000
14,olive,58,Madrid,marketing,107000
15,nora,33,Madrid,eng,109000
16,frank,53,Tokyo,finance,79000
```

Task: How many rows have age > 41 AND city = 'London'? Return the integer count.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,nora,32,Madrid,eng,128000
2,pete,26,Lisbon,ops,40000
3,dave,53,London,finance,136000
4,olive,51,Berlin,sales,110000
5,alice,32,Cairo,sales,139000
6,ivan,46,London,ops,75000
7,eve,35,Cairo,marketing,86000
8,judy,25,Rome,hr,56000
9,carol,27,Lisbon,sales,146000
10,frank,59,Tokyo,hr,59000
11,heidi,64,Tokyo,marketing,91000
12,karl,58,Cairo,sales,48000
```

Task: Compute the mean of the 'salary' column. Return the numeric value (any precision).


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,nora,45,Tokyo,ops,134000
2,grace,48,Cairo,sales,122000
3,judy,40,Paris,marketing,149000
4,alice,62,Rome,finance,147000
5,mike,38,Lisbon,hr,120000
6,bob,25,Cairo,finance,47000
7,karl,39,Paris,eng,80000
8,dave,42,London,eng,131000
9,ivan,53,Paris,ops,54000
10,olive,32,Cairo,hr,116000
11,carol,42,London,sales,147000
12,eve,48,Rome,hr,146000
13,frank,36,Lisbon,eng,139000
14,heidi,53,Rome,ops,93000
15,linda,28,Berlin,ops,47000
```

Task: Compute the max of the 'salary' column. Return the integer.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
=== employees ===
id,name,age,city,dept,salary
1,dave,20,Tokyo,eng,149000
2,ivan,62,Paris,hr,91000
3,heidi,58,Lisbon,hr,107000
4,carol,24,Lisbon,eng,63000
5,alice,21,Lisbon,marketing,101000
6,frank,52,Rome,marketing,147000
7,olive,54,Cairo,eng,146000
8,linda,58,Lisbon,marketing,124000
9,pete,55,Rome,ops,117000
10,mike,59,Cairo,eng,55000
11,eve,50,London,sales,57000
12,nora,33,Lisbon,ops,147000

=== bonus_by_dept ===
dept,bonus
eng,9000
hr,4000
marketing,3000
ops,9000
sales,6000
```

Task: You are given two CSVs. Join them on the 'dept' column and compute the sum of (salary + bonus) across all employees. Return the integer.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
t,value
0,125
1,126
2,127
3,128
4,129
5,150
6,131
7,132
```

Task: The CSV below is a time series that is supposed to follow a roughly linear trend. Exactly one data point is an outlier. Return the index (value of column 't') of the outlier.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,grace,29,Berlin,hr,129000
2,ivan,56,Rome,eng,109000
3,olive,56,Rome,eng,133000
4,judy,20,London,sales,113000
5,mike,43,Cairo,eng,118000
6,heidi,52,Madrid,marketing,73000
7,frank,29,Lisbon,ops,105000
8,karl,53,Cairo,sales,120000
9,dave,29,Rome,eng,97000
```

Task: Compute the median of the 'salary' column. Return the numeric value (any precision).


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
=== employees ===
id,name,age,city,dept,salary
1,bob,23,Berlin,ops,62000
2,karl,39,Madrid,ops,81000
3,eve,39,London,ops,144000
4,linda,64,Lisbon,ops,120000
5,judy,55,Madrid,eng,149000
6,alice,60,Berlin,sales,134000
7,dave,57,Tokyo,finance,83000
8,heidi,56,Rome,ops,47000
9,grace,60,London,marketing,44000

=== bonus_by_dept ===
dept,bonus
eng,2000
finance,5000
marketing,7000
ops,1000
sales,1000
```

Task: You are given two CSVs. Join them on the 'dept' column and compute the sum of (salary + bonus) across all employees. Return the integer.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
=== employees ===
id,name,age,city,dept,salary
1,linda,31,London,finance,74000
2,bob,49,Berlin,hr,77000
3,frank,23,Tokyo,finance,71000
4,grace,51,Lisbon,marketing,70000
5,carol,22,London,ops,128000
6,alice,60,Paris,hr,90000
7,eve,30,London,sales,61000
8,nora,25,London,ops,142000
9,mike,60,Lisbon,sales,128000
10,karl,60,Paris,ops,130000

=== bonus_by_dept ===
dept,bonus
finance,1000
hr,9000
marketing,5000
ops,4000
sales,8000
```

Task: You are given two CSVs. Join them on the 'dept' column and compute the sum of (salary + bonus) across all employees. Return the integer.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
t,value
0,156
1,158
2,160
3,162
4,164
5,166
6,208
7,170
```

Task: The CSV below is a time series that is supposed to follow a roughly linear trend. Exactly one data point is an outlier. Return the index (value of column 't') of the outlier.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,dave,57,Rome,marketing,130000
2,linda,28,Madrid,ops,51000
3,olive,36,Tokyo,ops,148000
4,eve,45,London,ops,101000
5,nora,32,Berlin,ops,121000
6,bob,28,Lisbon,finance,120000
7,grace,22,Paris,finance,101000
8,karl,34,London,marketing,149000
9,frank,26,Berlin,marketing,127000
10,carol,53,Tokyo,ops,134000
11,pete,40,Cairo,hr,66000
12,ivan,54,London,marketing,142000
13,heidi,58,Paris,finance,103000
14,judy,46,Tokyo,hr,139000
15,mike,56,Tokyo,marketing,86000
16,alice,59,Paris,eng,85000
```

Task: Group the rows by 'dept' and compute the mean of 'salary' per group. Return the group name with the largest mean.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,olive,28,Rome,hr,112000
2,frank,32,Tokyo,sales,122000
3,mike,41,Rome,finance,121000
4,alice,62,Cairo,finance,93000
5,nora,43,Lisbon,ops,111000
6,dave,54,London,eng,51000
7,bob,21,London,hr,41000
8,heidi,39,London,sales,92000
9,karl,58,Berlin,finance,109000
10,pete,50,Paris,eng,104000
```

Task: Sum the values in the 'salary' column. Return the integer total.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
=== employees ===
id,name,age,city,dept,salary
1,bob,30,London,eng,92000
2,carol,29,Rome,finance,127000
3,nora,31,London,ops,83000
4,grace,47,Paris,eng,88000
5,frank,52,London,marketing,144000
6,eve,63,Lisbon,hr,88000
7,alice,39,Paris,finance,82000
8,linda,33,Lisbon,marketing,66000
9,olive,47,London,eng,50000

=== bonus_by_dept ===
dept,bonus
eng,6000
finance,3000
hr,1000
marketing,3000
ops,8000
```

Task: You are given two CSVs. Join them on the 'dept' column and compute the sum of (salary + bonus) across all employees. Return the integer.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,mike,31,Madrid,sales,146000
2,carol,27,London,ops,138000
3,nora,62,Cairo,ops,73000
4,judy,54,Rome,marketing,113000
5,pete,47,Madrid,sales,137000
6,bob,50,Lisbon,hr,89000
7,alice,64,Lisbon,finance,48000
8,eve,41,Madrid,sales,82000
9,heidi,20,Madrid,sales,85000
10,grace,24,London,sales,146000
11,ivan,57,London,hr,76000
12,karl,26,Cairo,marketing,48000
```

Task: How many rows have age > 28 AND city = 'Madrid'? Return the integer count.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,judy,53,Madrid,hr,52000
2,nora,56,Madrid,eng,52000
3,grace,27,Berlin,ops,54000
4,heidi,24,Rome,hr,135000
5,mike,49,Tokyo,eng,65000
6,olive,63,Madrid,marketing,78000
7,linda,28,Rome,ops,125000
8,carol,24,Rome,marketing,71000
9,alice,63,Lisbon,finance,96000
10,frank,44,Tokyo,eng,69000
11,ivan,39,Lisbon,hr,109000
12,pete,41,Lisbon,marketing,58000
13,dave,32,Cairo,sales,148000
```

Task: Group the rows by 'city' and compute the max of 'age' per group. Return the group name with the largest max.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,ivan,24,London,marketing,81000
2,alice,26,Berlin,finance,147000
3,grace,48,Lisbon,hr,146000
4,linda,31,Lisbon,sales,43000
5,bob,30,Lisbon,eng,99000
6,heidi,22,Berlin,ops,141000
7,olive,24,Paris,ops,108000
8,eve,38,Lisbon,sales,53000
9,dave,28,Rome,finance,70000
10,pete,50,Tokyo,finance,52000
```

Task: Compute the median of the 'salary' column. Return the numeric value (any precision).


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
=== employees ===
id,name,age,city,dept,salary
1,bob,60,Cairo,sales,136000
2,karl,39,Paris,finance,42000
3,pete,36,Rome,hr,124000
4,olive,28,Berlin,hr,100000
5,nora,52,Cairo,eng,47000
6,ivan,37,Madrid,eng,73000
7,linda,30,Berlin,marketing,57000
8,carol,41,Lisbon,ops,104000
9,frank,31,London,hr,113000
10,dave,30,Paris,finance,138000
11,judy,40,London,sales,91000

=== bonus_by_dept ===
dept,bonus
eng,9000
finance,4000
hr,2000
marketing,4000
ops,5000
sales,5000
```

Task: You are given two CSVs. Join them on the 'dept' column and compute the sum of (salary + bonus) across all employees. Return the integer.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,heidi,20,London,hr,113000
2,linda,51,Lisbon,hr,147000
3,ivan,26,Madrid,eng,66000
4,mike,21,Tokyo,marketing,106000
5,frank,28,Paris,finance,71000
6,judy,26,Paris,marketing,52000
7,bob,21,Paris,hr,114000
8,pete,29,Tokyo,eng,71000
9,grace,29,Madrid,eng,101000
10,eve,43,Cairo,ops,100000
11,nora,43,Madrid,ops,111000
12,carol,49,Tokyo,marketing,73000
13,dave,30,Madrid,hr,66000
```

Task: Compute the max of the 'age' column. Return the integer.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
=== employees ===
id,name,age,city,dept,salary
1,grace,45,Rome,ops,43000
2,carol,41,Rome,finance,143000
3,dave,64,Cairo,ops,56000
4,judy,57,Paris,hr,103000
5,alice,43,Lisbon,ops,89000
6,bob,46,Berlin,sales,93000
7,ivan,63,London,ops,140000
8,pete,42,London,hr,57000
9,olive,28,Paris,marketing,80000
10,mike,46,Tokyo,ops,92000

=== bonus_by_dept ===
dept,bonus
finance,7000
hr,7000
marketing,7000
ops,4000
sales,6000
```

Task: You are given two CSVs. Join them on the 'dept' column and compute the sum of (salary + bonus) across all employees. Return the integer.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,grace,37,Paris,ops,114000
2,carol,63,Rome,eng,86000
3,linda,48,Paris,hr,48000
4,eve,33,Paris,eng,61000
5,olive,41,Paris,sales,91000
6,pete,24,Madrid,finance,40000
7,nora,38,Lisbon,hr,125000
8,karl,39,Berlin,eng,139000
9,alice,25,Madrid,marketing,78000
10,bob,23,London,eng,128000
11,judy,22,Paris,hr,57000
12,ivan,25,London,ops,90000
13,frank,40,Lisbon,finance,149000
14,mike,47,Lisbon,hr,83000
15,dave,62,Berlin,sales,110000
16,heidi,43,Tokyo,marketing,40000
17,grace2,42,Cairo,sales,42000
18,carol2,37,Cairo,finance,137000
19,linda2,43,Cairo,finance,107000
20,eve2,55,Tokyo,finance,111000
21,olive2,45,Tokyo,hr,116000
22,pete2,21,Lisbon,hr,137000
```

Task: How many rows have age > 40 AND city = 'Madrid'? Return the integer count.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,mike,58,Tokyo,finance,145000
2,bob,25,Paris,finance,99000
3,linda,51,Cairo,hr,73000
4,olive,56,Rome,marketing,59000
5,frank,31,Paris,finance,67000
6,pete,51,Rome,marketing,121000
7,heidi,57,Tokyo,marketing,118000
8,judy,56,Rome,ops,82000
9,grace,21,Rome,hr,128000
10,eve,36,Lisbon,finance,51000
11,nora,34,Lisbon,hr,145000
12,alice,35,Cairo,ops,62000
13,carol,61,London,marketing,142000
14,karl,22,Paris,ops,78000
15,dave,23,London,marketing,139000
16,ivan,39,Lisbon,finance,115000
```

Task: How many rows have age > 49 AND city = 'Paris'? Return the integer count.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,eve,64,Lisbon,hr,131000
2,ivan,52,Paris,sales,108000
3,dave,33,Berlin,finance,77000
4,grace,61,Tokyo,finance,93000
5,linda,62,Rome,ops,92000
6,nora,57,Cairo,marketing,99000
7,carol,30,Rome,finance,57000
8,judy,36,Rome,sales,145000
9,mike,36,Tokyo,finance,128000
10,pete,60,Berlin,sales,103000
11,olive,37,Rome,ops,43000
12,alice,38,Lisbon,marketing,138000
13,frank,25,Madrid,sales,65000
```

Task: Sum the values in the 'age' column. Return the integer total.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,frank,59,London,ops,120000
2,karl,27,London,sales,59000
3,dave,64,Paris,hr,133000
4,carol,27,Paris,eng,104000
5,mike,63,London,marketing,81000
6,pete,34,Tokyo,hr,65000
7,olive,44,Lisbon,sales,86000
8,judy,27,Berlin,ops,56000
9,heidi,52,Tokyo,ops,68000
```

Task: Sum the values in the 'salary' column. Return the integer total.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
=== employees ===
id,name,age,city,dept,salary
1,grace,33,Rome,finance,122000
2,carol,61,Madrid,hr,94000
3,nora,26,Cairo,eng,122000
4,linda,52,Berlin,sales,40000
5,mike,63,Tokyo,eng,93000
6,frank,22,Tokyo,eng,85000
7,dave,43,Rome,hr,134000
8,judy,29,Berlin,eng,147000
9,pete,23,Madrid,sales,79000
10,alice,33,Paris,sales,46000

=== bonus_by_dept ===
dept,bonus
eng,2000
finance,5000
hr,4000
sales,5000
```

Task: You are given two CSVs. Join them on the 'dept' column and compute the sum of (salary + bonus) across all employees. Return the integer.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,grace,59,Berlin,ops,66000
2,ivan,56,Cairo,ops,72000
3,judy,36,Tokyo,hr,44000
4,carol,31,Tokyo,hr,136000
5,eve,30,Cairo,marketing,99000
6,karl,49,Paris,ops,55000
7,pete,46,Rome,sales,63000
8,olive,29,London,marketing,142000
9,alice,62,London,finance,129000
10,bob,52,Tokyo,ops,104000
11,heidi,45,Tokyo,hr,116000
12,mike,22,Tokyo,marketing,134000
13,linda,57,Lisbon,marketing,64000
14,nora,40,Rome,hr,70000
15,frank,40,Rome,hr,114000
16,dave,56,London,hr,46000
```

Task: Group the rows by 'city' and compute the max of 'age' per group. Return the group name with the largest max.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,eve,46,London,eng,42000
2,karl,38,Paris,eng,63000
3,mike,41,Berlin,ops,134000
4,pete,33,Berlin,finance,45000
5,carol,42,Madrid,sales,108000
6,grace,57,Lisbon,sales,95000
7,judy,64,Cairo,marketing,131000
8,frank,32,London,marketing,122000
9,nora,62,Berlin,finance,123000
10,dave,28,Berlin,sales,114000
11,linda,60,Cairo,marketing,41000
12,heidi,53,London,hr,140000
13,alice,39,Madrid,marketing,96000
14,bob,31,Madrid,marketing,88000
15,ivan,26,London,ops,133000
16,olive,33,Lisbon,ops,125000
17,eve2,31,Madrid,marketing,75000
```

Task: Group the rows by 'dept' and compute the mean of 'age' per group. Return the group name with the largest mean.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,linda,56,Paris,marketing,104000
2,judy,45,Cairo,sales,147000
3,grace,35,Tokyo,finance,84000
4,ivan,63,Tokyo,ops,98000
5,dave,30,Cairo,hr,149000
6,olive,32,Rome,hr,105000
7,alice,34,Madrid,ops,100000
8,eve,21,Berlin,ops,62000
9,nora,21,Paris,marketing,103000
10,pete,45,Lisbon,finance,72000
```

Task: Compute the max of the 'salary' column. Return the integer.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,linda,30,Madrid,finance,50000
2,judy,47,Tokyo,finance,112000
3,bob,55,Lisbon,finance,110000
4,olive,53,Cairo,hr,121000
5,dave,33,Lisbon,finance,58000
6,nora,49,Tokyo,finance,82000
7,mike,62,Rome,eng,120000
8,frank,27,Lisbon,ops,106000
9,grace,50,London,hr,109000
10,eve,47,Madrid,eng,69000
11,pete,22,Rome,marketing,136000
12,karl,33,Madrid,eng,103000
13,ivan,50,Berlin,finance,96000
14,heidi,62,Rome,ops,101000
```

Task: Compute the median of the 'age' column. Return the numeric value (any precision).


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,alice,60,Rome,hr,143000
2,karl,43,Berlin,eng,74000
3,linda,46,Madrid,eng,103000
4,dave,55,Tokyo,finance,64000
5,nora,36,Rome,ops,104000
6,bob,36,Madrid,marketing,68000
```

Task: In the CSV below, what is the value of column 'age' in row 4 (0-indexed, header excluded)? Return only the value.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,heidi,46,Lisbon,ops,95000
2,ivan,37,Lisbon,sales,147000
3,karl,21,Rome,ops,118000
4,alice,41,Cairo,ops,61000
5,pete,44,Tokyo,finance,141000
6,dave,49,Madrid,ops,82000
7,olive,37,Cairo,finance,44000
8,grace,64,Paris,finance,101000
9,judy,21,Madrid,sales,82000
10,linda,30,London,sales,116000
11,bob,32,Paris,sales,146000
12,frank,35,Tokyo,sales,126000
```

Task: Sum the values in the 'salary' column. Return the integer total.


Prompt:
You are a data-analysis agent. Below is one or more CSV table(s). Read the data carefully and answer the task. Return only the answer value — no prose, no commentary.

```csv
id,name,age,city,dept,salary
1,frank,35,Lisbon,hr,50000
2,alice,54,Lisbon,eng,45000
3,heidi,24,Paris,marketing,75000
4,grace,23,Rome,sales,80000
5,dave,37,Madrid,marketing,73000
6,olive,62,Madrid,marketing,50000
7,nora,45,Madrid,eng,52000
8,mike,39,Madrid,hr,132000
```

Task: In the CSV below, what is the value of column 'age' in row 3 (0-indexed, header excluded)? Return only the value.