Skip to content
TuffTasks, docs and chat for teams and AI agents

Interactive Answers

Bump Rankings

Smooth Bezier rank ribbons across benchmarks or weeks — morph between Rank lanes and Score positions, hover or pin any model to inspect node scores and rank movement.

2 variantsMIT

Preview

Model bump rankings

How frontier models trade rank across 5 capability suites

#1#2#3#4#5CodingReasoningTool useMathLong ctxGemini Pro+2GPT-5-2DeepSeek R2-1Gemini Flash+294.289.695.187.491.8Sonnet 4.6-1
Sonnet 4.6strongest in Tool use
avg 91.6·↓ 1 rank

Installation

Copies the component into components/ui and installs its dependencies and theme tokens.

pnpm dlx shadcn@latest add https://tuffui.com/r/bump-rankings.json

Usage

Pass your own data and wire the callbacks to your agent runtime.

import { BumpRankings } from "@/components/ui/bump-rankings";

export function ModelRankings({ columns, models }: Props) {
  return (
    <BumpRankings
      title="Model bump rankings"
      subtitle="Rank changes across five eval suites"
      columns={columns}
      series={models}
    />
  );
}

Props

PropTypeDefaultDescription
columns*string[]—Ordered column headers along the X-axis (eval suites, releases or weeks).
series*BumpSeries[]—Entities to compare, each with one numeric score per column.
mode"rank" | "score"—Controlled Y-axis mode: evenly spaced rank lanes or true numeric score.
defaultMode"rank" | "score""rank"Initial Y-axis mode when uncontrolled.
onModeChange(mode: "rank" | "score") => void—Called when the user toggles between Rank and Score.
formatValue(value: number) => string—Formats node pills and average score in the summary strip.
titleReactNode"Bump rankings"Header title.
subtitleReactNode—Secondary line under the title.
classNamestring—Extra classes for the outer Shell.
type BumpSeries = {
  id: string;
  label: string;
  values: number[];   // one score per column, higher ranks better
  color?: string;
};