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

Function _log_kind

scripts/dashboard.py:2767–2777  ·  view source on GitHub ↗
(path: Path)

Source from the content-addressed store, hash-verified

2765
2766
2767def _log_kind(path: Path) -> str:
2768 name = path.name
2769 if name == "agent_events.log" or name.endswith("_agent_events.log"):
2770 return "events"
2771 if name.startswith("agent_events-prev-"):
2772 return "events-prev"
2773 if name == "agent_run.log":
2774 return "run"
2775 if name.endswith("_full.log"):
2776 return "full"
2777 return "log"
2778
2779
2780def _log_label(path: Path) -> str:

Callers 1

_log_labelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected