MCPcopy Create free account
hub / github.com/diillson/chatcli / String

Method String

cli/workspace/memory/eval/eval.go:144–149  ·  view source on GitHub ↗

String renders the metrics as a single aligned line for logs and benchmark output.

()

Source from the content-addressed store, hash-verified

142// String renders the metrics as a single aligned line for logs and benchmark
143// output.
144func (m Metrics) String() string {
145 return fmt.Sprintf(
146 "n=%d k=%d recall@k=%.4f precision@k=%.4f MRR=%.4f nDCG@k=%.4f",
147 m.N, m.K, m.RecallAtK, m.PrecisionAtK, m.MRR, m.NDCGAtK,
148 )
149}
150
151// Comparison reports the delta between a baseline and a candidate strategy on
152// the same sample set — the artifact an A/B (keyword vs. semantic blend)

Callers 15

loadRuleFileMethod · 0.45
loadWithCacheMethod · 0.45
AddFactWithMetaMethod · 0.45
GenerateMarkdownMethod · 0.45
pruneLowestLockedMethod · 0.45
loadMethod · 0.45
RunWithLLMMethod · 0.45
splitOnSeparatorsFunction · 0.45
foldDiacriticsFunction · 0.45
stripParentheticalsFunction · 0.45
writeDailyNoteAtFunction · 0.45
FormatStatsMethod · 0.45

Calls

no outgoing calls