mirrored 18 minutes ago
0
David Changver Jan31stv6 finished calc human evaluation updated calc configs with an extra sleep to guarantee the integrity of downloaded xlsx file 4897211
{
	"id": "8b1ce5f2-59d2-4dcc-b0b0-666a714b9a14",
	"snapshot": "libreoffice_calc",
	"instruction": "Given a partial calendar, please highlight all the weekends (Satureday & Sunday) by setting the cell background as red (#ff0000).",
	"source": "https://www.youtube.com/shorts/Hbcwu6IQ1ns",
	"config": [
		{
			"type": "download",
			"parameters": {
				"files": [
					{
						"url": "https://drive.usercontent.google.com/download?id=1_gyig5Vs3VOuvkjRoLt2ZpXBIyCZfUmV&export=download&authuser=0&confirm=t&uuid=ed113cdd-4279-454b-a66d-07447e31c818&at=APZUnTVztf5DcbF0DjLJitkpUUxt:1705920417565",
						"path": "/home/user/Calendar_Highlight_Weekend_Days.xlsx"
					}
				]
			}
		},
		{
			"type": "open",
			"parameters": {
				"path": "/home/user/Calendar_Highlight_Weekend_Days.xlsx"
			}
		}
	],
	"trajectory": "trajectories/8b1ce5f2-59d2-4dcc-b0b0-666a714b9a14",
	"related_apps": [
		"libreoffice calc"
	],
	"evaluator": {
		"postconfig": [
			{
				"type": "activate_window",
				"parameters": {
					"window_name": "Calendar_Highlight_Weekend_Days.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.usercontent.google.com/download?id=1URKsHvPdWDvB-qwsIZ-SqHAmiXaosXKW&export=download&authuser=0&confirm=t&uuid=849064c9-7402-48c5-87f6-e5c290e4bd24&at=APZUnTXarmqM0cO4I0z-Lv7MElzX:1705920495794",
			"dest": "Calendar_Highlight_Weekend_Days_gold.xlsx"
		},
		"result": {
			"type": "vm_file",
			"path": "/home/user/Calendar_Highlight_Weekend_Days.xlsx",
			"dest": "Calendar_Highlight_Weekend_Days.xlsx"
		},
		"options": {
			"rules": [
				{
					"type": "sheet_data",
					"sheet_idx0": 0,
					"sheet_idx1": "EI0"
				},
				{
					"type": "style",
					"sheet_idx0": 0,
					"sheet_idx1": "EI0",
					"props": ["bgcolor"]
				}
			]
		}
	}
}