117 lines
3.9 KiB
JSON
117 lines
3.9 KiB
JSON
{
|
|
"id": "1f18aa87-af6f-41ef-9853-cdb8f32ebdea",
|
|
"snapshot": "libreoffice_calc",
|
|
"instruction": "I've prepared some grammar tests and placed them in the 'Grammar test' folder. I've already provided the multiple-choice answers for Test 1 in the 'answer doc' file. Could you please follow the same format to write out the answers for the remaining two tests in the doc file? This way, I can distribute them to the students as a reference. Thank you.",
|
|
"source": "authors",
|
|
"config": [
|
|
{
|
|
"type": "command",
|
|
"parameters": {
|
|
"command": [
|
|
"mkdir",
|
|
"-p",
|
|
"/home/user/Desktop/students work/",
|
|
"/home/user/Desktop/Lec powerpoint/",
|
|
"/home/user/Desktop/Grammar test/",
|
|
"/home/user/Desktop/Grammar rules PDF/",
|
|
"/home/user/Desktop/FDI/"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "download",
|
|
"parameters": {
|
|
"files": [
|
|
{
|
|
"path": "/home/user/Desktop/Grammer test 1.docx",
|
|
"url": "https://drive.google.com/uc?id=1VaXQ9XdzMv079xKFs0Y2XrwdmwFHIvBK&export=download"
|
|
},
|
|
{
|
|
"path": "/home/user/Desktop/Grammer test 2.docx",
|
|
"url": "https://drive.google.com/uc?id=1k2T88WreTwi-Yyp9mEJnreEQC3DdkJ2x&export=download"
|
|
},
|
|
{
|
|
"path": "/home/user/Desktop/Grammer test 3.docx",
|
|
"url": "https://drive.google.com/uc?id=1QgyQWVOcAJuPaSlrywb9nuFiQDySsTb2&export=download"
|
|
},
|
|
{
|
|
"path": "/home/user/Desktop/Answer.docx",
|
|
"url": "https://drive.google.com/uc?id=1BC2DuWJuZggmf6fXl6Ys9xQMZzU6a1br&export=download"
|
|
},
|
|
{
|
|
"path": "/home/user/Desktop/Grammar rules PDF/irregularrules02.pdf",
|
|
"url": "https://drive.google.com/uc?id=1Eln9ehX6y6Df2-S_Hp7Ao1teKRu6I1Tg&export=download"
|
|
},
|
|
{
|
|
"path": "/home/user/Desktop/Grammar rules PDF/irregularrules01.pdf",
|
|
"url": "https://drive.google.com/uc?id=1krdEEdNWvTwMKZU14QtI_xc2lCFVeVcl&export=download"
|
|
},
|
|
{
|
|
"path": "/home/user/Desktop/Grammar rules PDF/fragrules.pdf",
|
|
"url": "https://drive.google.com/uc?id=1IXyI2KeiXsuh6XV2LelcmhZ2PDh_dBQf&export=download"
|
|
},
|
|
{
|
|
"path": "/home/user/Desktop/Grammar rules PDF/csfsrules.pdf",
|
|
"url": "https://drive.google.com/uc?id=1ernwGGrjhYNoHVNAevdb2qNKQ0I5n3RP&export=download"
|
|
},
|
|
{
|
|
"path": "/home/user/Desktop/Public Lecture Teaching Plan.docx",
|
|
"url": "https://drive.google.com/uc?id=1ywfVFTEbiSkypZpzLjLmq_ppSbQIC8s8&export=download"
|
|
},
|
|
{
|
|
"path": "/home/user/Desktop/Course Timetable.xlsx",
|
|
"url": "https://drive.google.com/uc?id=1NGtahknRq_kXsXlw0tRQ1_CZp9SljoVg&export=download"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"trajectory": "trajectories/1f18aa87-af6f-41ef-9853-cdb8f32ebdea",
|
|
"related_apps": [
|
|
"os",
|
|
"libreoffice_writer"
|
|
],
|
|
"evaluator": {
|
|
"postconfig": [
|
|
{
|
|
"type": "activate_window",
|
|
"parameters": {
|
|
"window_name": "Answer.docx - LibreOffice Writer",
|
|
"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); "
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"func": "compare_docx_files",
|
|
"expected": {
|
|
"type": "cloud_file",
|
|
"path": "https://drive.google.com/uc?id=1TOMGWC3OFuP6yEGQuRJMEFWdg2NcBPSs&export=download",
|
|
"dest": "Answer gold.docx"
|
|
},
|
|
"result": {
|
|
"type": "vm_file",
|
|
"path": "/home/user/Desktop/Answer.docx",
|
|
"dest": "Answer.docx"
|
|
},
|
|
"options": {
|
|
"ignore_case": true,
|
|
"ignore_blanks": true
|
|
}
|
|
}
|
|
}
|