HongchengGao's picture
Align task taxonomy and IDs with the updated paper; main evaluation 306
3de3b50 verified
Raw History Blame Contribute Delete
2.06 kB
{
"id": "single-software-execution--cli--eagle--task-18--ubuntu",
"snapshot": "eagle-7.7.0",
"instruction": "The file `/home/user/Desktop/board.brd` is the board to modify. On Linux, launch CadSoft EAGLE with `/opt/eagle-7.7.0/bin/eagle` (adjust to your install).\n\nCreate a new user layer numbered `101` named `Fab_Notes`, place at least one wire and one text annotation on that layer in the board's `<plain>` section, and save the result as `/home/user/Desktop/annotated.brd`. Requirements: 1. `/home/user/Desktop/annotated.brd` must parse as well-formed XML. 2. `<layer number=\"101\" name=\"Fab_Notes\".../>` must exist under `<layers>`. 3. The board's `<plain>` block must contain at least one `<wire layer=\"101\"/>`. 4. The board's `<plain>` block must contain at least one `<text layer=\"101\"/>`. 5. Every starter layer number must remain present. 6. The element count must remain unchanged.",
"source": "https://www.autodesk.com/support/technical/article/caas/sfdcarticles/sfdcarticles/How-to-create-a-new-layer-in-EAGLE.html",
"config": [
{
"type": "upload_file",
"parameters": {
"files": [
{
"local_path": "task-18/init_file/board.brd",
"path": "/home/user/Desktop/board.brd"
}
]
}
}
],
"trajectory": "trajectories/",
"related_apps": [
"eagle"
],
"artifact_paths": [
"/home/user/Desktop/annotated.brd"
],
"evaluator": {
"postconfig": [
{
"type": "upload_file",
"parameters": {
"files": [
{
"local_path": "task-18/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"
}