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

Function format_metric

experiments/benchmark/evaluate_simulation_metrics.py:273–276  ·  view source on GitHub ↗
(value: Any)

Source from the content-addressed store, hash-verified

271
272
273def format_metric(value: Any) -> str:
274 if value is None:
275 return ""
276 return f"{float(value):.4f}"
277
278
279def build_selected_legacy_table(summary: Dict[str, Any], method_name: str) -> str:

Callers 3

build_case_metrics_tableFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected