Skip to content

fix: CLI summary trend deltas use raw delta×100 instead of relative pct_delta #364

@decko

Description

@decko

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions