MCPcopy Create free account
hub / github.com/ScaleML/AgentSPEX / _parse_task_step

Method _parse_task_step

verifier/AgentVerifier/yaml_parser.py:180–187  ·  view source on GitHub ↗

Parse task (stateless)

(self, step_data: Dict[str, Any])

Source from the content-addressed store, hash-verified

178 }
179
180 def _parse_task_step(self, step_data: Dict[str, Any]) -> Dict[str, Any]:
181 """Parse task (stateless)"""
182 return {
183 "type": "task",
184 "name": step_data.get("name", "unnamed_task"),
185 "instruction": self._expand_template(step_data.get("instruction", "")),
186 "output_file": step_data.get("output_file"),
187 }
188
189 def _parse_for_each_step(self, step_data: Dict[str, Any]) -> Dict[str, Any]:
190 """Parse loop step"""

Callers 1

_parse_stepMethod · 0.95

Calls 2

_expand_templateMethod · 0.95
getMethod · 0.80

Tested by

no test coverage detected