You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Praise: EvalScore.to_dict correctly preserves None for skipped dimensions #147
The list-comprehension special-cases None instead of either:
coercing to 0.0 (which would tell a downstream consumer "you scored a zero on tests" when actually tests were skipped), or
omitting the key entirely (which would make schema-strict consumers crash).
Combined with the upstream check at EvalScorer._score_dynamic line 68-70 that explicitly returns scores["tests"] = None # Not applicable, this is a coherent treatment of "missing data vs zero data" — a distinction most evaluation frameworks get wrong.
The EvalResponse TypeScript type at frontend/src/lib/api/jobs.ts:68-78 also marks testPassed?: boolean and scores?: Record<string, number> as optional, so the contract is consistent on both sides.
Activity