ep cli: Fix finalize counter (#46198)

Release Notes:

- N/A
This commit is contained in:
Agus Zubiaga 2026-01-06 19:04:36 -03:00 committed by GitHub
parent 6070b30524
commit f0e0213552
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -396,7 +396,7 @@ impl Progress {
// Print summary if there were failures
if inner.failed_examples > 0 {
let total_processed = inner.completed.len() + inner.failed_examples;
let total_processed = inner.completed.len();
let percentage = if total_processed > 0 {
inner.failed_examples as f64 / total_processed as f64 * 100.0
} else {