mirrored 13 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": "6e99a1ad-07d2-4b66-a1ce-ece6d99c20a5",
	"snapshot": "libreoffice_calc",
	"instruction": "Help me format column \"spent\" by keeping two decimal points. ",
	"source": "https://www.youtube.com/watch?v=nl-nXjJurhQ",
	"config": [
		{
			"type": "download",
			"parameters": {
				"files": [
					{
						"url": "https://drive.usercontent.google.com/download?id=1FG_e6DhoYybUMtkhAOJrJWCctIcP1E1I&export=download&authuser=0&confirm=t&uuid=2ee528f2-b86d-415d-a93b-350a1fa3820d&at=APZUnTXTQiGRl6DlkMFts81FT-En:1706005475837",
						"path": "/home/user/Keep_Two_decimal_points.xlsx"
					}
				]
			}
		},
		{
			"type": "open",
			"parameters": {
				"path": "/home/user/Keep_Two_decimal_points.xlsx"
			}
		}
	],
	"trajectory": "trajectories/6e99a1ad-07d2-4b66-a1ce-ece6d99c20a5",
	"related_apps": [
		"libreoffice calc"
	],
	"evaluator": {
		"postconfig": [
			{
				"type": "activate_window",
				"parameters": {
					"window_name": "Keep_Two_decimal_points.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
				}
			},
			{
				"type": "execute",
				"parameters": {
					"command": [
						"libreoffice",
						"--convert-to",
						"csv:Text - txt - csv (StarCalc):44,34,UTF-8,,,,false,true,true,false,false,1",
						"--outdir",
						"/home/user",
						"/home/user/Keep_Two_decimal_points.xlsx"
					]
				}
			},
			{
				"type": "sleep",
				"parameters": {
					"seconds": 0.5
				}
			}
		],
		"func": "compare_table",
		"expected": {
			"type": "cloud_file",
			"path": [
				"https://drive.usercontent.google.com/download?id=150XJSpqU-HuYSjPi7_LgrlQFUjKhKCU8&export=download&authuser=0&confirm=t&uuid=9b9fd955-ee06-4c55-a240-290dcd658d84&at=APZUnTW87ODEUqUzDpP2tah8tQCo:1706005816811",
				"https://drive.usercontent.google.com/download?id=1-cxAMcFdKRUl0bFHr1nwI1XudvGV__s1&export=download&authuser=0&confirm=t&uuid=2aa40a50-3081-4d88-8d1d-e3adcfa2050e&at=APZUnTXeohokhdZeJzu3XT-ZyUwB:1706005770752"
			],
			"dest": [
				"Keep_Two_decimal_points_gold.xlsx",
				"Keep_Two_decimal_points_gold-Sheet1.csv"
			],
			"multi": true
		},
		"result": {
			"type": "vm_file",
			"path": [
				"/home/user/Keep_Two_decimal_points.xlsx",
				"/home/user/Keep_Two_decimal_points-Sheet1.csv"
			],
			"dest": [
				"Keep_Two_decimal_points.xlsx",
				"Keep_Two_decimal_points-Sheet1.csv"
			],
			"multi": true
		},
		"options": {
			"rules": [
				{
					"type": "sheet_print",
					"sheet_idx0": "RNSheet1",
					"sheet_idx1": "ENSheet1"
				}
			]
		}
	}
}