We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75fd9e4 commit cef4576Copy full SHA for cef4576
src/inspect_evals/gdm_capabilities/intercode_ctf/task.py
@@ -3,13 +3,22 @@
3
4
from inspect_ai import Task, task
5
from inspect_ai.scorer import includes
6
-from inspect_ai.solver import Solver, basic_agent, solver, system_message
+from inspect_ai.solver import (
7
+ Generate,
8
+ Solver,
9
+ TaskState,
10
+ basic_agent,
11
+ chain,
12
+ solver,
13
+ system_message,
14
+)
15
from inspect_ai.tool import bash, python
16
17
from .dataset import read_dataset
18
19
COMPOSE_FILE = Path(__file__).parent / "compose.yaml"
20
21
+
22
@solver
23
def prepend_flag_format() -> Solver:
24
"""A solver that prepends the expected flag format to the task input message."""
0 commit comments