Commit be64f3b
committed
eval: pre-populate criterion names in CheckRelevance results
When a criterion check errors (context cancelled, judge API failure),
the continue left results[i] as a zero-value RelevanceResult with empty
Criterion. Pre-populate criterion names before the loop so every entry
is well-formed regardless of errors.
Addresses review feedback from #2309.
Assisted-By: docker-agent1 parent 15d0327 commit be64f3b
1 file changed
+5
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
152 | 155 | | |
153 | 156 | | |
154 | 157 | | |
155 | 158 | | |
156 | 159 | | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
| 160 | + | |
| 161 | + | |
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
| |||
0 commit comments