82 lines
2.3 KiB
JSON
82 lines
2.3 KiB
JSON
{
|
|
"id": "a9f325aa-8c05-4e4f-8341-9e4358565f4f",
|
|
"snapshot": "excel",
|
|
"instruction": "Remove the adundant whitespaces and canonicalize the letter cases by capitalizing the first letter of each words and leave other letters as lower case.",
|
|
"source": "https://www.youtube.com/shorts/A0gmEBRKXWs",
|
|
"config": [
|
|
{
|
|
"type": "download",
|
|
"parameters": {
|
|
"files": [
|
|
{
|
|
"url": "https://drive.usercontent.google.com/download?id=10ppI3NrLPTyWvDG2UMtVHmNnkeGQ4W8K&export=download&authuser=0&confirm=t&uuid=18aa33f3-947b-4a10-ac45-08c44c8f8432&at=APZUnTUL0XEOEshMLwmEebqH2XAS:1710922810055",
|
|
"path": "C:\\Users\\chenj\\Movie_title_garbage_clean.xlsx"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "open",
|
|
"parameters": {
|
|
"path": "C:\\Users\\chenj\\Movie_title_garbage_clean.xlsx"
|
|
}
|
|
}
|
|
],
|
|
"trajectory": "trajectories/a9f325aa-8c05-4e4f-8341-9e4358565f4f",
|
|
"related_apps": [
|
|
"excel"
|
|
],
|
|
"evaluator": {
|
|
"postconfig": [
|
|
{
|
|
"type": "activate_window",
|
|
"parameters": {
|
|
"window_name": "Movie_title_garbage_clean - Excel",
|
|
"strict": true
|
|
}
|
|
},
|
|
{
|
|
"type": "sleep",
|
|
"parameters": {
|
|
"seconds": 0.5
|
|
}
|
|
},
|
|
{
|
|
"type": "execute",
|
|
"parameters": {
|
|
"command": [
|
|
"python",
|
|
"-c",
|
|
"import pyautogui; import time; pyautogui.hotkey(\"ctrl\", \"s\"); time.sleep(0.5);"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "sleep",
|
|
"parameters": {
|
|
"seconds": 0.5
|
|
}
|
|
}
|
|
],
|
|
"func": "compare_table",
|
|
"expected": {
|
|
"type": "cloud_file",
|
|
"path": "https://drive.usercontent.google.com/download?id=1ibmMQuzqt_UgVzPhHs4ZUOezvLVMgT0d&export=download&authuser=0&confirm=t&uuid=16fc1d11-9927-4edf-8fb7-e0218c3718a6&at=APZUnTUcZEZD6JFUz9C_gjtVlzJK:1710922977254",
|
|
"dest": "Movie_title_garbage_clean_gold.xlsx"
|
|
},
|
|
"result": {
|
|
"type": "vm_file",
|
|
"path": "C:\\Users\\chenj\\Movie_title_garbage_clean.xlsx",
|
|
"dest": "Movie_title_garbage_clean.xlsx"
|
|
},
|
|
"options": {
|
|
"rules": [
|
|
{
|
|
"type": "sheet_data",
|
|
"sheet_idx0": 0,
|
|
"sheet_idx1": "EI0"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
} |