Download task/single-software-execution/cli/floris/task-17/task-17.json from HongchengGao/EngiWorld-Tasks: direct link, hf CLI and curl.
- Browser
- Download file 2.69 kB
-
https://huggingface.co/datasets/HongchengGao/EngiWorld-Tasks/resolve/main/task/single-software-execution/cli/floris/task-17/task-17.json
- Command line
-
hf download hf://datasets/HongchengGao/EngiWorld-Tasks/task/single-software-execution/cli/floris/task-17/task-17.json
-
curl -L -o task-17.json https://huggingface.co/datasets/HongchengGao/EngiWorld-Tasks/resolve/main/task/single-software-execution/cli/floris/task-17/task-17.json
2.69 kB
| { | |
| "id": "single-software-execution--cli--floris--task-17--ubuntu", | |
| "snapshot": "FLORIS4.6.4", | |
| "instruction": "For this task, start with two complete FLORIS jobs, /home/user/Desktop/job_baseline.py and /home/user/Desktop/job_yaw.py. FLORIS is provided as the Python `floris` package at `/home/user/.local/lib/python3.12/site-packages/floris`; run the workflow from Python rather than looking for a separate desktop program. They use two nrel_5MW turbines at (0,0) and (630,0) m, wind direction 270 deg, wind speed 8 m/s, and turbulence intensity 0.06. The baseline uses zero yaw; job_yaw applies +15 deg yaw to the upstream turbine and 0 deg to the downstream turbine. Work from the command line. Write /home/user/Desktop/run_pipeline.py to run the jobs serially and require baseline.csv and yaw.csv. Write /home/user/Desktop/compare.py to read each total power and downstream-turbine power, compute percent gains (yaw-baseline)/baseline*100, and write exactly four CSV rows to /home/user/Desktop/comparison_report.txt: baseline,total_kw,downstream_kw; yaw,total_kw,downstream_kw; Gain_Total_Percent,value; Gain_Downstream_Percent,value. Run both scripts. Do not use a GUI.", | |
| "source": "https://github.com/NatLabRockies/floris", | |
| "config": [ | |
| { | |
| "type": "upload_file", | |
| "parameters": { | |
| "files": [ | |
| { | |
| "local_path": "task-17/init_file/job_baseline.py", | |
| "path": "/home/user/Desktop/job_baseline.py" | |
| }, | |
| { | |
| "local_path": "task-17/init_file/job_yaw.py", | |
| "path": "/home/user/Desktop/job_yaw.py" | |
| } | |
| ] | |
| } | |
| } | |
| ], | |
| "trajectory": "trajectories/", | |
| "related_apps": [ | |
| "floris" | |
| ], | |
| "artifact_paths": [ | |
| "/home/user/Desktop/baseline.csv", | |
| "/home/user/Desktop/compare.py", | |
| "/home/user/Desktop/comparison_report.txt", | |
| "/home/user/Desktop/run_pipeline.py", | |
| "/home/user/Desktop/yaw.csv" | |
| ], | |
| "evaluator": { | |
| "postconfig": [ | |
| { | |
| "type": "upload_file", | |
| "parameters": { | |
| "files": [ | |
| { | |
| "local_path": "task-17/eval.py", | |
| "path": "/home/user/Desktop/eval.py" | |
| }, | |
| { | |
| "local_path": "eval_utils.py", | |
| "path": "/home/user/Desktop/eval_utils.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" | |
| } | |