Spaces:
Running
Running
update
Browse files
client/src/context/LeaderboardContext.jsx
CHANGED
|
@@ -155,6 +155,8 @@ export const LeaderboardProvider = ({ children }) => {
|
|
| 155 |
return tags.some(
|
| 156 |
(tag) => tag === "modality:video" || tag === "modality:image"
|
| 157 |
);
|
|
|
|
|
|
|
| 158 |
case "audio":
|
| 159 |
return tags.includes("modality:audio");
|
| 160 |
case "financial":
|
|
@@ -174,6 +176,7 @@ export const LeaderboardProvider = ({ children }) => {
|
|
| 174 |
"eval:math",
|
| 175 |
"modality:video",
|
| 176 |
"modality:image",
|
|
|
|
| 177 |
"modality:audio",
|
| 178 |
"domain:financial",
|
| 179 |
"domain:medical",
|
|
@@ -261,6 +264,27 @@ export const LeaderboardProvider = ({ children }) => {
|
|
| 261 |
);
|
| 262 |
}, []);
|
| 263 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 264 |
// Define sections with raw data
|
| 265 |
const allSections = useMemo(() => {
|
| 266 |
if (!leaderboards) return [];
|
|
@@ -317,6 +341,14 @@ export const LeaderboardProvider = ({ children }) => {
|
|
| 317 |
return board;
|
| 318 |
}),
|
| 319 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 320 |
{
|
| 321 |
id: "financial",
|
| 322 |
title: "Financial",
|
|
|
|
| 155 |
return tags.some(
|
| 156 |
(tag) => tag === "modality:video" || tag === "modality:image"
|
| 157 |
);
|
| 158 |
+
case "threeD":
|
| 159 |
+
return tags.includes("modality:3d");
|
| 160 |
case "audio":
|
| 161 |
return tags.includes("modality:audio");
|
| 162 |
case "financial":
|
|
|
|
| 176 |
"eval:math",
|
| 177 |
"modality:video",
|
| 178 |
"modality:image",
|
| 179 |
+
"modality:3d",
|
| 180 |
"modality:audio",
|
| 181 |
"domain:financial",
|
| 182 |
"domain:medical",
|
|
|
|
| 264 |
);
|
| 265 |
}, []);
|
| 266 |
|
| 267 |
+
// Helper function to get the category group of a section
|
| 268 |
+
const getSectionGroup = (id) => {
|
| 269 |
+
const groups = {
|
| 270 |
+
agentic: ["agentic"],
|
| 271 |
+
capabilities: ["code", "math"],
|
| 272 |
+
languages: ["language"],
|
| 273 |
+
modalities: ["vision", "audio"],
|
| 274 |
+
threeD: ["threeD"],
|
| 275 |
+
domains: ["financial", "medical", "legal"],
|
| 276 |
+
evaluation: ["safety"],
|
| 277 |
+
misc: ["uncategorized"],
|
| 278 |
+
};
|
| 279 |
+
|
| 280 |
+
for (const [group, ids] of Object.entries(groups)) {
|
| 281 |
+
if (ids.includes(id)) {
|
| 282 |
+
return group;
|
| 283 |
+
}
|
| 284 |
+
}
|
| 285 |
+
return "misc";
|
| 286 |
+
};
|
| 287 |
+
|
| 288 |
// Define sections with raw data
|
| 289 |
const allSections = useMemo(() => {
|
| 290 |
if (!leaderboards) return [];
|
|
|
|
| 341 |
return board;
|
| 342 |
}),
|
| 343 |
},
|
| 344 |
+
{
|
| 345 |
+
id: "threeD",
|
| 346 |
+
title: "3D",
|
| 347 |
+
data: filterByTag("modality:3d", leaderboards).map((board) => {
|
| 348 |
+
categorizedIds.add(board.id);
|
| 349 |
+
return board;
|
| 350 |
+
}),
|
| 351 |
+
},
|
| 352 |
{
|
| 353 |
id: "financial",
|
| 354 |
title: "Financial",
|
client/src/pages/HowToSubmitPage/HowToSubmitPage.jsx
CHANGED
|
@@ -211,6 +211,7 @@ const getTagEmoji = (tag) => {
|
|
| 211 |
text: "π",
|
| 212 |
image: "πΌοΈ",
|
| 213 |
audio: "π΅",
|
|
|
|
| 214 |
video: "π₯",
|
| 215 |
tools: "π οΈ",
|
| 216 |
artefacts: "πΊ",
|
|
@@ -665,6 +666,7 @@ const HowToSubmitPage = () => {
|
|
| 665 |
"modality:video",
|
| 666 |
"modality:tools",
|
| 667 |
"modality:artefacts",
|
|
|
|
| 668 |
]}
|
| 669 |
explanations={[
|
| 670 |
"",
|
|
|
|
| 211 |
text: "π",
|
| 212 |
image: "πΌοΈ",
|
| 213 |
audio: "π΅",
|
| 214 |
+
audio: "π΅",
|
| 215 |
video: "π₯",
|
| 216 |
tools: "π οΈ",
|
| 217 |
artefacts: "πΊ",
|
|
|
|
| 666 |
"modality:video",
|
| 667 |
"modality:tools",
|
| 668 |
"modality:artefacts",
|
| 669 |
+
"modality:3d",
|
| 670 |
]}
|
| 671 |
explanations={[
|
| 672 |
"",
|