Files
Parker Loflin 1ab8b9abfb edit_prediction_cli: Fix total token percentiles (#67124)
## Summary

`print_report` sorted the inserted and deleted token counts separately,
then added them by rank, so "Total tokens" percentiles mixed counts from
different predictions. It now adds each prediction's counts before
sorting.

## Testing

- `token_totals_are_summed_per_prediction` checks the sorted totals. It
fails without the fix.
- `cargo test -p edit_prediction_cli` and `./script/clippy` pass.

## Self-review

- [x] I've reviewed my diff for quality, security, reliability, and
performance.
- [x] UI changes follow the
[checklist](https://zed.dev/docs/development/ui-checklist).
- [x] Tests cover the new or changed behavior.

Release Notes:

- N/A
2026-11-18 09:39:00 +00:00
..
…
…
…
…
…