alozowski commited on
Commit
79ad1ad
1 Parent(s): f073c67

removed comments from populate.py

Browse files
Files changed (1) hide show
  1. src/populate.py +0 -9
src/populate.py CHANGED
@@ -8,15 +8,6 @@ from src.leaderboard.filter_models import filter_models_flags
8
  from src.leaderboard.read_evals import get_raw_eval_results
9
  from src.display.utils import load_json_data
10
 
11
- # def _load_json_data(file_path):
12
- # """Safely load JSON data from a file."""
13
- # try:
14
- # with open(file_path, "r") as file:
15
- # return json.load(file)
16
- # except json.JSONDecodeError:
17
- # print(f"Error reading JSON from {file_path}")
18
- # return None # Or raise an exception
19
-
20
 
21
  def _process_model_data(entry, model_name_key="model", revision_key="revision"):
22
  """Enrich model data with clickable links and revisions."""
 
8
  from src.leaderboard.read_evals import get_raw_eval_results
9
  from src.display.utils import load_json_data
10
 
 
 
 
 
 
 
 
 
 
11
 
12
  def _process_model_data(entry, model_name_key="model", revision_key="revision"):
13
  """Enrich model data with clickable links and revisions."""