# Linesman · Archee Studio

> A public benchmark that scores generated 2D mechanical drafting sheets (DXF) against the calculation they came from. The grader reads the file — it never asks a model whether the drawing looks right. Deterministic grader, Apache-2.0, open leaderboard.

Page: https://archee.studio/linesman/

## What it measures

A task hands a system an engineering request and takes back files. How the sheet was made is not scored — only what is in the file.

- **Calc-sheet.** Draw one detail sheet from typed parameters, in millimetres and first-angle projection: the views, dimensions, ISO 286 fits and title block the request calls for, returned as a DXF.
- **Review.** Find the seeded errors in a sheet — a wrong dimension value, a missing dimension, a wrong fit, a wrong title-block field or a missing view — and report each one with its position, returned as findings.json.

Tasks come from nine parametric part families — plate, shaft, flange, bushing, gear blank, bracket, pulley, lever and cover — at two levels: `given`, where the request states the finished values, and `calc`, where it states the rule and the standard tables the answer must be resolved against. The grader is deterministic: geometry, DIMENSION entities and text, checked against the task's truth. Spec version 0.2.1.

## How a row is scored

- Every task runs 3 independent times — a fresh folder each run, 900 seconds wall clock, no retries. A timeout or a crash counts as an invalid file.
- All entrants share one container image, its digest recorded, with 2 CPU and 4 GB of memory. Outbound network is off or limited to the model endpoint, and each run records which it had.
- Scoring happens outside the sandbox: `linesman grade` grades each submission folder and `linesman report` aggregates the runs. The entrant prompt is identical for every harness and model.
- The reference harness, `runner/run.sh`, ships adapters for Devin, Claude Code and Codex; `--no-docker` runs the same flow on your own machine for practice.

A row names its harness and its model. That is deliberate: a board that hides the model cannot be compared fairly.

## Leaderboard

| Harness | Model | Tasks | Mean score | Runs graded | Date |
| --- | --- | --- | --- | --- | --- |
| devin | swe-2-flash-high | 27 | 0.3823 | 81 | 2026-11-20 |

## How to enter

The grader is Apache-2.0 and installs from PyPI:

```sh
pip install linesman-bench
linesman build --split dev --out ./dev
runner/run.sh <adapter> ./dev ./out 3
linesman grade ./dev ./out/submissions/run1 --out ./out/results-k1.json
linesman report ./out/results-k1.json ./out/results-k2.json ./out/results-k3.json
```

The dev split is the public one; the test split is generated at run time from a salt kept private. To put a row on the board, write to team@archee.studio with the run output. Entries are graded from the submitted files — a run's own report is not the score — and only verified rows are listed.

## Links

- [Source code and README](https://github.com/Archee-Studio/linesman) — Apache-2.0
- [The spec](https://github.com/Archee-Studio/linesman/blob/main/docs/spec.md) — words, folders, checks and scoring, version 0.2.1
- [`linesman-bench` on PyPI](https://pypi.org/project/linesman-bench/)
- [Task data on Hugging Face](https://huggingface.co/datasets/archee-studio/linesman) — CC BY 4.0
