# scaleapi/swe-atlas architecture

> Architecture diagram of the GitHub repository scaleapi/swe-atlas, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-07). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/scaleapi/swe-atlas
- Repository: https://github.com/scaleapi/swe-atlas

## Overview

SWE Atlas is a benchmark dataset and run guide for evaluating coding agents on Codebase QnA, Test Writing, and Refactoring. The documented workflow is to select a track, configure and run an agent through Harbor in a sandbox, then assess results; the README also describes judge-model credentials for rubric grading. The supplied tree exposes the QA and Refactoring task directories and the Test Writing directory, but no implementation or run-config files, so the graph captures documented relationships only.

Main entry points: [`data/qa`](https://github.com/scaleapi/swe-atlas/tree/main/data/qa) (Codebase QnA), [`data/tw`](https://github.com/scaleapi/swe-atlas/tree/main/data/tw) (Test Writing), [`data/rf`](https://github.com/scaleapi/swe-atlas/tree/main/data/rf) (Refactoring)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_tracks["Benchmark tracks"]
  node_qa["Codebase QnA"]
  node_tw["Test Writing"]
  node_rf["Refactoring"]
end

subgraph group_evaluation["Run and evaluation"]
  node_agent["Coding agent"]
  node_harbor["Harbor harness"]
  node_modal["Modal sandbox"]
  node_judge["LLM judge"]
end

node_researcher(("Benchmark user"))

node_researcher -->|"selects track"| node_qa
node_researcher -->|"selects track"| node_tw
node_researcher -->|"selects track"| node_rf
node_qa -->|"evaluates"| node_agent
node_tw -->|"evaluates"| node_agent
node_rf -->|"evaluates"| node_agent
node_agent -->|"runs through"| node_harbor
node_harbor -->|"uses sandbox"| node_modal
node_researcher -->|"configures grading"| node_judge

click node_qa "https://github.com/scaleapi/swe-atlas/tree/main/data/qa"
click node_tw "https://github.com/scaleapi/swe-atlas/tree/main/data/tw"
click node_rf "https://github.com/scaleapi/swe-atlas/tree/main/data/rf"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_qa,node_tw,node_rf,node_researcher toneBlue
class node_agent,node_harbor,node_modal,node_judge toneAmber
```

## Components

### Benchmark tracks

- [Codebase QnA](https://github.com/scaleapi/swe-atlas/tree/main/data/qa): `data/qa`
- [Test Writing](https://github.com/scaleapi/swe-atlas/tree/main/data/tw): `data/tw`
- [Refactoring](https://github.com/scaleapi/swe-atlas/tree/main/data/rf): `data/rf`

### Run and evaluation

- **Coding agent**
- **Harbor harness**
- **Modal sandbox**
- **LLM judge**

### Other components

- **Benchmark user**

## Connections

- Benchmark user → Codebase QnA: selects track (evidence: `README.md`)
- Benchmark user → Test Writing: selects track (evidence: `README.md`)
- Benchmark user → Refactoring: selects track (evidence: `README.md`)
- Codebase QnA → Coding agent: evaluates (evidence: `README.md`)
- Test Writing → Coding agent: evaluates (evidence: `README.md`)
- Refactoring → Coding agent: evaluates (evidence: `README.md`)
- Coding agent → Harbor harness: runs through (evidence: `README.md`)
- Harbor harness → Modal sandbox: uses sandbox (evidence: `README.md`)
- Benchmark user → LLM judge: configures grading (evidence: `README.md`)
