Skip to content

Commit 38be34f

Browse files
committed
Fix (reduce) evals summary width)
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
1 parent 57c4c2b commit 38be34f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

pkg/evaluation/progress.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ func (p *progressBar) render(final bool) {
164164

165165
// Calculate bar width based on terminal size
166166
// Reserve space for: "[" + "]" + " 100% (999/999) " + counts (~20) + running info (~30)
167-
barWidth := min(max(termWidth-60, 10), 50)
167+
barWidth := min(max(termWidth-80, 10), 10)
168168

169169
filledWidth := 0
170170
if p.total > 0 {
@@ -195,13 +195,13 @@ func (p *progressBar) render(final bool) {
195195
if failed > 0 {
196196
breakdown := []string{}
197197
if relevanceFailed > 0 {
198-
breakdown = append(breakdown, "relevance "+p.red(fmt.Sprintf("✗%d", relevanceFailed)))
198+
breakdown = append(breakdown, "relv "+p.red(fmt.Sprintf("✗%d", relevanceFailed)))
199199
}
200200
if sizeFailed > 0 {
201201
breakdown = append(breakdown, "size "+p.red(fmt.Sprintf("✗%d", sizeFailed)))
202202
}
203203
if toolCallsFailed > 0 {
204-
breakdown = append(breakdown, "tool calls "+p.red(fmt.Sprintf("✗%d", toolCallsFailed)))
204+
breakdown = append(breakdown, "tools "+p.red(fmt.Sprintf("✗%d", toolCallsFailed)))
205205
}
206206
if len(breakdown) > 0 {
207207
counts += fmt.Sprintf(" (%s)", strings.Join(breakdown, ", "))

0 commit comments

Comments
 (0)