HongchengGao's picture
Align task taxonomy and IDs with the updated paper; main evaluation 306
3de3b50 verified
Raw History Blame Contribute Delete
2.17 kB
{
"id": "single-software-execution--cli--floris--task-08--ubuntu",
"snapshot": "FLORIS4.6.4",
"instruction": "The starting input is a template `/home/user/Desktop/ti_scan_base.py`. Use Python with `floris==4.6.4`. At the start of the 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\nComplete a parameterized scan from the command line: 1. Write one complete script `/home/user/Desktop/ti_scan.py`. Build two `nrel_5MW` turbines at `layout_x=[0,630]`, `layout_y=[0,0]`; use wind direction `270 deg` and wind speed `8 m/s`; run turbulence intensities `0.03`, `0.06`, and `0.12`; and extract turbine 1 power in kW for each condition. 2. Execute the script and write `/home/user/Desktop/summary.txt` as `ti_03_t1_kw, ti_06_t1_kw, ti_12_t1_kw`. 3. Do not use a GUI.",
"source": "https://github.com/NatLabRockies/floris",
"config": [
{
"type": "upload_file",
"parameters": {
"files": [
{
"local_path": "task-08/init_file/ti_scan_base.py",
"path": "/home/user/Desktop/ti_scan_base.py"
}
]
}
}
],
"trajectory": "trajectories/",
"related_apps": [
"floris"
],
"artifact_paths": [
"/home/user/Desktop/summary.txt",
"/home/user/Desktop/ti_scan.py"
],
"evaluator": {
"postconfig": [
{
"type": "upload_file",
"parameters": {
"files": [
{
"local_path": "task-08/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"
}