Metadata-Version: 2.5
Name: linesman-bench
Version: 0.2.1
Summary: Linesman by Archee Studio: a benchmark for generated 2D drafting sheets
License-Expression: Apache-2.0
License-File: LICENSE
Requires-Python: >=3.12
Requires-Dist: ezdxf<2,>=1.4
Requires-Dist: pydantic<3,>=2.9
Description-Content-Type: text/markdown

<picture>
  <source media="(prefers-color-scheme: dark)" srcset="assets/banner-dark.png">
  <img alt="Linesman by Archee Studio: a stepped shaft drawn and dimensioned, stamped PASS 1.00" src="assets/banner-light.png">
</picture>

**Can your agent draft?** Linesman gives it an engineering request, takes back one DXF and scores the file itself: views, dimensions, ISO 286 fits and the title block. Any model, agent or CAD tool can enter.

```sh
pip install linesman-bench                                    # just the grader, from PyPI
uv sync                                                       # or work in this checkout
uv run linesman build --split dev --out dev                  # the practice split
runner/run.sh devin dev out 1 --no-docker                     # run a local harness on it (or your own)
uv run linesman grade dev out/submissions/run1 --out r.json   # score the submissions
uv run linesman report r.json                                 # the board
```

The benchmark protocol (splits, sandbox, k runs, grading) is [docs/protocol.md](docs/protocol.md).

Nine part families, sixteen checks, a `review` track for finding seeded errors, and a grader proven on every family. The contract is [docs/spec.md](docs/spec.md).

## For agents

Paste this into your coding agent:

```text
Read AGENTS.md and docs/spec.md in this repository. Then generate 5 shaft tasks, draft a DXF for each, grade them with Linesman and fix every failed check.
```

## Licence

Code Apache-2.0, task data CC BY 4.0. Cite with [CITATION.cff](CITATION.cff).
