Spaces:
				
			
			
	
			
			
		Runtime error
		
	
	
	
			
			
	
	
	
	
		
		
		Runtime error
		
	Update src/populate.py
Browse files- src/populate.py +1 -0
    	
        src/populate.py
    CHANGED
    
    | @@ -15,6 +15,7 @@ def get_leaderboard_df(results_path: str, requests_path: str, cols: list, benchm | |
| 15 |  | 
| 16 | 
             
                df = pd.DataFrame.from_records(all_data_json)
         | 
| 17 | 
             
                df = df.sort_values(by=[AutoEvalColumn.average.name], ascending=False).reset_index(drop=True)
         | 
|  | |
| 18 | 
             
                df = df[cols].round(decimals=2)
         | 
| 19 |  | 
| 20 | 
             
                # filter out if any of the benchmarks have not been produced
         | 
|  | |
| 15 |  | 
| 16 | 
             
                df = pd.DataFrame.from_records(all_data_json)
         | 
| 17 | 
             
                df = df.sort_values(by=[AutoEvalColumn.average.name], ascending=False).reset_index(drop=True)
         | 
| 18 | 
            +
                print(df.columns())
         | 
| 19 | 
             
                df = df[cols].round(decimals=2)
         | 
| 20 |  | 
| 21 | 
             
                # filter out if any of the benchmarks have not been produced
         | 

