Skip to content

Commit b5803f5

Browse files
committed
Added affliations for irt router
1 parent f7b91ec commit b5803f5

5 files changed

Lines changed: 11 additions & 12 deletions

File tree

‎src/components/DatasetCompositionChart.tsx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -335,11 +335,11 @@ const DatasetCompositionChart: React.FC = () => {
335335
// Adaptive label radius: farther for sides, closer for top/bottom
336336
const baseOffset = 60; // baseline distance beyond pie edge
337337
const sideBoost = 40; // extra distance for left/right labels
338-
const angleFactor = Math.abs(Math.sin(midAngle * RADIAN));
338+
const angleFactor = Math.abs(Math.sin(midAngle * RADIAN));
339339
// 0 for top/bottom, 1 for sides
340340

341341
const radius = CHART_DIMENSIONS.outerRadius + baseOffset + sideBoost * angleFactor;
342-
342+
343343
// Use exact center coordinates matching Recharts
344344
const centerX = 400; // Exact center of 800x800 viewBox
345345
const centerY = 400; // Exact center of 800x800 viewBox

‎src/data/mockData.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export const routers: Router[] = [
8484
name: 'MIRT-BERT',
8585
type: 'academic',
8686
description: 'Multi-item response theory with BERT embeddings',
87-
affiliation: 'Unknown',
87+
affiliation: 'USTC',
8888
metrics: {
8989
arenaScore: 0.78,
9090
costRatioScore: 0.75,
@@ -102,7 +102,7 @@ export const routers: Router[] = [
102102
name: 'NIRT-BERT',
103103
type: 'academic',
104104
description: 'Neural item response theory with BERT-based routing',
105-
affiliation: 'Unknown',
105+
affiliation: 'USTC',
106106
metrics: {
107107
arenaScore: 0.76,
108108
costRatioScore: 0.70,

‎src/pages/HomePage.tsx‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,7 @@ const HomePage: React.FC = () => {
7070
<div className="cta-card">
7171
<h3 className="cta-heading">Want to see your router on the leaderboard?</h3>
7272
<p className="cta-description">
73-
Open a GitHub issue on our RouterArena platform.
74-
Open a GitHub issue on our RouterArena platform.
73+
Email us or open a GitHub issue on RouterArena.
7574
</p>
7675
<a href="#contact" className="btn btn-primary">
7776
Get Started →
@@ -249,7 +248,7 @@ const HomePage: React.FC = () => {
249248
<div className="container">
250249
<h2 className="section-title">Research Team</h2>
251250
<p className="contact-description">
252-
Contact us or submit a GitHub issue to evaluate your router with RouterArena
251+
Contact us or submit a GitHub issue to evaluate your router with RouterArena
253252
</p>
254253

255254
{/* Action Buttons */}

‎src/pages/LeaderboardPage.css‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,7 @@
558558
:root {
559559
--lb-grid: 70px 250px 120px 100px repeat(5, 120px);
560560
}
561-
561+
562562
.leaderboard-header,
563563
.leaderboard-row {
564564
gap: 0.75rem;

‎src/pages/LeaderboardPage.tsx‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -295,16 +295,16 @@ const LeaderboardPage: React.FC = () => {
295295
<div className="metric-card">
296296
<h3>Cost Ratio Score</h3>
297297
<p>
298-
Evaluates routing efficiency relative to an oracle.
299-
Routers with higher scores achieve comparable accuracy at lower inference cost.
298+
Measures the performance a router achieves per unit of cost compared to the benchmarked routers.
299+
A high score means it maintains strong accuracy while spending less on average across all queries.
300300
</p>
301301
</div>
302302

303303
<div className="metric-card">
304304
<h3>Optimality Score</h3>
305305
<p>
306-
Measures how often a router selects the cheapest correct model.
307-
Higher values reflect closer alignment to cost-optimal routing behavior.
306+
Captures how the router's ability to select the cheapest model that still produces a correct response.
307+
High values indicate decisions that closely match ideal, cost-minimizing routing behavior.
308308
</p>
309309
</div>
310310

0 commit comments

Comments
 (0)