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

Function last_defined

tests/loadtest/tools/dashboard_parser.py:444–449  ·  view source on GitHub ↗
(series: list[dict[str, Any]], key: str)

Source from the content-addressed store, hash-verified

442
443
444def last_defined(series: list[dict[str, Any]], key: str) -> float | None:
445 for point in reversed(series):
446 value = point.get(key)
447 if value is not None:
448 return value
449 return None
450
451
452def mean(values: list[float | None]) -> float | None:

Callers 1

parse_csvFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected