Benchmarks: inspect, select and compare in place
Neutral points, violet selection, readable labels and an optional Pareto frontier.
Exploring a benchmark should let you inspect several models without losing your place. This update changes how the chart responds to selection: quieter points, names on demand and a detail panel connected to the table. Graphite surfaces and violet accents keep the visual language of the rest of Modex.

A point selects a model; opening its page is a separate action
Clicking or tapping a point now selects the model and highlights its table rows. The detail panel shows its name, provider, benchmark score and input/output prices per million tokens. View model opens the technical profile explicitly, so inspecting another candidate keeps you on the chart.
Hover and keyboard focus reveal the same compact metrics. Points support Enter and Space to toggle selection, with an explicit pressed state for assistive technology. Touch selection also leaves the details available outside the tooltip.
Names appear where they help the current comparison
Available points use a neutral colour. Violet identifies selected models, rather than an arbitrary position in the dataset. Only selected models keep a permanent name; the rest can be identified on hover, focus or tap.
The label layout works in pixel coordinates measured from the chart container. It tries positions around each point, reserves a box for each label and searches fallback rows when neighbouring names collide. Candidate positions also penalize covering other points. Long names stay within a bounded label, while the tooltip and detail panel retain the full name.
One model ID connects the chart, table and comparison
Chart points, row buttons and checkboxes update the same selection of up to four model IDs. Selecting an already selected model removes it; a fifth model produces a limit message. Clear selection resets the working set, and Compare selected opens the comparison with those IDs.
Standard and batch records can share a model ID while keeping distinct scores and prices. They therefore share selection, with one persistent label per model; inspecting a variant updates the corresponding detail. This avoids treating two pricing variants as two independent comparison slots.
Selection state in React
The initial state has no selected models and no frontier. Selection changes the view in memory; model navigation remains an explicit link.
const [selected, setSelected] = useState<string[]>([]);
const [showPareto, setShowPareto] = useState(false);The frontier moves behind Chart options
The first view shows the model points without the connecting Pareto line. Chart options lets you enable it with an explanation of what it means: a model is on the frontier when no alternative is at least as good on both input price and score and strictly better on one.
This is a price/score trade-off for the active benchmark and visible records. The line does not represent a time series or establish an overall winner across tasks, latency and reliability.
Responsive behaviour and verification
At narrow widths the detail panel appears before the table, and labels are recalculated for the available chart width. The table keeps its own horizontal scroll instead of widening the page.
The benchmark implementation passed 74 automated tests, including label placement and the public payload boundary, together with production build, TypeScript, lint and translation checks. Browser review covered point and table selection, keyboard interaction, the four-model limit, Pareto toggling and a 390 × 844 phone viewport.
These changes reorganize exploration and presentation. Benchmark scales, recorded measurements and the logarithmic price axis are preserved. The review checks behaviour and layout; task completion time has not been measured.