HongchengGao's picture
Align task taxonomy and IDs with the updated paper; main evaluation 306
3de3b50 verified
Raw History Blame Contribute Delete
2.48 kB
{
"id": "single-software-execution--cli--floris--task-14--ubuntu",
"snapshot": "FLORIS4.6.4",
"instruction": "Begin with a complete FLORIS 4.6.4 custom turbine definition `/home/user/Desktop/custom_turbine.yaml`. Use Python with `floris==4.6.4`. On this machine, 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\nWork from the command line. Write `/home/user/Desktop/external.py`: load that YAML definition, build a single-turbine farm whose `farm.turbine_type` contains the loaded `custom_3mw` dictionary, set wind direction `270 deg` and turbulence intensity `0.06`, sweep wind speeds `3,5,7,9,11,13,15 m/s`, call `run_no_wake()`, and extract power in kW plus thrust coefficient at every speed. Execute the script and write `/home/user/Desktop/summary.txt` as `ws3_power_kw, ws3_ct, ws9_power_kw, ws9_ct, ws15_power_kw, ws15_ct`. Do not patch missing fields in the script; use the supplied definition as-is. Do not use a GUI.",
"source": "https://github.com/NatLabRockies/floris",
"config": [
{
"type": "upload_file",
"parameters": {
"files": [
{
"local_path": "task-14/init_file/custom_turbine.yaml",
"path": "/home/user/Desktop/custom_turbine.yaml"
},
{
"local_path": "task-14/init_file/external_base.py",
"path": "/home/user/Desktop/external_base.py"
}
]
}
}
],
"trajectory": "trajectories/",
"related_apps": [
"floris"
],
"artifact_paths": [
"/home/user/Desktop/external.py",
"/home/user/Desktop/summary.txt"
],
"evaluator": {
"postconfig": [
{
"type": "upload_file",
"parameters": {
"files": [
{
"local_path": "task-14/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"
}