Alexis Gobé commited on
Commit
b0b275f
·
unverified ·
1 Parent(s): 1cf23a9

Update leaderboard.py

Browse files
backend/app/services/leaderboard.py CHANGED
@@ -268,7 +268,7 @@ class LeaderboardService:
268
 
269
  for root, _, files in os.walk(results_path):
270
  #FIXME We will remove this check when results we be homogeneous
271
- folderName = "clearML-musa"
272
  normalized_root = os.path.normpath(root)
273
  path_components = normalized_root.split(os.sep)
274
  if folderName in path_components:
@@ -488,4 +488,4 @@ class LeaderboardService:
488
 
489
  except Exception as e:
490
  logger.error(LogFormatter.error(f"Failed to transform data for {data.full_model}", e))
491
- raise
 
268
 
269
  for root, _, files in os.walk(results_path):
270
  #FIXME We will remove this check when results we be homogeneous
271
+ folderName = "clearML-sprint1-wr"
272
  normalized_root = os.path.normpath(root)
273
  path_components = normalized_root.split(os.sep)
274
  if folderName in path_components:
 
488
 
489
  except Exception as e:
490
  logger.error(LogFormatter.error(f"Failed to transform data for {data.full_model}", e))
491
+ raise