Skip to content

Commit 4b857f1

Browse files
Merge remote-tracking branch 'upstream/feat/max-error-rate' into feat/max-error-rate
2 parents 4bda8cf + 332ef08 commit 4b857f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/guidellm/benchmark/aggregator.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -637,8 +637,8 @@ def compile(self) -> GenerativeBenchmark:
637637
def _calculate_error_rate(self) -> float:
638638
total_successful = self.requests_stats.totals.successful.total
639639
total_errored = self.requests_stats.totals.errored.total
640-
total_sent = total_errored + total_successful
641-
return total_errored / total_sent
640+
total_finished = total_errored + total_successful
641+
return total_errored / total_finished
642642

643643
def _compile_results(
644644
self,

0 commit comments

Comments
 (0)