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,21,Cairo,marketing,129000
2,heidi,58,Berlin,eng,111000
3,judy,46,Cairo,sales,54000
4,carol,42,Madrid,marketing,47000
5,karl,55,London,finance,77000
6,alice,34,Berlin,sales,141000
7,dave,46,Lisbon,sales,94000
8,ivan,38,Rome,sales,130000
9,nora,48,Berlin,eng,56000
10,grace,37,Berlin,ops,50000
11,frank,49,Berlin,marketing,109000
12,linda,35,Rome,eng,78000
13,pete,39,Tokyo,sales,122000
```

Task: How many rows have age > 34 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,pete,53,London,marketing,42000
2,bob,37,Paris,ops,111000
3,linda,57,Paris,hr,78000
4,dave,43,Lisbon,eng,149000
5,ivan,31,Paris,ops,49000
6,carol,25,Paris,sales,73000
7,karl,39,Madrid,ops,108000
8,olive,37,Madrid,eng,92000
9,grace,44,Lisbon,marketing,86000
10,frank,40,London,hr,145000

=== bonus_by_dept ===
dept,bonus
eng,5000
hr,2000
marketing,8000
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
id,name,age,city,dept,salary
1,olive,53,Rome,finance,67000
2,linda,21,Tokyo,hr,126000
3,heidi,60,Rome,finance,73000
4,pete,64,Lisbon,hr,103000
5,carol,60,Lisbon,finance,100000
6,judy,39,Lisbon,finance,68000
7,dave,53,Cairo,sales,105000
8,nora,61,Cairo,ops,120000
9,frank,25,Berlin,eng,129000
10,karl,58,Berlin,hr,111000
11,bob,33,London,marketing,85000
```

Task: In the CSV below, what is the value of column 'salary' 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,24,Madrid,finance,79000
2,bob,37,Paris,hr,76000
3,carol,58,Madrid,hr,70000
4,linda,57,London,ops,118000
5,karl,42,London,hr,51000
6,frank,54,Cairo,ops,57000
7,nora,37,Madrid,eng,53000
8,mike,58,London,ops,65000
9,grace,64,Lisbon,sales,56000
10,heidi,25,Lisbon,sales,134000
11,dave,50,Tokyo,sales,45000
12,olive,48,Tokyo,eng,71000
13,pete,42,Berlin,hr,63000
```

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,eng,41000
2,nora,52,Madrid,marketing,147000
3,pete,41,Tokyo,eng,102000
4,dave,23,London,sales,110000
5,karl,32,London,sales,142000
6,bob,47,London,eng,130000
7,eve,26,Rome,hr,121000
8,alice,33,Madrid,sales,122000
9,heidi,36,Cairo,ops,144000
10,ivan,42,Cairo,ops,42000
11,grace,43,Lisbon,eng,88000
12,judy,45,Rome,marketing,111000
13,carol,59,Madrid,ops,134000
14,mike,63,Madrid,ops,81000
15,frank,43,Paris,marketing,96000
16,linda,50,Rome,eng,66000
```

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,dave,56,Tokyo,marketing,56000
2,grace,35,Lisbon,marketing,81000
3,karl,53,Tokyo,ops,119000
4,judy,30,Rome,ops,113000
5,bob,55,Lisbon,hr,110000
6,nora,21,Paris,ops,123000
7,carol,31,Tokyo,finance,122000
8,pete,42,Berlin,ops,52000
9,eve,54,Tokyo,marketing,135000
10,heidi,34,Lisbon,marketing,125000
11,linda,55,Paris,finance,96000
12,ivan,26,Paris,marketing,57000
13,mike,61,Tokyo,finance,109000
14,olive,39,Paris,ops,83000
15,alice,59,London,finance,84000
16,frank,33,Lisbon,marketing,134000
17,dave2,32,Cairo,finance,51000
18,grace2,59,Berlin,ops,97000
19,karl2,28,Tokyo,ops,145000
20,judy2,60,Lisbon,hr,40000
21,bob2,30,London,hr,47000
22,nora2,46,Cairo,sales,137000
23,carol2,51,London,marketing,73000
24,pete2,25,Rome,eng,86000
```

Task: How many rows have age > 44 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
=== employees ===
id,name,age,city,dept,salary
1,dave,25,London,finance,77000
2,carol,47,Paris,ops,46000
3,linda,41,Berlin,ops,146000
4,frank,44,London,eng,122000
5,ivan,46,Cairo,sales,72000
6,grace,27,London,marketing,85000
7,alice,31,Madrid,sales,114000
8,bob,20,Paris,sales,71000
9,karl,63,Paris,hr,44000
10,heidi,43,Tokyo,finance,121000
11,judy,22,Berlin,finance,125000
12,mike,33,Berlin,eng,138000

=== bonus_by_dept ===
dept,bonus
eng,1000
finance,9000
hr,5000
marketing,3000
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
id,name,age,city,dept,salary
1,carol,55,London,eng,130000
2,bob,42,London,marketing,94000
3,heidi,61,Cairo,eng,41000
4,alice,41,Berlin,finance,133000
5,olive,48,Madrid,eng,57000
6,pete,42,Lisbon,eng,98000
7,mike,47,Paris,finance,128000
8,linda,53,London,sales,52000
9,judy,21,Madrid,sales,138000
10,ivan,57,Cairo,ops,125000
11,frank,31,Rome,ops,148000
12,grace,64,Berlin,sales,88000
13,nora,49,Rome,marketing,82000
14,karl,47,Berlin,eng,46000
15,dave,23,Rome,ops,93000
16,eve,23,Cairo,sales,103000
17,carol2,56,Berlin,finance,117000
18,bob2,64,Madrid,sales,136000
19,heidi2,57,Lisbon,ops,42000
20,alice2,60,Berlin,eng,44000
21,olive2,55,Cairo,eng,128000
```

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
t,value
0,184
1,189
2,194
3,199
4,204
5,209
6,314
7,219
```

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,35,Berlin,ops,119000
2,grace,29,Paris,marketing,89000
3,eve,59,Madrid,finance,121000
4,pete,49,Rome,eng,61000
5,karl,61,Cairo,hr,107000
6,carol,58,Berlin,ops,66000
7,nora,25,London,hr,103000
8,olive,39,Berlin,eng,97000
9,judy,54,Berlin,ops,143000
10,alice,59,Cairo,hr,68000
11,dave,48,London,marketing,131000
12,frank,33,Berlin,hr,50000
```

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,karl,27,London,finance,86000
2,dave,35,London,finance,64000
3,ivan,45,Cairo,ops,121000
4,linda,28,Lisbon,eng,115000
5,bob,31,Berlin,marketing,128000
6,alice,24,Tokyo,marketing,57000
7,grace,30,Cairo,sales,115000
8,eve,36,Tokyo,eng,78000
9,olive,42,London,sales,102000
10,nora,53,Tokyo,hr,78000
11,carol,33,London,ops,113000
12,judy,31,Rome,sales,148000
13,pete,23,Berlin,sales,129000
```

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,34,Berlin,eng,144000
2,mike,54,Rome,sales,62000
3,pete,30,London,finance,81000
4,grace,44,Tokyo,marketing,79000
5,frank,31,Madrid,hr,106000
6,alice,59,London,finance,83000
7,nora,35,Rome,sales,51000
8,dave,35,Berlin,hr,62000
```

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,ivan,29,Lisbon,ops,112000
2,frank,55,Cairo,finance,74000
3,linda,50,Rome,sales,149000
4,olive,59,Cairo,finance,114000
5,alice,54,Paris,finance,132000
6,heidi,20,Cairo,sales,102000
7,judy,39,Paris,eng,146000
8,karl,38,Cairo,sales,110000
9,mike,20,Lisbon,marketing,107000
10,nora,38,London,sales,146000
11,bob,58,Tokyo,marketing,91000

=== bonus_by_dept ===
dept,bonus
eng,3000
finance,3000
marketing,7000
ops,5000
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,carol,27,Berlin,finance,61000
2,dave,53,Cairo,ops,66000
3,heidi,44,Paris,hr,88000
4,bob,43,Cairo,sales,80000
5,olive,51,Tokyo,eng,87000
6,eve,36,London,finance,118000
7,mike,32,Madrid,ops,100000
8,karl,51,Cairo,ops,42000
9,frank,30,Lisbon,finance,147000
10,grace,23,Tokyo,marketing,79000
11,judy,40,Tokyo,finance,149000
```

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,olive,33,Rome,hr,134000
2,pete,23,Cairo,eng,59000
3,dave,44,Lisbon,marketing,131000
4,carol,39,Madrid,eng,66000
5,nora,62,Lisbon,sales,46000
6,judy,52,Rome,sales,86000
7,mike,58,Rome,marketing,106000
8,ivan,34,Cairo,hr,140000
9,grace,23,Paris,marketing,123000
10,bob,32,Rome,marketing,95000
11,heidi,48,Cairo,eng,147000
12,eve,42,London,finance,139000
13,frank,26,Rome,hr,59000
14,linda,32,Madrid,ops,50000
```

Task: How many rows have age > 30 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,eve,62,Lisbon,marketing,86000
2,frank,60,Lisbon,eng,75000
3,bob,29,Cairo,sales,105000
4,olive,62,Lisbon,finance,138000
5,karl,36,Cairo,eng,54000
6,alice,57,Lisbon,hr,83000
7,ivan,42,Rome,finance,49000
8,judy,49,Cairo,finance,112000
9,carol,64,Tokyo,marketing,124000
10,nora,26,Rome,finance,74000
11,dave,41,London,ops,103000
12,pete,41,Berlin,hr,128000
13,linda,62,Lisbon,eng,90000
```

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,grace,33,Cairo,eng,103000
2,mike,41,Lisbon,marketing,49000
3,eve,42,Berlin,sales,135000
4,alice,46,Rome,sales,109000
5,linda,21,Cairo,sales,74000
6,ivan,23,London,ops,136000
7,pete,43,London,sales,113000
8,carol,46,Berlin,hr,123000
9,frank,50,Paris,ops,113000

=== bonus_by_dept ===
dept,bonus
eng,2000
hr,5000
marketing,7000
ops,9000
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,karl,51,Lisbon,ops,78000
2,pete,35,Tokyo,eng,52000
3,dave,64,Paris,finance,135000
4,olive,42,Rome,ops,67000
5,bob,33,Lisbon,hr,45000
6,eve,59,Cairo,eng,124000
7,linda,35,Lisbon,hr,79000
8,heidi,31,Lisbon,eng,127000
9,grace,47,Lisbon,finance,138000
```

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
t,value
0,164
1,166
2,208
3,170
4,172
5,174
6,176
7,178
8,180
```

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,57,Tokyo,hr,41000
2,frank,43,Tokyo,hr,68000
3,alice,51,Lisbon,ops,60000
4,carol,55,Tokyo,finance,123000
5,olive,26,Cairo,finance,139000
6,nora,57,Tokyo,marketing,118000
7,pete,36,Berlin,hr,57000
8,bob,46,London,sales,45000
9,grace,43,Lisbon,ops,87000
10,eve,51,Madrid,marketing,60000
11,heidi,29,Madrid,sales,81000

=== bonus_by_dept ===
dept,bonus
finance,9000
hr,4000
marketing,8000
ops,2000
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,judy,42,Paris,finance,121000
2,karl,42,Cairo,ops,143000
3,ivan,21,Berlin,ops,66000
4,grace,48,Madrid,hr,103000
5,heidi,33,Rome,hr,133000
6,frank,44,Rome,hr,93000
7,carol,20,Paris,marketing,69000
8,olive,38,Paris,hr,80000
9,pete,25,Tokyo,sales,79000
10,bob,33,Cairo,hr,75000
11,eve,23,Paris,eng,105000
```

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,judy,52,Madrid,eng,90000
2,linda,46,Madrid,ops,94000
3,karl,58,Paris,finance,133000
4,olive,57,Tokyo,sales,138000
5,ivan,33,Berlin,finance,146000
6,grace,21,Madrid,sales,53000
7,pete,52,Paris,ops,106000
8,nora,43,Cairo,sales,42000
9,frank,25,Paris,eng,127000
10,alice,63,London,ops,66000
11,bob,52,Paris,hr,122000
```

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,frank,64,Madrid,finance,61000
2,olive,46,Berlin,finance,106000
3,pete,57,Lisbon,ops,96000
4,carol,34,London,eng,43000
5,bob,49,London,sales,72000
6,mike,40,London,ops,102000
7,linda,34,Tokyo,marketing,53000
8,dave,56,Cairo,ops,106000
9,nora,41,Berlin,marketing,82000
10,karl,52,Rome,ops,139000
11,eve,59,Rome,finance,69000
12,judy,58,Rome,eng,136000
13,alice,57,London,eng,50000
14,heidi,57,Paris,finance,86000
```

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,eve,53,Tokyo,sales,122000
2,pete,32,Tokyo,finance,102000
3,karl,49,Paris,sales,46000
4,heidi,41,Rome,ops,67000
5,dave,31,Tokyo,eng,40000
6,grace,59,Lisbon,finance,131000
7,frank,38,London,sales,138000
8,bob,36,Lisbon,sales,59000

=== bonus_by_dept ===
dept,bonus
eng,4000
finance,3000
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
id,name,age,city,dept,salary
1,dave,21,Madrid,finance,44000
2,carol,34,London,ops,144000
3,bob,63,Madrid,marketing,141000
4,alice,43,Cairo,eng,110000
5,olive,21,Cairo,hr,44000
6,frank,36,Lisbon,marketing,136000
7,heidi,46,Berlin,ops,105000
8,linda,42,Madrid,hr,142000
9,karl,27,Rome,sales,46000
10,ivan,29,Paris,sales,125000
11,nora,51,Tokyo,finance,55000
12,grace,55,Lisbon,eng,61000
13,judy,38,Rome,finance,63000
```

Task: Group the rows by 'dept' 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
=== employees ===
id,name,age,city,dept,salary
1,ivan,27,Cairo,eng,49000
2,frank,43,London,ops,44000
3,carol,21,Berlin,eng,97000
4,linda,23,Tokyo,hr,119000
5,dave,37,Paris,marketing,77000
6,nora,63,Lisbon,hr,147000
7,eve,51,Cairo,eng,60000
8,alice,63,Cairo,eng,142000

=== bonus_by_dept ===
dept,bonus
eng,2000
hr,4000
marketing,5000
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,dave,48,London,marketing,46000
2,frank,60,Lisbon,eng,115000
3,ivan,56,Madrid,sales,93000
4,judy,38,Rome,eng,142000
5,eve,62,Tokyo,sales,56000
6,nora,59,Berlin,marketing,140000
7,heidi,30,Madrid,finance,146000
8,linda,64,Rome,eng,144000
9,alice,55,Rome,eng,145000
10,olive,37,Madrid,eng,107000
11,pete,61,Berlin,eng,111000
12,mike,54,Berlin,marketing,115000
13,karl,64,Tokyo,hr,112000
14,grace,52,London,eng,122000
15,bob,21,Paris,marketing,149000
```

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,28,London,hr,87000
2,linda,53,Rome,sales,106000
3,dave,33,Madrid,ops,85000
4,ivan,26,Rome,sales,120000
5,heidi,55,Tokyo,ops,136000
6,bob,59,London,hr,50000
7,grace,55,Berlin,finance,125000
8,eve,27,Madrid,ops,136000
9,mike,24,Tokyo,marketing,52000
10,pete,61,Berlin,sales,113000
```

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,eve,45,Lisbon,hr,116000
2,ivan,50,Berlin,finance,55000
3,grace,44,Paris,eng,100000
4,frank,53,Madrid,eng,140000
5,heidi,55,Rome,eng,120000
6,nora,52,Berlin,eng,121000
7,karl,60,Tokyo,sales,106000
8,mike,55,Berlin,sales,125000
9,pete,51,Tokyo,finance,149000
```

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,linda,51,Paris,sales,89000
2,bob,45,Lisbon,eng,50000
3,pete,57,Berlin,finance,95000
4,mike,64,Rome,eng,143000
5,frank,54,Madrid,eng,88000
6,karl,40,Paris,marketing,148000
7,judy,41,Berlin,hr,113000
8,olive,61,Rome,eng,118000
9,eve,28,Cairo,marketing,91000
```

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,31,London,ops,58000
2,dave,40,Madrid,ops,74000
3,carol,58,Tokyo,finance,138000
4,pete,45,Paris,hr,92000
5,ivan,64,Berlin,finance,46000
6,mike,26,Tokyo,eng,108000
7,nora,49,Berlin,ops,54000
8,karl,28,Rome,finance,51000
9,bob,43,Paris,finance,120000
10,linda,62,Cairo,sales,49000

=== bonus_by_dept ===
dept,bonus
eng,5000
finance,4000
hr,4000
ops,5000
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
=== employees ===
id,name,age,city,dept,salary
1,grace,60,Paris,finance,83000
2,olive,54,London,eng,111000
3,pete,48,Paris,hr,47000
4,frank,29,London,hr,141000
5,heidi,46,Berlin,hr,118000
6,dave,24,London,sales,136000
7,nora,23,Lisbon,finance,48000
8,ivan,30,Lisbon,eng,85000
9,eve,27,London,finance,91000
10,carol,38,Berlin,marketing,66000
11,judy,44,Lisbon,marketing,52000
12,karl,53,London,hr,72000
13,mike,54,Tokyo,marketing,142000

=== bonus_by_dept ===
dept,bonus
eng,2000
finance,9000
hr,1000
marketing,9000
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,bob,60,London,eng,110000
2,alice,50,Paris,ops,106000
3,nora,63,Cairo,sales,94000
4,frank,32,Tokyo,hr,68000
5,eve,40,Cairo,hr,144000
6,heidi,21,Madrid,eng,141000
7,judy,22,Tokyo,eng,131000
8,linda,60,London,sales,139000
9,pete,31,Rome,ops,115000
10,dave,37,Cairo,finance,87000
```

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,pete,51,Lisbon,hr,73000
2,karl,61,Berlin,eng,128000
3,linda,33,Berlin,sales,42000
4,heidi,51,Tokyo,marketing,120000
5,frank,53,London,ops,44000
6,alice,54,Paris,hr,63000
7,mike,24,Cairo,marketing,61000
8,grace,48,Tokyo,finance,131000
9,olive,37,Madrid,eng,129000
10,ivan,22,London,sales,131000
11,nora,62,Rome,sales,90000
12,judy,41,Paris,sales,65000
13,bob,39,Madrid,marketing,110000
14,dave,41,Rome,ops,53000
15,carol,62,Tokyo,sales,87000
```

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
id,name,age,city,dept,salary
1,pete,48,Rome,sales,133000
2,nora,62,Berlin,marketing,78000
3,heidi,30,Cairo,sales,110000
4,ivan,55,Rome,hr,58000
5,alice,42,Cairo,finance,76000
6,olive,54,Madrid,eng,136000
7,bob,50,Madrid,sales,89000
8,judy,34,Cairo,eng,129000
9,eve,44,Lisbon,marketing,119000
10,dave,37,Cairo,hr,115000
11,linda,32,London,marketing,84000
```

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,grace,51,Cairo,marketing,72000
2,bob,61,Madrid,finance,129000
3,olive,20,Berlin,hr,68000
4,alice,63,Rome,eng,124000
5,frank,54,Paris,sales,47000
6,dave,32,Berlin,ops,56000
7,judy,35,Madrid,finance,78000
8,heidi,44,London,marketing,112000
9,eve,63,Rome,sales,62000
10,karl,51,Madrid,ops,51000
11,mike,22,Tokyo,ops,101000
12,linda,32,Cairo,ops,95000
13,carol,55,Cairo,sales,65000
14,ivan,62,London,hr,99000
15,pete,28,Cairo,eng,135000
16,nora,35,Madrid,sales,105000
17,grace2,35,Berlin,ops,101000
18,bob2,59,Lisbon,sales,117000
19,olive2,64,Madrid,eng,47000
20,alice2,39,Berlin,finance,84000
21,frank2,29,Cairo,hr,97000
```

Task: How many rows have age > 29 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,62,Cairo,ops,87000
2,pete,64,Madrid,ops,53000
3,judy,53,Berlin,eng,50000
4,heidi,49,Rome,ops,108000
5,olive,64,Tokyo,finance,70000
6,bob,53,Lisbon,eng,134000
7,grace,60,Paris,marketing,122000
```

Task: In the CSV below, what is the value of column 'salary' 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,mike,53,Berlin,ops,112000
2,carol,21,London,ops,69000
3,alice,58,Tokyo,sales,84000
4,frank,51,Madrid,hr,147000
5,ivan,42,London,marketing,51000
6,linda,58,Paris,hr,43000
7,eve,36,Rome,eng,48000
8,judy,50,Cairo,eng,86000
9,pete,30,Rome,marketing,48000
10,karl,46,Rome,sales,90000
11,bob,44,Cairo,finance,80000
12,grace,64,Cairo,marketing,76000
13,nora,20,Berlin,hr,118000
14,olive,28,Madrid,finance,65000
15,dave,58,Rome,finance,110000
16,heidi,46,Cairo,finance,73000
```

Task: How many rows have age > 48 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,grace,52,Madrid,sales,141000
2,frank,33,London,eng,96000
3,bob,30,Cairo,sales,114000
4,dave,37,Paris,marketing,59000
5,karl,31,London,marketing,142000
6,linda,61,Lisbon,marketing,47000
7,judy,42,Madrid,marketing,128000
8,carol,46,Berlin,eng,86000
9,eve,25,Paris,finance,43000
10,mike,46,Madrid,ops,43000
11,pete,24,Paris,hr,144000
12,ivan,22,Rome,marketing,147000
13,olive,40,Madrid,ops,86000
14,nora,29,Madrid,eng,70000
```

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,ivan,22,Rome,finance,100000
2,carol,20,Lisbon,ops,131000
3,nora,53,Paris,marketing,71000
4,bob,56,Lisbon,sales,136000
5,dave,22,Berlin,eng,50000
6,linda,27,Paris,hr,118000
7,mike,33,Cairo,sales,66000
8,olive,31,Madrid,finance,115000
9,eve,58,Cairo,sales,96000
10,frank,31,Berlin,eng,86000
11,heidi,46,Lisbon,finance,134000
12,karl,50,Paris,sales,55000
13,alice,39,Lisbon,hr,42000
14,judy,57,Lisbon,ops,66000
15,grace,55,Madrid,sales,125000
16,pete,59,Cairo,finance,48000
17,ivan2,31,Paris,finance,73000
18,carol2,59,Berlin,hr,40000
19,nora2,24,Berlin,sales,87000
20,bob2,22,Lisbon,marketing,134000
```

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
=== employees ===
id,name,age,city,dept,salary
1,frank,52,London,sales,53000
2,alice,35,Paris,hr,41000
3,olive,24,Berlin,eng,84000
4,bob,31,Lisbon,ops,105000
5,grace,20,Cairo,marketing,142000
6,heidi,50,Berlin,finance,101000
7,pete,20,London,sales,148000
8,ivan,22,Madrid,eng,64000
9,linda,51,Cairo,hr,140000
10,mike,59,Tokyo,hr,133000

=== bonus_by_dept ===
dept,bonus
eng,5000
finance,7000
hr,6000
marketing,2000
ops,5000
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
id,name,age,city,dept,salary
1,bob,60,Rome,ops,145000
2,linda,53,Lisbon,finance,137000
3,dave,43,Lisbon,finance,71000
4,carol,33,Paris,eng,58000
5,nora,35,Rome,hr,144000
6,heidi,34,Rome,marketing,59000
7,olive,21,London,eng,59000
8,judy,45,Madrid,finance,103000
9,alice,42,Rome,marketing,105000
10,frank,42,Cairo,finance,73000
11,grace,21,Paris,hr,133000
12,eve,32,London,hr,128000
13,ivan,58,Paris,finance,115000
14,pete,52,Tokyo,eng,92000
```

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,ivan,20,Cairo,eng,122000
2,linda,51,London,marketing,61000
3,frank,50,Paris,hr,48000
4,carol,52,Lisbon,marketing,76000
5,nora,63,Cairo,sales,147000
6,olive,43,London,ops,124000
7,eve,32,London,eng,56000
8,judy,55,Berlin,marketing,90000
```

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,175
1,178
2,181
3,184
4,187
5,190
6,193
7,196
8,199
9,142
10,205
```

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,58,Berlin,marketing,93000
2,pete,45,Berlin,marketing,84000
3,linda,40,Lisbon,marketing,58000
4,judy,53,Berlin,hr,149000
5,alice,42,Paris,sales,48000
6,heidi,36,Madrid,eng,146000
7,olive,29,London,hr,143000
8,ivan,32,Lisbon,finance,41000
9,carol,33,Tokyo,eng,111000
10,bob,58,London,marketing,67000
11,eve,54,Berlin,eng,87000
12,frank,45,London,eng,53000
13,nora,31,Cairo,marketing,56000
14,grace,23,Paris,eng,142000
15,karl,36,Paris,finance,107000
```

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,linda,62,Paris,marketing,63000
2,grace,60,Berlin,eng,120000
3,alice,42,Lisbon,ops,47000
4,dave,36,Cairo,finance,133000
5,mike,42,Lisbon,eng,148000
6,bob,20,Cairo,finance,83000
7,pete,41,Berlin,hr,78000
8,carol,42,Cairo,marketing,119000
9,heidi,41,Rome,hr,57000
10,karl,58,Madrid,sales,121000
11,olive,54,Madrid,hr,45000
```

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,45,Cairo,ops,130000
2,grace,58,Berlin,marketing,89000
3,judy,25,London,sales,46000
4,mike,47,Tokyo,sales,79000
5,dave,48,Paris,ops,146000
6,alice,21,Cairo,eng,123000
7,ivan,46,Lisbon,marketing,106000
8,karl,42,Cairo,sales,127000
9,pete,20,Tokyo,marketing,80000
```

Task: In the CSV below, what is the value of column 'city' 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
=== employees ===
id,name,age,city,dept,salary
1,nora,64,Lisbon,finance,116000
2,carol,33,Tokyo,eng,63000
3,mike,28,Lisbon,hr,49000
4,ivan,46,Cairo,eng,120000
5,olive,34,Rome,finance,90000
6,eve,61,London,sales,77000
7,heidi,58,Tokyo,finance,96000
8,judy,44,Tokyo,marketing,74000
9,karl,26,Rome,ops,98000
10,frank,55,Madrid,sales,48000
11,bob,56,Tokyo,ops,99000

=== bonus_by_dept ===
dept,bonus
eng,8000
finance,6000
hr,8000
marketing,8000
ops,8000
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,carol,32,London,marketing,72000
2,frank,60,Lisbon,marketing,42000
3,bob,47,Madrid,hr,81000
4,linda,46,Paris,marketing,50000
5,olive,44,Tokyo,sales,41000
6,karl,32,London,marketing,128000
7,nora,24,Tokyo,hr,45000
8,eve,38,Madrid,hr,60000
9,grace,63,Tokyo,sales,145000
10,ivan,29,Cairo,ops,78000
```

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,carol,38,London,eng,74000
2,bob,63,Tokyo,eng,142000
3,karl,24,Rome,finance,73000
4,olive,38,Cairo,marketing,84000
5,linda,58,Berlin,sales,69000
6,eve,24,Madrid,marketing,145000
7,dave,44,Rome,hr,95000
8,alice,42,Berlin,marketing,104000
9,heidi,42,Berlin,ops,51000
10,ivan,39,London,sales,81000
11,grace,42,Cairo,sales,141000
12,judy,37,Cairo,ops,96000
13,frank,48,Cairo,eng,93000
14,nora,46,London,eng,138000
15,pete,33,London,sales,132000
16,mike,38,Cairo,ops,81000
17,carol2,30,Berlin,ops,54000
18,bob2,23,London,finance,128000
19,karl2,60,Berlin,marketing,82000
20,olive2,21,Cairo,hr,139000
21,linda2,40,Madrid,ops,124000
22,eve2,56,Tokyo,hr,91000
23,dave2,20,Paris,ops,68000
24,alice2,26,Lisbon,eng,73000
```

Task: How many rows have age > 35 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
=== employees ===
id,name,age,city,dept,salary
1,karl,55,London,eng,103000
2,nora,30,Berlin,marketing,132000
3,grace,54,Paris,marketing,59000
4,eve,49,Tokyo,eng,41000
5,bob,57,Paris,hr,144000
6,alice,20,Madrid,finance,80000
7,dave,52,Paris,eng,45000
8,judy,35,Lisbon,sales,141000
9,olive,50,Tokyo,eng,123000

=== bonus_by_dept ===
dept,bonus
eng,8000
finance,3000
hr,9000
marketing,3000
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,ivan,45,Tokyo,hr,84000
2,olive,24,Tokyo,finance,82000
3,mike,48,Cairo,sales,126000
4,nora,46,Madrid,marketing,69000
5,grace,43,Lisbon,sales,139000
6,alice,33,Lisbon,hr,51000
7,karl,21,Lisbon,finance,69000
8,carol,30,Tokyo,finance,131000
9,eve,51,Tokyo,finance,132000

=== bonus_by_dept ===
dept,bonus
finance,8000
hr,9000
marketing,9000
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.