77 lines
2.1 KiB
JSON
77 lines
2.1 KiB
JSON
{
|
|
"id": "d681960f-7bc3-4286-9913-a8812ba3261a",
|
|
"snapshot": "libreoffice_calc",
|
|
"instruction": "According to the scale table shown above, calculate and give each student a grade in the table below",
|
|
"source": "https://www.youtube.com/shorts/d7U1S_IsTVM",
|
|
"config": [
|
|
{
|
|
"type": "download",
|
|
"parameters": {
|
|
"files": [
|
|
{
|
|
"url": "https://drive.usercontent.google.com/download?id=1wodZjx1KjThUsrtF6ZJaCTy1fQX4E9vA&export=download&authuser=0&confirm=t&uuid=d07ca312-1abc-40f2-81cd-d06e27119854&at=APZUnTWwjnxsHQYapSvpLR8NmlfV:1701785087048",
|
|
"path": "/home/user/Student_Grades_and_Remarks.xlsx"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "open",
|
|
"parameters": {
|
|
"path": "/home/user/Student_Grades_and_Remarks.xlsx"
|
|
}
|
|
}
|
|
],
|
|
"trajectory": "trajectories/d681960f-7bc3-4286-9913-a8812ba3261a",
|
|
"related_apps": [
|
|
"libreoffice calc"
|
|
],
|
|
"evaluator": {
|
|
"postconfig": [
|
|
{
|
|
"type": "activate_window",
|
|
"parameters": {
|
|
"window_name": "Student_Grades_and_Remarks.xlsx - LibreOffice Calc",
|
|
"strict": true
|
|
}
|
|
},
|
|
{
|
|
"type": "sleep",
|
|
"parameters": {
|
|
"seconds": 0.5
|
|
}
|
|
},
|
|
{
|
|
"type": "execute",
|
|
"parameters": {
|
|
"command": [
|
|
"python",
|
|
"-c",
|
|
"import pyautogui; pyautogui.press([\"ctrl\", \"s\"]);"
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"func": "compare_table",
|
|
"expected": {
|
|
"type": "cloud_file",
|
|
"path": "https://drive.usercontent.google.com/download?id=1kfEHJH1n0yCsQp443IIFvdD9uWv0DWMr&export=download&authuser=0&confirm=t&uuid=d9907f65-8d39-4ecc-8747-b4ed7e6011f5&at=APZUnTXpPAnlh5sD6q-R8oQtqL6g:1702362952170",
|
|
"dest": "Student_Grades_and_Remarks_gold.xlsx"
|
|
},
|
|
"result": {
|
|
"type": "vm_file",
|
|
"path": "/home/user/Student_Grades_and_Remarks.xlsx",
|
|
"dest": "Student_Grades_and_Remarks.xlsx"
|
|
},
|
|
"options": {
|
|
"rules": [
|
|
{
|
|
"type": "sheet_data",
|
|
"sheet_idx0": 0,
|
|
"sheet_idx1": "EI0"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|