Files
sci-gui-agent-benchmark/evaluation_examples/examples/libreoffice_writer/41c621f7-3544-49e1-af8d-dafd0f834f75.json
tsuky_chen 2f87aae0cb minor fix
2024-02-08 01:51:40 +08:00

67 lines
2.3 KiB
JSON

{
"id": "41c621f7-3544-49e1-af8d-dafd0f834f75",
"snapshot": "libreoffice_writer",
"instruction": "I added annotations starting with a \"#\" next to the sentences that my students wrote. I want my annotations to stand out more, so I highlighted them in yellow. Can you help me with this favor? I'm having a hard time coloring the annotations one by one. By the way, remember to remove the # sign after highlighting the text part. Thanks!",
"source": "https://superuser.com/questions/1668018/how-to-auto-format-lines-in-libre-office-writer",
"config": [
{
"type": "download",
"parameters": {
"files": [
{
"url": "https://drive.usercontent.google.com/download?id=1WsEBs6RS-j6lvx_DFk5xTK-HdEkIDcPy&export=download&authuser=0&confirm=t&uuid=aa012ca0-f651-474f-bd84-6b86d5260817&at=APZUnTU3RImLCGSgOkUpUGKyYCrB:1706018377717",
"path": "/home/user/Desktop/How_to_read_a_scientific_article.docx"
}
]
}
},
{
"type": "open",
"parameters": {
"path": "/home/user/Desktop/How_to_read_a_scientific_article.docx"
}
}
],
"trajectory": "trajectories/",
"related_apps": [
"libreoffice_writer"
],
"evaluator": {
"postconfig": [
{
"type": "activate_window",
"parameters": {
"window_name": "How_to_read_a_scientific_article.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_highlighted_text",
"expected": {
"type": "cloud_file",
"path": "https://drive.usercontent.google.com/download?id=1x2gplRDN1AOnRWiqfqmJqN9JTQ_x4sPu&export=download&authuser=0&confirm=t&uuid=ea6b0a61-fd06-4823-b253-05473c77c192&at=APZUnTUxWWFB_TOKLR9chabErm7b:1706018376493",
"dest": "How_to_read_a_scientific_article_Gold.docx"
},
"result": {
"type": "vm_file",
"path": "/home/user/Desktop/How_to_read_a_scientific_article.docx",
"dest": "How_to_read_a_scientific_article.docx"
}
}
}