wassemgtk commited on
Commit
f0ba37c
·
verified ·
1 Parent(s): 814faad
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -64,7 +64,7 @@ def format_table(df):
64
  # Function to calculate top 3 models based on combined score (average of numeric columns)
65
  def get_top_3_models(robustness_df, context_grounding_df):
66
  # Combine numeric columns from both datasets
67
- numeric_cols_robustness = ["Baseline", "Robustness"] # Example numeric columns from robustness
68
  numeric_cols_context = ["Irrelevant Ctx", "No Ctx", "Ctx Grounding QA", "Ctx Grounding TG", "Ctx Grounding", "Robustness", "Compliance"] # From context grounding
69
 
70
  # Extract numeric values for scoring
 
64
  # Function to calculate top 3 models based on combined score (average of numeric columns)
65
  def get_top_3_models(robustness_df, context_grounding_df):
66
  # Combine numeric columns from both datasets
67
+ numeric_cols_robustness = ["Baseline", "Robustness (Δ)"] # Updated to match the actual column name
68
  numeric_cols_context = ["Irrelevant Ctx", "No Ctx", "Ctx Grounding QA", "Ctx Grounding TG", "Ctx Grounding", "Robustness", "Compliance"] # From context grounding
69
 
70
  # Extract numeric values for scoring