Skip to content

Commit 2d6b84b

Browse files
committed
add per-route titles descriptions and structured data
1 parent 0181ec5 commit 2d6b84b

4 files changed

Lines changed: 221 additions & 23 deletions

File tree

‎src/routes/+page.svelte‎

Lines changed: 139 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,147 @@
1010
1111
version();
1212
13-
const { title, description, url, keywords } = copy;
1413
setContext("copy", copy);
1514
setContext("data", data.data);
15+
16+
const title =
17+
"FormulaCode: LLM Agent Benchmark for Python Code Optimization";
18+
const description =
19+
"FormulaCode is a continually updated benchmark evaluating LLM coding agents on real-world Python code optimization. 957 performance bottlenecks from 70+ scientific Python repositories, each paired with expert patches and community-maintained performance workloads. Accepted at ICML 2026.";
20+
const url = "https://formulacode.org/";
21+
22+
const dataset = {
23+
"@context": "https://schema.org",
24+
"@type": "Dataset",
25+
name: "FormulaCode",
26+
alternateName: "FormulaCode Benchmark",
27+
description,
28+
url,
29+
identifier: "https://formulacode.org/",
30+
keywords: [
31+
"code optimization",
32+
"LLM agents",
33+
"Python performance",
34+
"benchmark dataset",
35+
"agentic optimization",
36+
"software engineering benchmark"
37+
],
38+
license: "https://opensource.org/licenses/MIT",
39+
creator: {
40+
"@type": "Organization",
41+
name: "FormulaCode",
42+
url: "https://formulacode.org/",
43+
sameAs: [
44+
"https://github.com/formula-code",
45+
"https://huggingface.co/formulacode",
46+
"https://data.formulacode.org/",
47+
"https://api.formulacode.org/"
48+
]
49+
},
50+
distribution: [
51+
{
52+
"@type": "DataDownload",
53+
name: "FormulaCode on Hugging Face",
54+
contentUrl: "https://huggingface.co/datasets/formulacode/formulacode-all",
55+
encodingFormat: "application/json"
56+
},
57+
{
58+
"@type": "DataDownload",
59+
name: "FormulaCode live dashboard",
60+
contentUrl: "https://data.formulacode.org/",
61+
encodingFormat: "text/html"
62+
},
63+
{
64+
"@type": "DataDownload",
65+
name: "fc-eval evaluation harness",
66+
contentUrl: "https://github.com/formula-code/fc-eval",
67+
encodingFormat: "application/x-git"
68+
}
69+
],
70+
isAccessibleForFree: true,
71+
measurementTechnique:
72+
"Statistical comparison of expert and LLM-agent patches across multi-objective performance workloads on real-world Python repositories.",
73+
variableMeasured: [
74+
"speedup ratio",
75+
"agent advantage",
76+
"stratified advantage"
77+
]
78+
};
79+
80+
const scholarlyArticle = {
81+
"@context": "https://schema.org",
82+
"@type": "ScholarlyArticle",
83+
headline: "FormulaCode: Evaluating Agentic Optimization on Large Codebases",
84+
name: "FormulaCode: Evaluating Agentic Optimization on Large Codebases",
85+
abstract: description,
86+
url,
87+
sameAs: "https://arxiv.org/abs/2603.16011",
88+
datePublished: "2026",
89+
inLanguage: "en",
90+
author: [
91+
{
92+
"@type": "Person",
93+
name: "Atharva Sehgal",
94+
url: "https://atharvas.net/"
95+
},
96+
{
97+
"@type": "Person",
98+
name: "James Hou",
99+
url: "https://jamesahou.github.io/"
100+
},
101+
{
102+
"@type": "Person",
103+
name: "Akanksha Sarkar",
104+
url: "https://milstein-program.as.cornell.edu/akanksha-sarkar/"
105+
},
106+
{
107+
"@type": "Person",
108+
name: "Ishaan Mantripragada",
109+
url: "https://www.linkedin.com/in/ishaanmantri/"
110+
},
111+
{
112+
"@type": "Person",
113+
name: "Swarat Chaudhuri",
114+
url: "https://www.cs.utexas.edu/~swarat/"
115+
},
116+
{
117+
"@type": "Person",
118+
name: "Jennifer J. Sun",
119+
url: "https://jenjsun.com/"
120+
},
121+
{
122+
"@type": "Person",
123+
name: "Yisong Yue",
124+
url: "https://www.yisongyue.com/"
125+
}
126+
],
127+
publisher: {
128+
"@type": "Organization",
129+
name: "International Conference on Machine Learning (ICML)",
130+
url: "https://icml.cc/Conferences/2026"
131+
},
132+
isPartOf: {
133+
"@type": "PublicationEvent",
134+
name: "ICML 2026",
135+
url: "https://icml.cc/Conferences/2026"
136+
}
137+
};
138+
139+
const website = {
140+
"@context": "https://schema.org",
141+
"@type": "WebSite",
142+
name: "FormulaCode",
143+
url,
144+
description,
145+
publisher: {
146+
"@type": "Organization",
147+
name: "FormulaCode",
148+
url: "https://formulacode.org/"
149+
}
150+
};
151+
152+
const jsonLd = [dataset, scholarlyArticle, website];
16153
</script>
17154

18-
<Meta {title} {description} {url} {keywords} />
155+
<Meta {title} {description} {url} {jsonLd} />
19156
<OverviewPage leaderboardData={data.leaderboard} />

‎src/routes/docs/+page.svelte‎

Lines changed: 27 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,35 @@
44
import DocsPage from "$components/pages/DocsPage.svelte";
55
import copy from "$data/copy.json";
66
7-
const title = "Documentation — FormulaCode";
8-
const description =
9-
"Documentation for the FormulaCode evaluation harness, data curation pipeline, and live data API.";
10-
const { url, keywords } = copy;
11-
127
setContext("copy", copy);
138
setContext("data", []);
9+
10+
const title = "Documentation | FormulaCode Agent Evaluation Harness";
11+
const description =
12+
"Documentation for fc-eval, the evaluation harness for the FormulaCode LLM-agent code-optimization benchmark, plus dataset curation pipeline and live data API reference.";
13+
const url = "https://formulacode.org/docs/";
14+
15+
const breadcrumbs = {
16+
"@context": "https://schema.org",
17+
"@type": "BreadcrumbList",
18+
itemListElement: [
19+
{
20+
"@type": "ListItem",
21+
position: 1,
22+
name: "FormulaCode",
23+
item: "https://formulacode.org/"
24+
},
25+
{
26+
"@type": "ListItem",
27+
position: 2,
28+
name: "Documentation",
29+
item: url
30+
}
31+
]
32+
};
33+
34+
const jsonLd = [breadcrumbs];
1435
</script>
1536

16-
<Meta {title} {description} {url} {keywords} />
37+
<Meta {title} {description} {url} {jsonLd} />
1738
<DocsPage />

‎src/routes/explorer/+page.svelte‎

Lines changed: 27 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,35 @@
66
77
export let data;
88
9-
const title = "Workload Explorer — FormulaCode";
10-
const description =
11-
"Browse, search, and inspect performance workloads in the FormulaCode benchmark.";
12-
const { url, keywords } = copy;
13-
149
setContext("copy", copy);
1510
setContext("data", []);
11+
12+
const title = "Workload Explorer | FormulaCode Benchmark Dataset";
13+
const description =
14+
"Browse and search all 957 code-optimization tasks in the FormulaCode benchmark — pull-request sources, agent results, and per-workload performance traces from real-world Python repositories.";
15+
const url = "https://formulacode.org/explorer/";
16+
17+
const breadcrumbs = {
18+
"@context": "https://schema.org",
19+
"@type": "BreadcrumbList",
20+
itemListElement: [
21+
{
22+
"@type": "ListItem",
23+
position: 1,
24+
name: "FormulaCode",
25+
item: "https://formulacode.org/"
26+
},
27+
{
28+
"@type": "ListItem",
29+
position: 2,
30+
name: "Workload Explorer",
31+
item: url
32+
}
33+
]
34+
};
35+
36+
const jsonLd = [breadcrumbs];
1637
</script>
1738

18-
<Meta {title} {description} {url} {keywords} />
39+
<Meta {title} {description} {url} {jsonLd} />
1940
<ExplorerPage workloads={data.workloads} facets={data.facets} />

‎src/routes/leaderboard/+page.svelte‎

Lines changed: 28 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,35 @@
99
1010
version();
1111
12-
const title = "Leaderboard - FormulaCode";
13-
const description = "FormulaCode Benchmark Leaderboard";
14-
const { url, keywords } = copy;
15-
1612
setContext("copy", copy);
1713
setContext("data", data.data);
14+
15+
const title = "Leaderboard | FormulaCode LLM Agent Benchmark";
16+
const description =
17+
"Stratified leaderboard of LLM coding agents on the FormulaCode benchmark. Compare Claude, GPT-5, Qwen, and other models on Python code optimization at function, class, and module level.";
18+
const url = "https://formulacode.org/leaderboard/";
19+
20+
const breadcrumbs = {
21+
"@context": "https://schema.org",
22+
"@type": "BreadcrumbList",
23+
itemListElement: [
24+
{
25+
"@type": "ListItem",
26+
position: 1,
27+
name: "FormulaCode",
28+
item: "https://formulacode.org/"
29+
},
30+
{
31+
"@type": "ListItem",
32+
position: 2,
33+
name: "Leaderboard",
34+
item: url
35+
}
36+
]
37+
};
38+
39+
const jsonLd = [breadcrumbs];
1840
</script>
1941

20-
<Meta {title} {description} {url} {keywords} />
21-
<LeaderboardPage
22-
leaderboardData={data.leaderboard}
23-
rows={data.rows}
24-
/>
42+
<Meta {title} {description} {url} {jsonLd} />
43+
<LeaderboardPage leaderboardData={data.leaderboard} rows={data.rows} />

0 commit comments

Comments
 (0)