MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / mean

Function mean

experiments/benchmark/evaluate_benchmark_predictions.py:36–37  ·  view source on GitHub ↗
(values: list[float])

Source from the content-addressed store, hash-verified

34
35
36def mean(values: list[float]) -> float:
37 return sum(values) / len(values) if values else 0.0
38
39
40def mean_defined(values: list[float | None]) -> float:

Callers 1

mean_definedFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected