git404hub

what is codescalebench fr?

sourcegraph/codescalebench — explained in plain English

Analysis updated 2026-07-20 · repo last pushed 2026-07-06

32ShellAudience · researcherComplexity · 4/5ActiveSetup · hard

tl;dr

A benchmark that measures how AI coding assistants perform when searching large codebases through external retrieval tools versus browsing files locally. It includes 370 realistic tasks across nine languages with auditable results.

vibe map

mindmap
  root((repo))
    What it does
      Benchmarks AI coding agents
      Compares local vs retrieval search
      370 tasks across 40 repos
    Tech stack
      Shell scripts
      Deterministic verifiers
      Retrieval server
    Use cases
      Evaluate AI coding tools
      Compare agent configs
      Audit retrieval performance
    Audience
      AI researchers
      Tool builders
      Engineering teams
    Key features
      Calibration triad quality gate
      Side-by-side browser
      Per-task traces and timing

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

what do people make with this?

VIBE 1

Benchmark different AI coding models to see which benefits most from code search tools.

VIBE 2

Compare retrieval-augmented agent performance against a local-filesystem baseline using 370 realistic tasks.

VIBE 3

Audit per-task agent trajectories including search queries, file reads, edits, and bash commands for deeper analysis.

VIBE 4

Visually compare side-by-side how an agent performed differently with and without retrieval tooling on each task.

what's the stack?

ShellPython

how it stacks up fr

sourcegraph/codescalebencharixworks/g-tunnelguanhuaye/codex-tmux-scroll
Stars323232
LanguageShellShellShell
Last pushed2026-07-06
MaintenanceActive
Setup difficultyhardeasyeasy
Complexity4/52/52/5
Audienceresearchergeneraldeveloper

Figures from each repo's GitHub metadata at analysis time.

how do i run it?

Difficulty · hard time til it works · 1day+

Requires setting up a retrieval server, configuring AI agent models, and running 370 tasks across large codebases with deterministic verifiers.

No license information is provided in this repository, so usage terms are unclear.

in plain english

CodeScaleBench is a benchmark that measures how AI coding assistants perform when they can search large, enterprise-scale codebases through external retrieval tools rather than browsing files locally. The core idea is to isolate the impact of code search: the same AI agent runs each task twice, once with the code available locally and once with it accessible only via a retrieval server, and the difference between the two runs becomes the key result. The project includes 370 realistic tasks drawn from more than 40 repositories across nine languages, covering work like cross-repo navigation, refactoring, security review, debugging, and feature implementation. Tasks are organized by developer work type, and indexes let you slice the data by complexity, language, repository size, or whether a task spans multiple repositories. Each task is scored by deterministic verifiers, and the results are published as auditable snapshots with per-task traces, timing, cost, and reward scores. Who would use this? Researchers and engineers evaluating AI coding tools, especially those building or comparing retrieval-augmented agents. If you're deciding whether your assistant benefits from a Sourcegraph-style search server versus a local-filesystem baseline, or you want a rigorous, reproducible way to benchmark different models and configurations, this gives you a ready-made evaluation kit. The included snapshots already show, for example, how a Haiku 4.5 model performed under baseline versus Sourcegraph MCP conditions across the full task set. Notable design choices include the calibration triad, a quality gate that ensures each task's verifier can distinguish a correct answer from an empty or keyword-stuffed one before it's published. The repo also provides a side-by-side browser so you can visually compare, for every task where retrieval tooling helped, exactly what the agent did differently on both runs: search queries, file reads, edits, and bash commands laid out in two columns. Full agent trajectories are available as compressed archives in GitHub Releases for deeper analysis.

prompts (copy fr)

prompt 1
Write a script that runs CodeScaleBench tasks on two AI coding models, one using a retrieval server and one using local file access, then output a comparison table of their reward scores.
prompt 2
Analyze a CodeScaleBench results snapshot JSON and generate a summary of which task categories showed the biggest performance difference between local and retrieval-based code search.
prompt 3
Create a configuration file for CodeScaleBench that filters tasks by language and repository size, then runs only cross-repo navigation and refactoring tasks against my agent setup.
prompt 4
Build a visualization dashboard that reads CodeScaleBench per-task traces and displays search queries, file reads, and edits in a side-by-side layout for baseline versus retrieval runs.

Frequently asked questions

what is codescalebench fr?

A benchmark that measures how AI coding assistants perform when searching large codebases through external retrieval tools versus browsing files locally. It includes 370 realistic tasks across nine languages with auditable results.

What language is codescalebench written in?

Mainly Shell. The stack also includes Shell, Python.

Is codescalebench actively maintained?

Active — commit in last 30 days (last push 2026-07-06).

What license does codescalebench use?

No license information is provided in this repository, so usage terms are unclear.

How hard is codescalebench to set up?

Setup difficulty is rated hard, with roughly 1day+ to a first successful run.

Who is codescalebench for?

Mainly researcher.

peek the repo → explain another one

This repo across BitVibe Labs

double-check against the repo, no cap.