{ "id": "single-software-execution--cli--floris--task-02--ubuntu", "snapshot": "FLORIS4.6.4", "instruction": "Work from an incomplete script `/home/user/Desktop/yaw_base.py`. Run your scripts with Python in an environment where `floris` is installed (e.g. `from floris import FlorisModel`). For this task, 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\nFLORIS can perform wake steering through yaw control. Complete the following from the command line: 1. Write a complete script `/home/user/Desktop/yaw.py`: - Compute baseline case power (`yaw=0°`) - Compute power with upstream yaw of `20°` - Extract `turbine_1` (downstream) power in both cases 2. Execute and save to `/home/user/Desktop/summary.txt` in this format: `baseline_t1_kw, yawed_t1_kw, power_gain_percent`", "source": "https://github.com/NatLabRockies/floris", "config": [ { "type": "upload_file", "parameters": { "files": [ { "local_path": "task-02/init_file/two_turbine.yaml", "path": "/home/user/Desktop/two_turbine.yaml" }, { "local_path": "task-02/init_file/yaw_base.py", "path": "/home/user/Desktop/yaw_base.py" } ] } } ], "trajectory": "trajectories/", "related_apps": [ "floris" ], "artifact_paths": [ "/home/user/Desktop/summary.txt", "/home/user/Desktop/yaw.py" ], "evaluator": { "postconfig": [ { "type": "upload_file", "parameters": { "files": [ { "local_path": "task-02/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" }