Skip to content

Commit 4379c5e

Browse files
committed
Format AIQ skill eval adapter
1 parent 35d2cce commit 4379c5e

1 file changed

Lines changed: 3 additions & 7 deletions

File tree

.github/skill-eval/adapters/aiq-research/generate.py

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,7 @@ def _test_script(spec_name: str, step: int) -> str:
6969

7070

7171
def _solution_script() -> str:
72-
return (
73-
"#!/bin/bash\n"
74-
"set -euo pipefail\n"
75-
"python3 /skills/aiq-research/scripts/aiq.py health\n"
76-
)
72+
return "#!/bin/bash\nset -euo pipefail\npython3 /skills/aiq-research/scripts/aiq.py health\n"
7773

7874

7975
def _environment_compose() -> str:
@@ -115,8 +111,8 @@ def _task_toml(skill: str, spec_stem: str, platform: str, mode: str, step: int,
115111
f'spec = "{spec_stem}"',
116112
f'platform = "{platform}"',
117113
f'mode = "{mode}"',
118-
f'step = {step}',
119-
f'total_steps = {total_steps}',
114+
f"step = {step}",
115+
f"total_steps = {total_steps}",
120116
"",
121117
]
122118
)

0 commit comments

Comments
 (0)