Update frontend/src/App.js
Browse files- frontend/src/App.js +4 -11
frontend/src/App.js
CHANGED
@@ -122,15 +122,6 @@ const App = () => {
|
|
122 |
/>
|
123 |
Show Vanilla Scores
|
124 |
</label>
|
125 |
-
|
126 |
-
<label className="option-label">
|
127 |
-
<input
|
128 |
-
type="checkbox"
|
129 |
-
checked={showToolCalling}
|
130 |
-
onChange={() => setShowToolCalling(!showToolCalling)}
|
131 |
-
/>
|
132 |
-
Show Tool-Calling Scores
|
133 |
-
</label>
|
134 |
</div>
|
135 |
</div>
|
136 |
</div>
|
@@ -156,14 +147,16 @@ const App = () => {
|
|
156 |
<tbody>
|
157 |
{filteredAndSortedData.map((item, index) => {
|
158 |
const displayModelId = item.agent_action_type === "tool-calling" || item.agent_action_type === "tool_calling"
|
159 |
-
? `${item.model_id} -
|
160 |
: item.model_id;
|
161 |
return (
|
162 |
<tr key={index}>
|
163 |
<td className="model-cell">
|
164 |
<div className="model-name">{displayModelId}</div>
|
165 |
{showVanilla && (
|
166 |
-
|
|
|
|
|
167 |
)}
|
168 |
</td>
|
169 |
{["Average", "GAIA", "MATH", "SimpleQA"].map(metric => (
|
|
|
122 |
/>
|
123 |
Show Vanilla Scores
|
124 |
</label>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
125 |
</div>
|
126 |
</div>
|
127 |
</div>
|
|
|
147 |
<tbody>
|
148 |
{filteredAndSortedData.map((item, index) => {
|
149 |
const displayModelId = item.agent_action_type === "tool-calling" || item.agent_action_type === "tool_calling"
|
150 |
+
? `${item.model_id} - JSON`
|
151 |
: item.model_id;
|
152 |
return (
|
153 |
<tr key={index}>
|
154 |
<td className="model-cell">
|
155 |
<div className="model-name">{displayModelId}</div>
|
156 |
{showVanilla && (
|
157 |
+
getVanillaScore(item.model_id, "Average") !== undefined && (
|
158 |
+
<div className="vanilla-text"><i>Vanilla score below</i></div>
|
159 |
+
)
|
160 |
)}
|
161 |
</td>
|
162 |
{["Average", "GAIA", "MATH", "SimpleQA"].map(metric => (
|