Download task/single-software-execution/cli/floris/task-13/task-13.json from HongchengGao/EngiWorld-Tasks: direct link, hf CLI and curl.
- Browser
- Download file 2.55 kB
-
https://huggingface.co/datasets/HongchengGao/EngiWorld-Tasks/resolve/main/task/single-software-execution/cli/floris/task-13/task-13.json
- Command line
-
hf download hf://datasets/HongchengGao/EngiWorld-Tasks/task/single-software-execution/cli/floris/task-13/task-13.json
-
curl -L -o task-13.json https://huggingface.co/datasets/HongchengGao/EngiWorld-Tasks/resolve/main/task/single-software-execution/cli/floris/task-13/task-13.json
2.55 kB
| { | |
| "id": "single-software-execution--cli--floris--task-13--ubuntu", | |
| "snapshot": "FLORIS4.6.4", | |
| "instruction": "Treat a complete heterogeneous-farm configuration `/home/user/Desktop/heterogeneous.yaml` for FLORIS 4.6.4 as the starting point. Use Python with `floris==4.6.4`. For the steps below, 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.\n\nIt defines `nrel_5MW`, `iea_15MW`, `nrel_5MW`, and `iea_15MW` turbines in that order. Work from the command line. Write `/home/user/Desktop/hetero.py`: load the supplied configuration with `FlorisModel`; set wind direction `270 deg`, wind speed `8 m/s`, and turbulence intensity `0.06`; call `run()`; extract all four turbine powers in kW; verify that each IEA 15MW turbine's power exceeds the NREL 5MW turbine in the same row; and compute total farm power. Execute the script and write `/home/user/Desktop/summary.txt` as `t0_kw, t1_kw, t2_kw, t3_kw, total_kw`. Do not scale or substitute one turbine type's output for another. Do not use a GUI.", | |
| "source": "https://github.com/NatLabRockies/floris", | |
| "config": [ | |
| { | |
| "type": "upload_file", | |
| "parameters": { | |
| "files": [ | |
| { | |
| "local_path": "task-13/init_file/heterogeneous.yaml", | |
| "path": "/home/user/Desktop/heterogeneous.yaml" | |
| }, | |
| { | |
| "local_path": "task-13/init_file/heterogeneous_base.py", | |
| "path": "/home/user/Desktop/heterogeneous_base.py" | |
| } | |
| ] | |
| } | |
| } | |
| ], | |
| "trajectory": "trajectories/", | |
| "related_apps": [ | |
| "floris" | |
| ], | |
| "artifact_paths": [ | |
| "/home/user/Desktop/hetero.py", | |
| "/home/user/Desktop/summary.txt" | |
| ], | |
| "evaluator": { | |
| "postconfig": [ | |
| { | |
| "type": "upload_file", | |
| "parameters": { | |
| "files": [ | |
| { | |
| "local_path": "task-13/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" | |
| } | |