Update src/streamlit_app.py
Browse files- src/streamlit_app.py +5 -0
src/streamlit_app.py
CHANGED
|
@@ -161,6 +161,11 @@ def create_bar_chart(df, view_type):
|
|
| 161 |
"Qwen 3 VL 235b Thinking": "Qwen 3 VL 235b<br>Thinking",
|
| 162 |
}
|
| 163 |
df_fig["model"] = df_fig["model"].map(model_renaming_map).fillna(df_fig["model"])
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 164 |
|
| 165 |
if view_type == "Total Score":
|
| 166 |
|
|
|
|
| 161 |
"Qwen 3 VL 235b Thinking": "Qwen 3 VL 235b<br>Thinking",
|
| 162 |
}
|
| 163 |
df_fig["model"] = df_fig["model"].map(model_renaming_map).fillna(df_fig["model"])
|
| 164 |
+
|
| 165 |
+
# TODO Rescale the scores
|
| 166 |
+
good_score_threshold = df_fig[df_fig["model"] == "Human Expert"].mean()
|
| 167 |
+
bad_score_threshold = df_fig[df_fig["model"] == "Straight Forward"].mean()
|
| 168 |
+
df_fig["score"] = (bad_score_threshold - df_fig["score"]) / (bad_score_threshold - good_score_threshold) * 100
|
| 169 |
|
| 170 |
if view_type == "Total Score":
|
| 171 |
|