Spaces:
Running
Running
Commit ·
e6d14b2
1
Parent(s): 03c0019
Add React source and configure build command for static SDK
Browse files- README.md +1 -0
- build.ts +149 -0
- bun-env.d.ts +17 -0
- bun.lock +93 -0
- bunfig.toml +4 -0
- package.json +26 -0
- src/App.tsx +21 -0
- src/components/bsc-logo.png +0 -0
- src/components/citations.jsx +74 -0
- src/components/filters.jsx +651 -0
- src/components/header.jsx +91 -0
- src/components/hpai_logo_grad.png +0 -0
- src/components/leaderboard.jsx +9 -0
- src/components/leaderboard_table.jsx +158 -0
- src/components/metric_tooltips.tsx +54 -0
- src/components/turtle.svg +62 -0
- src/components/updates.jsx +61 -0
- src/components/updates_dialog.jsx +55 -0
- src/data/model_metadata.json +427 -0
- src/data/results_NotSoTiny-25-12.csv +14 -0
- src/data/results_icarus_november_2025.csv +70 -0
- src/data/results_verilator_november_2025.csv +70 -0
- src/frontend.tsx +20 -0
- src/index.css +50 -0
- src/index.html +12 -0
- src/index.ts +19 -0
- src/scripts/split-csv.ts +85 -0
- src/utils/dataLoader.ts +386 -0
- tsconfig.json +36 -0
README.md
CHANGED
|
@@ -5,6 +5,7 @@ colorFrom: gray
|
|
| 5 |
colorTo: green
|
| 6 |
sdk: static
|
| 7 |
app_file: dist/index.html
|
|
|
|
| 8 |
pinned: true
|
| 9 |
license: apache-2.0
|
| 10 |
short_description: A Unified Evaluation of LLMs for RTL Generation.
|
|
|
|
| 5 |
colorTo: green
|
| 6 |
sdk: static
|
| 7 |
app_file: dist/index.html
|
| 8 |
+
app_build_command: bun install && bun run build
|
| 9 |
pinned: true
|
| 10 |
license: apache-2.0
|
| 11 |
short_description: A Unified Evaluation of LLMs for RTL Generation.
|
build.ts
ADDED
|
@@ -0,0 +1,149 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env bun
|
| 2 |
+
import plugin from "bun-plugin-tailwind";
|
| 3 |
+
import { existsSync } from "fs";
|
| 4 |
+
import { rm } from "fs/promises";
|
| 5 |
+
import path from "path";
|
| 6 |
+
|
| 7 |
+
if (process.argv.includes("--help") || process.argv.includes("-h")) {
|
| 8 |
+
console.log(`
|
| 9 |
+
🏗️ Bun Build Script
|
| 10 |
+
|
| 11 |
+
Usage: bun run build.ts [options]
|
| 12 |
+
|
| 13 |
+
Common Options:
|
| 14 |
+
--outdir <path> Output directory (default: "dist")
|
| 15 |
+
--minify Enable minification (or --minify.whitespace, --minify.syntax, etc)
|
| 16 |
+
--sourcemap <type> Sourcemap type: none|linked|inline|external
|
| 17 |
+
--target <target> Build target: browser|bun|node
|
| 18 |
+
--format <format> Output format: esm|cjs|iife
|
| 19 |
+
--splitting Enable code splitting
|
| 20 |
+
--packages <type> Package handling: bundle|external
|
| 21 |
+
--public-path <path> Public path for assets
|
| 22 |
+
--env <mode> Environment handling: inline|disable|prefix*
|
| 23 |
+
--conditions <list> Package.json export conditions (comma separated)
|
| 24 |
+
--external <list> External packages (comma separated)
|
| 25 |
+
--banner <text> Add banner text to output
|
| 26 |
+
--footer <text> Add footer text to output
|
| 27 |
+
--define <obj> Define global constants (e.g. --define.VERSION=1.0.0)
|
| 28 |
+
--help, -h Show this help message
|
| 29 |
+
|
| 30 |
+
Example:
|
| 31 |
+
bun run build.ts --outdir=dist --minify --sourcemap=linked --external=react,react-dom
|
| 32 |
+
`);
|
| 33 |
+
process.exit(0);
|
| 34 |
+
}
|
| 35 |
+
|
| 36 |
+
const toCamelCase = (str: string): string => str.replace(/-([a-z])/g, g => g[1].toUpperCase());
|
| 37 |
+
|
| 38 |
+
const parseValue = (value: string): any => {
|
| 39 |
+
if (value === "true") return true;
|
| 40 |
+
if (value === "false") return false;
|
| 41 |
+
|
| 42 |
+
if (/^\d+$/.test(value)) return parseInt(value, 10);
|
| 43 |
+
if (/^\d*\.\d+$/.test(value)) return parseFloat(value);
|
| 44 |
+
|
| 45 |
+
if (value.includes(",")) return value.split(",").map(v => v.trim());
|
| 46 |
+
|
| 47 |
+
return value;
|
| 48 |
+
};
|
| 49 |
+
|
| 50 |
+
function parseArgs(): Partial<Bun.BuildConfig> {
|
| 51 |
+
const config: Partial<Bun.BuildConfig> = {};
|
| 52 |
+
const args = process.argv.slice(2);
|
| 53 |
+
|
| 54 |
+
for (let i = 0; i < args.length; i++) {
|
| 55 |
+
const arg = args[i];
|
| 56 |
+
if (arg === undefined) continue;
|
| 57 |
+
if (!arg.startsWith("--")) continue;
|
| 58 |
+
|
| 59 |
+
if (arg.startsWith("--no-")) {
|
| 60 |
+
const key = toCamelCase(arg.slice(5));
|
| 61 |
+
config[key] = false;
|
| 62 |
+
continue;
|
| 63 |
+
}
|
| 64 |
+
|
| 65 |
+
if (!arg.includes("=") && (i === args.length - 1 || args[i + 1]?.startsWith("--"))) {
|
| 66 |
+
const key = toCamelCase(arg.slice(2));
|
| 67 |
+
config[key] = true;
|
| 68 |
+
continue;
|
| 69 |
+
}
|
| 70 |
+
|
| 71 |
+
let key: string;
|
| 72 |
+
let value: string;
|
| 73 |
+
|
| 74 |
+
if (arg.includes("=")) {
|
| 75 |
+
[key, value] = arg.slice(2).split("=", 2) as [string, string];
|
| 76 |
+
} else {
|
| 77 |
+
key = arg.slice(2);
|
| 78 |
+
value = args[++i] ?? "";
|
| 79 |
+
}
|
| 80 |
+
|
| 81 |
+
key = toCamelCase(key);
|
| 82 |
+
|
| 83 |
+
if (key.includes(".")) {
|
| 84 |
+
const [parentKey, childKey] = key.split(".");
|
| 85 |
+
config[parentKey] = config[parentKey] || {};
|
| 86 |
+
config[parentKey][childKey] = parseValue(value);
|
| 87 |
+
} else {
|
| 88 |
+
config[key] = parseValue(value);
|
| 89 |
+
}
|
| 90 |
+
}
|
| 91 |
+
|
| 92 |
+
return config;
|
| 93 |
+
}
|
| 94 |
+
|
| 95 |
+
const formatFileSize = (bytes: number): string => {
|
| 96 |
+
const units = ["B", "KB", "MB", "GB"];
|
| 97 |
+
let size = bytes;
|
| 98 |
+
let unitIndex = 0;
|
| 99 |
+
|
| 100 |
+
while (size >= 1024 && unitIndex < units.length - 1) {
|
| 101 |
+
size /= 1024;
|
| 102 |
+
unitIndex++;
|
| 103 |
+
}
|
| 104 |
+
|
| 105 |
+
return `${size.toFixed(2)} ${units[unitIndex]}`;
|
| 106 |
+
};
|
| 107 |
+
|
| 108 |
+
console.log("\n🚀 Starting build process...\n");
|
| 109 |
+
|
| 110 |
+
const cliConfig = parseArgs();
|
| 111 |
+
const outdir = cliConfig.outdir || path.join(process.cwd(), "dist");
|
| 112 |
+
|
| 113 |
+
if (existsSync(outdir)) {
|
| 114 |
+
console.log(`🗑️ Cleaning previous build at ${outdir}`);
|
| 115 |
+
await rm(outdir, { recursive: true, force: true });
|
| 116 |
+
}
|
| 117 |
+
|
| 118 |
+
const start = performance.now();
|
| 119 |
+
|
| 120 |
+
const entrypoints = [...new Bun.Glob("**.html").scanSync("src")]
|
| 121 |
+
.map(a => path.resolve("src", a))
|
| 122 |
+
.filter(dir => !dir.includes("node_modules"));
|
| 123 |
+
console.log(`📄 Found ${entrypoints.length} HTML ${entrypoints.length === 1 ? "file" : "files"} to process\n`);
|
| 124 |
+
|
| 125 |
+
const result = await Bun.build({
|
| 126 |
+
entrypoints,
|
| 127 |
+
outdir,
|
| 128 |
+
plugins: [plugin],
|
| 129 |
+
minify: true,
|
| 130 |
+
target: "browser",
|
| 131 |
+
sourcemap: "linked",
|
| 132 |
+
define: {
|
| 133 |
+
"process.env.NODE_ENV": JSON.stringify("production"),
|
| 134 |
+
},
|
| 135 |
+
...cliConfig,
|
| 136 |
+
});
|
| 137 |
+
|
| 138 |
+
const end = performance.now();
|
| 139 |
+
|
| 140 |
+
const outputTable = result.outputs.map(output => ({
|
| 141 |
+
File: path.relative(process.cwd(), output.path),
|
| 142 |
+
Type: output.kind,
|
| 143 |
+
Size: formatFileSize(output.size),
|
| 144 |
+
}));
|
| 145 |
+
|
| 146 |
+
console.table(outputTable);
|
| 147 |
+
const buildTime = (end - start).toFixed(2);
|
| 148 |
+
|
| 149 |
+
console.log(`\n✅ Build completed in ${buildTime}ms\n`);
|
bun-env.d.ts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
// Generated by `bun init`
|
| 2 |
+
|
| 3 |
+
declare module "*.svg" {
|
| 4 |
+
/**
|
| 5 |
+
* A path to the SVG file
|
| 6 |
+
*/
|
| 7 |
+
const path: `${string}.svg`;
|
| 8 |
+
export = path;
|
| 9 |
+
}
|
| 10 |
+
|
| 11 |
+
declare module "*.module.css" {
|
| 12 |
+
/**
|
| 13 |
+
* A record of class names to their corresponding CSS module classes
|
| 14 |
+
*/
|
| 15 |
+
const classes: { readonly [key: string]: string };
|
| 16 |
+
export = classes;
|
| 17 |
+
}
|
bun.lock
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"lockfileVersion": 1,
|
| 3 |
+
"configVersion": 1,
|
| 4 |
+
"workspaces": {
|
| 5 |
+
"": {
|
| 6 |
+
"name": "bun-react-template",
|
| 7 |
+
"dependencies": {
|
| 8 |
+
"bun-plugin-tailwind": "^0.1.2",
|
| 9 |
+
"katex": "^0.16.28",
|
| 10 |
+
"papaparse": "^5.5.3",
|
| 11 |
+
"react": "^19",
|
| 12 |
+
"react-dom": "^19",
|
| 13 |
+
"react-katex": "^3.1.0",
|
| 14 |
+
"tailwindcss": "^4.1.11",
|
| 15 |
+
},
|
| 16 |
+
"devDependencies": {
|
| 17 |
+
"@types/bun": "latest",
|
| 18 |
+
"@types/papaparse": "^5.5.2",
|
| 19 |
+
"@types/react": "^19",
|
| 20 |
+
"@types/react-dom": "^19",
|
| 21 |
+
},
|
| 22 |
+
},
|
| 23 |
+
},
|
| 24 |
+
"packages": {
|
| 25 |
+
"@oven/bun-darwin-aarch64": ["@oven/bun-darwin-aarch64@1.3.4", "", { "os": "darwin", "cpu": "arm64" }, "sha512-2Ie4jDGvNGuPSD+pyyBKL8dJmX+bZfDNYEalwgROImVtwB1XYAatJK20dMaRlPA7jOhjvS9Io+4IZAJu7Js0AA=="],
|
| 26 |
+
|
| 27 |
+
"@oven/bun-darwin-x64": ["@oven/bun-darwin-x64@1.3.4", "", { "os": "darwin", "cpu": "x64" }, "sha512-4/BJojT8hk5g6Gecjn5yI7y96/+9Mtzsvdp9+2dcy9sTMdlV7jBvDzswqyJPZyQqw0F3HV3Vu9XuMubZwKd9lA=="],
|
| 28 |
+
|
| 29 |
+
"@oven/bun-darwin-x64-baseline": ["@oven/bun-darwin-x64-baseline@1.3.4", "", { "os": "darwin", "cpu": "x64" }, "sha512-ZYxzIOCDqylTMsnWYERjKMMuK2b4an4qbloBmUZTwLHmVzos00yrhtpitZhJBgH6yB/l4Q5eoJ2W98UKtFFeiQ=="],
|
| 30 |
+
|
| 31 |
+
"@oven/bun-linux-aarch64": ["@oven/bun-linux-aarch64@1.3.4", "", { "os": "linux", "cpu": "arm64" }, "sha512-8DUIlanftMdFxLGq2FxwKwfrp8O4ZofF/8Oc6lxCyEFmg2hixbHhL04+fPfJIi5D4hZloynxZdwTeDbGv/Kc4A=="],
|
| 32 |
+
|
| 33 |
+
"@oven/bun-linux-aarch64-musl": ["@oven/bun-linux-aarch64-musl@1.3.4", "", { "os": "linux", "cpu": "arm64" }, "sha512-6UtmM4wXgRKz+gnLZEfddfsuBSVQpJr09K12e5pbdnLzeWgXYlBT5FG8S7SVn1t6cbgBMnigEsFjWwfTuMNoCw=="],
|
| 34 |
+
|
| 35 |
+
"@oven/bun-linux-x64": ["@oven/bun-linux-x64@1.3.4", "", { "os": "linux", "cpu": "x64" }, "sha512-03iSDMqdrmIFAsvsRptq+A7EGNjkg20dNzPnqxAlXHk5rc1PeIRWIP0eIn0i3nI6mmdj33mimf9AGr0+d0lKMg=="],
|
| 36 |
+
|
| 37 |
+
"@oven/bun-linux-x64-baseline": ["@oven/bun-linux-x64-baseline@1.3.4", "", { "os": "linux", "cpu": "x64" }, "sha512-ZMGPbFPqmG/VYJv61D+Y1V7T23jPK57vYl7yYLakmkTRjG6vcJ0Akhb2qR1iW94rHvfEBjeuVDAZBp8Qp9oyWA=="],
|
| 38 |
+
|
| 39 |
+
"@oven/bun-linux-x64-musl": ["@oven/bun-linux-x64-musl@1.3.4", "", { "os": "linux", "cpu": "x64" }, "sha512-xUXPuJHndGhk4K3Cx1FgTyTgDZOn+ki3eWvdXYqKdfi0EaNA9KpUq+/vUtpJbZRjzpHs9L+OJcdDILq5H0LX4g=="],
|
| 40 |
+
|
| 41 |
+
"@oven/bun-linux-x64-musl-baseline": ["@oven/bun-linux-x64-musl-baseline@1.3.4", "", { "os": "linux", "cpu": "x64" }, "sha512-qsGSSlNsxiX8lAayK2uYCfMLtqu776F0nn7qoyzg9Ti7mElM3woNh7RtGClTwQ6qsp5/UvgqT9g4pLaDHmqJFg=="],
|
| 42 |
+
|
| 43 |
+
"@oven/bun-windows-x64": ["@oven/bun-windows-x64@1.3.4", "", { "os": "win32", "cpu": "x64" }, "sha512-nswsuN6+HZPim6x4tFpDFpMa/qpTKfywbGvCkzxwrbJO9MtpuW/54NA1nFbHhpV14OLU0xuxyBj2PK4FHq4MlA=="],
|
| 44 |
+
|
| 45 |
+
"@oven/bun-windows-x64-baseline": ["@oven/bun-windows-x64-baseline@1.3.4", "", { "os": "win32", "cpu": "x64" }, "sha512-ZQiSDFfSUdOrPTiL2GvkxlC/kMED4fsJwdZnwJK6S9ylXnk9xY/9ZXfe1615SFLQl2LsVRzJAtjQLeM0BifIKQ=="],
|
| 46 |
+
|
| 47 |
+
"@types/bun": ["@types/bun@1.3.4", "", { "dependencies": { "bun-types": "1.3.4" } }, "sha512-EEPTKXHP+zKGPkhRLv+HI0UEX8/o+65hqARxLy8Ov5rIxMBPNTjeZww00CIihrIQGEQBYg+0roO5qOnS/7boGA=="],
|
| 48 |
+
|
| 49 |
+
"@types/node": ["@types/node@25.0.1", "", { "dependencies": { "undici-types": "~7.16.0" } }, "sha512-czWPzKIAXucn9PtsttxmumiQ9N0ok9FrBwgRWrwmVLlp86BrMExzvXRLFYRJ+Ex3g6yqj+KuaxfX1JTgV2lpfg=="],
|
| 50 |
+
|
| 51 |
+
"@types/papaparse": ["@types/papaparse@5.5.2", "", { "dependencies": { "@types/node": "*" } }, "sha512-gFnFp/JMzLHCwRf7tQHrNnfhN4eYBVYYI897CGX4MY1tzY9l2aLkVyx2IlKZ/SAqDbB3I1AOZW5gTMGGsqWliA=="],
|
| 52 |
+
|
| 53 |
+
"@types/react": ["@types/react@19.2.7", "", { "dependencies": { "csstype": "^3.2.2" } }, "sha512-MWtvHrGZLFttgeEj28VXHxpmwYbor/ATPYbBfSFZEIRK0ecCFLl2Qo55z52Hss+UV9CRN7trSeq1zbgx7YDWWg=="],
|
| 54 |
+
|
| 55 |
+
"@types/react-dom": ["@types/react-dom@19.2.3", "", { "peerDependencies": { "@types/react": "^19.2.0" } }, "sha512-jp2L/eY6fn+KgVVQAOqYItbF0VY/YApe5Mz2F0aykSO8gx31bYCZyvSeYxCHKvzHG5eZjc+zyaS5BrBWya2+kQ=="],
|
| 56 |
+
|
| 57 |
+
"bun": ["bun@1.3.4", "", { "optionalDependencies": { "@oven/bun-darwin-aarch64": "1.3.4", "@oven/bun-darwin-x64": "1.3.4", "@oven/bun-darwin-x64-baseline": "1.3.4", "@oven/bun-linux-aarch64": "1.3.4", "@oven/bun-linux-aarch64-musl": "1.3.4", "@oven/bun-linux-x64": "1.3.4", "@oven/bun-linux-x64-baseline": "1.3.4", "@oven/bun-linux-x64-musl": "1.3.4", "@oven/bun-linux-x64-musl-baseline": "1.3.4", "@oven/bun-windows-x64": "1.3.4", "@oven/bun-windows-x64-baseline": "1.3.4" }, "os": [ "linux", "win32", "darwin", ], "cpu": [ "x64", "arm64", ], "bin": { "bun": "bin/bun.exe", "bunx": "bin/bunx.exe" } }, "sha512-xV6KgD5ImquuKsoghzbWmYzeCXmmSgN6yJGz444hri2W+NGKNRFUNrEhy9+/rRXbvNA2qF0K0jAwqFNy1/GhBg=="],
|
| 58 |
+
|
| 59 |
+
"bun-plugin-tailwind": ["bun-plugin-tailwind@0.1.2", "", { "peerDependencies": { "bun": ">=1.0.0" } }, "sha512-41jNC1tZRSK3s1o7pTNrLuQG8kL/0vR/JgiTmZAJ1eHwe0w5j6HFPKeqEk0WAD13jfrUC7+ULuewFBBCoADPpg=="],
|
| 60 |
+
|
| 61 |
+
"bun-types": ["bun-types@1.3.4", "", { "dependencies": { "@types/node": "*" } }, "sha512-5ua817+BZPZOlNaRgGBpZJOSAQ9RQ17pkwPD0yR7CfJg+r8DgIILByFifDTa+IPDDxzf5VNhtNlcKqFzDgJvlQ=="],
|
| 62 |
+
|
| 63 |
+
"commander": ["commander@8.3.0", "", {}, "sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww=="],
|
| 64 |
+
|
| 65 |
+
"csstype": ["csstype@3.2.3", "", {}, "sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ=="],
|
| 66 |
+
|
| 67 |
+
"js-tokens": ["js-tokens@4.0.0", "", {}, "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ=="],
|
| 68 |
+
|
| 69 |
+
"katex": ["katex@0.16.28", "", { "dependencies": { "commander": "^8.3.0" }, "bin": { "katex": "cli.js" } }, "sha512-YHzO7721WbmAL6Ov1uzN/l5mY5WWWhJBSW+jq4tkfZfsxmo1hu6frS0EOswvjBUnWE6NtjEs48SFn5CQESRLZg=="],
|
| 70 |
+
|
| 71 |
+
"loose-envify": ["loose-envify@1.4.0", "", { "dependencies": { "js-tokens": "^3.0.0 || ^4.0.0" }, "bin": { "loose-envify": "cli.js" } }, "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q=="],
|
| 72 |
+
|
| 73 |
+
"object-assign": ["object-assign@4.1.1", "", {}, "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg=="],
|
| 74 |
+
|
| 75 |
+
"papaparse": ["papaparse@5.5.3", "", {}, "sha512-5QvjGxYVjxO59MGU2lHVYpRWBBtKHnlIAcSe1uNFCkkptUh63NFRj0FJQm7nR67puEruUci/ZkjmEFrjCAyP4A=="],
|
| 76 |
+
|
| 77 |
+
"prop-types": ["prop-types@15.8.1", "", { "dependencies": { "loose-envify": "^1.4.0", "object-assign": "^4.1.1", "react-is": "^16.13.1" } }, "sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg=="],
|
| 78 |
+
|
| 79 |
+
"react": ["react@19.2.3", "", {}, "sha512-Ku/hhYbVjOQnXDZFv2+RibmLFGwFdeeKHFcOTlrt7xplBnya5OGn/hIRDsqDiSUcfORsDC7MPxwork8jBwsIWA=="],
|
| 80 |
+
|
| 81 |
+
"react-dom": ["react-dom@19.2.3", "", { "dependencies": { "scheduler": "^0.27.0" }, "peerDependencies": { "react": "^19.2.3" } }, "sha512-yELu4WmLPw5Mr/lmeEpox5rw3RETacE++JgHqQzd2dg+YbJuat3jH4ingc+WPZhxaoFzdv9y33G+F7Nl5O0GBg=="],
|
| 82 |
+
|
| 83 |
+
"react-is": ["react-is@16.13.1", "", {}, "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ=="],
|
| 84 |
+
|
| 85 |
+
"react-katex": ["react-katex@3.1.0", "", { "dependencies": { "katex": "^0.16.0" }, "peerDependencies": { "prop-types": "^15.8.1", "react": ">=15.3.2 <20" } }, "sha512-At9uLOkC75gwn2N+ZXc5HD8TlATsB+3Hkp9OGs6uA8tM3dwZ3Wljn74Bk3JyHFPgSnesY/EMrIAB1WJwqZqejA=="],
|
| 86 |
+
|
| 87 |
+
"scheduler": ["scheduler@0.27.0", "", {}, "sha512-eNv+WrVbKu1f3vbYJT/xtiF5syA5HPIMtf9IgY/nKg0sWqzAUEvqY/xm7OcZc/qafLx/iO9FgOmeSAp4v5ti/Q=="],
|
| 88 |
+
|
| 89 |
+
"tailwindcss": ["tailwindcss@4.1.18", "", {}, "sha512-4+Z+0yiYyEtUVCScyfHCxOYP06L5Ne+JiHhY2IjR2KWMIWhJOYZKLSGZaP5HkZ8+bY0cxfzwDE5uOmzFXyIwxw=="],
|
| 90 |
+
|
| 91 |
+
"undici-types": ["undici-types@7.16.0", "", {}, "sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw=="],
|
| 92 |
+
}
|
| 93 |
+
}
|
bunfig.toml
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
[serve.static]
|
| 3 |
+
plugins = ["bun-plugin-tailwind"]
|
| 4 |
+
env = "BUN_PUBLIC_*"
|
package.json
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "bun-react-template",
|
| 3 |
+
"version": "0.1.0",
|
| 4 |
+
"private": true,
|
| 5 |
+
"type": "module",
|
| 6 |
+
"scripts": {
|
| 7 |
+
"dev": "bun --hot src/index.ts",
|
| 8 |
+
"start": "NODE_ENV=production bun src/index.ts",
|
| 9 |
+
"build": "bun run build.ts"
|
| 10 |
+
},
|
| 11 |
+
"dependencies": {
|
| 12 |
+
"bun-plugin-tailwind": "^0.1.2",
|
| 13 |
+
"katex": "^0.16.28",
|
| 14 |
+
"papaparse": "^5.5.3",
|
| 15 |
+
"react": "^19",
|
| 16 |
+
"react-dom": "^19",
|
| 17 |
+
"react-katex": "^3.1.0",
|
| 18 |
+
"tailwindcss": "^4.1.11"
|
| 19 |
+
},
|
| 20 |
+
"devDependencies": {
|
| 21 |
+
"@types/bun": "latest",
|
| 22 |
+
"@types/papaparse": "^5.5.2",
|
| 23 |
+
"@types/react": "^19",
|
| 24 |
+
"@types/react-dom": "^19"
|
| 25 |
+
}
|
| 26 |
+
}
|
src/App.tsx
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import { TurtleLogo, TurtleButtons, TurtleIntro } from "./components/header";
|
| 2 |
+
import { Leaderboard } from "./components/leaderboard";
|
| 3 |
+
import { Citations } from "./components/citations";
|
| 4 |
+
import { UpdatesSection } from "./components/updates";
|
| 5 |
+
import "./index.css";
|
| 6 |
+
|
| 7 |
+
|
| 8 |
+
export function App() {
|
| 9 |
+
return (
|
| 10 |
+
<div className="mx-auto p-8 pt-2 text-center relative z-10">
|
| 11 |
+
<TurtleLogo />
|
| 12 |
+
<TurtleButtons />
|
| 13 |
+
<TurtleIntro />
|
| 14 |
+
<UpdatesSection />
|
| 15 |
+
<Leaderboard />
|
| 16 |
+
<Citations />
|
| 17 |
+
</div>
|
| 18 |
+
);
|
| 19 |
+
}
|
| 20 |
+
|
| 21 |
+
export default App;
|
src/components/bsc-logo.png
ADDED
|
src/components/citations.jsx
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import { useState } from "react";
|
| 2 |
+
|
| 3 |
+
export function Citations() {
|
| 4 |
+
return (
|
| 5 |
+
<div className="w-full flex justify-center px-4 pt-6">
|
| 6 |
+
<div className="flex flex-col gap-4 w-full max-w-6xl min-w-0">
|
| 7 |
+
<CitationAccordion
|
| 8 |
+
title="📘 Citation"
|
| 9 |
+
defaultOpen={false}
|
| 10 |
+
>
|
| 11 |
+
<pre className="p-3 rounded-lg overflow-x-auto text-left text-sm text-gray-400 w-full min-w-0" style={{ whiteSpace: 'pre-wrap', wordBreak: 'break-word' }}>
|
| 12 |
+
{`@inproceedings{garciagasulla2025turtleunifiedevaluationllms,
|
| 13 |
+
title={TuRTLe: A Unified Evaluation of LLMs for RTL Generation},
|
| 14 |
+
author={Dario Garcia-Gasulla and Gokcen Kestor and Emanuele Parisi and Miquel Albert\\'i-Binimelis and Cristian Gutierrez and Razine Moundir Ghorab and Orlando Montenegro and Bernat Homs and Miquel Moreto},
|
| 15 |
+
booktitle = {Proceedings of the 2025 ACM/IEEE International Symposium on Machine Learning for CAD},
|
| 16 |
+
series = {MLCAD '25}
|
| 17 |
+
year={2025},
|
| 18 |
+
publisher = {Association for Computing Machinery},
|
| 19 |
+
address = {New York, NY, USA},
|
| 20 |
+
location = {Santa Cruz, CA, USA},
|
| 21 |
+
url={https://arxiv.org/abs/2504.01986},
|
| 22 |
+
}`}
|
| 23 |
+
</pre>
|
| 24 |
+
</CitationAccordion>
|
| 25 |
+
|
| 26 |
+
<CitationAccordion
|
| 27 |
+
title="References"
|
| 28 |
+
defaultOpen={false}
|
| 29 |
+
>
|
| 30 |
+
<div className="p-2 rounded-lg text-left text-sm text-gray-300 space-y-3 w-full min-w-0" style={{ wordBreak: 'break-word', overflowWrap: 'break-word' }}>
|
| 31 |
+
<p className="break-words">• Claire Wolf and the YosysHQ contributors. Yosys Open SYnthesis Suite. <a href="https://yosyshq.net/yosys/" target="_blank" rel="noopener noreferrer" className="text-blue-400 hover:text-blue-300 underline">https://yosyshq.net/yosys/</a></p>
|
| 32 |
+
<p className="break-words">• Code Generation LM Evaluation Harness by the BigCode project</p>
|
| 33 |
+
<p className="break-words">• Williams, S. Icarus Verilog [Computer software]. <a href="https://github.com/steveicarus/iverilog" target="_blank" rel="noopener noreferrer" className="text-blue-400 hover:text-blue-300 underline">https://github.com/steveicarus/iverilog</a></p>
|
| 34 |
+
<p className="break-words">• Snyder, W., Wasson, P., Galbi, D., & et al. Verilator [Computer software]. <a href="https://github.com/verilator/verilator" target="_blank" rel="noopener noreferrer" className="text-blue-400 hover:text-blue-300 underline">https://github.com/verilator/verilator</a></p>
|
| 35 |
+
<p className="break-words">• <strong>RTL-Repo:</strong> Allam and M. Shalan, "Rtl-repo: A benchmark for evaluating llms on large-scale rtl design projects," in 2024 IEEE LLM Aided Design Workshop (LAD). IEEE, 2024, pp. 1–5.</p>
|
| 36 |
+
<p className="break-words">• <strong>VeriGen:</strong> S. Thakur, B. Ahmad, H. Pearce, B. Tan, B. Dolan-Gavitt, R. Karri, and S. Garg, "Verigen: A large language model for verilog code generation," ACM Transactions on Design Automation of Electronic Systems, vol. 29, no. 3, pp. 1–31, 2024.</p>
|
| 37 |
+
<p className="break-words">• <strong>VerilogEval (I):</strong> M. Liu, N. Pinckney, B. Khailany, and H. Ren, "Verilogeval: Evaluating large language models for verilog code generation," in 2023 IEEE/ACM International Conference on Computer Aided Design (ICCAD). IEEE, 2023, pp. 1–8.</p>
|
| 38 |
+
<p className="break-words">• <strong>VerilogEval (II):</strong> N. Pinckney, C. Batten, M. Liu, H. Ren, and B. Khailany, "Revisiting VerilogEval: A Year of Improvements in Large-Language Models for Hardware Code Generation," ACM Trans. Des. Autom. Electron. Syst., feb 2025. <a href="https://doi.org/10.1145/3718088" target="_blank" rel="noopener noreferrer" className="text-blue-400 hover:text-blue-300 underline">https://doi.org/10.1145/3718088</a></p>
|
| 39 |
+
<p className="break-words">• <strong>RTLLM:</strong> Y. Lu, S. Liu, Q. Zhang, and Z. Xie, "Rtllm: An open-source benchmark for design rtl generation with large language model," in 2024 29th Asia and South Pacific Design Automation Conference (ASP-DAC). IEEE, 2024, pp. 722–727.</p>
|
| 40 |
+
</div>
|
| 41 |
+
</CitationAccordion>
|
| 42 |
+
</div>
|
| 43 |
+
</div>
|
| 44 |
+
);
|
| 45 |
+
}
|
| 46 |
+
|
| 47 |
+
function CitationAccordion({ title, children, defaultOpen }) {
|
| 48 |
+
const [isOpen, setIsOpen] = useState(defaultOpen);
|
| 49 |
+
|
| 50 |
+
return (
|
| 51 |
+
<div className="w-full border border-gray-700 rounded-lg bg-gray-900/20 shadow-lg backdrop-blur-sm overflow-hidden">
|
| 52 |
+
<button
|
| 53 |
+
onClick={() => setIsOpen(!isOpen)}
|
| 54 |
+
className="w-full px-4 py-3 flex items-center justify-between text-left transition-colors cursor-pointer"
|
| 55 |
+
style={{ backgroundColor: '#1A212B' }}
|
| 56 |
+
>
|
| 57 |
+
<span className="text-sm font-normal text-gray-400">{title}</span>
|
| 58 |
+
<svg
|
| 59 |
+
className={`w-4 h-4 text-gray-500 transition-transform duration-200 ${isOpen ? 'rotate-180' : ''}`}
|
| 60 |
+
fill="none"
|
| 61 |
+
stroke="currentColor"
|
| 62 |
+
viewBox="0 0 24 24"
|
| 63 |
+
>
|
| 64 |
+
<path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M19 9l-7 7-7-7" />
|
| 65 |
+
</svg>
|
| 66 |
+
</button>
|
| 67 |
+
{isOpen && (
|
| 68 |
+
<div className="px-4 pb-4 pt-2 overflow-hidden">
|
| 69 |
+
{children}
|
| 70 |
+
</div>
|
| 71 |
+
)}
|
| 72 |
+
</div>
|
| 73 |
+
);
|
| 74 |
+
}
|
src/components/filters.jsx
ADDED
|
@@ -0,0 +1,651 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import { useEffect, useState } from "react";
|
| 2 |
+
import { loadLeaderboardData } from "../utils/dataLoader";
|
| 3 |
+
import { LeaderboardTable } from "./leaderboard_table";
|
| 4 |
+
import { InlineMath, BlockMath } from 'react-katex';
|
| 5 |
+
import 'katex/dist/katex.min.css';
|
| 6 |
+
import hpaiLogo from './hpai_logo_grad.png';
|
| 7 |
+
import bscLogo from './bsc-logo.png';
|
| 8 |
+
|
| 9 |
+
export function LeaderboardFilters() {
|
| 10 |
+
const [activeTab, setActiveTab] = useState("leaderboard");
|
| 11 |
+
const [metricsType, setMetricsType] = useState("s2r-cc");
|
| 12 |
+
const [selectedTask, setSelectedTask] = useState("Module Completion");
|
| 13 |
+
const [selectedBench, setSelectedBench] = useState("NotSoTiny");
|
| 14 |
+
const [selectedSimulator, setSelectedSimulator] = useState("YoSys EQV");
|
| 15 |
+
const [selectedModelTypes, setSelectedModelTypes] = useState([]);
|
| 16 |
+
const [includeDeprecated, setIncludeDeprecated] = useState(false);
|
| 17 |
+
const [maxParams, setMaxParams] = useState(1500);
|
| 18 |
+
const [searchQuery, setSearchQuery] = useState("");
|
| 19 |
+
const [leaderboardData, setLeaderboardData] = useState([]);
|
| 20 |
+
const [timelineRange, setTimelineRange] = useState([1, 2]);
|
| 21 |
+
|
| 22 |
+
const tasks = ["Spec-to-RTL", "Code Completion", "Module Completion", "Line Completion"];
|
| 23 |
+
const benchmarks = {
|
| 24 |
+
"Spec-to-RTL": ["All", "VerilogEval S2R", "RTLLM"],
|
| 25 |
+
"Code Completion": ["All", "VerilogEval MC", "VeriGen"],
|
| 26 |
+
"Module Completion": ["NotSoTiny"],
|
| 27 |
+
"Line Completion": ["RTL-Repo"],
|
| 28 |
+
};
|
| 29 |
+
const simulators = {
|
| 30 |
+
"Spec-to-RTL": ["Icarus Verilog", "Verilator"],
|
| 31 |
+
"Code Completion": ["Icarus Verilog", "Verilator"],
|
| 32 |
+
"Module Completion": ["YoSys EQV"],
|
| 33 |
+
"Line Completion": null, // no sims used
|
| 34 |
+
}
|
| 35 |
+
|
| 36 |
+
useEffect(() => {
|
| 37 |
+
const taskBenchmarks = benchmarks[selectedTask];
|
| 38 |
+
if (!taskBenchmarks.includes(selectedBench)) {
|
| 39 |
+
setSelectedBench(benchmarks[selectedTask][0])
|
| 40 |
+
}
|
| 41 |
+
}, [selectedTask])
|
| 42 |
+
|
| 43 |
+
useEffect(() => {
|
| 44 |
+
const taskSimulators = simulators[selectedTask];
|
| 45 |
+
if (taskSimulators === null) {
|
| 46 |
+
setSelectedSimulator(null);
|
| 47 |
+
} else if (!taskSimulators.includes(selectedSimulator)) {
|
| 48 |
+
setSelectedSimulator(taskSimulators[0]);
|
| 49 |
+
}
|
| 50 |
+
}, [selectedTask]);
|
| 51 |
+
|
| 52 |
+
useEffect(() => {
|
| 53 |
+
async function loadData() {
|
| 54 |
+
const data = await loadLeaderboardData(
|
| 55 |
+
selectedTask,
|
| 56 |
+
selectedBench,
|
| 57 |
+
selectedSimulator,
|
| 58 |
+
{
|
| 59 |
+
modelTypes: selectedModelTypes,
|
| 60 |
+
maxParams,
|
| 61 |
+
includeDeprecated,
|
| 62 |
+
searchQuery
|
| 63 |
+
}
|
| 64 |
+
);
|
| 65 |
+
setLeaderboardData(data);
|
| 66 |
+
}
|
| 67 |
+
loadData();
|
| 68 |
+
}, [selectedTask, selectedBench, selectedSimulator, selectedModelTypes, maxParams, includeDeprecated, searchQuery])
|
| 69 |
+
|
| 70 |
+
return (
|
| 71 |
+
<div className="w-full flex justify-center py-6 px-4 relative z-10">
|
| 72 |
+
<div className="flex flex-col gap-4">
|
| 73 |
+
{/* Tabs */}
|
| 74 |
+
<div className="flex gap-2 border-b border-gray-700">
|
| 75 |
+
<button
|
| 76 |
+
onClick={() => setActiveTab("leaderboard")}
|
| 77 |
+
className={`px-4 py-1 text-sm font-medium transition-colors border-b-2 cursor-pointer ${
|
| 78 |
+
activeTab === "leaderboard"
|
| 79 |
+
? "border-green-500 text-green-400"
|
| 80 |
+
: "border-transparent text-gray-400 hover:text-gray-300"
|
| 81 |
+
}`}
|
| 82 |
+
>
|
| 83 |
+
Leaderboard
|
| 84 |
+
</button>
|
| 85 |
+
<button
|
| 86 |
+
onClick={() => setActiveTab("metrics")}
|
| 87 |
+
className={`px-4 py-1 text-sm font-medium transition-colors border-b-2 cursor-pointer ${
|
| 88 |
+
activeTab === "metrics"
|
| 89 |
+
? "border-green-500 text-green-400"
|
| 90 |
+
: "border-transparent text-gray-400 hover:text-gray-300"
|
| 91 |
+
}`}
|
| 92 |
+
>
|
| 93 |
+
Metrics Info
|
| 94 |
+
</button>
|
| 95 |
+
<button
|
| 96 |
+
onClick={() => setActiveTab("about")}
|
| 97 |
+
className={`px-4 py-1 text-sm font-medium transition-colors border-b-2 cursor-pointer ${
|
| 98 |
+
activeTab === "about"
|
| 99 |
+
? "border-green-500 text-green-400"
|
| 100 |
+
: "border-transparent text-gray-400 hover:text-gray-300"
|
| 101 |
+
}`}
|
| 102 |
+
>
|
| 103 |
+
About
|
| 104 |
+
</button>
|
| 105 |
+
</div>
|
| 106 |
+
|
| 107 |
+
{activeTab === "about" ? (
|
| 108 |
+
<About />
|
| 109 |
+
) : activeTab === "leaderboard" ? (
|
| 110 |
+
<>
|
| 111 |
+
<div className="flex gap-4">
|
| 112 |
+
<TaskFilter tasks={tasks} selectedTask={selectedTask} setSelectedTask={setSelectedTask} />
|
| 113 |
+
<BenchmarkFilter benchmarks={benchmarks} selectedTask={selectedTask} selectedBench={selectedBench} setSelectedBench={setSelectedBench} />
|
| 114 |
+
<SimulatorFilter simulators={simulators} selectedTask={selectedTask} selectedSimulator={selectedSimulator} setSelectedSimulator={setSelectedSimulator} />
|
| 115 |
+
</div>
|
| 116 |
+
<div className="w-full border-1 border-gray-700 rounded-lg bg-gray-900/20 shadow-lg backdrop-blur-sm pt-3 pb-3 px-4">
|
| 117 |
+
<div className="flex justify-between items-end gap-4">
|
| 118 |
+
<ModelSearch searchQuery={searchQuery} setSearchQuery={setSearchQuery} />
|
| 119 |
+
<ModelTypeFilter selectedModelTypes={selectedModelTypes} setSelectedModelTypes={setSelectedModelTypes} />
|
| 120 |
+
<DeprecatedCheckbox includeDeprecated={includeDeprecated} setIncludeDeprecated={setIncludeDeprecated} />
|
| 121 |
+
<ParametersSlider maxParams={maxParams} setMaxParams={setMaxParams} />
|
| 122 |
+
</div>
|
| 123 |
+
</div>
|
| 124 |
+
{selectedTask === "Module Completion" ?
|
| 125 |
+
<div className="w-full border-1 border-gray-700 rounded-lg bg-gray-900/20 shadow-lg backdrop-blur-sm pt-3 pb-3 px-4">
|
| 126 |
+
<MultiRangeSlider />
|
| 127 |
+
</div>
|
| 128 |
+
: null}
|
| 129 |
+
<div className="mt-4">
|
| 130 |
+
<LeaderboardTable data={leaderboardData} task={selectedTask} />
|
| 131 |
+
</div>
|
| 132 |
+
<div className="flex text-xs text-gray-500 text-left mt-0 mx-1 w-full max-w-6xl min-w-0">
|
| 133 |
+
<span className="mr-1 flex-shrink-0">†</span>
|
| 134 |
+
<span className="break-words overflow-hidden">All open-source models were evaluated using our TuRTLe framework powered by vLLM v0 with sampling parameters temperature=0.2 and top_p=0.95, pass@1 with N=5 at the MareNostrum 5 supercomputer. For closed-source models, we relied on OpenRouter with a fixed provider.</span>
|
| 135 |
+
</div>
|
| 136 |
+
</>
|
| 137 |
+
) : (
|
| 138 |
+
<div className="w-full max-w-6xl min-w-6xl border-1 border-gray-700 rounded-lg bg-gray-900/20 shadow-lg backdrop-blur-sm overflow-hidden mt-4">
|
| 139 |
+
{/* Metrics Type Toggle */}
|
| 140 |
+
<div className="flex w-full border-b border-gray-700" style={{ backgroundColor: '#1A212B' }}>
|
| 141 |
+
<button
|
| 142 |
+
onClick={() => setMetricsType("s2r-cc")}
|
| 143 |
+
className={`flex-1 px-6 py-2 text-sm font-medium transition-colors cursor-pointer border-r border-gray-700 ${
|
| 144 |
+
metricsType === "s2r-cc"
|
| 145 |
+
? "bg-gray-700/30 text-white"
|
| 146 |
+
: "text-gray-400 hover:bg-gray-800/20"
|
| 147 |
+
}`}
|
| 148 |
+
>
|
| 149 |
+
Spec-to-RTL & Code Completion
|
| 150 |
+
<div className="text-xs text-gray-500 mt-1">VerilogEval, RTLLM, VeriGen</div>
|
| 151 |
+
</button>
|
| 152 |
+
<button
|
| 153 |
+
onClick={() => setMetricsType("notsotiny")}
|
| 154 |
+
className={`flex-1 px-6 py-2 text-sm font-medium transition-colors cursor-pointer border-r border-gray-700 ${
|
| 155 |
+
metricsType === "notsotiny"
|
| 156 |
+
? "bg-gray-700/30 text-white"
|
| 157 |
+
: "text-gray-400 hover:bg-gray-800/20"
|
| 158 |
+
}`}
|
| 159 |
+
>
|
| 160 |
+
Module Completion
|
| 161 |
+
<div className="text-xs text-gray-500 mt-1">NotSoTiny</div>
|
| 162 |
+
</button>
|
| 163 |
+
<button
|
| 164 |
+
onClick={() => setMetricsType("rtlrepo")}
|
| 165 |
+
className={`flex-1 px-6 py-2 text-sm font-medium transition-colors cursor-pointer ${
|
| 166 |
+
metricsType === "rtlrepo"
|
| 167 |
+
? "bg-gray-700/30 text-white"
|
| 168 |
+
: "text-gray-400 hover:bg-gray-800/20"
|
| 169 |
+
}`}
|
| 170 |
+
>
|
| 171 |
+
Single Line Completion
|
| 172 |
+
<div className="text-xs text-gray-500 mt-1">RTL-Repo</div>
|
| 173 |
+
</button>
|
| 174 |
+
</div>
|
| 175 |
+
|
| 176 |
+
{/* Metrics Content */}
|
| 177 |
+
<div className="p-6">
|
| 178 |
+
{metricsType === "s2r-cc" ? (
|
| 179 |
+
<S2RCCMetrics />
|
| 180 |
+
) : metricsType === "notsotiny" ? (
|
| 181 |
+
<NotSoTinyMetrics />
|
| 182 |
+
) : (
|
| 183 |
+
<RTLRepoMetrics />
|
| 184 |
+
)}
|
| 185 |
+
</div>
|
| 186 |
+
</div>
|
| 187 |
+
)}
|
| 188 |
+
</div>
|
| 189 |
+
</div>
|
| 190 |
+
)
|
| 191 |
+
};
|
| 192 |
+
|
| 193 |
+
export function ModelSearch({ searchQuery, setSearchQuery }) {
|
| 194 |
+
return (
|
| 195 |
+
<div className="flex flex-col gap-2 backdrop-blur-sm">
|
| 196 |
+
<p className="text-xs font-semibold text-gray-400 capitalize tracking-wide text-left">
|
| 197 |
+
Select Model
|
| 198 |
+
</p>
|
| 199 |
+
<div>
|
| 200 |
+
<form className="max-w-sm" onSubmit={(e) => e.preventDefault()}>
|
| 201 |
+
<label htmlFor="search" className="block mb-2 text-xs font-medium text-gray-800 sr-only">Type model name...</label>
|
| 202 |
+
<div className="relative">
|
| 203 |
+
<div className="absolute inset-y-0 start-0 flex items-center ps-3 pointer-events-none">
|
| 204 |
+
<svg className="w-4 h-4 text-body" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" strokeLinecap="round" strokeWidth="2" d="m21 21-3.5-3.5M17 10a7 7 0 1 1-14 0 7 7 0 0 1 14 0Z" /></svg>
|
| 205 |
+
</div>
|
| 206 |
+
<input
|
| 207 |
+
type="search"
|
| 208 |
+
id="search"
|
| 209 |
+
value={searchQuery}
|
| 210 |
+
onChange={(e) => setSearchQuery(e.target.value)}
|
| 211 |
+
className="block w-full px-3 py-2 ps-9 bg-neutral-secondary-medium border border-gray-600 rounded-xl text-heading text-sm rounded-base focus:ring-brand focus:border-brand shadow-xs placeholder:text-gray-400/40"
|
| 212 |
+
placeholder="Type model name..."
|
| 213 |
+
/>
|
| 214 |
+
</div>
|
| 215 |
+
</form>
|
| 216 |
+
</div>
|
| 217 |
+
</div>
|
| 218 |
+
)
|
| 219 |
+
}
|
| 220 |
+
|
| 221 |
+
export function DeprecatedCheckbox({ includeDeprecated, setIncludeDeprecated }) {
|
| 222 |
+
return (
|
| 223 |
+
<div className="flex flex-col gap-2 backdrop-blur-sm">
|
| 224 |
+
<p className="text-xs font-semibold text-gray-400 capitalize tracking-wide text-left">
|
| 225 |
+
Deprecated Models
|
| 226 |
+
</p>
|
| 227 |
+
<label className="px-3 py-2 rounded-lg border cursor-pointer transition-all duration-200 flex items-center gap-2 border-gray-700 bg-transparent text-gray-300 hover:border-gray-600 hover:bg-gray-800/30" >
|
| 228 |
+
<input
|
| 229 |
+
type="checkbox"
|
| 230 |
+
checked={includeDeprecated}
|
| 231 |
+
onChange={(e) => setIncludeDeprecated(e.target.checked)}
|
| 232 |
+
className="w-4 h-4 rounded border-gray-600 bg-gray-700 text-brand focus:ring-brand focus:ring-offset-gray-900 cursor-pointer"
|
| 233 |
+
/>
|
| 234 |
+
<span className="text-sm whitespace-nowrap">Include deprecated</span>
|
| 235 |
+
</label>
|
| 236 |
+
</div>
|
| 237 |
+
);
|
| 238 |
+
}
|
| 239 |
+
|
| 240 |
+
export function ParametersSlider({ maxParams, setMaxParams }) {
|
| 241 |
+
return (
|
| 242 |
+
<div className="flex flex-col backdrop-blur-sm min-w-[220px]">
|
| 243 |
+
<div className="flex justify-between items-center mb-2">
|
| 244 |
+
<p className="text-xs font-semibold text-gray-400 capitalize tracking-wide text-left relative pb-2">
|
| 245 |
+
Parameters
|
| 246 |
+
</p>
|
| 247 |
+
<p className="text-xs font-semibold text-gray-300">
|
| 248 |
+
{maxParams === 1500 ? "All" : `< ${maxParams}B`}
|
| 249 |
+
</p>
|
| 250 |
+
</div>
|
| 251 |
+
<input
|
| 252 |
+
type="range"
|
| 253 |
+
min="0"
|
| 254 |
+
max="1500"
|
| 255 |
+
step="25"
|
| 256 |
+
value={maxParams}
|
| 257 |
+
onChange={(e) => setMaxParams(Number(e.target.value))}
|
| 258 |
+
className="w-full h-4 bg-gray-500 rounded-lg appearance-none cursor-pointer accent-brand mb-3"
|
| 259 |
+
style={{
|
| 260 |
+
background: `linear-gradient(to right, rgb(95, 100, 107) 0%, rgb(95, 100, 107) ${(maxParams / 1500) * 100}%, rgb(55, 65, 81) ${(maxParams / 1500) * 100}%, rgb(55, 65, 81) 100%)`
|
| 261 |
+
}}
|
| 262 |
+
/>
|
| 263 |
+
</div>
|
| 264 |
+
);
|
| 265 |
+
}
|
| 266 |
+
|
| 267 |
+
export function ModelTypeFilter({ selectedModelTypes, setSelectedModelTypes }) {
|
| 268 |
+
const modelTypes = [
|
| 269 |
+
{ name: "General", color: "bg-yellow-500/10 border-yellow-500/30 hover:bg-yellow-500/20 text-yellow-200" },
|
| 270 |
+
{ name: "Coding", color: "bg-blue-500/10 border-blue-500/30 hover:bg-blue-500/20 text-blue-200" },
|
| 271 |
+
{ name: "RTL-Specific", color: "bg-green-500/10 border-green-500/30 hover:bg-green-500/20 text-green-200" },
|
| 272 |
+
{ name: "Reasoning", color: "bg-purple-500/10 border-purple-500/30 hover:bg-purple-500/20 text-purple-200" }
|
| 273 |
+
];
|
| 274 |
+
|
| 275 |
+
const showColors = selectedModelTypes.length > 0;
|
| 276 |
+
|
| 277 |
+
const toggleModelType = (name) => {
|
| 278 |
+
if (selectedModelTypes.includes(name)) {
|
| 279 |
+
setSelectedModelTypes(selectedModelTypes.filter(type => type !== name));
|
| 280 |
+
} else {
|
| 281 |
+
setSelectedModelTypes([name]);
|
| 282 |
+
}
|
| 283 |
+
};
|
| 284 |
+
|
| 285 |
+
return (
|
| 286 |
+
<div className="flex flex-col gap-2 backdrop-blur-sm">
|
| 287 |
+
<p className="text-xs font-semibold text-gray-400 capitalize tracking-wide text-left">
|
| 288 |
+
Select Model Type
|
| 289 |
+
</p>
|
| 290 |
+
<div className="flex flex-row gap-2 flex-wrap">
|
| 291 |
+
{modelTypes.map(({ name, color }) => {
|
| 292 |
+
const isSelected = selectedModelTypes.includes(name);
|
| 293 |
+
return (
|
| 294 |
+
<label
|
| 295 |
+
key={name}
|
| 296 |
+
className={`
|
| 297 |
+
px-3 py-1.5 rounded-lg border cursor-pointer transition-all duration-200
|
| 298 |
+
${isSelected
|
| 299 |
+
? showColors
|
| 300 |
+
? `${color} border-opacity-60`
|
| 301 |
+
: 'border-gray-500 bg-gray-700/50 text-white shadow-lg'
|
| 302 |
+
: 'border-gray-700 bg-transparent text-gray-300 hover:border-gray-600 hover:bg-gray-800/30'
|
| 303 |
+
}
|
| 304 |
+
`}
|
| 305 |
+
>
|
| 306 |
+
<input
|
| 307 |
+
type="checkbox"
|
| 308 |
+
name="modelType"
|
| 309 |
+
value={name}
|
| 310 |
+
checked={isSelected}
|
| 311 |
+
onChange={() => toggleModelType(name)}
|
| 312 |
+
className="sr-only"
|
| 313 |
+
/>
|
| 314 |
+
<span className="text-sm whitespace-nowrap">{name}</span>
|
| 315 |
+
</label>
|
| 316 |
+
);
|
| 317 |
+
})}
|
| 318 |
+
</div>
|
| 319 |
+
</div>
|
| 320 |
+
);
|
| 321 |
+
}
|
| 322 |
+
|
| 323 |
+
export function TaskFilter({ tasks, selectedTask, setSelectedTask }) {
|
| 324 |
+
return (
|
| 325 |
+
<FilterComponent
|
| 326 |
+
filterName="task"
|
| 327 |
+
elements={tasks}
|
| 328 |
+
selectedElement={selectedTask}
|
| 329 |
+
setSelectedElement={setSelectedTask} />
|
| 330 |
+
)
|
| 331 |
+
}
|
| 332 |
+
|
| 333 |
+
export function BenchmarkFilter({ benchmarks, selectedTask, selectedBench, setSelectedBench }) {
|
| 334 |
+
const taskBenches = benchmarks[selectedTask];
|
| 335 |
+
|
| 336 |
+
return (
|
| 337 |
+
<div className="min-w-[300px]">
|
| 338 |
+
<FilterComponent
|
| 339 |
+
filterName="benchmark"
|
| 340 |
+
elements={taskBenches}
|
| 341 |
+
selectedElement={selectedBench}
|
| 342 |
+
setSelectedElement={setSelectedBench} />
|
| 343 |
+
</div>
|
| 344 |
+
)
|
| 345 |
+
}
|
| 346 |
+
|
| 347 |
+
export function SimulatorFilter({ simulators, selectedTask, selectedSimulator, setSelectedSimulator }) {
|
| 348 |
+
var available_sims = simulators[selectedTask];
|
| 349 |
+
const disabled = available_sims === null
|
| 350 |
+
|
| 351 |
+
if (available_sims === null) {
|
| 352 |
+
// we do this to show something in the case of rtlrepo
|
| 353 |
+
var available_sims = ["Icarus Verilog", "Verilator"];
|
| 354 |
+
}
|
| 355 |
+
|
| 356 |
+
|
| 357 |
+
return (
|
| 358 |
+
<div className="min-w-[250px]">
|
| 359 |
+
<FilterComponent
|
| 360 |
+
filterName="simulator"
|
| 361 |
+
elements={available_sims || []}
|
| 362 |
+
selectedElement={selectedSimulator}
|
| 363 |
+
setSelectedElement={setSelectedSimulator}
|
| 364 |
+
disabled={disabled} />
|
| 365 |
+
</div>
|
| 366 |
+
)
|
| 367 |
+
}
|
| 368 |
+
|
| 369 |
+
export function FilterComponent({ filterName, elements, selectedElement, setSelectedElement, disabled = false }) {
|
| 370 |
+
return (
|
| 371 |
+
<div className="flex flex-col gap-2 p-3 border-1 border-gray-700 rounded-lg bg-gray-900/20 shadow-lg backdrop-blur-sm">
|
| 372 |
+
<p className="text-xs font-semibold text-gray-400 capitalize tracking-wide text-left">
|
| 373 |
+
Select {filterName}
|
| 374 |
+
</p>
|
| 375 |
+
|
| 376 |
+
<div className="flex flex-row gap-1.5">
|
| 377 |
+
{
|
| 378 |
+
elements.map(element => {
|
| 379 |
+
const isSelected = selectedElement === element;
|
| 380 |
+
return (
|
| 381 |
+
<label
|
| 382 |
+
key={element}
|
| 383 |
+
className={`
|
| 384 |
+
px-3 py-1.5 rounded-lg border-2 cursor-pointer transition-all duration-200
|
| 385 |
+
${disabled
|
| 386 |
+
? 'border-gray-700 bg-gray-800/30 text-gray-600 cursor-not-allowed'
|
| 387 |
+
: isSelected
|
| 388 |
+
? 'border-gray-500 bg-gray-700/50 text-white shadow-lg'
|
| 389 |
+
: 'border-gray-700 bg-transparent text-gray-300 hover:border-gray-600 hover:bg-gray-800/30'
|
| 390 |
+
}
|
| 391 |
+
`}
|
| 392 |
+
>
|
| 393 |
+
<input
|
| 394 |
+
type="radio"
|
| 395 |
+
name={filterName}
|
| 396 |
+
value={element}
|
| 397 |
+
checked={isSelected}
|
| 398 |
+
onChange={() => { if (!disabled) setSelectedElement(element) }}
|
| 399 |
+
disabled={disabled}
|
| 400 |
+
className="sr-only"
|
| 401 |
+
/>
|
| 402 |
+
<span className="text-sm whitespace-nowrap">{element}</span>
|
| 403 |
+
</label>
|
| 404 |
+
);
|
| 405 |
+
})
|
| 406 |
+
}
|
| 407 |
+
</div>
|
| 408 |
+
</div>
|
| 409 |
+
)
|
| 410 |
+
}
|
| 411 |
+
|
| 412 |
+
export function MultiRangeSlider({ }) {
|
| 413 |
+
|
| 414 |
+
return (
|
| 415 |
+
<div className="w-full flex flex-col items-center gap-3">
|
| 416 |
+
<div className="w-full flex justify-between relative">
|
| 417 |
+
<div className="absolute top-[24.5px] left-7 right-7 h-[1px] bg-gray-600"></div>
|
| 418 |
+
<div className="flex flex-col items-center z-10">
|
| 419 |
+
<span className="text-xs text-gray-400">Dec 2025</span>
|
| 420 |
+
<span className="text-xs text-gray-400">|</span>
|
| 421 |
+
</div>
|
| 422 |
+
<div className="flex flex-col items-center z-10">
|
| 423 |
+
<span className="text-xs text-gray-400">Jan 2026</span>
|
| 424 |
+
<span className="text-xs text-gray-400">|</span>
|
| 425 |
+
</div>
|
| 426 |
+
<div className="flex flex-col items-center z-10">
|
| 427 |
+
<span className="text-xs text-gray-400">Feb 2026</span>
|
| 428 |
+
<span className="text-xs text-gray-400">|</span>
|
| 429 |
+
</div>
|
| 430 |
+
<div className="flex flex-col items-center z-10">
|
| 431 |
+
<span className="text-xs text-gray-400">Mar 2026</span>
|
| 432 |
+
<span className="text-xs text-gray-400">|</span>
|
| 433 |
+
</div>
|
| 434 |
+
</div>
|
| 435 |
+
</div>
|
| 436 |
+
);
|
| 437 |
+
}
|
| 438 |
+
|
| 439 |
+
function About() {
|
| 440 |
+
return (
|
| 441 |
+
<div className="w-full max-w-6xl min-w-6xl border-1 border-gray-700 rounded-lg bg-gray-900/20 shadow-lg backdrop-blur-sm p-8 mt-4">
|
| 442 |
+
<div className="text-gray-300 space-y-6 text-left">
|
| 443 |
+
{/* Logos */}
|
| 444 |
+
<div className="flex items-center justify-center gap-8 mb-8">
|
| 445 |
+
<div className="bg-white p-6 rounded-lg">
|
| 446 |
+
<img src={hpaiLogo} alt="HPAI Group Logo" className="h-32" />
|
| 447 |
+
</div>
|
| 448 |
+
<div className="bg-white p-6 rounded-lg">
|
| 449 |
+
<img src={bscLogo} alt="BSC Logo" className="h-32" />
|
| 450 |
+
</div>
|
| 451 |
+
</div>
|
| 452 |
+
|
| 453 |
+
{/* Description */}
|
| 454 |
+
<div>
|
| 455 |
+
<p className="text-sm leading-relaxed mb-6">
|
| 456 |
+
The High-Performance Artificial Intelligence (HPAI) group is part of the Barcelona Supercomputing Center (BSC). This leaderboard is maintained by HPAI as part of our commitment to open science.
|
| 457 |
+
</p>
|
| 458 |
+
|
| 459 |
+
{/* Links */}
|
| 460 |
+
<ul className="list-disc list-inside text-sm space-y-2 mb-6 ml-4">
|
| 461 |
+
<li>
|
| 462 |
+
<a
|
| 463 |
+
href="https://hpai.bsc.es"
|
| 464 |
+
target="_blank"
|
| 465 |
+
rel="noopener noreferrer"
|
| 466 |
+
className="text-blue-400 hover:text-blue-300 underline"
|
| 467 |
+
>
|
| 468 |
+
HPAI Website
|
| 469 |
+
</a>
|
| 470 |
+
</li>
|
| 471 |
+
<li>
|
| 472 |
+
<a
|
| 473 |
+
href="https://github.com/HPAI-BSC"
|
| 474 |
+
target="_blank"
|
| 475 |
+
rel="noopener noreferrer"
|
| 476 |
+
className="text-blue-400 hover:text-blue-300 underline"
|
| 477 |
+
>
|
| 478 |
+
HPAI GitHub Organization Page
|
| 479 |
+
</a>
|
| 480 |
+
</li>
|
| 481 |
+
<li>
|
| 482 |
+
<a
|
| 483 |
+
href="https://huggingface.co/HPAI-BSC"
|
| 484 |
+
target="_blank"
|
| 485 |
+
rel="noopener noreferrer"
|
| 486 |
+
className="text-blue-400 hover:text-blue-300 underline"
|
| 487 |
+
>
|
| 488 |
+
HPAI Hugging Face Organization Page
|
| 489 |
+
</a>
|
| 490 |
+
</li>
|
| 491 |
+
</ul>
|
| 492 |
+
|
| 493 |
+
{/* Contact */}
|
| 494 |
+
<div>
|
| 495 |
+
<p className="text-sm text-gray-400 mb-2">Feel free to contact us:</p>
|
| 496 |
+
<p className="text-sm">
|
| 497 |
+
Email: <a href="mailto:hpai@bsc.es" className="text-blue-400 hover:text-blue-300 underline">hpai@bsc.es</a>
|
| 498 |
+
</p>
|
| 499 |
+
</div>
|
| 500 |
+
</div>
|
| 501 |
+
</div>
|
| 502 |
+
</div>
|
| 503 |
+
);
|
| 504 |
+
}
|
| 505 |
+
|
| 506 |
+
function S2RCCMetrics() {
|
| 507 |
+
return (
|
| 508 |
+
<div className="text-gray-300 space-y-6 text-left">
|
| 509 |
+
<p className="text-sm leading-relaxed">
|
| 510 |
+
Given a benchmark with <InlineMath>n</InlineMath> problems, the TuRTLe framework generates <InlineMath>m=5</InlineMath> candidate solutions for each. Then, each generation is processed sequentially through the evaluation pipeline: Syntax Correctness (STX), Functional Correctness (FNC), Synthesizability (SYN), and Post-Synthesis Quality (PSQ). Each stage only processes results that passed the previous one, and <strong>failures in previous stages are reported as automatic fails in the next ones</strong>, creating a cascade score where STX <InlineMath>\ge</InlineMath> FNC <InlineMath>\ge</InlineMath> SYN. It could happen that SYN <InlineMath><</InlineMath> PSQ because we contemplate the possibility of having PSQ better than the human reference (even though it is highly unlikely).
|
| 511 |
+
</p>
|
| 512 |
+
|
| 513 |
+
<div>
|
| 514 |
+
<h3 className="text-lg font-semibold text-gray-200 mb-3">Tools for the Evaluation</h3>
|
| 515 |
+
<p className="text-sm leading-relaxed">
|
| 516 |
+
STX is evaluated by compiling a design along with its testbench using <strong>Icarus Verilog</strong> and checking for errors. If no errors are issued at compile time, FNC is evaluated by running the simulation executable generated by the compiler and checking if the testbench passes. Functionally correct codes are tested for SYN, by elaborating the design with <strong>OpenLANE (Yosys)</strong>.
|
| 517 |
+
</p>
|
| 518 |
+
<p className="text-sm leading-relaxed mt-3">
|
| 519 |
+
For those designs that pass SYN, PSQ is measured with the PPA report, which is computed by using <strong>OpenLANE</strong> to synthesize the code into a netlist. Designs are synthesized using the SKY130A open-source PDK with a <InlineMath>10ns</InlineMath> delay constraint. We extract area and power directly from the PPA report and evaluate performance based on maximum delay, defined as the difference between the clock period and the worst slack reported by static timing analysis. In this way, all three PPA metrics are represented as positive numbers, where 0 represents the minimum possible value, leaving the maximum unbounded.
|
| 520 |
+
</p>
|
| 521 |
+
</div>
|
| 522 |
+
|
| 523 |
+
<div>
|
| 524 |
+
<h3 className="text-lg font-semibold text-gray-200 mb-3">Compute Metrics</h3>
|
| 525 |
+
<p className="text-sm leading-relaxed">
|
| 526 |
+
Since STX, FNC and SYN are binary evaluations, pass or fail, their score is computed using Pass@1. Remember that failures in previous stages are reported as automatic fails in the next ones.
|
| 527 |
+
</p>
|
| 528 |
+
<p className="text-sm leading-relaxed mt-3">
|
| 529 |
+
On the other hand, PPA is represented as real values that must be evaluated against a golden solution (crafted by humans in our case). Therefore, we need to introduce a new formulation that takes this into account.
|
| 530 |
+
</p>
|
| 531 |
+
</div>
|
| 532 |
+
|
| 533 |
+
<div>
|
| 534 |
+
<h3 className="text-lg font-semibold text-gray-200 mb-3">PPA-Score</h3>
|
| 535 |
+
<p className="text-sm leading-relaxed mb-3">
|
| 536 |
+
Let <InlineMath>{String.raw`p_{i,j}`}</InlineMath> represent the PPA metric (power, performance, or area) from the LLM for candidate <InlineMath>j</InlineMath> of problem <InlineMath>i</InlineMath>. We compute a score for each generation (represented as <InlineMath>{String.raw`\hat{p}_{i,j}`}</InlineMath>) computed according to the following steps:
|
| 537 |
+
</p>
|
| 538 |
+
<ul className="list-disc list-inside text-sm space-y-2 ml-4">
|
| 539 |
+
<li>Each <InlineMath>{String.raw`p_{i,j}`}</InlineMath> is compared against the corresponding PPA value <InlineMath>g_i</InlineMath> of the golden solution. For that, instead of aggregating <InlineMath>{String.raw`p_{i,j}`}</InlineMath> we compute <InlineMath>{String.raw`p_{i,j}/g_i \in (0,+\infty)`}</InlineMath>.</li>
|
| 540 |
+
<li>For generations that do not pass STX, FNC and SYN evaluations, <InlineMath>{String.raw`p_{i,j}`}</InlineMath> cannot be computed. As a result, we set a failure value of <InlineMath>{String.raw`2 \cdot g_i`}</InlineMath> (e.g. producing a design two times bigger than the human reference in the case of the area metric). This approach also requires us to clip results that pass the previous evaluations but perform worse than this threshold.</li>
|
| 541 |
+
<li>We flip the result so that the metric behaves as the rest of the goals STX, FNC, and SYN (higher is better).</li>
|
| 542 |
+
</ul>
|
| 543 |
+
<p className="text-sm leading-relaxed mt-3">
|
| 544 |
+
The resulting score <InlineMath>{String.raw`\hat{p}_{i,j}`}</InlineMath> of generation <InlineMath>j</InlineMath> for problem <InlineMath>i</InlineMath> is defined as
|
| 545 |
+
</p>
|
| 546 |
+
<div className="bg-gray-800/50 p-4 rounded-lg mt-4 text-left">
|
| 547 |
+
<BlockMath>{String.raw`\hat{p}_{i,j} = \begin{cases} 2 - \min(p_{i,j}/g_i, 2) & \text{if } p_{i,j} \text{ exists} \\ 0 & \text{otherwise} \end{cases}`}</BlockMath>
|
| 548 |
+
</div>
|
| 549 |
+
<p className="text-sm leading-relaxed mt-3">which has the following interpretation:</p>
|
| 550 |
+
<ul className="list-disc list-inside text-sm space-y-2 ml-4 mt-2">
|
| 551 |
+
<li><InlineMath>{String.raw`\hat{p}_{i,j} = 0`}</InlineMath>: means that the generation has not passed the previous stages, or that it requires twice or more the area, the power, or the delay (performance), when compared to the human reference.</li>
|
| 552 |
+
<li><InlineMath>{String.raw`\hat{p}_{i,j} = 1`}</InlineMath>: are designs with an area, power, or performance equal to that of the human reference.</li>
|
| 553 |
+
<li><InlineMath>{String.raw`\hat{p}_{i,j} = 2`}</InlineMath>: can only be obtained by chips which occupy no space, execute in no time, or consume no energy (perfect, but impossible to achieve).</li>
|
| 554 |
+
</ul>
|
| 555 |
+
<p className="text-sm leading-relaxed mt-3">
|
| 556 |
+
The final formula considering all generations of an LLM for a given benchmark is just the average of these scores:
|
| 557 |
+
</p>
|
| 558 |
+
<div className="bg-gray-800/50 p-4 rounded-lg mt-2 text-left">
|
| 559 |
+
<BlockMath>{String.raw`x\text{-score} = \left[\frac{1}{n \cdot m} \sum_{i=1}^n \sum_{j=1}^m \hat{p}_{i,j}\right] \cdot 100`}</BlockMath>
|
| 560 |
+
</div>
|
| 561 |
+
<p className="text-sm leading-relaxed mt-3">
|
| 562 |
+
where <InlineMath>{String.raw`x \in \{\text{Power, Performance, Area}\}`}</InlineMath>. Finally, we define the PPA-score as the average of these three metrics.
|
| 563 |
+
</p>
|
| 564 |
+
<p className="text-sm leading-relaxed mt-3">
|
| 565 |
+
Note that under the assumption that all generations are synthetizable and produce the same PPA as the golden solution (i.e., the human baseline), the PPA-score would be 100%. The theoretical upper bound is 200, but it is impossible to achieve in practice.
|
| 566 |
+
</p>
|
| 567 |
+
</div>
|
| 568 |
+
|
| 569 |
+
<div>
|
| 570 |
+
<h3 className="text-lg font-semibold text-gray-200 mb-3">Aggregated Scores</h3>
|
| 571 |
+
<p className="text-sm leading-relaxed">
|
| 572 |
+
In the case of MC and S2R tasks, we report all numbers from the four evaluation stages (STX, FNC, SYN, and PSQ). However, to determine the best model for these tasks, it is necessary to aggregate the results.
|
| 573 |
+
</p>
|
| 574 |
+
</div>
|
| 575 |
+
|
| 576 |
+
<div>
|
| 577 |
+
<h4 className="text-base font-semibold text-gray-200 mb-2">For a single benchmark</h4>
|
| 578 |
+
<p className="text-sm leading-relaxed">
|
| 579 |
+
Due to the cascade effect previously explained, the final stage of the evaluation (i.e., the PPA-Score) compresses the information from all previous stages. Therefore, we interpret it as the model's final score for the benchmark.
|
| 580 |
+
</p>
|
| 581 |
+
</div>
|
| 582 |
+
|
| 583 |
+
<div>
|
| 584 |
+
<h4 className="text-base font-semibold text-gray-200 mb-2">Across Multiple Benchmarks of the same task</h4>
|
| 585 |
+
<p className="text-sm leading-relaxed">
|
| 586 |
+
When aggregating results across benchmarks for the same task, we cannot simply take a straightforward average because some benchmarks are much larger than others. Instead, we weight each benchmark's contribution by its size, ensuring that each individual sample contributes equally to the overall result.
|
| 587 |
+
</p>
|
| 588 |
+
</div>
|
| 589 |
+
</div>
|
| 590 |
+
);
|
| 591 |
+
}
|
| 592 |
+
|
| 593 |
+
function NotSoTinyMetrics() {
|
| 594 |
+
return (
|
| 595 |
+
<div className="text-gray-300 space-y-6 text-left">
|
| 596 |
+
<p className="text-sm leading-relaxed">
|
| 597 |
+
For our new benchmark NotSoTiny, based on Tiny Tapeout shuttles, we found out a lack in Functional robustness of evaluations using test-benches. Where only a small minority of the Tiny Tapeout candidate projects testbenches, approximately 25%, contain more than one assertion and achieve at least 80% code coverage and the median number of assertions is a mere 1 per project. It is because of this that we rely on a "testbench-free" approach using Equivalence Checking as our primary strategy for functional correctness. Specifically, we employ equivalence checking to verify the equivalence of each generated module against the golden reference implementation.
|
| 598 |
+
</p>
|
| 599 |
+
|
| 600 |
+
<div>
|
| 601 |
+
<h3 className="text-lg font-semibold text-gray-200 mb-3">Formal Verification (EQV)</h3>
|
| 602 |
+
<p className="text-sm leading-relaxed mb-3">
|
| 603 |
+
The verification flow is based on the Yosys suite, and it proceeds in three phases:
|
| 604 |
+
</p>
|
| 605 |
+
<ol className="list-decimal list-inside text-sm space-y-2 ml-4">
|
| 606 |
+
<li>The golden RTL implementation and the LLM-generated candidate are both loaded into the tool</li>
|
| 607 |
+
<li>The tool constructs a miter circuit: a composite structure that feeds identical inputs to both implementations, compares all corresponding outputs bit-wise through XNOR gates, and reduces these comparisons to a single equivalence signal. If the two designs are functionally identical, this signal remains high for all possible input combinations; any discrepancy drives it low, yielding a concrete counterexample.</li>
|
| 608 |
+
<li>We apply <em>formal verification</em> to the miter. We rely on two passes offered by Yosys: <code className="bg-gray-800/50 px-1 py-0.5 rounded">equiv_simple</code> and <code className="bg-gray-800/50 px-1 py-0.5 rounded">equiv_induct</code>.</li>
|
| 609 |
+
</ol>
|
| 610 |
+
<p className="text-sm leading-relaxed mt-3">
|
| 611 |
+
<code className="bg-gray-800/50 px-1 py-0.5 rounded">equiv_simple</code> performs combinational equivalence checking as a SAT instance over the miter circuit. If the SAT solver returns UNSAT, no such distinguishing input exists, and the designs are proven to be combinatorially equivalent across all possible inputs.
|
| 612 |
+
</p>
|
| 613 |
+
<p className="text-sm leading-relaxed mt-3">
|
| 614 |
+
<code className="bg-gray-800/50 px-1 py-0.5 rounded">equiv_induct</code> extends verification to sequential logic using bounded k-induction.
|
| 615 |
+
</p>
|
| 616 |
+
</div>
|
| 617 |
+
|
| 618 |
+
<div>
|
| 619 |
+
<h3 className="text-lg font-semibold text-gray-200 mb-3">Partition (Cell) Coverage</h3>
|
| 620 |
+
<p className="text-sm leading-relaxed">
|
| 621 |
+
While formal equivalence checking provides a binary pass/fail result, we introduce partition coverage as a fine-grained metric for partial credit. For the sake of equivalence checking, Yosys represents each design as a set of logic partitions. For the benchmark involving multiple partitions, we define <em>Partition Coverage</em> as follows:
|
| 622 |
+
</p>
|
| 623 |
+
<div className="bg-gray-800/50 p-4 rounded-lg mt-4 text-left">
|
| 624 |
+
<BlockMath>{String.raw`\text{Partition Coverage} = \frac{\sum_{n \in \text{equivalent partitions}} \text{partitions}(n)}{\sum_{m \in \text{all partitions}} \text{partitions}(m)} \times 100\%`}</BlockMath>
|
| 625 |
+
</div>
|
| 626 |
+
<p className="text-sm leading-relaxed mt-3">
|
| 627 |
+
This metric quantifies how much of the golden design's functionality the LLM successfully reproduced.
|
| 628 |
+
</p>
|
| 629 |
+
</div>
|
| 630 |
+
</div>
|
| 631 |
+
);
|
| 632 |
+
}
|
| 633 |
+
|
| 634 |
+
function RTLRepoMetrics() {
|
| 635 |
+
return (
|
| 636 |
+
<div className="text-gray-300 space-y-6 text-left">
|
| 637 |
+
<p className="text-sm leading-relaxed">
|
| 638 |
+
RTL-Repo evaluates models on Single Line Completion (SLC) tasks using Exact Matching (EM) as the primary metric.
|
| 639 |
+
</p>
|
| 640 |
+
<div>
|
| 641 |
+
<h3 className="text-lg font-semibold text-gray-200 mb-3">Exact Matching (EM)</h3>
|
| 642 |
+
<p className="text-sm leading-relaxed">
|
| 643 |
+
For Single Line Completion tasks, we use Exact Matching to evaluate the model's predictions. A prediction is considered correct if and only if it exactly matches the ground truth line, character for character.
|
| 644 |
+
</p>
|
| 645 |
+
<p className="text-sm leading-relaxed mt-3">
|
| 646 |
+
This strict metric ensures that the generated code is syntactically and semantically identical to the reference solution, providing a clear and unambiguous measure of the model's performance on line-level code completion tasks.
|
| 647 |
+
</p>
|
| 648 |
+
</div>
|
| 649 |
+
</div>
|
| 650 |
+
);
|
| 651 |
+
}
|
src/components/header.jsx
ADDED
|
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import turtleLogo from "./turtle.svg";
|
| 2 |
+
|
| 3 |
+
export function TurtleLogo() {
|
| 4 |
+
return (
|
| 5 |
+
<div className="flex items-center justify-center mb-7">
|
| 6 |
+
<img
|
| 7 |
+
src={turtleLogo}
|
| 8 |
+
alt="TuRTLe Logo"
|
| 9 |
+
className="h-64 p-6 transition-all duration-300 drop-shadow-[0_0_2em_#026e00] scale-120 hover:drop-shadow-[0_0_0em_#026e00]"
|
| 10 |
+
/>
|
| 11 |
+
</div>
|
| 12 |
+
)
|
| 13 |
+
};
|
| 14 |
+
|
| 15 |
+
export function TurtleButtons() {
|
| 16 |
+
const baseClass = "cursor-pointer text-lg px-4 py-1 rounded-lg font-normal border transition-all duration-300 flex items-center gap-2";
|
| 17 |
+
|
| 18 |
+
const ArrowIcon = () => (
|
| 19 |
+
<svg
|
| 20 |
+
xmlns="http://www.w3.org/2000/svg"
|
| 21 |
+
fill="none"
|
| 22 |
+
viewBox="0 0 24 24"
|
| 23 |
+
strokeWidth={2}
|
| 24 |
+
stroke="currentColor"
|
| 25 |
+
className="w-4 h-4"
|
| 26 |
+
>
|
| 27 |
+
<path strokeLinecap="round" strokeLinejoin="round" d="M4.5 19.5l15-15m0 0H8.25m11.25 0v11.25" />
|
| 28 |
+
</svg>
|
| 29 |
+
);
|
| 30 |
+
|
| 31 |
+
return (
|
| 32 |
+
<div className="mb-7">
|
| 33 |
+
<div className="flex flex-wrap items-center justify-center gap-4 mt-8 mb-6">
|
| 34 |
+
|
| 35 |
+
{/* GitHub */}
|
| 36 |
+
<a
|
| 37 |
+
className={`${baseClass} bg-white/5 border-white/20 text-gray-200 hover:bg-white/10 hover:border-white/20`}
|
| 38 |
+
href="https://github.com/HPAI-BSC/TuRTLe"
|
| 39 |
+
target="_blank"
|
| 40 |
+
>
|
| 41 |
+
GitHub repo
|
| 42 |
+
<ArrowIcon />
|
| 43 |
+
</a>
|
| 44 |
+
|
| 45 |
+
{/* arXiv */}
|
| 46 |
+
<a
|
| 47 |
+
className={`${baseClass} bg-red-500/10 border-red-500/30 text-red-200 hover:bg-red-500/14 hover:border-red-500/40 hover:shadow-[0_0_5px_rgba(239,68,68,0.2)]`}
|
| 48 |
+
href="https://arxiv.org/abs/2504.01986"
|
| 49 |
+
target="_blank"
|
| 50 |
+
>
|
| 51 |
+
arXiv MLCAD 2025
|
| 52 |
+
<ArrowIcon />
|
| 53 |
+
</a>
|
| 54 |
+
|
| 55 |
+
{/* Submit */}
|
| 56 |
+
<a
|
| 57 |
+
className={`${baseClass} bg-green-500/10 border-green-500/30 text-green-200 hover:bg-green-500/20 hover:border-green-500/40 hover:shadow-[0_0_5px_rgba(34,197,94,0.2)]`}
|
| 58 |
+
href="mailto:hpai@bsc.es?subject=TuRTLe Leaderboard new entry&body=Link to HuggingFace model:"
|
| 59 |
+
target="_blank"
|
| 60 |
+
>
|
| 61 |
+
Submit
|
| 62 |
+
<svg
|
| 63 |
+
xmlns="http://www.w3.org/2000/svg"
|
| 64 |
+
fill="none"
|
| 65 |
+
viewBox="0 0 24 24"
|
| 66 |
+
strokeWidth={2}
|
| 67 |
+
stroke="currentColor"
|
| 68 |
+
className="w-5 h-5"
|
| 69 |
+
>
|
| 70 |
+
<path strokeLinecap="round" strokeLinejoin="round" d="M21.75 6.75v10.5a2.25 2.25 0 01-2.25 2.25h-15a2.25 2.25 0 01-2.25-2.25V6.75m19.5 0A2.25 2.25 0 0019.5 4.5h-15a2.25 2.25 0 00-2.25 2.25m19.5 0v.243a2.25 2.25 0 01-1.07 1.916l-7.5 4.615a2.25 2.25 0 01-2.36 0L3.32 8.91a2.25 2.25 0 01-1.07-1.916V6.75" />
|
| 71 |
+
</svg>
|
| 72 |
+
</a>
|
| 73 |
+
</div>
|
| 74 |
+
|
| 75 |
+
<p className="text-normal">
|
| 76 |
+
If you have any inquiries or wish to collaborate: <code className="bg-[#1a1a1a] px-2 py-1 rounded font-mono">hpai@bsc.es</code>
|
| 77 |
+
</p>
|
| 78 |
+
</div>
|
| 79 |
+
)
|
| 80 |
+
};
|
| 81 |
+
|
| 82 |
+
export function TurtleIntro() {
|
| 83 |
+
return (
|
| 84 |
+
<div className="mb-6 max-w-4xl mx-auto">
|
| 85 |
+
<p className="text-sm text-left leading-relaxed text-gray-400/80">
|
| 86 |
+
TuRTLe is a <strong>unified evaluation framework designed to systematically assess Large Language Models (LLMs) in RTL (Register-Transfer Level) generation</strong> for hardware design. Evaluation criteria include <strong>syntax correctness, functional accuracy, synthesizability, and post-synthesis quality</strong> (PPA). Use the filters below to explore different RTL benchmarks, simulators and models.
|
| 87 |
+
</p>
|
| 88 |
+
</div>
|
| 89 |
+
)
|
| 90 |
+
}
|
| 91 |
+
|
src/components/hpai_logo_grad.png
ADDED
|
src/components/leaderboard.jsx
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import { LeaderboardFilters } from "./filters";
|
| 2 |
+
|
| 3 |
+
export function Leaderboard() {
|
| 4 |
+
return (
|
| 5 |
+
<>
|
| 6 |
+
<LeaderboardFilters />
|
| 7 |
+
</>
|
| 8 |
+
)
|
| 9 |
+
};
|
src/components/leaderboard_table.jsx
ADDED
|
@@ -0,0 +1,158 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import { getMetricTooltip } from './metric_tooltips';
|
| 2 |
+
|
| 3 |
+
export function LeaderboardTable({ data, task }) {
|
| 4 |
+
if (!data || data.length === 0) {
|
| 5 |
+
return (
|
| 6 |
+
<div className="w-full border-1 border-gray-700 rounded-lg bg-gray-900/20 shadow-lg backdrop-blur-sm p-8 text-center">
|
| 7 |
+
<p className="text-gray-400">No data available</p>
|
| 8 |
+
</div>
|
| 9 |
+
);
|
| 10 |
+
}
|
| 11 |
+
|
| 12 |
+
const allMetricKeys = Object.keys(data[0]).filter(
|
| 13 |
+
key => !['rank', 'modelName', 'modelType', 'params', 'contextLength', 'url', 'architecture', 'Aggregated Score'].includes(key)
|
| 14 |
+
);
|
| 15 |
+
|
| 16 |
+
const getMetricsForTask = (task, availableKeys) => {
|
| 17 |
+
if (task === "Module Completion") {
|
| 18 |
+
const desiredMetrics = ['Syntax (STX)', 'Functionality (EQV)', 'Cov Mean'];
|
| 19 |
+
return desiredMetrics.filter(metric => availableKeys.includes(metric));
|
| 20 |
+
}
|
| 21 |
+
return availableKeys;
|
| 22 |
+
};
|
| 23 |
+
|
| 24 |
+
const metricKeys = getMetricsForTask(task, allMetricKeys);
|
| 25 |
+
|
| 26 |
+
const cleanMetricName = (name) => {
|
| 27 |
+
if (name === "Cov Mean") {
|
| 28 |
+
return "Cell Coverage";
|
| 29 |
+
} else if (name === "EM") {
|
| 30 |
+
return "Exact Matching"
|
| 31 |
+
}
|
| 32 |
+
if (task === "Module Completion") {
|
| 33 |
+
if (name.includes("(EQV)")) {
|
| 34 |
+
return name;
|
| 35 |
+
}
|
| 36 |
+
return name.replace(/\s*\([^)]*\)/g, '').trim();
|
| 37 |
+
}
|
| 38 |
+
return name.replace(/\s*\([^)]*\)/g, '').trim();
|
| 39 |
+
};
|
| 40 |
+
|
| 41 |
+
return (
|
| 42 |
+
<div className="w-full border-1 border-gray-700 rounded-lg bg-gray-900/20 shadow-lg backdrop-blur-sm overflow-hidden">
|
| 43 |
+
<div
|
| 44 |
+
className="overflow-x-auto min-h-[536px] max-h-[536px] overflow-y-auto"
|
| 45 |
+
style={{
|
| 46 |
+
scrollbarWidth: 'thin',
|
| 47 |
+
scrollbarColor: '#4B5563 #1F2937'
|
| 48 |
+
}}
|
| 49 |
+
>
|
| 50 |
+
<style jsx>{`
|
| 51 |
+
div::-webkit-scrollbar {
|
| 52 |
+
width: 8px;
|
| 53 |
+
height: 8px;
|
| 54 |
+
}
|
| 55 |
+
div::-webkit-scrollbar-track {
|
| 56 |
+
background: #1F2937;
|
| 57 |
+
border-radius: 4px;
|
| 58 |
+
}
|
| 59 |
+
div::-webkit-scrollbar-thumb {
|
| 60 |
+
background: #4B5563;
|
| 61 |
+
border-radius: 4px;
|
| 62 |
+
}
|
| 63 |
+
div::-webkit-scrollbar-thumb:hover {
|
| 64 |
+
background: #6B7280;
|
| 65 |
+
}
|
| 66 |
+
`}</style>
|
| 67 |
+
<table className="w-full">
|
| 68 |
+
<thead className="sticky top-0 z-10 border-b border-gray-700" style={{ backgroundColor: '#1A212B' }}>
|
| 69 |
+
<tr>
|
| 70 |
+
<th className="px-4 py-3 text-center text-xs font-semibold text-gray-400 uppercase tracking-wider">
|
| 71 |
+
Rank
|
| 72 |
+
</th>
|
| 73 |
+
<th className="px-4 py-3 text-left text-xs font-semibold text-gray-400 uppercase tracking-wider">
|
| 74 |
+
Model Type
|
| 75 |
+
</th>
|
| 76 |
+
<th className="px-4 py-3 text-left text-xs font-semibold text-gray-400 uppercase tracking-wider">
|
| 77 |
+
Model Name
|
| 78 |
+
</th>
|
| 79 |
+
<th className="px-4 py-3 text-center text-xs font-semibold text-gray-400 uppercase tracking-wider">
|
| 80 |
+
Params
|
| 81 |
+
</th>
|
| 82 |
+
{task === "Module Completion" && (
|
| 83 |
+
<th className="px-4 py-3 text-center text-xs font-semibold text-gray-400 uppercase tracking-wider">
|
| 84 |
+
Context Len
|
| 85 |
+
</th>
|
| 86 |
+
)}
|
| 87 |
+
{metricKeys.map((key, index) => {
|
| 88 |
+
const tooltipData = getMetricTooltip(key, task);
|
| 89 |
+
const isLastColumn = index === metricKeys.length - 1;
|
| 90 |
+
|
| 91 |
+
return (
|
| 92 |
+
<th key={key} className={`py-3 text-center text-xs font-semibold text-gray-400 uppercase tracking-wider ${index === 0 ? 'border-l border-gray-600 pl-6 pr-2' : 'px-2'}`}>
|
| 93 |
+
<div className="flex items-center justify-center gap-1">
|
| 94 |
+
<span>{cleanMetricName(key)}</span>
|
| 95 |
+
<div className="relative group inline-block">
|
| 96 |
+
<span className="cursor-help text-gray-500 hover:text-gray-300 transition-colors text-base">ⓘ</span>
|
| 97 |
+
<div className="absolute right-0 top-full mt-2 invisible group-hover:visible opacity-0 group-hover:opacity-100 transition-all duration-200 z-50 w-64">
|
| 98 |
+
<div className="bg-gray-800/95 backdrop-blur-sm text-gray-200 text-sm normal-case font-normal rounded-lg shadow-xl border border-gray-700 p-3">
|
| 99 |
+
{tooltipData.content}
|
| 100 |
+
</div>
|
| 101 |
+
</div>
|
| 102 |
+
</div>
|
| 103 |
+
</div>
|
| 104 |
+
</th>
|
| 105 |
+
);
|
| 106 |
+
})}
|
| 107 |
+
</tr>
|
| 108 |
+
</thead>
|
| 109 |
+
<tbody className="">
|
| 110 |
+
{data.map((row, index) => (
|
| 111 |
+
<tr key={index} className="border-b border-gray-700 hover:bg-gray-800/30 transition-colors">
|
| 112 |
+
<td className="px-4 py-3 text-sm text-gray-300 text-center">
|
| 113 |
+
{row.rank}
|
| 114 |
+
</td>
|
| 115 |
+
<td className="px-4 py-3 text-sm text-left">
|
| 116 |
+
<span className={`px-2 py-1 rounded text-xs font-medium ${getModelTypeBadgeColor(row.modelType)}`}>
|
| 117 |
+
{row.modelType}
|
| 118 |
+
</span>
|
| 119 |
+
</td>
|
| 120 |
+
<td className="px-4 py-3 text-sm text-gray-200 font-medium text-left">
|
| 121 |
+
<a href={row.url} target="_blank" rel="noopener noreferrer" className="hover:text-brand transition-colors">
|
| 122 |
+
{row.modelName}
|
| 123 |
+
</a>
|
| 124 |
+
</td>
|
| 125 |
+
<td className="px-4 py-3 text-sm text-gray-300 text-center">
|
| 126 |
+
{row.params ? `${row.params}B` : 'N/A'}
|
| 127 |
+
</td>
|
| 128 |
+
{task === "Module Completion" && (
|
| 129 |
+
<td className="px-4 py-3 text-sm text-gray-300 text-center">
|
| 130 |
+
{row.contextLength || 'N/A'}
|
| 131 |
+
</td>
|
| 132 |
+
)}
|
| 133 |
+
{metricKeys.map((key, index) => (
|
| 134 |
+
<td key={key} className={`py-3 text-sm text-gray-300 text-center ${index === 0 ? 'border-l border-gray-700 pl-6 pr-2' : 'px-2'}`}>
|
| 135 |
+
{typeof row[key] === 'number' ? row[key].toFixed(2) : row[key]}
|
| 136 |
+
</td>
|
| 137 |
+
))}
|
| 138 |
+
</tr>
|
| 139 |
+
))}
|
| 140 |
+
</tbody>
|
| 141 |
+
</table>
|
| 142 |
+
</div>
|
| 143 |
+
</div>
|
| 144 |
+
);
|
| 145 |
+
}
|
| 146 |
+
|
| 147 |
+
function getModelTypeBadgeColor(type) {
|
| 148 |
+
switch (type) {
|
| 149 |
+
case 'General':
|
| 150 |
+
return 'bg-yellow-500/20 text-yellow-200';
|
| 151 |
+
case 'Coding':
|
| 152 |
+
return 'bg-blue-500/20 text-blue-200';
|
| 153 |
+
case 'RTL-Specific':
|
| 154 |
+
return 'bg-green-500/20 text-green-200';
|
| 155 |
+
default:
|
| 156 |
+
return 'bg-gray-500/20 text-gray-200';
|
| 157 |
+
}
|
| 158 |
+
}
|
src/components/metric_tooltips.tsx
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
export interface MetricTooltipData {
|
| 2 |
+
title: string;
|
| 3 |
+
content: string;
|
| 4 |
+
}
|
| 5 |
+
|
| 6 |
+
export const metricTooltips: Record<string, MetricTooltipData> = {
|
| 7 |
+
"Syntax (STX)": {
|
| 8 |
+
title: "Syntax",
|
| 9 |
+
content: "Mean of Syntax across all TT benchmarks: TT06, TT07, TT08, TT09, TT10 IHP 02, TT10 IHP 25a, TTSky25a"
|
| 10 |
+
},
|
| 11 |
+
"Functionality (EQV)": {
|
| 12 |
+
title: "Functionality (EQV)",
|
| 13 |
+
content: "Mean of Functionality (EQV) across all TT benchmarks: TT06, TT07, TT08, TT09, TT10 IHP 02, TT10 IHP 25a, TTSky25a"
|
| 14 |
+
},
|
| 15 |
+
"Functionality (FNC)": {
|
| 16 |
+
title: "Functionality",
|
| 17 |
+
content: "Functionality metric description"
|
| 18 |
+
},
|
| 19 |
+
"Synthesis (SYN)": {
|
| 20 |
+
title: "Synthesis",
|
| 21 |
+
content: "Synthesis metric description"
|
| 22 |
+
},
|
| 23 |
+
"Cov Mean": {
|
| 24 |
+
title: "Cell Coverage",
|
| 25 |
+
content: "Mean of Cell Coverage across all TT benchmarks: TT06, TT07, TT08, TT09, TT10 IHP 02, TT10 IHP 25a, TTSky25a"
|
| 26 |
+
},
|
| 27 |
+
"Power": {
|
| 28 |
+
title: "Power",
|
| 29 |
+
content: "Power metric description"
|
| 30 |
+
},
|
| 31 |
+
"Performance": {
|
| 32 |
+
title: "Performance",
|
| 33 |
+
content: "Performance metric description"
|
| 34 |
+
},
|
| 35 |
+
"Area": {
|
| 36 |
+
title: "Area",
|
| 37 |
+
content: "Area metric description"
|
| 38 |
+
},
|
| 39 |
+
"EM": {
|
| 40 |
+
title: "Exact Matching",
|
| 41 |
+
content: "Exact Matching metric description"
|
| 42 |
+
}
|
| 43 |
+
};
|
| 44 |
+
|
| 45 |
+
export function getMetricTooltip(metricKey: string, task: string): MetricTooltipData {
|
| 46 |
+
if (metricTooltips[metricKey]) {
|
| 47 |
+
return metricTooltips[metricKey];
|
| 48 |
+
}
|
| 49 |
+
|
| 50 |
+
return {
|
| 51 |
+
title: metricKey,
|
| 52 |
+
content: `${metricKey} metric description`
|
| 53 |
+
};
|
| 54 |
+
}
|
src/components/turtle.svg
ADDED
|
|
src/components/updates.jsx
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import { useState } from "react";
|
| 2 |
+
|
| 3 |
+
export function UpdatesSection() {
|
| 4 |
+
const [showAll, setShowAll] = useState(false);
|
| 5 |
+
|
| 6 |
+
const updates = [
|
| 7 |
+
{ date: "FEB 2026", text: "Brand new UI for the TuRTLe leaderboard built using React" },
|
| 8 |
+
{ date: "DEC 2025", text: "We introduce a brand new benchmark for Module Completion, based on Tiny Tapeout with more than 1000 real-world designs" },
|
| 9 |
+
{ date: "NOV 2025", text: "We release a new codebase TuRTLe v2 with API support and local Docker evaluation. Added Kimi K2 Inst, DeepSeek V3.1 Terminus, and Google's Gemini 2.5 Flash" },
|
| 10 |
+
{ date: "OCT 2025", text: "Added Hermes-4-14B, Qwen3-8B, and Seed-OSS-36B to the leaderboard. Implemented Other Models tab and moved models to it" },
|
| 11 |
+
{ date: "SEPT 2025", text: "Added gpt-oss-20b and gpt-oss-120b to the leaderboard" },
|
| 12 |
+
{ date: "JULY 2025", text: "Our TuRTLe paper was accepted to MLCAD 2025 in September (Santa Cruz, CA)" },
|
| 13 |
+
{ date: "JUNE 2025", text: "We make our framework open-source on GitHub and we add 7 new recent models! For a total of 40 base and instruct models and 5 RTL benchmarks" }
|
| 14 |
+
];
|
| 15 |
+
|
| 16 |
+
const getOpacity = (index) => {
|
| 17 |
+
if (showAll) return 1;
|
| 18 |
+
const opacities = [1, 1, 0.6, 0.35, 0.18, 0.01, 0.01];
|
| 19 |
+
return opacities[index] || 1;
|
| 20 |
+
};
|
| 21 |
+
|
| 22 |
+
const maskStyle = showAll
|
| 23 |
+
? {}
|
| 24 |
+
: {
|
| 25 |
+
maskImage: 'linear-gradient(to bottom, black 0%, black 30%, transparent 100%)',
|
| 26 |
+
WebkitMaskImage: 'linear-gradient(to bottom, black 0%, black 30%, transparent 100%)'
|
| 27 |
+
};
|
| 28 |
+
|
| 29 |
+
return (
|
| 30 |
+
<div className="w-full max-w-5xl mx-auto mb-4" style={{ marginBottom: showAll ? '1rem' : '-24px' }}>
|
| 31 |
+
<div
|
| 32 |
+
className="border border-gray-700 rounded-lg bg-gray-900/20 shadow-lg backdrop-blur-sm overflow-hidden relative"
|
| 33 |
+
style={maskStyle}
|
| 34 |
+
>
|
| 35 |
+
<div className="p-3">
|
| 36 |
+
<div className="flex justify-between items-center mb-2">
|
| 37 |
+
<h3 className="text-sm font-semibold text-gray-400 text-left">Updates</h3>
|
| 38 |
+
<button
|
| 39 |
+
onClick={() => setShowAll(!showAll)}
|
| 40 |
+
className="text-xs text-gray-500 hover:text-gray-400 transition-colors"
|
| 41 |
+
>
|
| 42 |
+
{showAll ? "Show less" : "Show all"}
|
| 43 |
+
</button>
|
| 44 |
+
</div>
|
| 45 |
+
<div className="space-y-1.5">
|
| 46 |
+
{updates.map((update, index) => (
|
| 47 |
+
<div
|
| 48 |
+
key={index}
|
| 49 |
+
className="flex gap-3 text-left"
|
| 50 |
+
style={{ opacity: getOpacity(index) }}
|
| 51 |
+
>
|
| 52 |
+
<span className="text-xs text-gray-500 whitespace-nowrap">{update.date}:</span>
|
| 53 |
+
<span className="text-xs text-gray-400">{update.text}</span>
|
| 54 |
+
</div>
|
| 55 |
+
))}
|
| 56 |
+
</div>
|
| 57 |
+
</div>
|
| 58 |
+
</div>
|
| 59 |
+
</div>
|
| 60 |
+
);
|
| 61 |
+
}
|
src/components/updates_dialog.jsx
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import { useState } from "react";
|
| 2 |
+
|
| 3 |
+
export function UpdatesDialog() {
|
| 4 |
+
const [isOpen, setIsOpen] = useState(false);
|
| 5 |
+
|
| 6 |
+
const updates = [
|
| 7 |
+
{ date: "DEC 2025", text: "Brand new Module Completion benchmark based on Tiny Tapeout (1000+ designs)" },
|
| 8 |
+
{ date: "NOV 2025", text: "TuRTLe v2 release with API support. Added Kimi K2, DeepSeek V3.1, Gemini 2.5 Flash" },
|
| 9 |
+
{ date: "OCT 2025", text: "Added Hermes-4-14B, Qwen3-8B, Seed-OSS-36B. Implemented Other Models tab" },
|
| 10 |
+
{ date: "SEPT 2025", text: "Added gpt-oss-20b and gpt-oss-120b to the leaderboard" },
|
| 11 |
+
{ date: "JULY 2025", text: "TuRTLe paper accepted to MLCAD 2025 (Santa Cruz, CA)" },
|
| 12 |
+
{ date: "JUNE 2025", text: "Framework open-sourced on GitHub. Added 7 new models (40 total, 5 benchmarks)" }
|
| 13 |
+
];
|
| 14 |
+
|
| 15 |
+
return (
|
| 16 |
+
<>
|
| 17 |
+
<button
|
| 18 |
+
onClick={() => setIsOpen(true)}
|
| 19 |
+
className="px-3 py-1 rounded-lg font-mono text-sm font-medium bg-orange-500/10 border border-orange-500/20 text-orange-400/70 hover:bg-orange-500/15 hover:border-orange-500/30 hover:text-orange-400/90 transition-all duration-300 backdrop-blur-sm"
|
| 20 |
+
>
|
| 21 |
+
UPDATES
|
| 22 |
+
</button>
|
| 23 |
+
|
| 24 |
+
{isOpen && (
|
| 25 |
+
<div className="fixed inset-0 z-50 flex items-center justify-center bg-black/70 backdrop-blur-sm" onClick={() => setIsOpen(false)}>
|
| 26 |
+
<div
|
| 27 |
+
className="bg-gray-900 border border-gray-700 rounded-lg shadow-2xl max-w-2xl w-full mx-4 p-4"
|
| 28 |
+
onClick={(e) => e.stopPropagation()}
|
| 29 |
+
>
|
| 30 |
+
<div className="flex justify-between items-center mb-3">
|
| 31 |
+
<h2 className="text-lg font-semibold text-gray-200">Updates</h2>
|
| 32 |
+
<button
|
| 33 |
+
onClick={() => setIsOpen(false)}
|
| 34 |
+
className="text-gray-400 hover:text-gray-200 transition-colors"
|
| 35 |
+
>
|
| 36 |
+
<svg className="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
| 37 |
+
<path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M6 18L18 6M6 6l12 12" />
|
| 38 |
+
</svg>
|
| 39 |
+
</button>
|
| 40 |
+
</div>
|
| 41 |
+
|
| 42 |
+
<div className="space-y-2">
|
| 43 |
+
{updates.map((update, index) => (
|
| 44 |
+
<div key={index} className="border-l-2 border-orange-500/40 pl-3 py-1">
|
| 45 |
+
<div className="text-xs text-orange-400 mb-0.5">{update.date}</div>
|
| 46 |
+
<div className="text-xs text-gray-300">{update.text}</div>
|
| 47 |
+
</div>
|
| 48 |
+
))}
|
| 49 |
+
</div>
|
| 50 |
+
</div>
|
| 51 |
+
</div>
|
| 52 |
+
)}
|
| 53 |
+
</>
|
| 54 |
+
);
|
| 55 |
+
}
|
src/data/model_metadata.json
ADDED
|
@@ -0,0 +1,427 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"DeepSeek R1-0528": {
|
| 3 |
+
"url": "https://huggingface.co/deepseek-ai/DeepSeek-R1-0528",
|
| 4 |
+
"params": 685,
|
| 5 |
+
"category": "General",
|
| 6 |
+
"version": "V2",
|
| 7 |
+
"architecture": "Reasoning",
|
| 8 |
+
"context_length": "164k"
|
| 9 |
+
},
|
| 10 |
+
"DeepSeek-R1-0528 ": {
|
| 11 |
+
"url": "https://huggingface.co/deepseek-ai/DeepSeek-R1-0528",
|
| 12 |
+
"params": 685,
|
| 13 |
+
"category": "General",
|
| 14 |
+
"version": "V2",
|
| 15 |
+
"architecture": "Reasoning",
|
| 16 |
+
"context_length": "164k"
|
| 17 |
+
},
|
| 18 |
+
"DeepSeek-R1-0528": {
|
| 19 |
+
"url": "https://huggingface.co/deepseek-ai/DeepSeek-R1-0528",
|
| 20 |
+
"params": 685,
|
| 21 |
+
"category": "General",
|
| 22 |
+
"version": "V2",
|
| 23 |
+
"architecture": "Reasoning",
|
| 24 |
+
"context_length": "164k"
|
| 25 |
+
},
|
| 26 |
+
"DeepSeek R1": {
|
| 27 |
+
"url": "https://huggingface.co/deepseek-ai/DeepSeek-R1",
|
| 28 |
+
"params": 685,
|
| 29 |
+
"category": "General",
|
| 30 |
+
"version": "V1",
|
| 31 |
+
"architecture": "Reasoning",
|
| 32 |
+
"context_length": "164k"
|
| 33 |
+
},
|
| 34 |
+
"Llama 3.1 405B": {
|
| 35 |
+
"url": "https://huggingface.co/RedHatAI/Meta-Llama-3.1-405B-FP8",
|
| 36 |
+
"params": 406,
|
| 37 |
+
"category": "General",
|
| 38 |
+
"version": "V1",
|
| 39 |
+
"architecture": "Dense",
|
| 40 |
+
"context_length": "131k"
|
| 41 |
+
},
|
| 42 |
+
"Qwen3 236B A22B": {
|
| 43 |
+
"url": "https://huggingface.co/Qwen/Qwen3-235B-A22B",
|
| 44 |
+
"params": 235,
|
| 45 |
+
"category": "General",
|
| 46 |
+
"version": "V2",
|
| 47 |
+
"architecture": "Reasoning",
|
| 48 |
+
"context_length": "41k"
|
| 49 |
+
},
|
| 50 |
+
"Llama 3.(1-3) 70B": {
|
| 51 |
+
"url": "https://huggingface.co/meta-llama/Llama-3.3-70B-Instruct",
|
| 52 |
+
"params": 70.6,
|
| 53 |
+
"category": "General",
|
| 54 |
+
"version": "V1",
|
| 55 |
+
"architecture": "Dense",
|
| 56 |
+
"context_length": "130k",
|
| 57 |
+
"deprecated": true
|
| 58 |
+
},
|
| 59 |
+
"Qwen2.5 72B": {
|
| 60 |
+
"url": "https://huggingface.co/Qwen/Qwen2.5-72B-Instruct",
|
| 61 |
+
"params": 72.7,
|
| 62 |
+
"category": "General",
|
| 63 |
+
"version": "V1",
|
| 64 |
+
"architecture": "Dense",
|
| 65 |
+
"context_length": "33k"
|
| 66 |
+
},
|
| 67 |
+
"Qwen2.5-72B-Instruct": {
|
| 68 |
+
"url": "https://huggingface.co/Qwen/Qwen2.5-72B-Instruct",
|
| 69 |
+
"params": 72.7,
|
| 70 |
+
"category": "General",
|
| 71 |
+
"version": "V1",
|
| 72 |
+
"architecture": "Dense",
|
| 73 |
+
"context_length": "33k"
|
| 74 |
+
},
|
| 75 |
+
"QwQ 32B": {
|
| 76 |
+
"url": "https://huggingface.co/Qwen/QwQ-32B",
|
| 77 |
+
"params": 32.8,
|
| 78 |
+
"category": "General",
|
| 79 |
+
"version": "V2",
|
| 80 |
+
"architecture": "Reasoning",
|
| 81 |
+
"context_length": "41k"
|
| 82 |
+
},
|
| 83 |
+
"Qwen2.5 32B": {
|
| 84 |
+
"url": "https://huggingface.co/Qwen/Qwen2.5-32B",
|
| 85 |
+
"params": 32.5,
|
| 86 |
+
"category": "General",
|
| 87 |
+
"version": "V1",
|
| 88 |
+
"architecture": "Dense",
|
| 89 |
+
"context_length": "131k"
|
| 90 |
+
},
|
| 91 |
+
"StarChat2 15B v0.1": {
|
| 92 |
+
"url": "https://huggingface.co/HuggingFaceH4/starchat2-15b-v0.1",
|
| 93 |
+
"params": 16,
|
| 94 |
+
"category": "General",
|
| 95 |
+
"version": "V1",
|
| 96 |
+
"architecture": "Dense",
|
| 97 |
+
"context_length": "16k"
|
| 98 |
+
},
|
| 99 |
+
"DeepSeek R1 Distill Qwen 14B": {
|
| 100 |
+
"url": "https://huggingface.co/deepseek-ai/DeepSeek-R1-Distill-Qwen-14B",
|
| 101 |
+
"params": 14.8,
|
| 102 |
+
"category": "General",
|
| 103 |
+
"version": "V1",
|
| 104 |
+
"architecture": "Reasoning",
|
| 105 |
+
"context_length": "131k"
|
| 106 |
+
},
|
| 107 |
+
"Qwen2.5 14B 1M": {
|
| 108 |
+
"url": "https://huggingface.co/Qwen/Qwen2.5-14B-Instruct-1M",
|
| 109 |
+
"params": 14.8,
|
| 110 |
+
"category": "General",
|
| 111 |
+
"version": "V4",
|
| 112 |
+
"architecture": "Dense",
|
| 113 |
+
"context_length": "1010k"
|
| 114 |
+
},
|
| 115 |
+
"Qwen2.5-14B-Instruct-1M": {
|
| 116 |
+
"url": "https://huggingface.co/Qwen/Qwen2.5-14B-Instruct-1M",
|
| 117 |
+
"params": 14.8,
|
| 118 |
+
"category": "General",
|
| 119 |
+
"version": "V4",
|
| 120 |
+
"architecture": "Dense",
|
| 121 |
+
"context_length": "1010k"
|
| 122 |
+
},
|
| 123 |
+
"Qwen2.5 14B": {
|
| 124 |
+
"url": "https://huggingface.co/Qwen/Qwen2.5-14B-Instruct",
|
| 125 |
+
"params": 14.8,
|
| 126 |
+
"category": "General",
|
| 127 |
+
"version": "V4",
|
| 128 |
+
"architecture": "Dense",
|
| 129 |
+
"context_length": "33k"
|
| 130 |
+
},
|
| 131 |
+
"Qwen2.5-14B-Instruct": {
|
| 132 |
+
"url": "https://huggingface.co/Qwen/Qwen2.5-14B-Instruct",
|
| 133 |
+
"params": 14.8,
|
| 134 |
+
"category": "General",
|
| 135 |
+
"version": "V4",
|
| 136 |
+
"architecture": "Dense",
|
| 137 |
+
"context_length": "33k"
|
| 138 |
+
},
|
| 139 |
+
"Qwen2.5 7B": {
|
| 140 |
+
"url": "https://huggingface.co/Qwen/Qwen2.5-7B-Instruct",
|
| 141 |
+
"params": 7.61,
|
| 142 |
+
"category": "General",
|
| 143 |
+
"version": "V4",
|
| 144 |
+
"architecture": "Dense",
|
| 145 |
+
"context_length": "33k"
|
| 146 |
+
},
|
| 147 |
+
"Qwen2.5-7B-Instruct": {
|
| 148 |
+
"url": "https://huggingface.co/Qwen/Qwen2.5-7B-Instruct",
|
| 149 |
+
"params": 7.61,
|
| 150 |
+
"category": "General",
|
| 151 |
+
"version": "V4",
|
| 152 |
+
"architecture": "Dense",
|
| 153 |
+
"context_length": "33k"
|
| 154 |
+
},
|
| 155 |
+
"CodeLlama 70B": {
|
| 156 |
+
"url": "https://huggingface.co/codellama/CodeLlama-70b-hf",
|
| 157 |
+
"params": 69,
|
| 158 |
+
"category": "Coding",
|
| 159 |
+
"version": "V1",
|
| 160 |
+
"architecture": "Dense",
|
| 161 |
+
"context_length": "16k",
|
| 162 |
+
"deprecated": true
|
| 163 |
+
},
|
| 164 |
+
"QwenCoder 2.5 32B": {
|
| 165 |
+
"url": "https://huggingface.co/Qwen/Qwen2.5-Coder-32B-Instruct",
|
| 166 |
+
"params": 32.5,
|
| 167 |
+
"category": "Coding",
|
| 168 |
+
"version": "V1",
|
| 169 |
+
"architecture": "Dense",
|
| 170 |
+
"context_length": "33k"
|
| 171 |
+
},
|
| 172 |
+
"Qwen2.5-Coder-32B-Instruct": {
|
| 173 |
+
"url": "https://huggingface.co/Qwen/Qwen2.5-Coder-32B-Instruct",
|
| 174 |
+
"params": 32.5,
|
| 175 |
+
"category": "Coding",
|
| 176 |
+
"version": "V1",
|
| 177 |
+
"architecture": "Dense",
|
| 178 |
+
"context_length": "33k"
|
| 179 |
+
},
|
| 180 |
+
"DeepSeek Coder 33B": {
|
| 181 |
+
"url": "https://huggingface.co/deepseek-ai/deepseek-coder-33b-instruct",
|
| 182 |
+
"params": 33.3,
|
| 183 |
+
"category": "Coding",
|
| 184 |
+
"version": "V1",
|
| 185 |
+
"architecture": "Dense",
|
| 186 |
+
"context_length": "16k",
|
| 187 |
+
"deprecated": true
|
| 188 |
+
},
|
| 189 |
+
"QwenCoder 2.5 14B": {
|
| 190 |
+
"url": "https://huggingface.co/Qwen/Qwen2.5-Coder-14B-Instruct",
|
| 191 |
+
"params": 14.7,
|
| 192 |
+
"category": "Coding",
|
| 193 |
+
"version": "V1",
|
| 194 |
+
"architecture": "Dense",
|
| 195 |
+
"context_length": "33k"
|
| 196 |
+
},
|
| 197 |
+
"DeepCoder 14B": {
|
| 198 |
+
"url": "https://huggingface.co/agentica-org/DeepCoder-14B-Preview",
|
| 199 |
+
"params": 14.8,
|
| 200 |
+
"category": "Coding",
|
| 201 |
+
"version": "V2",
|
| 202 |
+
"architecture": "Reasoning",
|
| 203 |
+
"context_length": "131k",
|
| 204 |
+
"deprecated": true
|
| 205 |
+
},
|
| 206 |
+
"OpenCoder 8B": {
|
| 207 |
+
"url": "https://huggingface.co/infly/OpenCoder-8B-Instruct",
|
| 208 |
+
"params": 7.77,
|
| 209 |
+
"category": "Coding",
|
| 210 |
+
"version": "V1",
|
| 211 |
+
"architecture": "Dense",
|
| 212 |
+
"context_length": "8k"
|
| 213 |
+
},
|
| 214 |
+
"SeedCoder 8B": {
|
| 215 |
+
"url": "https://huggingface.co/ByteDance-Seed/Seed-Coder-8B-Instruct",
|
| 216 |
+
"params": 8.25,
|
| 217 |
+
"category": "Coding",
|
| 218 |
+
"version": "V2",
|
| 219 |
+
"architecture": "Dense",
|
| 220 |
+
"context_length": "33k"
|
| 221 |
+
},
|
| 222 |
+
"SeedCoder 8B Reasoning": {
|
| 223 |
+
"url": "https://huggingface.co/ByteDance-Seed/Seed-Coder-8B-Reasoning-bf16",
|
| 224 |
+
"params": 8.25,
|
| 225 |
+
"category": "Coding",
|
| 226 |
+
"version": "V2",
|
| 227 |
+
"architecture": "Reasoning",
|
| 228 |
+
"context_length": "66k"
|
| 229 |
+
},
|
| 230 |
+
"QwenCoder 2.5 7B": {
|
| 231 |
+
"url": "https://huggingface.co/Qwen/Qwen2.5-Coder-7B-Instruct",
|
| 232 |
+
"params": 7.61,
|
| 233 |
+
"category": "Coding",
|
| 234 |
+
"version": "V1",
|
| 235 |
+
"architecture": "Dense",
|
| 236 |
+
"context_length": "33k",
|
| 237 |
+
"deprecated": true
|
| 238 |
+
},
|
| 239 |
+
"DeepSeek Coder 6.7B": {
|
| 240 |
+
"url": "https://huggingface.co/deepseek-ai/deepseek-coder-6.7b-instruct",
|
| 241 |
+
"params": 6.74,
|
| 242 |
+
"category": "Coding",
|
| 243 |
+
"version": "V1",
|
| 244 |
+
"architecture": "Dense",
|
| 245 |
+
"context_length": "16k"
|
| 246 |
+
},
|
| 247 |
+
"HaVen-CodeQwen": {
|
| 248 |
+
"url": "https://huggingface.co/yangyiyao/HaVen-CodeQwen",
|
| 249 |
+
"params": 7.25,
|
| 250 |
+
"category": "RTL-Specific",
|
| 251 |
+
"version": "V1",
|
| 252 |
+
"architecture": "Dense",
|
| 253 |
+
"context_length": "66k"
|
| 254 |
+
},
|
| 255 |
+
"CodeV R1 Distill Qwen 7B": {
|
| 256 |
+
"url": "https://huggingface.co/zhuyaoyu/CodeV-R1-Distill-Qwen-7B",
|
| 257 |
+
"params": 7.62,
|
| 258 |
+
"category": "RTL-Specific",
|
| 259 |
+
"version": "V2",
|
| 260 |
+
"architecture": "Reasoning",
|
| 261 |
+
"context_length": "33k",
|
| 262 |
+
"deprecated": true
|
| 263 |
+
},
|
| 264 |
+
"CodeV-CL-7B": {
|
| 265 |
+
"url": "https://huggingface.co/yang-z/CodeV-CL-7B",
|
| 266 |
+
"params": 6.74,
|
| 267 |
+
"category": "RTL-Specific",
|
| 268 |
+
"version": "V1",
|
| 269 |
+
"architecture": "Dense",
|
| 270 |
+
"context_length": "16k",
|
| 271 |
+
"deprecated": true
|
| 272 |
+
},
|
| 273 |
+
"CodeV-QW-7B": {
|
| 274 |
+
"url": "https://huggingface.co/yang-z/CodeV-QW-7B",
|
| 275 |
+
"params": 7.25,
|
| 276 |
+
"category": "RTL-Specific",
|
| 277 |
+
"version": "V1",
|
| 278 |
+
"architecture": "Dense",
|
| 279 |
+
"context_length": "66k"
|
| 280 |
+
},
|
| 281 |
+
"CodeV-DS-6.7B": {
|
| 282 |
+
"url": "https://huggingface.co/yang-z/CodeV-DS-6.7B",
|
| 283 |
+
"params": 6.74,
|
| 284 |
+
"category": "RTL-Specific",
|
| 285 |
+
"version": "V1",
|
| 286 |
+
"architecture": "Dense",
|
| 287 |
+
"context_length": "16k",
|
| 288 |
+
"deprecated": true
|
| 289 |
+
},
|
| 290 |
+
"RTLCoder Mistral": {
|
| 291 |
+
"url": "https://huggingface.co/ishorn5/RTLCoder-v1.1",
|
| 292 |
+
"params": 7.24,
|
| 293 |
+
"category": "RTL-Specific",
|
| 294 |
+
"version": "V1",
|
| 295 |
+
"architecture": "Dense",
|
| 296 |
+
"context_length": "33k",
|
| 297 |
+
"deprecated": true
|
| 298 |
+
},
|
| 299 |
+
"RTLCoder DeepSeek": {
|
| 300 |
+
"url": "https://huggingface.co/ishorn5/RTLCoder-Deepseek-v1.1",
|
| 301 |
+
"params": 6.74,
|
| 302 |
+
"category": "RTL-Specific",
|
| 303 |
+
"version": "V1",
|
| 304 |
+
"architecture": "Dense",
|
| 305 |
+
"context_length": "16k"
|
| 306 |
+
},
|
| 307 |
+
"OriGen": {
|
| 308 |
+
"url": "https://huggingface.co/henryen/OriGen",
|
| 309 |
+
"params": 6.74,
|
| 310 |
+
"category": "RTL-Specific",
|
| 311 |
+
"version": "V1",
|
| 312 |
+
"architecture": "Dense",
|
| 313 |
+
"context_length": "4k"
|
| 314 |
+
},
|
| 315 |
+
"Qwen3 Coder 480B A35B": {
|
| 316 |
+
"url": "https://huggingface.co/Qwen/Qwen3-Coder-480B-A35B-Instruct",
|
| 317 |
+
"params": 480,
|
| 318 |
+
"category": "Coding",
|
| 319 |
+
"version": "V2",
|
| 320 |
+
"architecture": "Dense",
|
| 321 |
+
"context_length": "262k"
|
| 322 |
+
},
|
| 323 |
+
"Qwen3-Coder-480B-A35B-Instruct ": {
|
| 324 |
+
"url": "https://huggingface.co/Qwen/Qwen3-Coder-480B-A35B-Instruct",
|
| 325 |
+
"params": 480,
|
| 326 |
+
"category": "Coding",
|
| 327 |
+
"version": "V2",
|
| 328 |
+
"architecture": "Dense",
|
| 329 |
+
"context_length": "262k"
|
| 330 |
+
},
|
| 331 |
+
"Qwen3-Coder-480B-A35B-Instruct": {
|
| 332 |
+
"url": "https://huggingface.co/Qwen/Qwen3-Coder-480B-A35B-Instruct",
|
| 333 |
+
"params": 480,
|
| 334 |
+
"category": "Coding",
|
| 335 |
+
"version": "V2",
|
| 336 |
+
"architecture": "Dense",
|
| 337 |
+
"context_length": "262k"
|
| 338 |
+
},
|
| 339 |
+
"Magistral Small 2506": {
|
| 340 |
+
"url": "https://huggingface.co/mistralai/Magistral-Small-2506",
|
| 341 |
+
"params": 23.6,
|
| 342 |
+
"category": "General",
|
| 343 |
+
"version": "V2",
|
| 344 |
+
"architecture": "Reasoning",
|
| 345 |
+
"context_length": "41k"
|
| 346 |
+
},
|
| 347 |
+
"gpt-oss-20b": {
|
| 348 |
+
"url": "https://huggingface.co/openai/gpt-oss-20b",
|
| 349 |
+
"params": 21.5,
|
| 350 |
+
"category": "General",
|
| 351 |
+
"version": "V3",
|
| 352 |
+
"architecture": "Reasoning",
|
| 353 |
+
"context_length": "131k"
|
| 354 |
+
},
|
| 355 |
+
"gpt-oss-120b": {
|
| 356 |
+
"url": "https://huggingface.co/openai/gpt-oss-120b",
|
| 357 |
+
"params": 120,
|
| 358 |
+
"category": "General",
|
| 359 |
+
"version": "V3",
|
| 360 |
+
"architecture": "Reasoning",
|
| 361 |
+
"context_length": "131k"
|
| 362 |
+
},
|
| 363 |
+
"Seed-OSS-36B": {
|
| 364 |
+
"url": "https://huggingface.co/ByteDance-Seed/Seed-OSS-36B-Instruct",
|
| 365 |
+
"params": 36.2,
|
| 366 |
+
"category": "General",
|
| 367 |
+
"version": "V4",
|
| 368 |
+
"architecture": "Reasoning",
|
| 369 |
+
"context_length": "524k"
|
| 370 |
+
},
|
| 371 |
+
"Qwen3-8B": {
|
| 372 |
+
"url": "https://huggingface.co/Qwen/Qwen3-8B",
|
| 373 |
+
"params": 8.2,
|
| 374 |
+
"category": "General",
|
| 375 |
+
"version": "V4",
|
| 376 |
+
"architecture": "Reasoning",
|
| 377 |
+
"context_length": "41k"
|
| 378 |
+
},
|
| 379 |
+
"Hermes-4-14B": {
|
| 380 |
+
"url": "https://huggingface.co/NousResearch/Hermes-4-14B",
|
| 381 |
+
"params": 14,
|
| 382 |
+
"category": "General",
|
| 383 |
+
"version": "V4",
|
| 384 |
+
"architecture": "Dense",
|
| 385 |
+
"context_length": "41k"
|
| 386 |
+
},
|
| 387 |
+
"Hermes-4-14B-Reasoning": {
|
| 388 |
+
"url": "https://huggingface.co/NousResearch/Hermes-4-14B",
|
| 389 |
+
"params": 14,
|
| 390 |
+
"category": "General",
|
| 391 |
+
"version": "V4",
|
| 392 |
+
"architecture": "Reasoning",
|
| 393 |
+
"context_length": "41k"
|
| 394 |
+
},
|
| 395 |
+
"Gemini 2.5 Flash (Medium)": {
|
| 396 |
+
"url": "https://huggingface.co/google",
|
| 397 |
+
"params": null,
|
| 398 |
+
"category": "General",
|
| 399 |
+
"version": "V4",
|
| 400 |
+
"architecture": "Reasoning",
|
| 401 |
+
"context_length": null
|
| 402 |
+
},
|
| 403 |
+
"Kimi K2 Instruct 0905": {
|
| 404 |
+
"url": "https://huggingface.co/moonshotai/Kimi-K2-Instruct-0905",
|
| 405 |
+
"params": 1000,
|
| 406 |
+
"category": "General",
|
| 407 |
+
"version": "V4",
|
| 408 |
+
"architecture": "Dense",
|
| 409 |
+
"context_length": "262k"
|
| 410 |
+
},
|
| 411 |
+
"Kimi-K2-Instruct-0905": {
|
| 412 |
+
"url": "https://huggingface.co/moonshotai/Kimi-K2-Instruct-0905",
|
| 413 |
+
"params": 1000,
|
| 414 |
+
"category": "General",
|
| 415 |
+
"version": "V4",
|
| 416 |
+
"architecture": "Dense",
|
| 417 |
+
"context_length": "262k"
|
| 418 |
+
},
|
| 419 |
+
"DeepSeek V3.1 Terminus": {
|
| 420 |
+
"url": "https://huggingface.co/deepseek-ai/DeepSeek-V3.1-Terminus",
|
| 421 |
+
"params": 685,
|
| 422 |
+
"category": "General",
|
| 423 |
+
"version": "V4",
|
| 424 |
+
"architecture": "Reasoning",
|
| 425 |
+
"context_length": "164k"
|
| 426 |
+
}
|
| 427 |
+
}
|
src/data/results_NotSoTiny-25-12.csv
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
,TT06,,,,TT07,,,,TT08,,,,TT09,,,,TT10 IHP 02,,,,TT10 IHP 25a,,,,TTSky25a,,,
|
| 2 |
+
,Syntax (STX),Functionality (EQV),Cov Mean,Cov Median,STX,EQV,Cov Mean,Cov Median,STX,EQV,Cov Mean,Cov Median,STX,EQV,Cov Mean,Cov Median,STX,EQV,Cov Mean,Cov Median,STX,EQV,Cov Mean,Cov Median,STX,EQV,Cov Mean,Cov Median
|
| 3 |
+
Kimi-K2-Instruct-0905,73.33,12.96,56.22,64.22,61.13,15.59,45.22,40.00,76.02,20.92,60.06,67.79,78.48,21.84,57.27,59.14,90.00,23.33,61.88,69.88,70.98,19.57,57.08,70.83,86.15,18.82,67.29,77.47,
|
| 4 |
+
DeepSeek-R1-0528 ,76.85,14.63,59.84,73.56,61.13,20.56,46.15,40.00,75.61,19.69,59.46,70.56,83.12,23.84,59.70,65.58,85.33,24.67,60.01,62.29,72.39,20.65,59.49,66.01,89.47,21.07,69.81,78.39,
|
| 5 |
+
Qwen3-Coder-480B-A35B-Instruct ,86.30,17.96,68.37,82.45,85.20,28.36,67.74,84.03,84.59,22.04,69.20,81.51,87.68,28.32,64.98,75.96,91.33,20.00,59.69,70.75,82.83,28.15,68.24,83.58,89.59,19.17,69.28,80.77,
|
| 6 |
+
gpt-oss-120b,80.93,17.41,63.00,72.12,59.89,19.21,44.96,40.00,73.27,19.80,56.15,60.00,88.08,31.84,64.86,71.49,86.00,23.33,60.30,58.64,67.28,18.15,52.78,59.44,83.43,16.57,63.40,67.68,
|
| 7 |
+
Qwen2.5-72B-Instruct,64.44,11.67,44.79,39.44,50.62,12.77,36.11,6.67,47.76,5.61,32.05,0.00,76.08,22.40,51.12,40.00,68.00,22.67,41.69,27.92,58.26,15.11,44.09,33.90,71.95,12.66,51.60,50.80,
|
| 8 |
+
Qwen2.5-Coder-32B-Instruct,61.11,7.78,41.80,33.79,47.46,10.17,33.01,5.83,46.84,5.92,30.91,0.00,74.16,17.52,48.15,43.26,62.00,13.33,35.98,14.33,55.76,15.43,40.92,19.27,73.85,12.78,54.32,59.68,
|
| 9 |
+
Qwen2.5-14B-Instruct-1M,45.19,9.81,31.85,7.08,46.10,15.71,35.19,19.86,54.29,15.51,43.97,37.25,56.64,15.92,37.22,20.00,56.00,11.33,28.00,3.75,41.09,12.07,29.65,12.04,54.79,7.10,37.43,23.81,
|
| 10 |
+
Qwen2.5-14B-Instruct,45.37,5.56,33.35,11.25,45.65,12.88,31.64,5.83,35.82,4.69,24.79,0.00,55.12,15.04,35.34,17.41,52.00,8.00,28.44,5.00,33.70,9.02,23.62,0.00,51.60,7.57,35.92,20.00,
|
| 11 |
+
Qwen2.5-7B-Instruct,13.33,0.74,8.32,0.00,17.40,6.21,12.62,0.00,12.86,2.86,8.24,0.00,14.80,3.84,10.33,0.00,12.00,7.33,8.95,0.00,8.91,1.74,6.10,0.00,16.45,1.66,10.27,0.00,
|
| 12 |
+
HaVen-CodeQwen,32.04,2.78,14.93,0.00,27.12,3.39,14.41,0.00,25.31,1.73,14.27,0.00,48.64,7.20,18.70,0.00,40.00,10.67,22.12,0.00,22.17,0.43,11.23,0.00,38.34,3.20,20.23,0.00,
|
| 13 |
+
OriGen,7.59,4.07,6.87,0.00,5.31,2.71,4.63,0.00,3.06,1.02,2.62,0.00,10.00,5.84,8.73,0.00,12.00,7.33,10.59,0.00,4.24,2.17,3.28,0.00,1.30,0.00,0.87,0.00,
|
| 14 |
+
|
src/data/results_icarus_november_2025.csv
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
,Syntax (STX),Syntax (STX),Functionality (FNC),Functionality (FNC),Synthesis (SYN),Synthesis (SYN),Power,Power,Performance,Performance,Area,Area,EM,Syntax (STX),Syntax (STX),Functionality (FNC),Functionality (FNC),Synthesis (SYN),Synthesis (SYN),Power,Power,Performance,Performance,Area,Area
|
| 2 |
+
,VerilogEval S2R,RTLLM,VerilogEval S2R,RTLLM,VerilogEval S2R,RTLLM,VerilogEval S2R,RTLLM,VerilogEval S2R,RTLLM,VerilogEval S2R,RTLLM,RTL-Repo,VerilogEval MC,VeriGen,VerilogEval MC,VeriGen,VerilogEval MC,VeriGen,VerilogEval MC,VeriGen,VerilogEval MC,VeriGen,VerilogEval MC,VeriGen
|
| 3 |
+
DeepSeek V3.1 Terminus,96.280000000000001,90.209999999999994,76.790000000000006,60.43,76.670000000000002,58.299999999999997,76.049999999999997,63.840000000000003,73.760000000000005,58.770000000000003,74.939999999999998,61.829999999999998,-1,95.379999999999995,92.939999999999998,78.969999999999999,75.290000000000006,78.849999999999994,75.290000000000006,77.340000000000003,69.870000000000005,76.109999999999999,75.140000000000001,77.030000000000001,77.590000000000003
|
| 4 |
+
Kimi K2 Instruct 0905,96.150000000000006,87.230000000000004,72.819999999999993,62.130000000000003,72.689999999999998,60.43,71.280000000000001,63.479999999999997,69.980000000000004,58.579999999999998,71.200000000000003,63.32,33.649999999999999,98.209999999999994,95.290000000000006,74.739999999999995,69.409999999999997,74.489999999999995,69.409999999999997,73.129999999999995,57.469999999999999,71.430000000000007,69.900000000000006,72.760000000000005,69.510000000000005
|
| 5 |
+
Gemini 2.5 Flash (Medium),92.049999999999997,79.569999999999993,70.379999999999995,62.130000000000003,70.260000000000005,45.960000000000001,69.010000000000005,50.509999999999998,67.109999999999999,44.659999999999997,68.680000000000007,48.789999999999999,-1,91.030000000000001,95.290000000000006,71.790000000000006,77.650000000000006,71.409999999999997,77.650000000000006,69.909999999999997,71.269999999999996,68.040000000000006,77.349999999999994,69.519999999999996,79.450000000000003
|
| 6 |
+
DeepSeek R1-0528,96.150000000000006,86.120000000000005,81.540000000000006,64.900000000000006,81.280000000000001,64.489999999999995,79.150000000000006,73.329999999999998,78.090000000000003,65.640000000000001,79.280000000000001,71.150000000000006,-1,95.379999999999995,91.760000000000005,81.540000000000006,74.120000000000005,81.409999999999997,74.120000000000005,80.269999999999996,63.859999999999999,78.689999999999998,74.049999999999997,79.989999999999995,77.010000000000005
|
| 7 |
+
DeepSeek R1,97.180000000000007,89.799999999999997,79.739999999999995,65.709999999999994,79.620000000000005,63.270000000000003,78.329999999999998,71.340000000000003,76.489999999999995,64.060000000000002,78.189999999999998,70.079999999999998,-1,97.439999999999998,96.469999999999999,79.489999999999995,74.120000000000005,79.489999999999995,74.120000000000005,78.269999999999996,64.340000000000003,76.430000000000007,74.290000000000006,77.959999999999994,77.120000000000005
|
| 8 |
+
Qwen3 Coder 480B A35B,96.409999999999997,86.379999999999995,65.379999999999995,59.57,64.739999999999995,53.619999999999997,64.090000000000003,52.850000000000001,61.909999999999997,53.030000000000001,62.93,51.810000000000002,38.880000000000003,84.099999999999994,100,58.850000000000001,75.290000000000006,58.460000000000001,75.290000000000006,57.049999999999997,69.629999999999995,55.539999999999999,73.950000000000003,55.789999999999999,76.760000000000005
|
| 9 |
+
Llama 3.1 405B,87.439999999999998,77.140000000000001,58.969999999999999,45.710000000000001,58.850000000000001,41.630000000000003,57.579999999999998,50.880000000000003,55.93,32.439999999999998,56.130000000000003,43.450000000000003,34.619999999999997,88.590000000000003,95.290000000000006,56.149999999999999,58.82,55.899999999999999,58.82,55.130000000000003,55.100000000000001,53.450000000000003,58.399999999999999,54.479999999999997,61.200000000000003
|
| 10 |
+
Qwen3 236B A22B,91.280000000000001,73.879999999999995,76.920000000000002,51.43,76.790000000000006,48.57,75.25,54.609999999999999,73.560000000000002,46.369999999999997,75.670000000000002,50.469999999999999,41.939999999999998,82.180000000000007,87.060000000000002,69.620000000000005,62.350000000000001,69.620000000000005,62.350000000000001,69.040000000000006,54.630000000000003,66.890000000000001,62.630000000000003,69.150000000000006,62.780000000000001
|
| 11 |
+
gpt-oss-120b,92.950000000000003,83.829999999999998,78.079999999999998,60,77.560000000000002,51.490000000000002,76.659999999999997,53.960000000000001,74.489999999999995,49.850000000000001,76.530000000000001,54.640000000000001,-1,95.640000000000001,88.239999999999995,81.150000000000006,68.239999999999995,80.510000000000005,68.239999999999995,79.719999999999999,70.099999999999994,77.540000000000006,68.269999999999996,78.969999999999999,69.849999999999994
|
| 12 |
+
Qwen2.5 72B,82.180000000000007,79.590000000000003,52.439999999999998,45.310000000000002,51.920000000000002,44.079999999999998,51.829999999999998,46.469999999999999,48.75,45.399999999999999,50.090000000000003,47.649999999999999,37.439999999999998,80.900000000000006,84.709999999999994,52.950000000000003,47.060000000000002,52.689999999999998,47.060000000000002,51.659999999999997,47.590000000000003,49.369999999999997,46.960000000000001,51.18,47.700000000000003
|
| 13 |
+
Llama 3.(1-3) 70B,66.150000000000006,73.879999999999995,40.640000000000001,42.450000000000003,40.640000000000001,39.18,40.460000000000001,40.810000000000002,38.079999999999998,38.140000000000001,39.859999999999999,39.649999999999999,28.719999999999999,84.739999999999995,89.409999999999997,41.670000000000002,65.879999999999995,41.670000000000002,64.709999999999994,41.380000000000003,63.469999999999999,39.75,64.689999999999998,41.359999999999999,64.709999999999994
|
| 14 |
+
Seed-OSS-36B,88.969999999999999,81.700000000000003,71.150000000000006,59.149999999999999,71.150000000000006,56.600000000000001,70.099999999999994,64.629999999999995,68.099999999999994,57.32,70.319999999999993,60.880000000000003,-1,91.030000000000001,91.760000000000005,76.540000000000006,70.590000000000003,76.150000000000006,70.590000000000003,74.950000000000003,66.109999999999999,73.329999999999998,70.189999999999998,74.689999999999998,72.450000000000003
|
| 15 |
+
QwQ 32B,87.950000000000003,82.450000000000003,66.409999999999997,56.729999999999997,66.409999999999997,52.240000000000002,66.150000000000006,55.829999999999998,63.799999999999997,51.909999999999997,65.120000000000005,56.07,-1,58.969999999999999,68.239999999999995,40,52.939999999999998,39.619999999999997,52.939999999999998,39.399999999999999,51.469999999999999,37.530000000000001,52.93,39.100000000000001,53.390000000000001
|
| 16 |
+
Qwen2.5 32B,88.590000000000003,84.079999999999998,52.560000000000002,50.200000000000003,52.18,46.119999999999997,52.32,49.729999999999997,49.43,46.43,50.82,50.43,28.93,93.209999999999994,85.879999999999995,41.539999999999999,45.880000000000003,41.539999999999999,45.880000000000003,41.310000000000002,43.560000000000002,40.479999999999997,46.079999999999998,41.229999999999997,45.369999999999997
|
| 17 |
+
Magistral Small 2506,63.850000000000001,71.909999999999997,42.950000000000003,43.399999999999999,42.439999999999998,37.450000000000003,41.390000000000001,43.359999999999999,40.090000000000003,37.439999999999998,41.390000000000001,40.32,-1,31.280000000000001,68.239999999999995,20.899999999999999,50.590000000000003,20.77,49.409999999999997,20.109999999999999,41.590000000000003,19.609999999999999,48.969999999999999,20.16,50.07
|
| 18 |
+
gpt-oss-20b,88.079999999999998,86.810000000000002,69.739999999999995,58.719999999999999,69.230000000000004,48.939999999999998,69.849999999999994,55.890000000000001,64.569999999999993,45.210000000000001,67.819999999999993,53.289999999999999,-1,91.920000000000002,76.469999999999999,70.260000000000005,50.590000000000003,69.739999999999995,50.590000000000003,69.5,45.409999999999997,67.060000000000002,50.479999999999997,68.760000000000005,49.850000000000001
|
| 19 |
+
StarChat2 15B v0.1,88.459999999999994,84.900000000000006,37.950000000000003,44.490000000000002,37.950000000000003,44.079999999999998,37.560000000000002,46.950000000000003,35.299999999999997,43.219999999999999,37.189999999999998,46.649999999999999,13.42,79.739999999999995,92.939999999999998,36.409999999999997,63.530000000000001,36.030000000000001,63.530000000000001,36.079999999999998,58.060000000000002,34.909999999999997,63.259999999999998,35.759999999999998,64.560000000000002
|
| 20 |
+
DeepSeek R1 Distill Qwen 14B,42.18,34.689999999999998,25.510000000000002,18.370000000000001,25.510000000000002,16.329999999999998,25.359999999999999,17.859999999999999,24.190000000000001,16.48,25.27,17.329999999999998,-1,45,44.710000000000001,25.640000000000001,28.239999999999998,25.260000000000002,28.239999999999998,24.789999999999999,24.710000000000001,23.48,28.140000000000001,24.629999999999999,28.350000000000001
|
| 21 |
+
Hermes-4-14B-Reasoning,79.739999999999995,76.599999999999994,55.899999999999999,39.57,55.640000000000001,34.469999999999999,55.340000000000003,38.350000000000001,53.729999999999997,32.729999999999997,55.170000000000002,36.130000000000003,-1,51.149999999999999,74.120000000000005,36.539999999999999,56.469999999999999,36.280000000000001,56.469999999999999,35.259999999999998,52.969999999999999,35.520000000000003,56.219999999999999,34.939999999999998,57.439999999999998
|
| 22 |
+
Hermes-4-14B,72.180000000000007,80.849999999999994,42.310000000000002,48.090000000000003,42.310000000000002,45.530000000000001,41.729999999999997,50.590000000000003,40.329999999999998,45.810000000000002,41.380000000000003,47.909999999999997,28.359999999999999,52.689999999999998,83.530000000000001,27.440000000000001,45.880000000000003,27.440000000000001,45.880000000000003,26.539999999999999,43.549999999999997,26.68,45.979999999999997,25.109999999999999,44.960000000000001
|
| 23 |
+
Qwen3-8B,70.769999999999996,62.130000000000003,50,34.469999999999999,50,32.770000000000003,49.329999999999998,35.100000000000001,47.920000000000002,32.520000000000003,48.909999999999997,31.879999999999999,-1,69.359999999999999,81.180000000000007,51.539999999999999,40,50.640000000000001,38.82,49.909999999999997,37.469999999999999,48.399999999999999,38.759999999999998,49.409999999999997,38.729999999999997
|
| 24 |
+
CodeLlama 70B,67.049999999999997,69.799999999999997,33.079999999999998,36.329999999999998,33.079999999999998,34.289999999999999,32.689999999999998,37.189999999999998,31.460000000000001,34.289999999999999,32.439999999999998,35.950000000000003,24.329999999999998,90.769999999999996,88.239999999999995,33.329999999999998,47.060000000000002,33.329999999999998,47.060000000000002,33.020000000000003,45.799999999999997,30.800000000000001,46.909999999999997,32.990000000000002,46.979999999999997
|
| 25 |
+
DeepSeek Coder 33B,62.82,83.670000000000002,23.329999999999998,42.450000000000003,23.079999999999998,42.039999999999999,22.859999999999999,42.289999999999999,22.809999999999999,39.420000000000002,22.289999999999999,42.710000000000001,24.579999999999998,75.260000000000005,88.239999999999995,39.619999999999997,45.880000000000003,39.359999999999999,45.880000000000003,38.229999999999997,46.259999999999998,36.789999999999999,45.609999999999999,37.899999999999999,46.170000000000002
|
| 26 |
+
QwenCoder 2.5 32B,87.180000000000007,77.959999999999994,45,43.270000000000003,44.869999999999997,43.270000000000003,44.25,46.82,43.030000000000001,43.200000000000003,43.759999999999998,45.420000000000002,31.07,83.719999999999999,87.060000000000002,45.640000000000001,54.119999999999997,45.130000000000003,54.119999999999997,44.590000000000003,54.549999999999997,43.009999999999998,54.009999999999998,44.549999999999997,55.009999999999998
|
| 27 |
+
DeepCoder 14B,43.850000000000001,39.590000000000003,28.079999999999998,23.670000000000002,28.079999999999998,22.039999999999999,27.940000000000001,25,26.260000000000002,22,27.77,23.149999999999999,-1,61.920000000000002,48.240000000000002,34.100000000000001,32.939999999999998,33.719999999999999,32.939999999999998,33.700000000000003,30.469999999999999,32.170000000000002,32.840000000000003,33.670000000000002,32.909999999999997
|
| 28 |
+
QwenCoder 2.5 14B,78.969999999999999,81.629999999999995,37.82,46.119999999999997,37.439999999999998,45.310000000000002,35.939999999999998,45.82,34.829999999999998,44.640000000000001,35.18,46.049999999999997,37.530000000000001,80,83.530000000000001,41.670000000000002,48.240000000000002,41.149999999999999,48.240000000000002,40.740000000000002,47.090000000000003,39.200000000000003,48.289999999999999,40.829999999999998,47.539999999999999
|
| 29 |
+
SeedCoder 8B,91.409999999999997,85.310000000000002,53.460000000000001,47.350000000000001,53.329999999999998,46.530000000000001,52.859999999999999,49.420000000000002,50.619999999999997,45.600000000000001,51.649999999999999,49.590000000000003,28.23,77.439999999999998,94.120000000000005,37.310000000000002,42.350000000000001,37.310000000000002,38.82,37.32,35.289999999999999,35.350000000000001,38.689999999999998,36.890000000000001,38.990000000000002
|
| 30 |
+
SeedCoder 8B Reasoning,67.819999999999993,53.469999999999999,49.229999999999997,30.199999999999999,49.229999999999997,29.390000000000001,48.920000000000002,32.039999999999999,46.759999999999998,28.640000000000001,47.869999999999997,29.989999999999998,-1,83.329999999999998,78.819999999999993,48.210000000000001,62.350000000000001,48.079999999999998,62.350000000000001,47.780000000000001,53.479999999999997,45.439999999999998,61.810000000000002,47.060000000000002,64.620000000000005
|
| 31 |
+
OpenCoder 8B,78.209999999999994,75.920000000000002,28.460000000000001,42.859999999999999,27.82,40.82,27.34,41.359999999999999,25.949999999999999,39.770000000000003,27.109999999999999,41.359999999999999,16.170000000000002,80,95.290000000000006,35.640000000000001,45.880000000000003,35.380000000000003,45.880000000000003,35.119999999999997,42.399999999999999,33.469999999999999,45.75,35.130000000000003,46.259999999999998
|
| 32 |
+
QwenCoder 2.5 7B,20.129999999999999,76.329999999999998,6.9199999999999999,38.780000000000001,6.6699999999999999,37.140000000000001,6.5099999999999998,40.649999999999999,6.6299999999999999,37.25,6.5599999999999996,39.579999999999998,28.329999999999998,74.099999999999994,90.590000000000003,33.719999999999999,40,33.719999999999999,40,33.590000000000003,37.729999999999997,31.780000000000001,40.07,33.619999999999997,40.57
|
| 33 |
+
DeepSeek Coder 6.7B,82.049999999999997,78.780000000000001,29.620000000000001,41.219999999999999,29.489999999999998,38.780000000000001,29.510000000000002,42.619999999999997,27.73,39.329999999999998,29.41,43.299999999999997,24.629999999999999,67.180000000000007,84.709999999999994,31.670000000000002,37.649999999999999,29.870000000000001,37.649999999999999,29.780000000000001,36.450000000000003,27.98,37.469999999999999,29.210000000000001,37.659999999999997
|
| 34 |
+
CodeV R1 Distill Qwen 7B,56.920000000000002,73.060000000000002,33.329999999999998,49.799999999999997,33.329999999999998,47.350000000000001,32.579999999999998,49.25,32.009999999999998,47.450000000000003,32.450000000000003,49.009999999999998,-1,92.689999999999998,89.409999999999997,21.280000000000001,65.879999999999995,21.280000000000001,65.879999999999995,21.039999999999999,60.100000000000001,19.59,65.590000000000003,21.050000000000001,66.239999999999995
|
| 35 |
+
HaVen-CodeQwen,93.329999999999998,80.409999999999997,47.310000000000002,42.859999999999999,46.149999999999999,41.219999999999999,45.079999999999998,40.590000000000003,44.259999999999998,38.829999999999998,44.68,40.530000000000001,25.140000000000001,93.590000000000003,100,50.130000000000003,62.350000000000001,49.490000000000002,62.350000000000001,47.549999999999997,61.82,47.049999999999997,62.530000000000001,47.090000000000003,61.759999999999998
|
| 36 |
+
CodeV-QW-7B,45.380000000000003,68.159999999999997,19.620000000000001,34.289999999999999,18.969999999999999,26.530000000000001,18.91,28.140000000000001,18.710000000000001,21.800000000000001,18.850000000000001,26.5,20.940000000000001,93.329999999999998,100,52.310000000000002,60,51.539999999999999,60,51.689999999999998,59.899999999999999,48.789999999999999,59.950000000000003,51.450000000000003,60.579999999999998
|
| 37 |
+
RTLCoder Mistral,54.869999999999997,32.240000000000002,24.620000000000001,16.329999999999998,24.620000000000001,15.92,24.280000000000001,16.030000000000001,22.780000000000001,14.710000000000001,24.059999999999999,16,14.77,60.509999999999998,85.879999999999995,27.050000000000001,51.759999999999998,27.050000000000001,51.759999999999998,26.940000000000001,49.850000000000001,25.219999999999999,51.939999999999998,26.870000000000001,52.719999999999999
|
| 38 |
+
RTLCoder DeepSeek,84.620000000000005,73.060000000000002,39.490000000000002,37.140000000000001,39.490000000000002,34.689999999999998,38.909999999999997,34.299999999999997,37.520000000000003,32.759999999999998,38.549999999999997,33.689999999999998,19.350000000000001,77.310000000000002,85.879999999999995,36.920000000000002,55.289999999999999,36.789999999999999,55.289999999999999,36.939999999999998,50.789999999999999,34.840000000000003,55.219999999999999,36.619999999999997,54.689999999999998
|
| 39 |
+
OriGen,96.150000000000006,81.629999999999995,54.229999999999997,50.609999999999999,54.229999999999997,50.609999999999999,54.289999999999999,53.100000000000001,51.57,50.859999999999999,53.149999999999999,53.439999999999998,17.07,92.439999999999998,98.819999999999993,50.770000000000003,76.469999999999999,50.770000000000003,76.469999999999999,50.950000000000003,71.659999999999997,48.530000000000001,76.609999999999999,50.509999999999998,78.700000000000003
|
| 40 |
+
CodeV-CL-7B,32.18,48.159999999999997,13.08,24.489999999999998,12.949999999999999,21.629999999999999,12.800000000000001,22.25,12.51,20.59,12.82,21.289999999999999,12.27,92.049999999999997,98.819999999999993,31.789999999999999,49.409999999999997,31.789999999999999,49.409999999999997,31.739999999999998,48.130000000000003,29.449999999999999,49.340000000000003,31.609999999999999,49.079999999999998
|
| 41 |
+
CodeV-DS-6.7B,33.590000000000003,67.349999999999994,15,38.780000000000001,15,37.140000000000001,15.1,35.560000000000002,14.460000000000001,35.130000000000003,14.85,35.880000000000003,21.260000000000002,95.510000000000005,100,47.049999999999997,61.18,47.049999999999997,60,47.369999999999997,59.880000000000003,44.350000000000001,59.960000000000001,46.520000000000003,59.770000000000003
|
| 42 |
+
,,,,,,,,,,,,,,,,,,,,,,,,,
|
| 43 |
+
,,,,,,,,,,,,,,,,,,,,,,,,,
|
| 44 |
+
,,,,,,,,,,,,,,,,,,,,,,,,,
|
| 45 |
+
,,,,,,,,,,,,,,,,,,,,,,,,,
|
| 46 |
+
,,,,,,,,,,,,,,,,,,,,,,,,,
|
| 47 |
+
,,,,,,,,,,,,,,,,,,,,,,,,,
|
| 48 |
+
,,,,,,,,,,,,,,,,,,,,,,,,,
|
| 49 |
+
,,,,,,,,,,,,,,,,,,,,,,,,,
|
| 50 |
+
,,,,,,,,,,,,,,,,,,,,,,,,,
|
| 51 |
+
,,,,,,,,,,,,,,,,,,,,,,,,,
|
| 52 |
+
,,,,,,,,,,,,,,,,,,,,,,,,,
|
| 53 |
+
,,,,,,,,,,,,,,,,,,,,,,,,,
|
| 54 |
+
,,,,,,,,,,,,,,,,,,,,,,,,,
|
| 55 |
+
,,,,,,,,,,,,,,,,,,,,,,,,,
|
| 56 |
+
,,,,,,,,,,,,,,,,,,,,,,,,,
|
| 57 |
+
,,,,,,,,,,,,,,,,,,,,,,,,,
|
| 58 |
+
,,,,,,,,,,,,,,,,,,,,,,,,,
|
| 59 |
+
,,,,,,,,,,,,,,,,,,,,,,,,,
|
| 60 |
+
,,,,,,,,,,,,,,,,,,,,,,,,,
|
| 61 |
+
,,,,,,,,,,,,,,,,,,,,,,,,,
|
| 62 |
+
,,,,,,,,,,,,,,,,,,,,,,,,,
|
| 63 |
+
,,,,,,,,,,,,,,,,,,,,,,,,,
|
| 64 |
+
,,,,,,,,,,,,,,,,,,,,,,,,,
|
| 65 |
+
,,,,,,,,,,,,,,,,,,,,,,,,,
|
| 66 |
+
,,,,,,,,,,,,,,,,,,,,,,,,,
|
| 67 |
+
,,,,,,,,,,,,,,,,,,,,,,,,,
|
| 68 |
+
,,,,,,,,,,,,,,,,,,,,,,,,,
|
| 69 |
+
,,,,,,,,,,,,,,,,,,,,,,,,,
|
| 70 |
+
|
src/data/results_verilator_november_2025.csv
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
,Syntax (STX),Syntax (STX),Functionality (FNC),Functionality (FNC),Synthesis (SYN),Synthesis (SYN),Power,Power,Performance,Performance,Area,Area,EM,Syntax (STX),Syntax (STX),Functionality (FNC),Functionality (FNC),Synthesis (SYN),Synthesis (SYN),Power,Power,Performance,Performance,Area,Area
|
| 2 |
+
,VerilogEval S2R,RTLLM,VerilogEval S2R,RTLLM,VerilogEval S2R,RTLLM,VerilogEval S2R,RTLLM,VerilogEval S2R,RTLLM,VerilogEval S2R,RTLLM,RTL-Repo,VerilogEval MC,VeriGen,VerilogEval MC,VeriGen,VerilogEval MC,VeriGen,VerilogEval MC,VeriGen,VerilogEval MC,VeriGen,VerilogEval MC,VeriGen
|
| 3 |
+
DeepSeek V3.1 Terminus,95.769999999999996,93.620000000000005,75.510000000000005,62.979999999999997,75.510000000000005,58.719999999999999,75.510000000000005,64.200000000000003,72.739999999999995,59.109999999999999,74.420000000000002,62.350000000000001,-1,95.129999999999995,96.469999999999999,77.049999999999997,78.819999999999993,76.790000000000006,75.290000000000006,76.230000000000004,69.870000000000005,74.299999999999997,75.140000000000001,75.75,77.590000000000003
|
| 4 |
+
Kimi K2 Instruct 0905,96.280000000000001,90.209999999999994,71.280000000000001,64.680000000000007,70.769999999999996,60.43,70.069999999999993,62.939999999999998,68.769999999999996,58.350000000000001,70.319999999999993,63.079999999999998,33.649999999999999,98.590000000000003,95.290000000000006,74.739999999999995,69.409999999999997,74.099999999999994,69.409999999999997,73.290000000000006,57.469999999999999,71.099999999999994,69.900000000000006,73,69.510000000000005
|
| 5 |
+
Gemini 2.5 Flash (Medium),91.540000000000006,81.700000000000003,69.739999999999995,64.680000000000007,69.230000000000004,46.380000000000003,68.400000000000006,51.109999999999999,66.569999999999993,45.100000000000001,68.269999999999996,49.25,-1,90.640000000000001,96.469999999999999,71.670000000000002,77.650000000000006,71.280000000000001,77.650000000000006,70.280000000000001,71.269999999999996,68.060000000000002,77.349999999999994,70.319999999999993,79.450000000000003
|
| 6 |
+
DeepSeek R1-0528,96.540000000000006,89.790000000000006,79.099999999999994,67.659999999999997,78.969999999999999,64.260000000000005,78.439999999999998,73.319999999999993,76.290000000000006,65.379999999999995,78.200000000000003,70.859999999999999,-1,94.739999999999995,98.819999999999993,80,80,79.870000000000005,74.120000000000005,79.659999999999997,63.859999999999999,77.280000000000001,74.049999999999997,79.409999999999997,77.010000000000005
|
| 7 |
+
DeepSeek R1,97.689999999999998,93.189999999999998,79.359999999999999,67.659999999999997,79.099999999999994,62.979999999999997,79.010000000000005,71.379999999999995,76.489999999999995,63.740000000000002,78.629999999999995,69.819999999999993,-1,97.439999999999998,95.290000000000006,77.819999999999993,74.120000000000005,77.689999999999998,74.120000000000005,77.299999999999997,64.579999999999998,75.030000000000001,74.420000000000002,76.939999999999998,77.150000000000006
|
| 8 |
+
Qwen3 Coder 480B A35B,95.900000000000006,89.359999999999999,66.030000000000001,61.280000000000001,65.260000000000005,54.039999999999999,65.329999999999998,53.43,62.450000000000003,53.43,64.239999999999995,52.259999999999998,38.880000000000003,83.969999999999999,100,58.719999999999999,75.290000000000006,58.210000000000001,75.290000000000006,57.579999999999998,69.629999999999995,55.420000000000002,73.950000000000003,56.5,76.760000000000005
|
| 9 |
+
Llama 3.1 405B,88.209999999999994,83.400000000000006,56.789999999999999,50.210000000000001,56.409999999999997,43.829999999999998,55.159999999999997,53.869999999999997,54.009999999999998,33.829999999999998,53.990000000000002,45.729999999999997,34.619999999999997,90.510000000000005,95.290000000000006,57.689999999999998,60,56.670000000000002,55.289999999999999,55.950000000000003,51.57,54.090000000000003,54.869999999999997,55.259999999999998,57.670000000000002
|
| 10 |
+
Qwen3 236B A22B,93.969999999999999,78.719999999999999,75.769999999999996,56.170000000000002,75.379999999999995,50.210000000000001,75,57.009999999999998,72.939999999999998,47.850000000000001,74.780000000000001,52.450000000000003,41.939999999999998,83.719999999999999,88.239999999999995,68.969999999999999,62.350000000000001,68.459999999999994,62.350000000000001,68.299999999999997,54.630000000000003,65.989999999999995,62.630000000000003,68.349999999999994,62.780000000000001
|
| 11 |
+
gpt-oss-120b,94.359999999999999,85.959999999999994,76.670000000000002,62.130000000000003,76.540000000000006,51.490000000000002,76.510000000000005,53.960000000000001,73.829999999999998,49.850000000000001,76.010000000000005,54.640000000000001,-1,95.379999999999995,89.409999999999997,76.920000000000002,69.409999999999997,76.670000000000002,69.409999999999997,76.480000000000004,71.049999999999997,73.909999999999997,69.439999999999998,75.810000000000002,70.879999999999995
|
| 12 |
+
Qwen2.5 72B,83.849999999999994,82.980000000000004,55,48.509999999999998,54.490000000000002,45.960000000000001,53.969999999999999,48.450000000000003,51.299999999999997,47.340000000000003,52.840000000000003,49.68,37.439999999999998,83.079999999999998,87.060000000000002,54.740000000000002,50.590000000000003,54.359999999999999,50.590000000000003,53.359999999999999,50.049999999999997,51.200000000000003,50.560000000000002,52.759999999999998,52.229999999999997
|
| 13 |
+
Llama 3.(1-3) 70B,68.329999999999998,79.150000000000006,40.899999999999999,45.960000000000001,40.899999999999999,40.43,40.770000000000003,42.119999999999997,38.329999999999998,39.340000000000003,40.420000000000002,40.920000000000002,28.719999999999999,86.030000000000001,87.060000000000002,43.719999999999999,63.530000000000001,43.590000000000003,63.530000000000001,43.549999999999997,62.289999999999999,41.57,63.520000000000003,42.939999999999998,63.539999999999999
|
| 14 |
+
Seed-OSS-36B,89.359999999999999,83.400000000000006,71.150000000000006,61.700000000000003,70.900000000000006,57.020000000000003,70.530000000000001,65.329999999999998,68.219999999999999,57.32,70.329999999999998,61.390000000000001,-1,91.030000000000001,91.760000000000005,73.849999999999994,70.590000000000003,73.459999999999994,70.590000000000003,73.040000000000006,66.109999999999999,70.890000000000001,70.189999999999998,72.599999999999994,72.450000000000003
|
| 15 |
+
QwQ 32B,89.230000000000004,85.959999999999994,67.560000000000002,58.299999999999997,67.180000000000007,53.619999999999997,67.040000000000006,57.289999999999999,64.780000000000001,53.340000000000003,66.439999999999998,57.560000000000002,-1,59.619999999999997,87.060000000000002,40.130000000000003,65.879999999999995,39.490000000000002,64.709999999999994,39.259999999999998,60.950000000000003,37.490000000000002,64.480000000000004,39.170000000000002,66.310000000000002
|
| 16 |
+
Qwen2.5 32B,90.900000000000006,87.659999999999997,55.899999999999999,50.210000000000001,55.259999999999998,46.810000000000002,55.560000000000002,50.659999999999997,53.100000000000001,47.409999999999997,54.020000000000003,51.369999999999997,28.93,95.510000000000005,85.879999999999995,45,49.409999999999997,43.719999999999999,49.409999999999997,43.719999999999999,46.409999999999997,42.490000000000002,49.890000000000001,42.950000000000003,49.609999999999999
|
| 17 |
+
Magistral Small 2506,65.129999999999995,74.040000000000006,42.950000000000003,44.259999999999998,42.310000000000002,37.450000000000003,41.810000000000002,43.100000000000001,40.189999999999998,37.369999999999997,41.75,40.350000000000001,-1,31.789999999999999,70.590000000000003,21.030000000000001,55.289999999999999,20.77,54.119999999999997,20.329999999999998,46.600000000000001,20.079999999999998,54.020000000000003,20.66,55.060000000000002
|
| 18 |
+
gpt-oss-20b,88.209999999999994,89.790000000000006,68.079999999999998,61.280000000000001,67.689999999999998,49.359999999999999,68.920000000000002,57.140000000000001,63.630000000000003,45.880000000000003,66.810000000000002,54.340000000000003,-1,91.670000000000002,76.469999999999999,68.849999999999994,51.759999999999998,68.590000000000003,51.759999999999998,68.689999999999998,46.57,66.390000000000001,51.560000000000002,68.040000000000006,50.869999999999997
|
| 19 |
+
StarChat2 15B v0.1,88.719999999999999,89.359999999999999,38.850000000000001,48.509999999999998,38.850000000000001,45.960000000000001,38.920000000000002,48.950000000000003,36.18,45.049999999999997,38.810000000000002,48.630000000000003,13.42,81.409999999999997,91.760000000000005,36.539999999999999,63.530000000000001,36.280000000000001,63.530000000000001,36.189999999999998,57.509999999999998,35.109999999999999,63.229999999999997,36.240000000000002,65
|
| 20 |
+
DeepSeek R1 Distill Qwen 14B,42.82,36.600000000000001,25.260000000000002,20.43,25,17.02,24.809999999999999,18.620000000000001,23.68,17.18,24.829999999999998,18.07,-1,45.640000000000001,44.710000000000001,25.379999999999999,29.41,25.260000000000002,29.41,24.98,25.920000000000002,23.609999999999999,29.43,24.690000000000001,29.649999999999999
|
| 21 |
+
Hermes-4-14B-Reasoning,80.640000000000001,79.569999999999993,56.149999999999999,41.280000000000001,55.770000000000003,34.469999999999999,55.850000000000001,38.350000000000001,53.710000000000001,32.729999999999997,55.649999999999999,36.130000000000003,-1,52.18,84.709999999999994,36.920000000000002,60,36.670000000000002,58.82,36.210000000000001,52.969999999999999,36.020000000000003,58.57,36.119999999999997,59.799999999999997
|
| 22 |
+
Hermes-4-14B,72.180000000000007,85.109999999999999,43.850000000000001,50.640000000000001,43.850000000000001,45.960000000000001,43.270000000000003,51.009999999999998,41.869999999999997,46.229999999999997,42.920000000000002,48.329999999999998,28.359999999999999,54.229999999999997,84.709999999999994,27.690000000000001,48.240000000000002,27.690000000000001,48.240000000000002,27.359999999999999,46.18,27.34,48.57,26.199999999999999,47.469999999999999
|
| 23 |
+
Qwen3-8B,70.900000000000006,65.959999999999994,51.030000000000001,37.869999999999997,51.030000000000001,33.619999999999997,50.57,36.520000000000003,48.899999999999999,33.600000000000001,49.93,33.200000000000003,-1,70.769999999999996,83.530000000000001,51.409999999999997,40,51.149999999999999,38.82,50.579999999999998,37.469999999999999,49.170000000000002,38.759999999999998,50.18,38.729999999999997
|
| 24 |
+
CodeLlama 70B,67.310000000000002,77.450000000000003,34.740000000000002,38.719999999999999,34.490000000000002,36.170000000000002,34.030000000000001,39.18,32.880000000000003,36.140000000000001,33.829999999999998,37.93,24.329999999999998,92.560000000000002,88.239999999999995,35.770000000000003,52.939999999999998,35.380000000000003,51.759999999999998,34.810000000000002,50.619999999999997,32.340000000000003,51.890000000000001,34.520000000000003,52.359999999999999
|
| 25 |
+
DeepSeek Coder 33B,64.489999999999995,88.939999999999998,23.59,46.380000000000003,23.59,44.259999999999998,23.370000000000001,44.539999999999999,23.32,41.539999999999999,22.739999999999998,45.039999999999999,24.579999999999998,76.540000000000006,88.239999999999995,40.130000000000003,50.590000000000003,39.869999999999997,50.590000000000003,38.700000000000003,51.5,37.329999999999998,50.219999999999999,38.399999999999999,51.630000000000003
|
| 26 |
+
QwenCoder 2.5 32B,90.260000000000005,81.280000000000001,46.539999999999999,47.659999999999997,46.409999999999997,45.109999999999999,45.950000000000003,48.810000000000002,44.420000000000002,45.039999999999999,45.57,47.359999999999999,31.07,86.150000000000006,85.879999999999995,48.210000000000001,54.119999999999997,47.560000000000002,54.119999999999997,47.350000000000001,54.590000000000003,45.350000000000001,54.119999999999997,46.780000000000001,55.140000000000001
|
| 27 |
+
DeepCoder 14B,45.130000000000003,42.549999999999997,28.719999999999999,25.530000000000001,28.719999999999999,22.98,28.579999999999998,26.059999999999999,26.859999999999999,22.940000000000001,28.16,24.140000000000001,-1,63.460000000000001,49.409999999999997,34.359999999999999,37.649999999999999,34.100000000000001,35.289999999999999,34.170000000000002,32.789999999999999,32.579999999999998,35.289999999999999,33.409999999999997,35.280000000000001
|
| 28 |
+
QwenCoder 2.5 14B,80.900000000000006,82.980000000000004,39.869999999999997,50.640000000000001,38.969999999999999,47.659999999999997,37.490000000000002,47.82,36.369999999999997,46.979999999999997,36.729999999999997,48.399999999999999,37.530000000000001,81.409999999999997,84.709999999999994,43.079999999999998,50.590000000000003,42.439999999999998,50.590000000000003,42.020000000000003,49.509999999999998,40.479999999999997,50.859999999999999,42.109999999999999,50.149999999999999
|
| 29 |
+
SeedCoder 8B,96.409999999999997,89.359999999999999,54.359999999999999,51.490000000000002,54.229999999999997,48.509999999999998,53.68,51.520000000000003,51.5,47.539999999999999,52.560000000000002,51.700000000000003,28.23,78.209999999999994,91.760000000000005,38.210000000000001,47.060000000000002,38.079999999999998,43.530000000000001,38.100000000000001,37.890000000000001,36.090000000000003,43.770000000000003,37.539999999999999,43.869999999999997
|
| 30 |
+
SeedCoder 8B Reasoning,68.719999999999999,56.170000000000002,48.079999999999998,34.039999999999999,48.079999999999998,30.640000000000001,48.270000000000003,33.409999999999997,45.780000000000001,29.859999999999999,47,31.27,-1,84.489999999999995,80,48.969999999999999,63.530000000000001,48.850000000000001,63.530000000000001,48.68,54.979999999999997,46.32,62.969999999999999,47.530000000000001,66.099999999999994
|
| 31 |
+
OpenCoder 8B,80,80,27.949999999999999,43.829999999999998,27.949999999999999,42.130000000000003,27.52,42.439999999999998,26.07,40.979999999999997,27.280000000000001,42.460000000000001,16.170000000000002,81.030000000000001,94.120000000000005,36.789999999999999,49.409999999999997,36.149999999999999,44.710000000000001,35.890000000000001,41.219999999999999,34.240000000000002,44.579999999999998,35.899999999999999,45.079999999999998
|
| 32 |
+
QwenCoder 2.5 7B,19.23,83.400000000000006,7.1799999999999997,40.850000000000001,7.1799999999999997,38.719999999999999,7.0199999999999996,42.310000000000002,7.1500000000000004,38.710000000000001,7.0800000000000001,41.200000000000003,28.329999999999998,76.150000000000006,90.590000000000003,35,48.240000000000002,34.740000000000002,48.240000000000002,34.619999999999997,44.93,32.799999999999997,48.399999999999999,34.649999999999999,49.759999999999998
|
| 33 |
+
DeepSeek Coder 6.7B,86.030000000000001,89.359999999999999,31.280000000000001,45.960000000000001,31.149999999999999,42.979999999999997,31.16,47.369999999999997,29.149999999999999,43.299999999999997,31.079999999999998,48.170000000000002,24.629999999999999,69.099999999999994,83.530000000000001,31.670000000000002,37.649999999999999,30.129999999999999,37.649999999999999,30.190000000000001,36.450000000000003,28.16,37.469999999999999,29.82,37.659999999999997
|
| 34 |
+
CodeV R1 Distill Qwen 7B,56.409999999999997,79.150000000000006,33.969999999999999,50.640000000000001,33.850000000000001,48.939999999999998,33.799999999999997,50.920000000000002,32.490000000000002,49.039999999999999,33.710000000000001,50.670000000000002,-1,94.230000000000004,87.060000000000002,22.18,63.530000000000001,22.18,63.530000000000001,22.210000000000001,57.75,20.73,63.240000000000002,22.079999999999998,63.890000000000001
|
| 35 |
+
HaVen-CodeQwen,93.969999999999999,84.260000000000005,46.789999999999999,47.229999999999997,46.280000000000001,44.259999999999998,45.469999999999999,42.270000000000003,44.289999999999999,42.07,45.5,44.270000000000003,25.140000000000001,95,95.290000000000006,50,67.060000000000002,50,67.060000000000002,48.509999999999998,65.700000000000003,47.560000000000002,67.609999999999999,48.140000000000001,66.799999999999997
|
| 36 |
+
CodeV-QW-7B,45.259999999999998,71.489999999999995,20.640000000000001,36.170000000000002,20,29.359999999999999,19.940000000000001,30.309999999999999,19.739999999999998,24.52,19.879999999999999,28.48,20.940000000000001,92.689999999999998,96.469999999999999,51.539999999999999,57.649999999999999,51.409999999999997,57.649999999999999,51.520000000000003,56.439999999999998,48.710000000000001,57.560000000000002,51.310000000000002,58.350000000000001
|
| 37 |
+
RTLCoder Mistral,56.030000000000001,35.32,25.379999999999999,17.02,25.379999999999999,16.170000000000002,25.52,15.859999999999999,23.18,15.34,25.539999999999999,15.84,14.77,62.310000000000002,87.060000000000002,27.309999999999999,56.469999999999999,27.18,56.469999999999999,26.93,52.350000000000001,25.43,56.549999999999997,26.949999999999999,59.170000000000002
|
| 38 |
+
RTLCoder DeepSeek,84.739999999999995,76.170000000000002,40.509999999999998,42.130000000000003,40.380000000000003,37.450000000000003,39.729999999999997,36.75,38.439999999999998,35.289999999999999,39.399999999999999,36.390000000000001,19.350000000000001,79.230000000000004,85.879999999999995,36.409999999999997,55.289999999999999,36.409999999999997,55.289999999999999,36.490000000000002,50.789999999999999,34.509999999999998,55.219999999999999,36.210000000000001,54.689999999999998
|
| 39 |
+
OriGen,96.790000000000006,85.109999999999999,54.359999999999999,53.189999999999998,53.850000000000001,51.060000000000002,54.079999999999998,54.170000000000002,51.07,51.310000000000002,53.009999999999998,54.390000000000001,17.07,92.560000000000002,96.469999999999999,50.509999999999998,74.120000000000005,50.509999999999998,74.120000000000005,50.829999999999998,69.299999999999997,48.280000000000001,74.260000000000005,50.409999999999997,76.349999999999994
|
| 40 |
+
CodeV-CL-7B,32.82,54.469999999999999,13.460000000000001,29.359999999999999,13.33,22.550000000000001,13.19,23.190000000000001,13.26,21.469999999999999,13.19,22.190000000000001,12.27,92.180000000000007,98.819999999999993,31.789999999999999,49.409999999999997,31.789999999999999,49.409999999999997,31.739999999999998,48.130000000000003,29.829999999999998,49.340000000000003,31.609999999999999,49.079999999999998
|
| 41 |
+
CodeV-DS-6.7B,34.359999999999999,69.790000000000006,14.74,41.280000000000001,14.359999999999999,37.869999999999997,14.380000000000001,35.890000000000001,14.130000000000001,35.740000000000002,14.19,36.18,21.260000000000002,95.769999999999996,100,46.670000000000002,61.18,46.670000000000002,61.18,47.07,61.060000000000002,44.189999999999998,61.130000000000003,46.469999999999999,60.950000000000003
|
| 42 |
+
,,,,,,,,,,,,,,,,,,,,,,,,,
|
| 43 |
+
,,,,,,,,,,,,,,,,,,,,,,,,,
|
| 44 |
+
,,,,,,,,,,,,,,,,,,,,,,,,,
|
| 45 |
+
,,,,,,,,,,,,,,,,,,,,,,,,,
|
| 46 |
+
,,,,,,,,,,,,,,,,,,,,,,,,,
|
| 47 |
+
,,,,,,,,,,,,,,,,,,,,,,,,,
|
| 48 |
+
,,,,,,,,,,,,,,,,,,,,,,,,,
|
| 49 |
+
,,,,,,,,,,,,,,,,,,,,,,,,,
|
| 50 |
+
,,,,,,,,,,,,,,,,,,,,,,,,,
|
| 51 |
+
,,,,,,,,,,,,,,,,,,,,,,,,,
|
| 52 |
+
,,,,,,,,,,,,,,,,,,,,,,,,,
|
| 53 |
+
,,,,,,,,,,,,,,,,,,,,,,,,,
|
| 54 |
+
,,,,,,,,,,,,,,,,,,,,,,,,,
|
| 55 |
+
,,,,,,,,,,,,,,,,,,,,,,,,,
|
| 56 |
+
,,,,,,,,,,,,,,,,,,,,,,,,,
|
| 57 |
+
,,,,,,,,,,,,,,,,,,,,,,,,,
|
| 58 |
+
,,,,,,,,,,,,,,,,,,,,,,,,,
|
| 59 |
+
,,,,,,,,,,,,,,,,,,,,,,,,,
|
| 60 |
+
,,,,,,,,,,,,,,,,,,,,,,,,,
|
| 61 |
+
,,,,,,,,,,,,,,,,,,,,,,,,,
|
| 62 |
+
,,,,,,,,,,,,,,,,,,,,,,,,,
|
| 63 |
+
,,,,,,,,,,,,,,,,,,,,,,,,,
|
| 64 |
+
,,,,,,,,,,,,,,,,,,,,,,,,,
|
| 65 |
+
,,,,,,,,,,,,,,,,,,,,,,,,,
|
| 66 |
+
,,,,,,,,,,,,,,,,,,,,,,,,,
|
| 67 |
+
,,,,,,,,,,,,,,,,,,,,,,,,,
|
| 68 |
+
,,,,,,,,,,,,,,,,,,,,,,,,,
|
| 69 |
+
,,,,,,,,,,,,,,,,,,,,,,,,,
|
| 70 |
+
|
src/frontend.tsx
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/**
|
| 2 |
+
* This file is the entry point for the React app, it sets up the root
|
| 3 |
+
* element and renders the App component to the DOM.
|
| 4 |
+
*
|
| 5 |
+
* It is included in `src/index.html`.
|
| 6 |
+
*/
|
| 7 |
+
|
| 8 |
+
import { createRoot } from "react-dom/client";
|
| 9 |
+
import { App } from "./App";
|
| 10 |
+
|
| 11 |
+
function start() {
|
| 12 |
+
const root = createRoot(document.getElementById("root")!);
|
| 13 |
+
root.render(<App />);
|
| 14 |
+
}
|
| 15 |
+
|
| 16 |
+
if (document.readyState === "loading") {
|
| 17 |
+
document.addEventListener("DOMContentLoaded", start);
|
| 18 |
+
} else {
|
| 19 |
+
start();
|
| 20 |
+
}
|
src/index.css
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
@import "tailwindcss";
|
| 2 |
+
|
| 3 |
+
@layer base {
|
| 4 |
+
:root {
|
| 5 |
+
@apply text-[rgba(255,255,255,0.87)] bg-[#18181a] font-sans;
|
| 6 |
+
}
|
| 7 |
+
|
| 8 |
+
body {
|
| 9 |
+
@apply grid place-items-center min-w-[320px] min-h-screen relative m-0;
|
| 10 |
+
}
|
| 11 |
+
}
|
| 12 |
+
|
| 13 |
+
body::before {
|
| 14 |
+
content: "";
|
| 15 |
+
position: fixed;
|
| 16 |
+
inset: 0;
|
| 17 |
+
z-index: -1;
|
| 18 |
+
opacity: 0.05;
|
| 19 |
+
background-size: 256px;
|
| 20 |
+
transform: rotate(-12deg) scale(1.35);
|
| 21 |
+
animation: slide 30s linear infinite;
|
| 22 |
+
pointer-events: none;
|
| 23 |
+
}
|
| 24 |
+
|
| 25 |
+
@keyframes slide {
|
| 26 |
+
from {
|
| 27 |
+
background-position: 0 0;
|
| 28 |
+
}
|
| 29 |
+
to {
|
| 30 |
+
background-position: 256px 224px;
|
| 31 |
+
}
|
| 32 |
+
}
|
| 33 |
+
|
| 34 |
+
@keyframes spin {
|
| 35 |
+
from {
|
| 36 |
+
transform: rotate(0);
|
| 37 |
+
}
|
| 38 |
+
to {
|
| 39 |
+
transform: rotate(360deg);
|
| 40 |
+
}
|
| 41 |
+
}
|
| 42 |
+
|
| 43 |
+
@media (prefers-reduced-motion) {
|
| 44 |
+
*,
|
| 45 |
+
::before,
|
| 46 |
+
::after {
|
| 47 |
+
animation: none !important;
|
| 48 |
+
}
|
| 49 |
+
}
|
| 50 |
+
|
src/index.html
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!doctype html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8" />
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
| 6 |
+
<title>TuRTLe Leaderboard</title>
|
| 7 |
+
</head>
|
| 8 |
+
<body>
|
| 9 |
+
<div id="root"></div>
|
| 10 |
+
<script type="module" src="./frontend.tsx"></script>
|
| 11 |
+
</body>
|
| 12 |
+
</html>
|
src/index.ts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import { serve } from "bun";
|
| 2 |
+
import index from "./index.html";
|
| 3 |
+
|
| 4 |
+
const server = serve({
|
| 5 |
+
routes: {
|
| 6 |
+
// Serve index.html for all unmatched routes.
|
| 7 |
+
"/*": index,
|
| 8 |
+
},
|
| 9 |
+
|
| 10 |
+
development: process.env.NODE_ENV !== "production" && {
|
| 11 |
+
// Enable browser hot reloading in development
|
| 12 |
+
hmr: true,
|
| 13 |
+
|
| 14 |
+
// Echo console logs from the browser to the server
|
| 15 |
+
console: true,
|
| 16 |
+
},
|
| 17 |
+
});
|
| 18 |
+
|
| 19 |
+
console.log(`🚀 Server running at ${server.url}`);
|
src/scripts/split-csv.ts
ADDED
|
@@ -0,0 +1,85 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import Papa from 'papaparse';
|
| 2 |
+
|
| 3 |
+
const inputFiles = ['data/results_icarus.csv', 'data/results_verilator.csv'];
|
| 4 |
+
|
| 5 |
+
// Define benchmark mappings (benchmark name -> category and filename)
|
| 6 |
+
const benchmarkMap: Record<string, { category: string; filename: string; columns: number[] }> = {};
|
| 7 |
+
|
| 8 |
+
async function splitCSV() {
|
| 9 |
+
for (const inputFile of inputFiles) {
|
| 10 |
+
const simulator = inputFile.includes('icarus') ? 'icarus' : 'verilator';
|
| 11 |
+
const file = Bun.file(inputFile);
|
| 12 |
+
const content = await file.text();
|
| 13 |
+
|
| 14 |
+
// Parse CSV
|
| 15 |
+
const lines = content.split('\n');
|
| 16 |
+
const metricRow = lines[0].split(',');
|
| 17 |
+
const benchmarkRow = lines[1].split(',');
|
| 18 |
+
|
| 19 |
+
// Identify column indices for each benchmark
|
| 20 |
+
const benchmarks: Record<string, { category: string; indices: number[] }> = {
|
| 21 |
+
'verilogeval-s2r': { category: 'spec-to-rtl', indices: [] },
|
| 22 |
+
'rtllm': { category: 'spec-to-rtl', indices: [] },
|
| 23 |
+
'verilogeval-mc': { category: 'module-completion', indices: [] },
|
| 24 |
+
'verigen': { category: 'module-completion', indices: [] },
|
| 25 |
+
'rtl-repo': { category: 'exact-match', indices: [] }
|
| 26 |
+
};
|
| 27 |
+
|
| 28 |
+
// Map columns to benchmarks
|
| 29 |
+
benchmarkRow.forEach((bench, idx) => {
|
| 30 |
+
const benchName = bench.trim().toLowerCase();
|
| 31 |
+
if (benchName.includes('verilogeval s2r')) {
|
| 32 |
+
benchmarks['verilogeval-s2r'].indices.push(idx);
|
| 33 |
+
} else if (benchName.includes('rtllm')) {
|
| 34 |
+
benchmarks['rtllm'].indices.push(idx);
|
| 35 |
+
} else if (benchName.includes('verilogeval mc')) {
|
| 36 |
+
benchmarks['verilogeval-mc'].indices.push(idx);
|
| 37 |
+
} else if (benchName.includes('verigen')) {
|
| 38 |
+
benchmarks['verigen'].indices.push(idx);
|
| 39 |
+
} else if (benchName.includes('rtl-repo')) {
|
| 40 |
+
benchmarks['rtl-repo'].indices.push(idx);
|
| 41 |
+
}
|
| 42 |
+
});
|
| 43 |
+
|
| 44 |
+
// Create separate CSV files for each benchmark
|
| 45 |
+
for (const [benchName, { category, indices }] of Object.entries(benchmarks)) {
|
| 46 |
+
if (indices.length === 0) continue;
|
| 47 |
+
|
| 48 |
+
const outputFile = `data/${category}/${benchName}-${simulator}.csv`;
|
| 49 |
+
const rows: string[] = [];
|
| 50 |
+
|
| 51 |
+
// Create header rows
|
| 52 |
+
const metrics: string[] = ['Model'];
|
| 53 |
+
const benchmarkHeader: string[] = [''];
|
| 54 |
+
|
| 55 |
+
indices.forEach(idx => {
|
| 56 |
+
metrics.push(metricRow[idx] || '');
|
| 57 |
+
benchmarkHeader.push(benchmarkRow[idx] || '');
|
| 58 |
+
});
|
| 59 |
+
|
| 60 |
+
rows.push(metrics.join(','));
|
| 61 |
+
|
| 62 |
+
// Add data rows
|
| 63 |
+
for (let i = 2; i < lines.length; i++) {
|
| 64 |
+
if (!lines[i].trim()) continue;
|
| 65 |
+
|
| 66 |
+
const cols = lines[i].split(',');
|
| 67 |
+
const dataRow: string[] = [cols[0] || '']; // Model name
|
| 68 |
+
|
| 69 |
+
indices.forEach(idx => {
|
| 70 |
+
dataRow.push(cols[idx] || '');
|
| 71 |
+
});
|
| 72 |
+
|
| 73 |
+
// Skip empty rows
|
| 74 |
+
if (dataRow.slice(1).every(val => !val || !val.trim())) continue;
|
| 75 |
+
|
| 76 |
+
rows.push(dataRow.join(','));
|
| 77 |
+
}
|
| 78 |
+
|
| 79 |
+
await Bun.write(outputFile, rows.join('\n'));
|
| 80 |
+
console.log(`Created: ${outputFile}`);
|
| 81 |
+
}
|
| 82 |
+
}
|
| 83 |
+
}
|
| 84 |
+
|
| 85 |
+
splitCSV().catch(console.error);
|
src/utils/dataLoader.ts
ADDED
|
@@ -0,0 +1,386 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import modelMetadata from "../data/model_metadata.json";
|
| 2 |
+
import icarusCSV from "../data/results_icarus_november_2025.csv" with { type: "text" };
|
| 3 |
+
import verilatorCSV from "../data/results_verilator_november_2025.csv" with { type: "text" };
|
| 4 |
+
import notSoTinyCSV from "../data/results_NotSoTiny-25-12.csv" with { type: "text" };
|
| 5 |
+
|
| 6 |
+
export interface ModelMetadata {
|
| 7 |
+
url: string;
|
| 8 |
+
params: number | null;
|
| 9 |
+
category: "General" | "Coding" | "RTL-Specific";
|
| 10 |
+
version: string;
|
| 11 |
+
architecture: "Dense" | "Reasoning";
|
| 12 |
+
context_length: string | null;
|
| 13 |
+
deprecated?: boolean;
|
| 14 |
+
}
|
| 15 |
+
|
| 16 |
+
export interface LeaderboardRow {
|
| 17 |
+
rank: number;
|
| 18 |
+
modelName: string;
|
| 19 |
+
modelType: string;
|
| 20 |
+
params: number | null;
|
| 21 |
+
contextLength: string | null;
|
| 22 |
+
url: string;
|
| 23 |
+
architecture: string;
|
| 24 |
+
[key: string]: any; // For dynamic metric columns
|
| 25 |
+
}
|
| 26 |
+
|
| 27 |
+
function getModelMetadata(modelName: string): ModelMetadata | null {
|
| 28 |
+
const metadata = modelMetadata as Record<string, ModelMetadata>;
|
| 29 |
+
|
| 30 |
+
const trimmedName = modelName.trim();
|
| 31 |
+
if (metadata[trimmedName]) {
|
| 32 |
+
return metadata[trimmedName];
|
| 33 |
+
}
|
| 34 |
+
|
| 35 |
+
if (metadata[modelName]) {
|
| 36 |
+
return metadata[modelName];
|
| 37 |
+
}
|
| 38 |
+
|
| 39 |
+
return null;
|
| 40 |
+
}
|
| 41 |
+
|
| 42 |
+
function parseCSV(text: string): string[][] {
|
| 43 |
+
// Remove BOM if present
|
| 44 |
+
const cleanText = text.replace(/^\uFEFF/, '');
|
| 45 |
+
const lines = cleanText.split("\n").filter(line => line.trim());
|
| 46 |
+
return lines.map(line => {
|
| 47 |
+
const values: string[] = [];
|
| 48 |
+
let current = "";
|
| 49 |
+
let inQuotes = false;
|
| 50 |
+
|
| 51 |
+
for (let i = 0; i < line.length; i++) {
|
| 52 |
+
const char = line[i];
|
| 53 |
+
if (char === '"') {
|
| 54 |
+
inQuotes = !inQuotes;
|
| 55 |
+
} else if (char === "," && !inQuotes) {
|
| 56 |
+
values.push(current.trim());
|
| 57 |
+
current = "";
|
| 58 |
+
} else {
|
| 59 |
+
current += char;
|
| 60 |
+
}
|
| 61 |
+
}
|
| 62 |
+
values.push(current.trim());
|
| 63 |
+
return values;
|
| 64 |
+
});
|
| 65 |
+
}
|
| 66 |
+
|
| 67 |
+
function getCSVText(task: string, simulator: string | null): string {
|
| 68 |
+
if (task === "Module Completion") {
|
| 69 |
+
return notSoTinyCSV;
|
| 70 |
+
} else if (task === "Line Completion") {
|
| 71 |
+
return icarusCSV;
|
| 72 |
+
} else if (simulator === "Icarus Verilog") {
|
| 73 |
+
return icarusCSV;
|
| 74 |
+
} else if (simulator === "Verilator") {
|
| 75 |
+
return verilatorCSV;
|
| 76 |
+
}
|
| 77 |
+
return "";
|
| 78 |
+
}
|
| 79 |
+
|
| 80 |
+
function findBenchmarkColumns(
|
| 81 |
+
metricRow: string[],
|
| 82 |
+
benchmarkRow: string[],
|
| 83 |
+
benchmark: string,
|
| 84 |
+
task: string
|
| 85 |
+
): { indices: number[]; metrics: string[] } {
|
| 86 |
+
const indices: number[] = [];
|
| 87 |
+
const metrics: string[] = [];
|
| 88 |
+
|
| 89 |
+
if (benchmark === "All") {
|
| 90 |
+
const taskBenchmarks = getTaskBenchmarks(task);
|
| 91 |
+
for (const bench of taskBenchmarks) {
|
| 92 |
+
for (let i = 0; i < benchmarkRow.length; i++) {
|
| 93 |
+
if (benchmarkRow[i] === bench && !indices.includes(i)) {
|
| 94 |
+
indices.push(i);
|
| 95 |
+
metrics.push(metricRow[i]);
|
| 96 |
+
}
|
| 97 |
+
}
|
| 98 |
+
}
|
| 99 |
+
} else if (benchmark === "NotSoTiny") {
|
| 100 |
+
for (let i = 1; i < metricRow.length; i++) {
|
| 101 |
+
if (metricRow[i]) {
|
| 102 |
+
indices.push(i);
|
| 103 |
+
metrics.push(metricRow[i]);
|
| 104 |
+
}
|
| 105 |
+
}
|
| 106 |
+
} else {
|
| 107 |
+
for (let i = 0; i < benchmarkRow.length; i++) {
|
| 108 |
+
if (benchmarkRow[i] === benchmark || benchmarkRow[i].includes(benchmark)) {
|
| 109 |
+
indices.push(i);
|
| 110 |
+
metrics.push(metricRow[i]);
|
| 111 |
+
}
|
| 112 |
+
}
|
| 113 |
+
}
|
| 114 |
+
|
| 115 |
+
return { indices, metrics };
|
| 116 |
+
}
|
| 117 |
+
|
| 118 |
+
function getTaskBenchmarks(task: string): string[] {
|
| 119 |
+
const benchmarks: Record<string, string[]> = {
|
| 120 |
+
"Spec-to-RTL": ["VerilogEval S2R", "RTLLM"],
|
| 121 |
+
"Code Completion": ["VerilogEval MC", "VeriGen"],
|
| 122 |
+
"Module Completion": ["TT06", "TT07", "TT08", "TT09", "TT10 IHP 02", "TT10 IHP 25a", "TTSky25a"],
|
| 123 |
+
"Line Completion": ["RTL-Repo"]
|
| 124 |
+
};
|
| 125 |
+
return benchmarks[task] || [];
|
| 126 |
+
}
|
| 127 |
+
|
| 128 |
+
export async function loadLeaderboardData(
|
| 129 |
+
task: string,
|
| 130 |
+
benchmark: string,
|
| 131 |
+
simulator: string | null,
|
| 132 |
+
filters: {
|
| 133 |
+
modelTypes: string[];
|
| 134 |
+
maxParams: number;
|
| 135 |
+
includeDeprecated: boolean;
|
| 136 |
+
searchQuery: string;
|
| 137 |
+
}
|
| 138 |
+
): Promise<LeaderboardRow[]> {
|
| 139 |
+
const csvText = getCSVText(task, simulator);
|
| 140 |
+
if (!csvText) {
|
| 141 |
+
console.error("Invalid task/simulator combination");
|
| 142 |
+
return [];
|
| 143 |
+
}
|
| 144 |
+
|
| 145 |
+
try {
|
| 146 |
+
const csvData = parseCSV(csvText);
|
| 147 |
+
|
| 148 |
+
if (csvData.length < 3) {
|
| 149 |
+
console.error("Invalid CSV format");
|
| 150 |
+
return [];
|
| 151 |
+
}
|
| 152 |
+
|
| 153 |
+
const metricRow = task === "Module Completion" ? csvData[1] : csvData[0];
|
| 154 |
+
const benchmarkRow = task === "Module Completion" ? csvData[0] : csvData[1];
|
| 155 |
+
const dataRows = csvData.slice(2);
|
| 156 |
+
|
| 157 |
+
const { indices, metrics } = findBenchmarkColumns(metricRow, benchmarkRow, benchmark, task);
|
| 158 |
+
|
| 159 |
+
const rows: LeaderboardRow[] = [];
|
| 160 |
+
|
| 161 |
+
for (const row of dataRows) {
|
| 162 |
+
const modelName = row[0];
|
| 163 |
+
if (!modelName) continue;
|
| 164 |
+
|
| 165 |
+
const metadata = getModelMetadata(modelName);
|
| 166 |
+
if (!metadata) {
|
| 167 |
+
continue;
|
| 168 |
+
}
|
| 169 |
+
|
| 170 |
+
// Filter deprecated models
|
| 171 |
+
if (metadata.deprecated && !filters.includeDeprecated) {
|
| 172 |
+
continue;
|
| 173 |
+
}
|
| 174 |
+
|
| 175 |
+
if (filters.modelTypes.length > 0) {
|
| 176 |
+
const hasReasoningFilter = filters.modelTypes.includes("Reasoning");
|
| 177 |
+
const categoryFilters = filters.modelTypes.filter(t => t !== "Reasoning");
|
| 178 |
+
const hasCategoryFilter = categoryFilters.length > 0;
|
| 179 |
+
|
| 180 |
+
if (hasReasoningFilter && hasCategoryFilter) {
|
| 181 |
+
// Both category and reasoning selected - require both (AND)
|
| 182 |
+
const matchesCategory = categoryFilters.includes(metadata.category);
|
| 183 |
+
const matchesArchitecture = metadata.architecture === "Reasoning";
|
| 184 |
+
if (!matchesCategory || !matchesArchitecture) {
|
| 185 |
+
continue;
|
| 186 |
+
}
|
| 187 |
+
} else if (hasReasoningFilter) {
|
| 188 |
+
// Only reasoning selected
|
| 189 |
+
if (metadata.architecture !== "Reasoning") {
|
| 190 |
+
continue;
|
| 191 |
+
}
|
| 192 |
+
} else if (hasCategoryFilter) {
|
| 193 |
+
// Only category selected
|
| 194 |
+
if (!categoryFilters.includes(metadata.category)) {
|
| 195 |
+
continue;
|
| 196 |
+
}
|
| 197 |
+
}
|
| 198 |
+
}
|
| 199 |
+
|
| 200 |
+
if (metadata.params && metadata.params > filters.maxParams) {
|
| 201 |
+
continue;
|
| 202 |
+
}
|
| 203 |
+
|
| 204 |
+
if (filters.searchQuery) {
|
| 205 |
+
const query = filters.searchQuery.toLowerCase();
|
| 206 |
+
if (!modelName.toLowerCase().includes(query)) {
|
| 207 |
+
continue;
|
| 208 |
+
}
|
| 209 |
+
}
|
| 210 |
+
|
| 211 |
+
const rowData: LeaderboardRow = {
|
| 212 |
+
rank: 0,
|
| 213 |
+
modelName,
|
| 214 |
+
modelType: metadata.category,
|
| 215 |
+
params: metadata.params,
|
| 216 |
+
contextLength: metadata.context_length,
|
| 217 |
+
url: metadata.url,
|
| 218 |
+
architecture: metadata.architecture,
|
| 219 |
+
};
|
| 220 |
+
|
| 221 |
+
const benchmarkMetrics: Record<string, Record<string, number>> = {};
|
| 222 |
+
|
| 223 |
+
for (let i = 0; i < indices.length; i++) {
|
| 224 |
+
const metricName = metrics[i];
|
| 225 |
+
const colIndex = indices[i];
|
| 226 |
+
const benchmarkName = benchmarkRow[colIndex];
|
| 227 |
+
const value = row[colIndex];
|
| 228 |
+
|
| 229 |
+
if (!benchmarkMetrics[benchmarkName]) {
|
| 230 |
+
benchmarkMetrics[benchmarkName] = {};
|
| 231 |
+
}
|
| 232 |
+
benchmarkMetrics[benchmarkName][metricName] = value ? parseFloat(value) : 0;
|
| 233 |
+
}
|
| 234 |
+
|
| 235 |
+
if (benchmark === "All" && (task === "Spec-to-RTL" || task === "Code Completion")) {
|
| 236 |
+
let bench1, bench2, w1, w2;
|
| 237 |
+
|
| 238 |
+
if (task === "Spec-to-RTL") {
|
| 239 |
+
bench1 = benchmarkMetrics["VerilogEval S2R"];
|
| 240 |
+
bench2 = benchmarkMetrics["RTLLM"];
|
| 241 |
+
w1 = 155;
|
| 242 |
+
w2 = 47;
|
| 243 |
+
} else { // Code Completion
|
| 244 |
+
bench1 = benchmarkMetrics["VerilogEval MC"];
|
| 245 |
+
bench2 = benchmarkMetrics["VeriGen"];
|
| 246 |
+
w1 = 155;
|
| 247 |
+
w2 = 17;
|
| 248 |
+
}
|
| 249 |
+
|
| 250 |
+
if (bench1 && bench2) {
|
| 251 |
+
const metricsToAggregate = ['Syntax (STX)', 'Functionality (FNC)', 'Synthesis (SYN)', 'Power', 'Performance', 'Area'];
|
| 252 |
+
|
| 253 |
+
for (const metric of metricsToAggregate) {
|
| 254 |
+
if (bench1[metric] !== undefined && bench2[metric] !== undefined) {
|
| 255 |
+
const aggValue = (w1 * bench1[metric] + w2 * bench2[metric]) / (w1 + w2);
|
| 256 |
+
rowData[metric] = aggValue;
|
| 257 |
+
}
|
| 258 |
+
}
|
| 259 |
+
|
| 260 |
+
if (bench1.Power && bench1.Performance && bench1.Area &&
|
| 261 |
+
bench2.Power && bench2.Performance && bench2.Area) {
|
| 262 |
+
const ppa1 = computePPAScore(bench1.Power, bench1.Performance, bench1.Area);
|
| 263 |
+
const ppa2 = computePPAScore(bench2.Power, bench2.Performance, bench2.Area);
|
| 264 |
+
const aggPPA = (w1 * ppa1 + w2 * ppa2) / (w1 + w2);
|
| 265 |
+
rowData["Aggregated Score"] = aggPPA;
|
| 266 |
+
}
|
| 267 |
+
}
|
| 268 |
+
} else if (benchmark === "NotSoTiny") {
|
| 269 |
+
const metricGroups: Record<string, number[]> = {};
|
| 270 |
+
|
| 271 |
+
for (let i = 0; i < indices.length; i++) {
|
| 272 |
+
let metricName = metrics[i];
|
| 273 |
+
const colIndex = indices[i];
|
| 274 |
+
const value = row[colIndex];
|
| 275 |
+
const numValue = value ? parseFloat(value) : 0;
|
| 276 |
+
|
| 277 |
+
if (metricName === "STX") metricName = "Syntax (STX)";
|
| 278 |
+
else if (metricName === "EQV") metricName = "Functionality (EQV)";
|
| 279 |
+
|
| 280 |
+
if (!metricGroups[metricName]) {
|
| 281 |
+
metricGroups[metricName] = [];
|
| 282 |
+
}
|
| 283 |
+
metricGroups[metricName].push(numValue);
|
| 284 |
+
}
|
| 285 |
+
|
| 286 |
+
for (const metricName in metricGroups) {
|
| 287 |
+
const values = metricGroups[metricName];
|
| 288 |
+
const mean = values.reduce((a, b) => a + b, 0) / values.length;
|
| 289 |
+
rowData[metricName] = mean;
|
| 290 |
+
}
|
| 291 |
+
} else {
|
| 292 |
+
for (let i = 0; i < indices.length; i++) {
|
| 293 |
+
const metricName = metrics[i];
|
| 294 |
+
const colIndex = indices[i];
|
| 295 |
+
const value = row[colIndex];
|
| 296 |
+
rowData[metricName] = value ? parseFloat(value) : 0;
|
| 297 |
+
}
|
| 298 |
+
}
|
| 299 |
+
|
| 300 |
+
if (task === "Line Completion") {
|
| 301 |
+
const hasInvalidValue = Object.values(rowData).some(val => val === -1);
|
| 302 |
+
if (hasInvalidValue) {
|
| 303 |
+
continue;
|
| 304 |
+
}
|
| 305 |
+
}
|
| 306 |
+
|
| 307 |
+
rows.push(rowData);
|
| 308 |
+
}
|
| 309 |
+
|
| 310 |
+
const primaryMetric = getPrimaryMetric(task, benchmark, simulator, metrics);
|
| 311 |
+
rows.sort((a, b) => {
|
| 312 |
+
const aValue = typeof a[primaryMetric] === 'number' ? a[primaryMetric] as number : 0;
|
| 313 |
+
const bValue = typeof b[primaryMetric] === 'number' ? b[primaryMetric] as number : 0;
|
| 314 |
+
return bValue - aValue;
|
| 315 |
+
});
|
| 316 |
+
|
| 317 |
+
rows.forEach((row, index) => {
|
| 318 |
+
row.rank = index + 1;
|
| 319 |
+
});
|
| 320 |
+
|
| 321 |
+
return rows;
|
| 322 |
+
} catch (error) {
|
| 323 |
+
console.error("Error loading leaderboard data:", error);
|
| 324 |
+
return [];
|
| 325 |
+
}
|
| 326 |
+
}
|
| 327 |
+
|
| 328 |
+
// Compute PPA-Score (average of Power, Performance, Area)
|
| 329 |
+
function computePPAScore(power: number, performance: number, area: number): number {
|
| 330 |
+
return (power + performance + area) / 3;
|
| 331 |
+
}
|
| 332 |
+
|
| 333 |
+
// Aggregate S2R metrics with weighted average
|
| 334 |
+
function aggregateS2RMetrics(verilogEvalPPA: number | null, rtllmPPA: number | null): number | null {
|
| 335 |
+
if (verilogEvalPPA === null || rtllmPPA === null) {
|
| 336 |
+
return null;
|
| 337 |
+
}
|
| 338 |
+
const w1 = 155; // VerilogEval S2R samples
|
| 339 |
+
const w2 = 47; // RTLLM samples
|
| 340 |
+
return (w1 * verilogEvalPPA + w2 * rtllmPPA) / (w1 + w2);
|
| 341 |
+
}
|
| 342 |
+
|
| 343 |
+
// Aggregate MC metrics with weighted average
|
| 344 |
+
function aggregateMCMetrics(verilogEvalPPA: number | null, verigenPPA: number | null): number | null {
|
| 345 |
+
if (verilogEvalPPA === null || verigenPPA === null) {
|
| 346 |
+
return null;
|
| 347 |
+
}
|
| 348 |
+
const w1 = 155; // VerilogEval MC samples
|
| 349 |
+
const w2 = 17; // VeriGen samples
|
| 350 |
+
return (w1 * verilogEvalPPA + w2 * verigenPPA) / (w1 + w2);
|
| 351 |
+
}
|
| 352 |
+
|
| 353 |
+
function getPrimaryMetric(task: string, benchmark: string, simulator: string, metrics: string[]): string {
|
| 354 |
+
// For "All" benchmark with S2R or MC, use the aggregated PPA score
|
| 355 |
+
if (benchmark === "All" && (task === "Spec-to-RTL" || task === "Code Completion")) {
|
| 356 |
+
return "Aggregated Score";
|
| 357 |
+
}
|
| 358 |
+
|
| 359 |
+
// For single benchmarks with Spec-to-RTL or Code Completion, sort by Functionality
|
| 360 |
+
if (task === "Spec-to-RTL" || task === "Code Completion") {
|
| 361 |
+
const fncMetric = metrics.find(m => m.includes("Functionality") || m.includes("FNC"));
|
| 362 |
+
if (fncMetric) {
|
| 363 |
+
return fncMetric;
|
| 364 |
+
}
|
| 365 |
+
}
|
| 366 |
+
|
| 367 |
+
// For Module Completion with YoSys EQV, sort by Functionality (EQV)
|
| 368 |
+
if (task === "Module Completion") {
|
| 369 |
+
const eqvMetric = metrics.find(m => m.includes("EQV") || m.includes("Functionality"));
|
| 370 |
+
if (eqvMetric) {
|
| 371 |
+
return eqvMetric;
|
| 372 |
+
}
|
| 373 |
+
}
|
| 374 |
+
|
| 375 |
+
// For Line Completion, sort by EM (Exact Match)
|
| 376 |
+
if (task === "Line Completion") {
|
| 377 |
+
return "EM";
|
| 378 |
+
}
|
| 379 |
+
|
| 380 |
+
// Fallback: use the last metric (usually the aggregate score)
|
| 381 |
+
if (metrics.length > 0) {
|
| 382 |
+
return metrics[metrics.length - 1];
|
| 383 |
+
}
|
| 384 |
+
|
| 385 |
+
return metrics[0] || "";
|
| 386 |
+
}
|
tsconfig.json
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"compilerOptions": {
|
| 3 |
+
// Environment setup & latest features
|
| 4 |
+
"lib": ["ESNext", "DOM"],
|
| 5 |
+
"target": "ESNext",
|
| 6 |
+
"module": "Preserve",
|
| 7 |
+
"moduleDetection": "force",
|
| 8 |
+
"jsx": "react-jsx",
|
| 9 |
+
"allowJs": true,
|
| 10 |
+
|
| 11 |
+
// Bundler mode
|
| 12 |
+
"moduleResolution": "bundler",
|
| 13 |
+
"allowImportingTsExtensions": true,
|
| 14 |
+
"verbatimModuleSyntax": true,
|
| 15 |
+
"noEmit": true,
|
| 16 |
+
|
| 17 |
+
// Best practices
|
| 18 |
+
"strict": true,
|
| 19 |
+
"skipLibCheck": true,
|
| 20 |
+
"noFallthroughCasesInSwitch": true,
|
| 21 |
+
"noUncheckedIndexedAccess": true,
|
| 22 |
+
"noImplicitOverride": true,
|
| 23 |
+
|
| 24 |
+
"baseUrl": ".",
|
| 25 |
+
"paths": {
|
| 26 |
+
"@/*": ["./src/*"]
|
| 27 |
+
},
|
| 28 |
+
|
| 29 |
+
// Some stricter flags (disabled by default)
|
| 30 |
+
"noUnusedLocals": false,
|
| 31 |
+
"noUnusedParameters": false,
|
| 32 |
+
"noPropertyAccessFromIndexSignature": false
|
| 33 |
+
},
|
| 34 |
+
|
| 35 |
+
"exclude": ["dist", "node_modules"]
|
| 36 |
+
}
|