HongchengGao's picture
Align task taxonomy and IDs with the updated paper; main evaluation 306
3de3b50 verified
Raw History Blame Contribute Delete
2.22 kB
{
"id": "single-software-execution--cli--eagle--task-14--ubuntu",
"snapshot": "eagle-7.7.0",
"instruction": "Create `/home/user/Desktop/lm324.lbr`, an EAGLE library for an LM324 quad op-amp, and save it. On Linux, launch CadSoft EAGLE with `/opt/eagle-7.7.0/bin/eagle` (adjust to your install).\n\nRequirements: 1. The file must parse as XML. 2. It must contain exactly one `<package>` whose name contains `DIP` and `14`, with 14 through-hole `<pad>` elements named `1` through `14`. 3. It must contain exactly one `<symbol>` whose pin names are `IN+`, `IN-`, `OUT`, `V+`, and `V-`. 4. It must contain exactly one `<deviceset>` with `prefix=\"U\"` and four `<gate>` entries named `A`, `B`, `C`, and `D`, all referencing the same symbol. 5. Every gate must have `swaplevel=\"1\"`. 6. The device `<connects>` mapping must be: A: `OUT->1`, `IN-->2`, `IN+->3`, `V+->4`, `V-->11` B: `IN+->5`, `IN-->6`, `OUT->7`, `V+->4`, `V-->11` C: `OUT->8`, `IN-->9`, `IN+->10`, `V+->4`, `V-->11` D: `IN+->12`, `IN-->13`, `OUT->14`, `V+->4`, `V-->11` 7. Pads `4` and `11` must appear in the connects for every gate.",
"source": "https://community.element14.com/members-area/personalblogs/b/rachael-s-blog/posts/eagle-tutorial-library-part-creation-part-5---multiple-symbol-devices",
"config": [
{
"type": "upload_file",
"parameters": {
"files": [
{
"local_path": "task-14/init_file/README.txt",
"path": "/home/user/Desktop/README.txt"
}
]
}
}
],
"trajectory": "trajectories/",
"related_apps": [
"eagle"
],
"evaluator": {
"postconfig": [
{
"type": "upload_file",
"parameters": {
"files": [
{
"local_path": "task-14/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"
}