* ver Jun17th updating annotations * ver Jun17th corrected annotation of 1d17 added check for cell merge * ver Jun17th updated several annotations * ver Jun20th fixed set-up config of 2bd59342-0664-4ccb-ba87-79379096cc08 * fix: Enhance instructions in LibreOffice Calc examples for clarity and specificity, including details on using Pivot Tables, column placements, and revenue calculations. * ver Jun21st updating calc evals * ver Jun22nd fixed an impress task * ver Jun22ndv2 adjusted several calc tasks * Clean scalfolds --------- Co-authored-by: BowenBryanWang <bryanwang.nlp@connect.hku.hk> Co-authored-by: yuanmengqi <yuanmengqi@mail.ustc.edu.cn>
117 lines
3.2 KiB
JSON
117 lines
3.2 KiB
JSON
{
|
|
"id": "21df9241-f8d7-4509-b7f1-37e501a823f7",
|
|
"snapshot": "libreoffice_calc",
|
|
"instruction": "Change the representation of column \"Parameter\" to show in Millions (M) in Column B and Billions (B) in Column C. Keep one decimal and place a white space between the digits and the unit.",
|
|
"source": "https://www.youtube.com/watch?v=p5C4V_AO1UU",
|
|
"config": [
|
|
{
|
|
"type": "download",
|
|
"parameters": {
|
|
"files": [
|
|
{
|
|
"url": "https://huggingface.co/datasets/xlangai/ubuntu_osworld_file_cache/resolve/main/libreoffice_calc/21df9241-f8d7-4509-b7f1-37e501a823f7/Represent_in_millions_billions.xlsx",
|
|
"path": "/home/user/Represent_in_millions_billions.xlsx"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "open",
|
|
"parameters": {
|
|
"path": "/home/user/Represent_in_millions_billions.xlsx"
|
|
}
|
|
}
|
|
],
|
|
"trajectory": "trajectories/21df9241-f8d7-4509-b7f1-37e501a823f7",
|
|
"related_apps": [
|
|
"libreoffice_calc"
|
|
],
|
|
"evaluator": {
|
|
"postconfig": [
|
|
{
|
|
"type": "activate_window",
|
|
"parameters": {
|
|
"window_name": "Represent_in_millions_billions.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/Represent_in_millions_billions.xlsx"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "sleep",
|
|
"parameters": {
|
|
"seconds": 0.5
|
|
}
|
|
}
|
|
],
|
|
"func": "compare_table",
|
|
"result": {
|
|
"type": "vm_file",
|
|
"path": [
|
|
"/home/user/Represent_in_millions_billions.xlsx",
|
|
"/home/user/Represent_in_millions_billions-Sheet1.csv"
|
|
],
|
|
"dest": [
|
|
"Represent_in_millions_billions.xlsx",
|
|
"Represent_in_millions_billions-Sheet1.csv"
|
|
],
|
|
"multi": true
|
|
},
|
|
"expected": {
|
|
"type": "cloud_file",
|
|
"path": [
|
|
"https://huggingface.co/datasets/xlangai/ubuntu_osworld_file_cache/resolve/main/libreoffice_calc/21df9241-f8d7-4509-b7f1-37e501a823f7/Represent_in_millions_billions_gold.xlsx",
|
|
"https://huggingface.co/datasets/xlangai/ubuntu_osworld_file_cache/resolve/main/libreoffice_calc/21df9241-f8d7-4509-b7f1-37e501a823f7/Represent_in_millions_billions_gold.csv"
|
|
],
|
|
"dest": [
|
|
"Represent_in_millions_billions_gold.xlsx",
|
|
"Represent_in_millions_billions_gold-Sheet1.csv"
|
|
],
|
|
"multi": true
|
|
},
|
|
"options": {
|
|
"rules": [
|
|
{
|
|
"type": "sheet_print",
|
|
"sheet_idx0": "RNSheet1",
|
|
"sheet_idx1": "ENSheet1",
|
|
"ignore_case": true
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"proxy": false
|
|
} |