aboutsummaryrefslogtreecommitdiff
path: root/benchmark/agbenchmark/challenges/verticals/data/1_sort_csv/data.json
blob: 00370108e155110a7f49e7a5dd9b14e9c8947a8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
    "category": [
        "data",
        "general"
    ],
    "cutoff": 60,
    "dependencies": [
        "TestReadFile"
    ],
    "eval_id": "d59ec964-6f67-4b3d-a4de-c4436fc76f95",
    "ground": {
        "answer": "The csv sorted by date",
        "eval": {
            "type": "file"
        },
        "files": [
            "output.csv"
        ],
        "should_contain": [
            "id,name,timestamp\n1,Bob,2023-09-24 12:05:00\n2,Charlie,2023-09-24 12:10:00\n3,Alice,2023-09-25 14:10:00\n4,David,2023-09-26 16:20:00"
        ]
    },
    "info": {
        "description": "Tests if the agent can sort a csv",
        "difficulty": "basic",
        "side_effects": [
            ""
        ]
    },
    "name": "SortCsv",
    "task": "Sort the input.csv by the 'timestamp' column and write the new csv in the output.csv file. The order of the columns should be preserved."
}