MCPcopy Create free account
hub / github.com/Dizzy-K/AutoPT / _benchmark_context

Method _benchmark_context

workflow/state.py:100–115  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

98 return self.config.workflow
99
100 def _benchmark_context(self) -> str:
101 if self.benchmark is None:
102 return ""
103
104 lines: list[str] = []
105 if self.benchmark.name:
106 lines.append(f"- Benchmark: {self.benchmark.name}")
107 if self.benchmark.category:
108 lines.append(f"- Category: {self.benchmark.category}")
109 if self.benchmark.difficulty:
110 lines.append(f"- Difficulty: {self.benchmark.difficulty}")
111 if self.benchmark.description:
112 lines.append(f"- Description: {self.benchmark.description}")
113 if self.benchmark.references:
114 lines.append(f"- References: {', '.join(self.benchmark.references)}")
115 return "\n".join(lines)

Callers 1

bind_targetMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected