MCPcopy Create free account
hub / github.com/GongShichen/LuminaCode / sortedMetricNames

Function sortedMetricNames

benchmark/core.go:425–432  ·  view source on GitHub ↗
(metrics map[string]any)

Source from the content-addressed store, hash-verified

423}
424
425func sortedMetricNames(metrics map[string]any) []string {
426 names := make([]string, 0, len(metrics))
427 for name := range metrics {
428 names = append(names, name)
429 }
430 sort.Strings(names)
431 return names
432}
433
434func sortedFloatMetricNames(metrics map[string]float64) []string {
435 names := make([]string, 0, len(metrics))

Callers 3

ComputeDeltasMethod · 0.85
renderMarkdownFunction · 0.85
mapToBenefitLinesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected