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

Function mean

experiments/benchmark/evaluate_simulation_metrics.py:109–112  ·  view source on GitHub ↗
(values: List[float])

Source from the content-addressed store, hash-verified

107
108
109def mean(values: List[float]) -> float:
110 if not values:
111 return 0.0
112 return sum(values) / len(values)
113
114
115def mean_defined(values: List[Any]) -> float:

Callers 11

mean_definedFunction · 0.70
aggregate_metricsFunction · 0.70
build_dataset_summaryFunction · 0.70
build_scored_papersFunction · 0.50
aggregate_episode_scoresFunction · 0.50
aggregate_method_scoresFunction · 0.50
build_scored_reportsFunction · 0.50
aggregate_model_scoresFunction · 0.50
build_scored_rowsFunction · 0.50
aggregate_event_scoresFunction · 0.50
aggregate_method_scoresFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected