Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions benchmarks/EvoAgentBench/src/domains/reasoning/omnimath.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,14 @@ def get_agent_timeout(self, task: dict, env_info: dict) -> int:
return int(_cfg().get("agent_timeout", 600))

def build_prompt(self, task: dict, env_info: dict) -> str:
return _PROMPT_TEMPLATE.format(
problem=task["problem"],
prompt = _PROMPT_TEMPLATE.format(problem=task["problem"])
skills_text = task.get("skill_text", "")
if not skills_text:
return prompt
return prompt + (
"\n\n## Domain-Specific Strategies\n\n"
"The following strategies are specifically designed for this type of task. "
"You MUST apply them:\n\n" + skills_text
)

def verify(self, task: dict, env_info: dict, trial_dir: Path,
Expand Down