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

Function buildNoteLines

benchmark/core.go:271–277  ·  view source on GitHub ↗
(verdict BenchmarkVerdict, comparison *BenchmarkComparison)

Source from the content-addressed store, hash-verified

269}
270
271func buildNoteLines(verdict BenchmarkVerdict, comparison *BenchmarkComparison) []string {
272 baseline := "baseline_comparison=unavailable"
273 if comparison != nil {
274 baseline = fmt.Sprintf("baseline_comparison=deltas:%d", len(comparison.DeltaRecords))
275 }
276 return []string{fmt.Sprintf("warnings=%d", len(verdict.Warnings)), baseline}
277}
278
279func normalizeActualBehavior(text string) string {
280 if strings.HasPrefix(text, "observed=") {

Callers 1

BuildBenchmarkReportMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected