GitHub Actions commited on
Commit
7359a65
·
1 Parent(s): 3e0cdad

Sync from GitHub repo

Browse files
Files changed (1) hide show
  1. models.py +2 -2
models.py CHANGED
@@ -334,9 +334,9 @@ def get_leaderboard_data(model_type):
334
  """
335
  query = Model.query.filter_by(model_type=model_type)
336
 
337
- # Get models with >1k votes ordered by ELO score
338
  # Note: Model.match_count now only includes votes that count for public leaderboard
339
- models = query.filter(Model.match_count > 1000).order_by(Model.current_elo.desc()).all()
340
 
341
  result = []
342
  for rank, model in enumerate(models, 1):
 
334
  """
335
  query = Model.query.filter_by(model_type=model_type)
336
 
337
+ # Get models with >350 votes ordered by ELO score
338
  # Note: Model.match_count now only includes votes that count for public leaderboard
339
+ models = query.filter(Model.match_count > 350).order_by(Model.current_elo.desc()).all()
340
 
341
  result = []
342
  for rank, model in enumerate(models, 1):