mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-07-01 21:28:10 +00:00
fix: use 1-based case_index in print_results_chart for consistency
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user