Update frontend/src/App.js
Browse files- frontend/src/App.js +7 -7
frontend/src/App.js
CHANGED
|
@@ -16,14 +16,14 @@ const ScoreBar = ({ score, isVanilla = false }) => {
|
|
| 16 |
style={{
|
| 17 |
width: `${percentage}%`,
|
| 18 |
backgroundColor,
|
| 19 |
-
height:
|
| 20 |
-
borderRadius: isVanilla ? '0' : '4px', // Make vanilla bars square
|
| 21 |
-
opacity: isVanilla ? 0.6 : 1, // Dim vanilla score bars
|
| 22 |
}}
|
| 23 |
/>
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
|
|
|
|
|
|
| 27 |
</div>
|
| 28 |
);
|
| 29 |
};
|
|
@@ -159,7 +159,7 @@ const App = () => {
|
|
| 159 |
<td className="model-cell">
|
| 160 |
<div className="model-name">{item.model_id}</div>
|
| 161 |
{showVanilla && (
|
| 162 |
-
<div className="vanilla-
|
| 163 |
)}
|
| 164 |
</td>
|
| 165 |
{["Average", "GAIA", "MATH", "SimpleQA"].map(metric => (
|
|
|
|
| 16 |
style={{
|
| 17 |
width: `${percentage}%`,
|
| 18 |
backgroundColor,
|
| 19 |
+
height: 100%,
|
|
|
|
|
|
|
| 20 |
}}
|
| 21 |
/>
|
| 22 |
+
{!isVanilla && (
|
| 23 |
+
<span className="score-text">
|
| 24 |
+
{percentage.toFixed(1)}%
|
| 25 |
+
</span>
|
| 26 |
+
)}
|
| 27 |
</div>
|
| 28 |
);
|
| 29 |
};
|
|
|
|
| 159 |
<td className="model-cell">
|
| 160 |
<div className="model-name">{item.model_id}</div>
|
| 161 |
{showVanilla && (
|
| 162 |
+
<div className="vanilla-text"><i>Vanilla score below</i></div>
|
| 163 |
)}
|
| 164 |
</td>
|
| 165 |
{["Average", "GAIA", "MATH", "SimpleQA"].map(metric => (
|