mirrored 2 minutes ago
0
TimothyxxxMove sheetcopilot examples into libreoffice calc folder f9ccaa5
{
	"id": "535364ea-05bd-46ea-9937-9f55c68507e8",
	"snapshot": "libreoffice_calc",
	"instruction": "Create two tables in a new sheet showing the total revenue for each product and sales channel.",
	"source": "SheetCopilot@180",
	"config": [
		{
			"type": "download",
			"parameters": {
				"files": [
					{
						"url": "https://drive.google.com/uc?id=1bNHlYdEXNBBHab1kiYaD35Xc3hNIyR8J&export=download",
						"path": "/home/user/SummerSales.xlsx"
					}
				]
			}
		},
		{
			"type": "open",
			"parameters": {
				"path": "/home/user/SummerSales.xlsx"
			}
		}
	],
	"trajectory": "trajectories/535364ea-05bd-46ea-9937-9f55c68507e8",
	"related_apps": [
		"libreoffice_calc"
	],
	"evaluator": {
		"postconfig": [
			{
				"type": "activate_window",
				"parameters": {
					"window_name": "SummerSales.xlsx - LibreOffice Calc",
					"strict": true
				}
			},
			{
				"type": "sleep",
				"parameters": {
					"seconds": 0.5
				}
			},
			{
				"type": "execute",
				"parameters": {
					"command": [
						"python",
						"-c",
						"import pyautogui; pyautogui.hotkey(\"ctrl\", \"s\");"
					]
				}
			},
			{
				"type": "sleep",
				"parameters": {
					"seconds": 0.5
				}
			}
		],
		"func": "compare_table",
		"expected": {
			"type": "cloud_file",
			"path": "https://drive.google.com/uc?id=1vAquqoNRCxo04FztzEYtOzg25Gg05JJu&export=download",
			"dest": "5_SummerSales_gt1.xlsx"
		},
		"result": {
			"type": "vm_file",
			"path": "/home/user/SummerSales.xlsx",
			"dest": "SummerSales.xlsx"
		},
		"options": {
			"rules": [
				{
					"type": "pivot_table",
					"sheet_idx0": "RNSheet2",
					"sheet_idx1": "ENSheet2",
					"pivot_props": [
						"col_fields",
						"filter",
						"row_fields",
						"data_fields"
					]
				}
			]
		}
	}
}