Bug
The CLI summary shows absurd trend percentages for non-ratio metrics:
Phase execution time 1382.6s ▼ -14169%
Tokens / phase 15450.7 ▲ +69766%
The HTML report correctly shows ▲ 11% and ▼ 4% for the same metrics because it uses pct_delta (relative percentage change). The CLI path still multiplies raw delta by 100.
Fix
Update cli_summary.py to use sd.pct_delta instead of sd.delta * 100 — matching the HTML template logic.
Bug
The CLI summary shows absurd trend percentages for non-ratio metrics:
The HTML report correctly shows
▲ 11%and▼ 4%for the same metrics because it usespct_delta(relative percentage change). The CLI path still multiplies rawdeltaby 100.Fix
Update
cli_summary.pyto usesd.pct_deltainstead ofsd.delta * 100— matching the HTML template logic.