Download task/single-software-execution/cli/openscad/task-01/task-01.json from HongchengGao/EngiWorld-Tasks: direct link, hf CLI and curl.
- Browser
- Download file 2.1 kB
-
https://huggingface.co/datasets/HongchengGao/EngiWorld-Tasks/resolve/main/task/single-software-execution/cli/openscad/task-01/task-01.json
- Command line
-
hf download hf://datasets/HongchengGao/EngiWorld-Tasks/task/single-software-execution/cli/openscad/task-01/task-01.json
-
curl -L -o task-01.json https://huggingface.co/datasets/HongchengGao/EngiWorld-Tasks/resolve/main/task/single-software-execution/cli/openscad/task-01/task-01.json
2.1 kB
| { | |
| "id": "single-software-execution--cli--openscad--task-01--ubuntu", | |
| "snapshot": "OpenSCAD2021.01", | |
| "instruction": "Work from /home/user/Desktop/task-021_initial.scad in OpenSCAD. To use OpenSCAD, run `openscad` from a terminal. Run OpenSCAD from `/usr/bin/openscad` when working on `task-021_initial.scad`.\n\nUse OpenSCAD command-line parameters or edit the source so width=90, depth=70, and back_height=80 (the back plate rises 80 mm above the 5 mm base, so overall height is 85 mm). Cut one rectangular slot through the back plate with size 12 x 8 x 32 mm, centered at x=0, y=32.5, z=25. The slot cutter therefore spans y=28.5..36.5 and passes completely through the back plate at y=30..35. Export the modified CAD model as /home/user/Desktop/task-021_output.stl. The task is to generate the modified model, not to submit a new script file.", | |
| "source": "https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Using_OpenSCAD_in_a_command_line_environment; https://openscad.org/cheatsheet/; https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Export", | |
| "config": [ | |
| { | |
| "type": "upload_file", | |
| "parameters": { | |
| "files": [ | |
| { | |
| "local_path": "task-01/init_file/task-021_initial.scad", | |
| "path": "/home/user/Desktop/task-021_initial.scad" | |
| } | |
| ] | |
| } | |
| } | |
| ], | |
| "trajectory": "trajectories/", | |
| "related_apps": [ | |
| "openscad" | |
| ], | |
| "artifact_paths": [ | |
| "/home/user/Desktop/task-021_output.stl" | |
| ], | |
| "evaluator": { | |
| "postconfig": [ | |
| { | |
| "type": "upload_file", | |
| "parameters": { | |
| "files": [ | |
| { | |
| "local_path": "task-01/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" | |
| } | |