Initial snapshot upload
Browse files- frontend/package-lock.json +108 -11
- frontend/src/app/components/SubmitForm.js +1 -0
- frontend/src/app/leaderboard/page.js +2 -1
- frontend/src/app/page.js +3 -0
- package-lock.json +13 -0
frontend/package-lock.json
CHANGED
@@ -8,10 +8,13 @@
|
|
8 |
"name": "colle_nlu_benchmark",
|
9 |
"version": "0.1.0",
|
10 |
"dependencies": {
|
|
|
|
|
11 |
"lucide-react": "^0.523.0",
|
12 |
"next": "15.3.3",
|
13 |
"react": "^19.0.0",
|
14 |
-
"react-dom": "^19.0.0"
|
|
|
15 |
},
|
16 |
"devDependencies": {
|
17 |
"@eslint/eslintrc": "^3",
|
@@ -48,6 +51,15 @@
|
|
48 |
"node": ">=6.0.0"
|
49 |
}
|
50 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
51 |
"node_modules/@emnapi/core": {
|
52 |
"version": "1.4.3",
|
53 |
"resolved": "https://registry.npmjs.org/@emnapi/core/-/core-1.4.3.tgz",
|
@@ -209,19 +221,32 @@
|
|
209 |
}
|
210 |
},
|
211 |
"node_modules/@eslint/plugin-kit": {
|
212 |
-
"version": "0.3.
|
213 |
-
"resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.3.
|
214 |
-
"integrity": "sha512-
|
215 |
"dev": true,
|
216 |
"license": "Apache-2.0",
|
217 |
"dependencies": {
|
218 |
-
"@eslint/core": "^0.
|
219 |
"levn": "^0.4.1"
|
220 |
},
|
221 |
"engines": {
|
222 |
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
|
223 |
}
|
224 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
225 |
"node_modules/@humanfs/core": {
|
226 |
"version": "0.19.1",
|
227 |
"resolved": "https://registry.npmjs.org/@humanfs/core/-/core-0.19.1.tgz",
|
@@ -1482,9 +1507,9 @@
|
|
1482 |
}
|
1483 |
},
|
1484 |
"node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion": {
|
1485 |
-
"version": "2.0.
|
1486 |
-
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.
|
1487 |
-
"integrity": "sha512-
|
1488 |
"dev": true,
|
1489 |
"license": "MIT",
|
1490 |
"dependencies": {
|
@@ -2114,9 +2139,9 @@
|
|
2114 |
"license": "MIT"
|
2115 |
},
|
2116 |
"node_modules/brace-expansion": {
|
2117 |
-
"version": "1.1.
|
2118 |
-
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.
|
2119 |
-
"integrity": "sha512-
|
2120 |
"dev": true,
|
2121 |
"license": "MIT",
|
2122 |
"dependencies": {
|
@@ -3541,6 +3566,47 @@
|
|
3541 |
"node": ">= 0.4"
|
3542 |
}
|
3543 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3544 |
"node_modules/ignore": {
|
3545 |
"version": "5.3.2",
|
3546 |
"resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz",
|
@@ -5040,6 +5106,28 @@
|
|
5040 |
"react": "^19.1.0"
|
5041 |
}
|
5042 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5043 |
"node_modules/react-is": {
|
5044 |
"version": "16.13.1",
|
5045 |
"resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz",
|
@@ -5957,6 +6045,15 @@
|
|
5957 |
"punycode": "^2.1.0"
|
5958 |
}
|
5959 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5960 |
"node_modules/which": {
|
5961 |
"version": "2.0.2",
|
5962 |
"resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz",
|
|
|
8 |
"name": "colle_nlu_benchmark",
|
9 |
"version": "0.1.0",
|
10 |
"dependencies": {
|
11 |
+
"i18next": "^23.0.0",
|
12 |
+
"i18next-browser-languagedetector": "^7.0.1",
|
13 |
"lucide-react": "^0.523.0",
|
14 |
"next": "15.3.3",
|
15 |
"react": "^19.0.0",
|
16 |
+
"react-dom": "^19.0.0",
|
17 |
+
"react-i18next": "^13.0.0"
|
18 |
},
|
19 |
"devDependencies": {
|
20 |
"@eslint/eslintrc": "^3",
|
|
|
51 |
"node": ">=6.0.0"
|
52 |
}
|
53 |
},
|
54 |
+
"node_modules/@babel/runtime": {
|
55 |
+
"version": "7.27.6",
|
56 |
+
"resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.27.6.tgz",
|
57 |
+
"integrity": "sha512-vbavdySgbTTrmFE+EsiqUTzlOr5bzlnJtUv9PynGCAKvfQqjIXbvFdumPM/GxMDfyuGMJaJAU6TO4zc1Jf1i8Q==",
|
58 |
+
"license": "MIT",
|
59 |
+
"engines": {
|
60 |
+
"node": ">=6.9.0"
|
61 |
+
}
|
62 |
+
},
|
63 |
"node_modules/@emnapi/core": {
|
64 |
"version": "1.4.3",
|
65 |
"resolved": "https://registry.npmjs.org/@emnapi/core/-/core-1.4.3.tgz",
|
|
|
221 |
}
|
222 |
},
|
223 |
"node_modules/@eslint/plugin-kit": {
|
224 |
+
"version": "0.3.4",
|
225 |
+
"resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.3.4.tgz",
|
226 |
+
"integrity": "sha512-Ul5l+lHEcw3L5+k8POx6r74mxEYKG5kOb6Xpy2gCRW6zweT6TEhAf8vhxGgjhqrd/VO/Dirhsb+1hNpD1ue9hw==",
|
227 |
"dev": true,
|
228 |
"license": "Apache-2.0",
|
229 |
"dependencies": {
|
230 |
+
"@eslint/core": "^0.15.1",
|
231 |
"levn": "^0.4.1"
|
232 |
},
|
233 |
"engines": {
|
234 |
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
|
235 |
}
|
236 |
},
|
237 |
+
"node_modules/@eslint/plugin-kit/node_modules/@eslint/core": {
|
238 |
+
"version": "0.15.1",
|
239 |
+
"resolved": "https://registry.npmjs.org/@eslint/core/-/core-0.15.1.tgz",
|
240 |
+
"integrity": "sha512-bkOp+iumZCCbt1K1CmWf0R9pM5yKpDv+ZXtvSyQpudrI9kuFLp+bM2WOPXImuD/ceQuaa8f5pj93Y7zyECIGNA==",
|
241 |
+
"dev": true,
|
242 |
+
"license": "Apache-2.0",
|
243 |
+
"dependencies": {
|
244 |
+
"@types/json-schema": "^7.0.15"
|
245 |
+
},
|
246 |
+
"engines": {
|
247 |
+
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
|
248 |
+
}
|
249 |
+
},
|
250 |
"node_modules/@humanfs/core": {
|
251 |
"version": "0.19.1",
|
252 |
"resolved": "https://registry.npmjs.org/@humanfs/core/-/core-0.19.1.tgz",
|
|
|
1507 |
}
|
1508 |
},
|
1509 |
"node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion": {
|
1510 |
+
"version": "2.0.2",
|
1511 |
+
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz",
|
1512 |
+
"integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==",
|
1513 |
"dev": true,
|
1514 |
"license": "MIT",
|
1515 |
"dependencies": {
|
|
|
2139 |
"license": "MIT"
|
2140 |
},
|
2141 |
"node_modules/brace-expansion": {
|
2142 |
+
"version": "1.1.12",
|
2143 |
+
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz",
|
2144 |
+
"integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==",
|
2145 |
"dev": true,
|
2146 |
"license": "MIT",
|
2147 |
"dependencies": {
|
|
|
3566 |
"node": ">= 0.4"
|
3567 |
}
|
3568 |
},
|
3569 |
+
"node_modules/html-parse-stringify": {
|
3570 |
+
"version": "3.0.1",
|
3571 |
+
"resolved": "https://registry.npmjs.org/html-parse-stringify/-/html-parse-stringify-3.0.1.tgz",
|
3572 |
+
"integrity": "sha512-KknJ50kTInJ7qIScF3jeaFRpMpE8/lfiTdzf/twXyPBLAGrLRTmkz3AdTnKeh40X8k9L2fdYwEp/42WGXIRGcg==",
|
3573 |
+
"license": "MIT",
|
3574 |
+
"dependencies": {
|
3575 |
+
"void-elements": "3.1.0"
|
3576 |
+
}
|
3577 |
+
},
|
3578 |
+
"node_modules/i18next": {
|
3579 |
+
"version": "23.16.8",
|
3580 |
+
"resolved": "https://registry.npmjs.org/i18next/-/i18next-23.16.8.tgz",
|
3581 |
+
"integrity": "sha512-06r/TitrM88Mg5FdUXAKL96dJMzgqLE5dv3ryBAra4KCwD9mJ4ndOTS95ZuymIGoE+2hzfdaMak2X11/es7ZWg==",
|
3582 |
+
"funding": [
|
3583 |
+
{
|
3584 |
+
"type": "individual",
|
3585 |
+
"url": "https://locize.com"
|
3586 |
+
},
|
3587 |
+
{
|
3588 |
+
"type": "individual",
|
3589 |
+
"url": "https://locize.com/i18next.html"
|
3590 |
+
},
|
3591 |
+
{
|
3592 |
+
"type": "individual",
|
3593 |
+
"url": "https://www.i18next.com/how-to/faq#i18next-is-awesome.-how-can-i-support-the-project"
|
3594 |
+
}
|
3595 |
+
],
|
3596 |
+
"license": "MIT",
|
3597 |
+
"dependencies": {
|
3598 |
+
"@babel/runtime": "^7.23.2"
|
3599 |
+
}
|
3600 |
+
},
|
3601 |
+
"node_modules/i18next-browser-languagedetector": {
|
3602 |
+
"version": "7.2.2",
|
3603 |
+
"resolved": "https://registry.npmjs.org/i18next-browser-languagedetector/-/i18next-browser-languagedetector-7.2.2.tgz",
|
3604 |
+
"integrity": "sha512-6b7r75uIJDWCcCflmbof+sJ94k9UQO4X0YR62oUfqGI/GjCLVzlCwu8TFdRZIqVLzWbzNcmkmhfqKEr4TLz4HQ==",
|
3605 |
+
"license": "MIT",
|
3606 |
+
"dependencies": {
|
3607 |
+
"@babel/runtime": "^7.23.2"
|
3608 |
+
}
|
3609 |
+
},
|
3610 |
"node_modules/ignore": {
|
3611 |
"version": "5.3.2",
|
3612 |
"resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz",
|
|
|
5106 |
"react": "^19.1.0"
|
5107 |
}
|
5108 |
},
|
5109 |
+
"node_modules/react-i18next": {
|
5110 |
+
"version": "13.5.0",
|
5111 |
+
"resolved": "https://registry.npmjs.org/react-i18next/-/react-i18next-13.5.0.tgz",
|
5112 |
+
"integrity": "sha512-CFJ5NDGJ2MUyBohEHxljOq/39NQ972rh1ajnadG9BjTk+UXbHLq4z5DKEbEQBDoIhUmmbuS/fIMJKo6VOax1HA==",
|
5113 |
+
"license": "MIT",
|
5114 |
+
"dependencies": {
|
5115 |
+
"@babel/runtime": "^7.22.5",
|
5116 |
+
"html-parse-stringify": "^3.0.1"
|
5117 |
+
},
|
5118 |
+
"peerDependencies": {
|
5119 |
+
"i18next": ">= 23.2.3",
|
5120 |
+
"react": ">= 16.8.0"
|
5121 |
+
},
|
5122 |
+
"peerDependenciesMeta": {
|
5123 |
+
"react-dom": {
|
5124 |
+
"optional": true
|
5125 |
+
},
|
5126 |
+
"react-native": {
|
5127 |
+
"optional": true
|
5128 |
+
}
|
5129 |
+
}
|
5130 |
+
},
|
5131 |
"node_modules/react-is": {
|
5132 |
"version": "16.13.1",
|
5133 |
"resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz",
|
|
|
6045 |
"punycode": "^2.1.0"
|
6046 |
}
|
6047 |
},
|
6048 |
+
"node_modules/void-elements": {
|
6049 |
+
"version": "3.1.0",
|
6050 |
+
"resolved": "https://registry.npmjs.org/void-elements/-/void-elements-3.1.0.tgz",
|
6051 |
+
"integrity": "sha512-Dhxzh5HZuiHQhbvTW9AMetFfBHDMYpo23Uo9btPXgdYP+3T5S+p+jgNy7spra+veYhBP2dCSgxR/i2Y02h5/6w==",
|
6052 |
+
"license": "MIT",
|
6053 |
+
"engines": {
|
6054 |
+
"node": ">=0.10.0"
|
6055 |
+
}
|
6056 |
+
},
|
6057 |
"node_modules/which": {
|
6058 |
"version": "2.0.2",
|
6059 |
"resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz",
|
frontend/src/app/components/SubmitForm.js
CHANGED
@@ -5,6 +5,7 @@ import { useRouter } from "next/navigation";
|
|
5 |
import ErrorMessage from "./ErrorMessage";
|
6 |
import {BACKEND_ADDRESS} from "@/app/resources/ResourcesPaths";
|
7 |
import { Trans } from 'react-i18next';
|
|
|
8 |
|
9 |
export default function SubmitForm() {
|
10 |
const { t } = useTranslation();
|
|
|
5 |
import ErrorMessage from "./ErrorMessage";
|
6 |
import {BACKEND_ADDRESS} from "@/app/resources/ResourcesPaths";
|
7 |
import { Trans } from 'react-i18next';
|
8 |
+
import BigBlueButton from "./BigBlueButton";
|
9 |
|
10 |
export default function SubmitForm() {
|
11 |
const { t } = useTranslation();
|
frontend/src/app/leaderboard/page.js
CHANGED
@@ -5,7 +5,8 @@ import {
|
|
5 |
normalizeBenchmarkName,
|
6 |
computeAverageScore,
|
7 |
} from "./util";
|
8 |
-
|
|
|
9 |
import {BACKEND_ADDRESS} from "@/app/resources/ResourcesPaths";
|
10 |
|
11 |
const allowedMetrics = [
|
|
|
5 |
normalizeBenchmarkName,
|
6 |
computeAverageScore,
|
7 |
} from "./util";
|
8 |
+
import {useTranslation} from "react-i18next";
|
9 |
+
import {useParams} from "next/navigation";
|
10 |
import {BACKEND_ADDRESS} from "@/app/resources/ResourcesPaths";
|
11 |
|
12 |
const allowedMetrics = [
|
frontend/src/app/page.js
CHANGED
@@ -1,5 +1,8 @@
|
|
|
|
|
|
1 |
import Link from "next/link";
|
2 |
import { Trans } from 'react-i18next';
|
|
|
3 |
|
4 |
export default function Home() {
|
5 |
const { t } = useTranslation();
|
|
|
1 |
+
'use client'
|
2 |
+
|
3 |
import Link from "next/link";
|
4 |
import { Trans } from 'react-i18next';
|
5 |
+
import { useTranslation } from 'react-i18next';
|
6 |
|
7 |
export default function Home() {
|
8 |
const { t } = useTranslation();
|
package-lock.json
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "colle",
|
3 |
+
"version": "1.0.0",
|
4 |
+
"lockfileVersion": 3,
|
5 |
+
"requires": true,
|
6 |
+
"packages": {
|
7 |
+
"": {
|
8 |
+
"name": "colle",
|
9 |
+
"version": "1.0.0",
|
10 |
+
"license": "ISC"
|
11 |
+
}
|
12 |
+
}
|
13 |
+
}
|