Architecture · LikeC4
CodeScaleBench
Authors tasks, launches agent runs across retrieval arms on Harbor, scores them with verifier + judge, and publishes auditable snapshots
The whole picture
System landscape
The system in context, then opened up into its containers.
CodeScaleBench — system landscape
index
CodeScaleBench — containers & data (built vs research)
csbSystemAuthors tasks, launches agent runs across retrieval arms on Harbor, scores them with verifier + judge, and publishes auditable snapshots
Risks & open questions
risks
Research track — agent-observatory extraction
researchInside each box
Containers & components
Each part decomposed into the components that implement it. Every box links to its source in the interactive explorer.
Task authoring & calibration — components
authoringContainerscripts/authoring/ — turns raw repos + templates into validated, calibrated benchmark tasks
Run execution (csb CLI) — components
executionContainerlib/ + scripts/running/ — resolves a run config, injects the retrieval arm, and drives Harbor across the matrix
Grading — verifier + judge stack
gradingContainerscripts/evaluation/ + csb_metrics/judge/ — the dual-verifier oracle and the multi-round LLM judge
Metrics extraction — components
metricsContainerscripts/csb_metrics/ — the structured pipeline from raw trial artifacts to scored, comparable metrics
Analysis, reporting & publishing — components
reportingContainerscripts/analysis/ + scripts/publishing/ — turns scored metrics into comparisons, galleries, and frozen auditable snapshots
Reliability Observatory — components
observatoryContainerobservatory/ — extracts behavioural signals from trajectories, annotates each trial against a 23-category taxonomy, trains a classifier, and reports reliability
Infra & maintenance gates — components
infraContainerscripts/infra/ + scripts/maintenance/ — pre-run readiness, capacity planning, and the repo-health pre-commit gate
How it runs
Walkthrough flows
Dynamic views — the narrative spine of the system, step by step.
Walkthrough — authoring & calibrating a task
authorTaskA task is only admitted once its artifact verifier passes the triad. The triad gates the UPSTREAM PUSH, not corpus existence — a failing task stays put until its fix bead lands.
Walkthrough — a benchmark run end-to-end
benchmarkRunOne config expands to a matrix of arms (baseline / sourcegraph / augment / github). Always run check_infra first — OAuth credentials existing is not the same as accounts being usable.
Walkthrough — scoring & metrics extraction
scoreRunDual-score: the deterministic artifact verifier (A/B/C) is the spine; the LLM judge runs on a cross-provider backend to avoid same-model bias and contributes a weighted rubric score.
Walkthrough — publishing an auditable snapshot
publishSnapshotverify_snapshot is the gate: it checks symlink integrity + completeness before a public release. The frozen trees ship via GitHub Releases; the repo carries the manifest + browse.html + the compare gallery.
Explore it live
The figures above are static exports. The interactive explorer lets you pan, zoom, follow relationships, and jump from any box to the source.