HongchengGao's picture
Align task taxonomy and IDs with the updated paper; main evaluation 306
3de3b50 verified
Raw History Blame Contribute Delete
2.41 kB
{
"id": "single-software-execution--cli--eagle--task-02--ubuntu",
"snapshot": "eagle-7.7.0",
"instruction": "The file `/home/user/Desktop/audit.brd` is the board to audit. On Linux, launch CadSoft EAGLE with `/opt/eagle-7.7.0/bin/eagle` (adjust to your install).\n\nRun the provided silkscreen-audit User Language Program and save its output as `/home/user/Desktop/silk_audit.txt`. Each line in the output has the form: `text=\"VALUE\" x=X.XXX y=Y.YYY size=S.SSS layer=tPlace|bPlace` Requirements: 1. `/home/user/Desktop/silk_audit.txt` exists and is non-empty. 2. Every line conforms to the above format. 3. Number of reported lines equals the number of <text> elements in /home/user/Desktop/audit.brd on layers 21/22 with size < 0.8 mm. 4. Every expected violation appears in the report (by value, x, y, size, layer). 5. No false positives (no reported text has size >= 0.8 mm).",
"source": "https://help.autodesk.com/view/fusion360/ENU/?contextId=LP-READ-P13N-SNP-GS-ECD-CRD-6; https://help.autodesk.com/cloudhelp/ENU/Fusion-ECAD/files/ECD-USER-LANG-REF.htm; https://help.autodesk.com/cloudhelp/ENU/Fusion-ECAD/files/ECD-ULP-OBJECT-TYPES.htm",
"config": [
{
"type": "upload_file",
"parameters": {
"files": [
{
"local_path": "task-02/init_file/audit.brd",
"path": "/home/user/Desktop/audit.brd"
}
]
}
},
{
"type": "upload_file",
"parameters": {
"files": [
{
"local_path": "task-02/init_file/silk_audit.ulp",
"path": "/home/user/Desktop/silk_audit.ulp"
}
]
}
}
],
"trajectory": "trajectories/",
"related_apps": [
"eagle"
],
"artifact_paths": [
"/home/user/Desktop/silk_audit.txt"
],
"evaluator": {
"postconfig": [
{
"type": "upload_file",
"parameters": {
"files": [
{
"local_path": "task-02/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"
}