Skip to content

Commit 0904c96

Browse files
committed
rewrite recording player; reorder landing per option A; live repo stats
1 parent ef5879a commit 0904c96

8 files changed

Lines changed: 1250 additions & 336 deletions

File tree

src/components/layout/OverviewHeader.svelte

Lines changed: 2 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,6 @@
4747
{ label: "GitHub", icon: "github", href: "https://github.com/formula-code/fc-eval" }
4848
];
4949
50-
const defaultStats = [
51-
{ num: "957", label: "Tasks" },
52-
{ num: "70+", label: "Repositories" },
53-
{ num: "1.4M", label: "Workloads" },
54-
{ num: "4", label: "Strata" }
55-
];
56-
5750
const title = headerCopy.title?.split(":")[0]?.trim() || defaultTitle;
5851
const subtitle =
5952
headerCopy.title?.split(":")[1]?.trim() || defaultSubtitle;
@@ -73,13 +66,9 @@
7366
? headerCopy.actions
7467
: defaultActions;
7568
76-
const stats = Array.isArray(headerCopy.stats) && headerCopy.stats.length > 0
77-
? headerCopy.stats
78-
: defaultStats;
79-
8069
const tagline =
8170
headerCopy.tagline ||
82-
"A live benchmark of <strong>957 performance bottlenecks</strong> mined from scientific Python repositories — pairing every task with expert patches and ~265 community workloads.";
71+
"A live benchmark of <strong>real-world performance bottlenecks</strong> mined from scientific Python repositories — pairing every task with expert patches and a community-curated workload corpus.";
8372
</script>
8473
8574
<section class="hero">
@@ -125,7 +114,7 @@
125114
<div class="hero-ctas hero-ctas-wide">
126115
<a class="btn btn-primary btn-wide" href="/explorer/">
127116
<span class="cta-mark"></span>
128-
Browse all 957 tasks
117+
Browse all tasks
129118
</a>
130119
</div>
131120
@@ -144,15 +133,6 @@
144133
</a>
145134
{/each}
146135
</div>
147-
148-
<div class="stats-strip">
149-
{#each stats as s}
150-
<div class="stat-item">
151-
<div class="stat-num">{s.num}</div>
152-
<div class="stat-label">{s.label}</div>
153-
</div>
154-
{/each}
155-
</div>
156136
</section>
157137
158138
<style>
@@ -271,11 +251,6 @@
271251
stroke: currentColor;
272252
}
273253
274-
.stats-strip {
275-
max-width: 900px;
276-
margin: var(--space-lg) auto 0;
277-
}
278-
279254
@media (max-width: 640px) {
280255
.hero {
281256
padding: var(--space-xl) var(--space-md);

src/components/pages/OverviewPage.svelte

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,12 @@
6969
{/each}
7070
</div>
7171
</section>
72+
</main>
73+
74+
<DatasetGrowth />
75+
<ProblemsByRepository />
7276
77+
<main class="mathnet-main">
7378
<section class="mathnet-section" id="key-findings">
7479
<div class="mathnet-section-head">
7580
<h2 class="section-title">{kfTitle}</h2>
@@ -85,9 +90,6 @@
8590
</section>
8691
</main>
8792
88-
<DatasetGrowth />
89-
<ProblemsByRepository />
90-
9193
<ResultsHighlights stratified={leaderboardData.stratified} />
9294
9395
<CompactLeaderboard

0 commit comments

Comments
 (0)