Download task/single-software-execution/cli/openfast/task-01/task-01.json from HongchengGao/EngiWorld-Tasks: direct link, hf CLI and curl.
- Browser
- Download file 3.44 kB
-
https://huggingface.co/datasets/HongchengGao/EngiWorld-Tasks/resolve/main/task/single-software-execution/cli/openfast/task-01/task-01.json
- Command line
-
hf download hf://datasets/HongchengGao/EngiWorld-Tasks/task/single-software-execution/cli/openfast/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/openfast/task-01/task-01.json
3.44 kB
| { | |
| "id": "single-software-execution--cli--openfast--task-01--ubuntu", | |
| "snapshot": "openfast5", | |
| "instruction": "Begin with `/home/user/Desktop/power_curve.fst`, `/home/user/Desktop/inflow_steady_base.dat`, and their version-matched dependencies. Only initialization inputs are preloaded; generate all scripts and result artifacts yourself.\n\nThe OpenFAST executable is `/home/user/miniconda3/bin/openfast` when working on `power_curve.fst`. Complete the following from the command line: 1. Write `/home/user/Desktop/run_cases.py` to generate `inflow_ws4.dat`, `inflow_ws8.dat`, `inflow_ws11.dat`, `inflow_ws15.dat`, and `inflow_ws20.dat`. Every input must use `WindType=1`, `RefHt=90 m`, and `HWindSpeed` equal to its filename speed. Generate the matching `case_wsX.fst` files under `/home/user/Desktop`, with each case referencing its own inflow. 2. Run all five 60-second cases and retain each text `.out` and normal-termination log under `/home/user/Desktop`. 3. Write `postprocess.py` to locate `Time`, `GenPwr`, and `RotSpeed` by header name and compute arithmetic means over `Time>=50 s`. 4. Save `/home/user/Desktop/summary.txt` as `ws, genpwr_kw, rotspeed_rpm`. 5. Do not use GUI or visualization tools.", | |
| "source": "https://github.com/openFAST/r-test", | |
| "config": [ | |
| { | |
| "type": "upload_file", | |
| "parameters": { | |
| "files": [ | |
| { | |
| "local_path": "task-01/init_file/init_file.tar", | |
| "path": "/home/user/Desktop/init_file.tar" | |
| } | |
| ] | |
| } | |
| }, | |
| { | |
| "type": "launch", | |
| "parameters": { | |
| "command": "bash -c \"mkdir -p '/home/user/Desktop/' && tar -xf '/home/user/Desktop/init_file.tar' -C '/home/user/Desktop/' && rm -f '/home/user/Desktop/init_file.tar'\"", | |
| "shell": true | |
| } | |
| } | |
| ], | |
| "trajectory": "trajectories/", | |
| "related_apps": [ | |
| "openfast" | |
| ], | |
| "artifact_paths": [ | |
| "/home/user/Desktop/case_ws4.fst", | |
| "/home/user/Desktop/case_ws4.out", | |
| "/home/user/Desktop/case_ws4.log", | |
| "/home/user/Desktop/case_ws8.fst", | |
| "/home/user/Desktop/case_ws8.out", | |
| "/home/user/Desktop/case_ws8.log", | |
| "/home/user/Desktop/case_ws11.fst", | |
| "/home/user/Desktop/case_ws11.out", | |
| "/home/user/Desktop/case_ws11.log", | |
| "/home/user/Desktop/case_ws15.fst", | |
| "/home/user/Desktop/case_ws15.out", | |
| "/home/user/Desktop/case_ws15.log", | |
| "/home/user/Desktop/case_ws20.fst", | |
| "/home/user/Desktop/case_ws20.out", | |
| "/home/user/Desktop/case_ws20.log", | |
| "/home/user/Desktop/inflow_ws4.dat", | |
| "/home/user/Desktop/inflow_ws8.dat", | |
| "/home/user/Desktop/inflow_ws11.dat", | |
| "/home/user/Desktop/inflow_ws15.dat", | |
| "/home/user/Desktop/inflow_ws20.dat", | |
| "/home/user/Desktop/run_cases.py", | |
| "/home/user/Desktop/postprocess.py", | |
| "/home/user/Desktop/summary.txt" | |
| ], | |
| "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" | |
| } | |