File tree Expand file tree Collapse file tree 1 file changed +5
-13
lines changed
apps/web-roo-code/src/app/evals Expand file tree Collapse file tree 1 file changed +5
-13
lines changed Original file line number Diff line number Diff line change @@ -148,27 +148,19 @@ export function Evals({
148148 </ TableCell >
149149 < TableCell className = "border-r" > { formatCurrency ( run . taskMetrics . cost ) } </ TableCell >
150150 < TableCell className = "text-muted-foreground" >
151- { run . languageScores ?. go !== undefined ? ` ${ formatScore ( run . languageScores . go ) } %` : "-" }
151+ { formatScore ( run . languageScores ?. go ?? 0 ) } %
152152 </ TableCell >
153153 < TableCell className = "text-muted-foreground" >
154- { run . languageScores ?. java !== undefined
155- ? `${ formatScore ( run . languageScores . java ) } %`
156- : "-" }
154+ { formatScore ( run . languageScores ?. java ?? 0 ) } %
157155 </ TableCell >
158156 < TableCell className = "text-muted-foreground" >
159- { run . languageScores ?. javascript !== undefined
160- ? `${ formatScore ( run . languageScores . javascript ) } %`
161- : "-" }
157+ { formatScore ( run . languageScores ?. javascript ?? 0 ) } %
162158 </ TableCell >
163159 < TableCell className = "text-muted-foreground" >
164- { run . languageScores ?. python !== undefined
165- ? `${ formatScore ( run . languageScores . python ) } %`
166- : "-" }
160+ { formatScore ( run . languageScores ?. python ?? 0 ) } %
167161 </ TableCell >
168162 < TableCell className = "text-muted-foreground" >
169- { run . languageScores ?. rust !== undefined
170- ? `${ formatScore ( run . languageScores . rust ) } %`
171- : "-" }
163+ { formatScore ( run . languageScores ?. rust ?? 0 ) } %
172164 </ TableCell >
173165 < TableCell className = "font-bold" > { run . score } %</ TableCell >
174166 </ TableRow >
You can’t perform that action at this time.
0 commit comments