Closing line simplified to one line (status + result path); tree removed

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
sora 2026-09-10 10:42:04 +00:00
parent 7f3c42d39c
commit a3269252fd

View File

@ -630,15 +630,10 @@ def _cmd_eval_run(args) -> int:
mark = '[green]✓[/green]' if ok_n == len(rows) else '[yellow]◐[/yellow]' mark = '[green]✓[/green]' if ok_n == len(rows) else '[yellow]◐[/yellow]'
if console is not None: if console is not None:
console.print( console.print(
f'\n{mark} [bold]运行结束[/bold] · {ok_n}/{len(rows)} benchmarks ok\n' f'\n{mark} [bold]运行结束[/bold] · {ok_n}/{len(rows)} benchmarks ok'
f' 结果 {ap}\n' f' · 结果 {ap}')
f' ├─ summary.xlsx (excel 打开总表)\n'
f' ├─ summary.csv\n'
f' └─ <bench>/report.jsonl + detail.md (每 benchmark 一个目录)')
else: else:
print(f'\n运行结束 · {ok_n}/{len(rows)} benchmarks ok\n' print(f'\n运行结束 · {ok_n}/{len(rows)} benchmarks ok · 结果 {ap}')
f' 结果 {ap}\n'
f' ├─ summary.xlsx\n └─ <bench>/report.jsonl + detail.md')
elif rows and rows[0]['ok'] and args.out: elif rows and rows[0]['ok'] and args.out:
_notice('运行结束 · 结果已保存', args.out) _notice('运行结束 · 结果已保存', args.out)
print(f'{ok_n}/{len(rows)} benchmarks ok') print(f'{ok_n}/{len(rows)} benchmarks ok')