v1.11
Browse files
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"] #
|
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
|