Update apps/web-roo-code/src/app/evals/workers/page.tsx

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
This commit is contained in:
MP 2026-02-13 08:51:31 -08:00 • committed by GitHub
parent 8ba3bd4032
commit 4d4acc98c1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -62,8 +62,8 @@ export default function WorkersPage() {
const recommendations = getAllRecommendations()
// Aggregate totals
const totalEvalRuns = recommendations.reduce((sum, recommendation) => sum + recommendation.totalEvalRuns, 0)
const totalExercises = recommendations.reduce((sum, recommendation) => sum + recommendation.totalExercises, 0)
const totalEvalRuns = recommendations[0]?.totalEvalRuns ?? 0
const totalExercises = recommendations[0]?.totalExercises ?? 0
const uniqueModels = new Set(
recommendations.flatMap((recommendation) => recommendation.allCandidates.map((candidate) => candidate.modelId)),
)