HongchengGao's picture
Align task taxonomy and IDs with the updated paper; main evaluation 306
3de3b50 verified
Raw History Blame Contribute Delete
2.44 kB
{
"id": "single-software-execution--gui--eagle--task-13--ubuntu",
"snapshot": "eagle-7.7.0",
"instruction": "Treat `review.sch` in EAGLE 7.7.0, run EAGLE's Electrical Rule Check, and save a plain-text transcription of the ERC Errors window as `/home/user/Desktop/answer.erc` as the starting point. Start EAGLE from `/opt/eagle-7.7.0/bin/eagle` and open `review.sch` there. EAGLE 7.7.0 does not provide a native `.erc` export action, so copy the displayed ERC result into the text file. Requirements: 1. `/home/user/Desktop/answer.erc` must exist and be non-empty. 2. It must be readable as plain text. 3. It must identify EAGLE 7.7.0, `review.sch`, and the ERC Errors result. 4. It must record the complete result shown for this starter schematic: 2 errors and 4 warnings. 5. It must not add issues that EAGLE does not report.",
"source": "https://www.autodesk.com/products/fusion-360/blog/schematic-basics-part-3-erc/",
"config": [
{
"type": "upload_file",
"parameters": {
"files": [
{
"local_path": "task-13/init_file/review.sch",
"path": "/home/user/Desktop/review.sch"
}
]
}
},
{
"type": "launch",
"parameters": {
"command": [
"/opt/eagle-7.7.0/bin/eagle",
"/home/user/Desktop/review.sch"
]
}
},
{
"type": "execute",
"parameters": {
"command": [
"python3",
"-c",
"import pyautogui; import time; time.sleep(8); w, h = pyautogui.size(); pyautogui.click(w/2 + 100, h/2 + 25); time.sleep(2); pyautogui.click(w/2 + 213, h/2 + 146); time.sleep(2); pyautogui.click(w/2 - 80, h/2 + 68); time.sleep(5)"
]
}
}
],
"trajectory": "trajectories/",
"related_apps": [
"eagle"
],
"evaluator": {
"postconfig": [
{
"type": "upload_file",
"parameters": {
"files": [
{
"local_path": "task-13/eval.py",
"path": "/home/user/Desktop/eval.py"
}
]
}
}
],
"func": "exact_match",
"result": {
"type": "vm_command_line",
"command": "python3 /home/user/Desktop/eval.py",
"shell": "true"
},
"expected": {
"type": "rule",
"rules": {
"expected": "True\n"
}
}
},
"proxy": false,
"fixed_ip": false,
"possibility_of_env_change": "low"
}