From 006a2d59447f285de73213fca192b0c3a478ff09 Mon Sep 17 00:00:00 2001 From: alex-clawd Date: Wed, 13 May 2026 10:10:29 -0700 Subject: [PATCH] fix: use 1-based case_index in print_results_chart for consistency --- lib/cli/src/crewai_cli/benchmark.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cli/src/crewai_cli/benchmark.py b/lib/cli/src/crewai_cli/benchmark.py index 78df4530d..ec04bdee2 100644 --- a/lib/cli/src/crewai_cli/benchmark.py +++ b/lib/cli/src/crewai_cli/benchmark.py @@ -825,7 +825,7 @@ def print_results_chart( time_s = f"{r.response_time_ms / 1000:>5.1f}s" cost_part = f" [dim]{_fmt_cost(r.cost):>7}[/dim]" if has_cost else "" rows.append( - f" [dim]{r.case_index:>2}[/dim] {inp_pad} {bar} {r.score:.2f} {badge} [dim]{time_s}[/dim]{cost_part}" + f" [dim]{r.case_index + 1:>2}[/dim] {inp_pad} {bar} {r.score:.2f} {badge} [dim]{time_s}[/dim]{cost_part}" ) n = len(results)