- {/* E2E with gauge */}
-
-
-
- = 75
- ? { primary: 'var(--ds-green-700)' }
- : displayProgress >= 50
- ? { primary: 'var(--ds-amber-700)' }
- : { primary: 'var(--ds-red-700)' }
- }
- />
-
- E2E:{` `}
-
- {world.e2e ? `${displayProgress}%` : '—'}
-
-
-
-
-
- E2E Test Suite Coverage
-
-
- {/* Encryption badge */}
+
{world.features.includes('encryption') && (
diff --git a/docs/components/worlds/WorldDetailHero.tsx b/docs/components/worlds/WorldDetailHero.tsx
index 3163b2faa2..06163d85ff 100644
--- a/docs/components/worlds/WorldDetailHero.tsx
+++ b/docs/components/worlds/WorldDetailHero.tsx
@@ -1,12 +1,9 @@
'use client';
import {
- AlertCircle,
BadgeCheck,
- CheckCircle2,
CheckIcon,
ChevronRight,
- Clock,
Code,
CopyIcon,
ExternalLink,
@@ -14,8 +11,6 @@ import {
HeartHandshake,
Package,
ShieldCheck,
- Timer,
- XCircle,
} from 'lucide-react';
import Link from 'next/link';
import { useState } from 'react';
@@ -42,29 +37,6 @@ interface WorldDetailHeroProps {
world: World;
}
-const statusConfig = {
- passing: {
- label: 'Passing',
- icon: CheckCircle2,
- className: 'text-green-900',
- },
- partial: {
- label: 'Partial',
- icon: AlertCircle,
- className: 'text-amber-900',
- },
- failing: {
- label: 'Failing',
- icon: XCircle,
- className: 'text-red-900',
- },
- pending: {
- label: 'Pending',
- icon: Clock,
- className: 'text-muted-foreground',
- },
-};
-
export function WorldDetailHero({ id, world }: WorldDetailHeroProps) {
const [copied, setCopied] = useState(false);
@@ -88,25 +60,6 @@ export function WorldDetailHero({ id, world }: WorldDetailHeroProps) {
const CopyButtonIcon = copied ? CheckIcon : CopyIcon;
- // E2E test calculations
- const e2e = world.e2e;
- const turbopackData = e2e?.nextjsTurbopack;
- const scoringPassed = turbopackData
- ? turbopackData.passed
- : (e2e?.passed ?? 0);
- const scoringFailed = turbopackData
- ? turbopackData.failed
- : (e2e?.failed ?? 0);
- const testsRan = scoringPassed + scoringFailed;
- const status = e2e?.status ?? 'pending';
- const StatusIcon = statusConfig[status].icon;
-
- // Benchmark calculations
- const benchmark = world.benchmark;
- const benchmarkCount = benchmark?.metrics
- ? Object.keys(benchmark.metrics).length
- : 0;
-
// GitHub source URL for official worlds
const githubUrl =
world.repository ||
@@ -206,69 +159,6 @@ export function WorldDetailHero({ id, world }: WorldDetailHeroProps) {
{/* Right side - Quick links */}
);
-// The main benchmark used for the PERF metric
-const PERF_BENCHMARK_NAME = 'workflow with 10 sequential steps';
-
export interface WorldTestingPerformanceProps {
worldId: string;
world: World;
@@ -314,65 +309,40 @@ export function WorldTestingPerformance({
- {standardMetrics.map(([name, metric]) => {
- const isPerfBenchmark = name === PERF_BENCHMARK_NAME;
- return (
- setSelectedMetric(name)}
- >
-
-
- {isPerfBenchmark && (
-
-
-
-
-
-
- Primary performance benchmark (PERF)
-
-
-
- )}
- {name}
-
-
-
- {metric.workflowTime !== undefined
- ? formatTime(metric.workflowTime)
- : '—'}
-
- {hasWorkflowRange && (
- <>
-
- {metric.workflowMin !== undefined
- ? formatTime(metric.workflowMin)
- : '—'}
-
-
- {metric.workflowMax !== undefined
- ? formatTime(metric.workflowMax)
- : '—'}
-
- >
- )}
-
- {metric.samples || '—'}
-
-
-
-
-
- );
- })}
+ {standardMetrics.map(([name, metric]) => (
+ setSelectedMetric(name)}
+ >
+ {name}
+
+ {metric.workflowTime !== undefined
+ ? formatTime(metric.workflowTime)
+ : '—'}
+
+ {hasWorkflowRange && (
+ <>
+
+ {metric.workflowMin !== undefined
+ ? formatTime(metric.workflowMin)
+ : '—'}
+
+
+ {metric.workflowMax !== undefined
+ ? formatTime(metric.workflowMax)
+ : '—'}
+
+ >
+ )}
+
+ {metric.samples || '—'}
+
+
+
+
+
+ ))}
)}
diff --git a/docs/components/worlds/WorldsDashboard.tsx b/docs/components/worlds/WorldsDashboard.tsx
index a6821de742..5064a6885c 100644
--- a/docs/components/worlds/WorldsDashboard.tsx
+++ b/docs/components/worlds/WorldsDashboard.tsx
@@ -30,10 +30,6 @@ export function WorldsDashboard({ data }: WorldsDashboardProps) {
total: worlds.length,
official: officialWorlds.length,
community: communityWorlds.length,
- passing: worlds.filter(([, w]) => w.e2e?.status === 'passing').length,
- partial: worlds.filter(([, w]) => w.e2e?.status === 'partial').length,
- withBenchmarks: worlds.filter(([, w]) => w.benchmark?.status === 'measured')
- .length,
};
// Get benchmark names for the bar chart
@@ -60,20 +56,6 @@ export function WorldsDashboard({ data }: WorldsDashboardProps) {
🌐 {stats.community} Community
-
- ✅ {stats.passing} Fully Compatible
-
- {stats.partial > 0 && (
-
- ⚠️ {stats.partial} Partial
-
- )}
{/* Tabs */}
@@ -87,6 +69,7 @@ export function WorldsDashboard({ data }: WorldsDashboardProps) {
{/* Filter */}