openhands commited on
Commit
c68aa7d
·
1 Parent(s): 5d82fab

Fix UI score formatting: do not coerce NaN to 0; rely on format_score_column to show 'Not Submitted'.\n\nCo-authored-by: openhands <openhands@all-hands.dev>

Browse files
Files changed (1) hide show
  1. ui_components.py +1 -1
ui_components.py CHANGED
@@ -386,7 +386,7 @@ def create_leaderboard_display(
386
  if "Cost" in col:
387
  df_view = format_cost_column(df_view, col)
388
 
389
- # Fill NaN scores with 0
390
  for col in df_view.columns:
391
  if "Score" in col:
392
  df_view = format_score_column(df_view, col)
 
386
  if "Cost" in col:
387
  df_view = format_cost_column(df_view, col)
388
 
389
+ # Apply score formatting without coercing NaN to 0
390
  for col in df_view.columns:
391
  if "Score" in col:
392
  df_view = format_score_column(df_view, col)