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

Function _format_benchmark_row

cli/main.py:238–246  ·  view source on GitHub ↗
(name: str, *, target: str = "", category: str = "", difficulty: str = "")

Source from the content-addressed store, hash-verified

236
237
238def _format_benchmark_row(name: str, *, target: str = "", category: str = "", difficulty: str = "") -> str:
239 parts = [name]
240 if category:
241 parts.append(f"category={category}")
242 if difficulty:
243 parts.append(f"difficulty={difficulty}")
244 if target:
245 parts.append(f"target={target}")
246 return " | ".join(parts)
247
248
249def _build_scanner_check_command(executable: str) -> str:

Callers 1

handle_benchmark_listFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected