MCPcopy Create free account
hub / github.com/idank/explainshell / _format_run_label

Function _format_run_label

tests/evals/llm/llm_eval.py:380–386  ·  view source on GitHub ↗
(summary: dict[str, Any])

Source from the content-addressed store, hash-verified

378
379
380def _format_run_label(summary: dict[str, Any]) -> str:
381 label = f"{summary.get('model', '?')} @ {summary.get('timestamp', '?')}"
382 git = summary.get("git") or {}
383 if git.get("commit"):
384 dirty = ", dirty" if git.get("dirty") else ""
385 label += f" ({git['commit']}{dirty})"
386 return label
387
388
389def compare_runs(args: argparse.Namespace) -> int:

Callers 1

compare_runsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected