HongchengGao's picture
Align task taxonomy and IDs with the updated paper; main evaluation 306
3de3b50 verified
Raw History Blame Contribute Delete
1.89 kB
{
"id": "single-software-execution--cli--eagle--task-05--ubuntu",
"snapshot": "eagle-7.7.0",
"instruction": "The file `/home/user/Desktop/messy.sch` is the schematic to process. On Linux, launch CadSoft EAGLE with `/opt/eagle-7.7.0/bin/eagle` (adjust to your install).\n\nRenumber the capacitor refdes so they increase in top-to-bottom, left-to-right geometric order, and save the result as `/home/user/Desktop/renumbered.sch`. Requirements: 1. The file must be valid XML. 2. The number of `C`-prefixed parts must be preserved. 3. Every capacitor `<part>` must have a matching `<instance>`. 4. When capacitor instances are sorted by `(-y, x)`, their refdes numbers must strictly increase. 5. The top-left-most capacitor must be `C1`. 6. No `<pinref>` may reference a non-existent part.",
"source": "https://github.com/plusea/EAGLE/blob/master/ulp/renumber-sheet.ulp",
"config": [
{
"type": "upload_file",
"parameters": {
"files": [
{
"local_path": "task-05/init_file/messy.sch",
"path": "/home/user/Desktop/messy.sch"
}
]
}
}
],
"trajectory": "trajectories/",
"related_apps": [
"eagle"
],
"artifact_paths": [
"/home/user/Desktop/renumbered.sch"
],
"evaluator": {
"postconfig": [
{
"type": "upload_file",
"parameters": {
"files": [
{
"local_path": "task-05/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"
}