MCPcopy Create free account
hub / github.com/apache/fory / winner_cell

Function winner_cell

benchmarks/java/benchmark_report.py:243–248  ·  view source on GitHub ↗
(values: dict)

Source from the content-addressed store, hash-verified

241
242
243def winner_cell(values: dict) -> str:
244 positive = {name: value for name, value in values.items() if value > 0}
245 if not positive:
246 return "N/A"
247 winner = max(positive, key=positive.get)
248 return serializer_title(winner)
249
250
251def build_xlang_section(results: dict, image_name: str) -> str:

Callers 1

build_xlang_sectionFunction · 0.70

Calls 2

serializer_titleFunction · 0.85
itemsMethod · 0.80

Tested by

no test coverage detected