MCPcopy Create free account
hub / github.com/devaccuracy/ledgerforge / floor_minute

Function floor_minute

tests/loadtest/tools/dashboard_parser.py:407–409  ·  view source on GitHub ↗
(timestamp: str)

Source from the content-addressed store, hash-verified

405
406
407def floor_minute(timestamp: str) -> str:
408 dt = datetime.fromisoformat(timestamp.replace("Z", "+00:00"))
409 return dt.strftime("%Y-%m-%dT%H:%M")
410
411
412def percentile_stats(values: list[float]) -> dict[str, float | None]:

Callers 1

parse_ndjsonFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected