Skip to content

refactor: rename internal 'project' terminology to 'benchmark' #1020

Description

@christso

Background

In #1019, the studio API endpoints were renamed from /api/projects to /api/benchmarks to align with user-facing labels. However, the internal TypeScript code still uses "project" terminology throughout.

Scope

Rename internal identifiers from "project" → "benchmark":

  • ProjectEntry type → BenchmarkEntry
  • registry.projectsregistry.benchmarks
  • getProject() / addProject() / removeProject() / discoverProjects()getBenchmark() etc.
  • withProject() route helper → withBenchmark()
  • Route param :projectId:benchmarkId
  • projectId variables in handlers → benchmarkId
  • Related test fixtures and helper names

Goal

Consistent terminology between the public API surface and internal implementation.

Non-goals

  • No behavior changes
  • No schema or wire format changes

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    in-progressClaimed by an agent — do not duplicate workrefactor

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions