aboutsummaryrefslogtreecommitdiff
path: root/benchmark/agbenchmark/challenges/verticals/data/1_sort_csv/data.json
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/agbenchmark/challenges/verticals/data/1_sort_csv/data.json')
-rw-r--r--benchmark/agbenchmark/challenges/verticals/data/1_sort_csv/data.json32
1 files changed, 32 insertions, 0 deletions
diff --git a/benchmark/agbenchmark/challenges/verticals/data/1_sort_csv/data.json b/benchmark/agbenchmark/challenges/verticals/data/1_sort_csv/data.json
new file mode 100644
index 000000000..00370108e
--- /dev/null
+++ b/benchmark/agbenchmark/challenges/verticals/data/1_sort_csv/data.json
@@ -0,0 +1,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."
+}