Tooling to enrich and audit SWE-Bench evaluation data (related-files annotation, and more)
Project description
SWE Lab
Tooling to build, run, enrich, audit and fix SWE (a.k.a. coding agent) evaluation data.
Tasks
-
Related-files annotation (
src/swe_lab/pipelines/related_files/) — for each task instance, produce a ground-truth list of the code snippets a model needs to read to solve it. Shipped: 100 instances annotated & QA'd. Seepipelines/related_files/README.md. -
Quality auditing (planned) — flag "skewed" eval examples that no longer measure real capability (ambiguous specs vs. overly-specific tests, broken environments, contamination, brittle graders), in the spirit of OpenAI's Separating signal from noise in coding evaluations. Not started; it will land as a sibling under
pipelines/.
The overall roadmap and design live in docs/README.md.
Setup
Prerequisites
- uv for environment and dependency management
- direnv for auto-activating the environment
- Python 3.13 (uv will install it automatically if missing)
1. Clone
git clone https://github.com/Luolc/swe-lab.git
cd swe-lab
Optional — the --capture proxy mode compiles the standalone
cc-reverse-proxy Go project. It is
not a submodule: by default it is looked up as a sibling checkout next to
this repo (../cc-reverse-proxy/reverse_proxy.go); clone it there, or point
CC_REVERSE_PROXY_SRC at its reverse_proxy.go. The default stream capture
needs none of this.
2. Set up the environment
uv sync # create .venv and install all (incl. dev) dependencies
direnv allow # auto-activate the venv on cd (uses .envrc)
If you don't use direnv, activate manually with source .venv/bin/activate.
Install the pre-commit hooks (ruff, pyink, isort, basedpyright, uv-lock):
uv run pre-commit install
3. Download the datasets
Dataset data files are gitignored and must be downloaded locally. See
datasets/README.md for the list of available datasets
and per-dataset download instructions.
Disclaimer
This is a personal project and is not affiliated with any company. The content does not reflect any specific company's projects, products or internal work.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file swe_lab-0.1.0.tar.gz.
File metadata
- Download URL: swe_lab-0.1.0.tar.gz
- Upload date:
- Size: 95.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
47108ad181340bab1d4f34d9f55a2122822cafed2f9c6eb8ae26ac2b988d81d1
|
|
| MD5 |
71e484ce27d210bd796c536d95c4ca54
|
|
| BLAKE2b-256 |
67ec9429173edef3e0023eb1487ea493fc037084ee854172ce6d05e795310faf
|
Provenance
The following attestation bundles were made for swe_lab-0.1.0.tar.gz:
Publisher:
publish.yml on Luolc/swe-lab
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
swe_lab-0.1.0.tar.gz -
Subject digest:
47108ad181340bab1d4f34d9f55a2122822cafed2f9c6eb8ae26ac2b988d81d1 - Sigstore transparency entry: 2255332940
- Sigstore integration time:
-
Permalink:
Luolc/swe-lab@32a17f547aa42586868c9e3bca2b427e28909043 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/Luolc
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@32a17f547aa42586868c9e3bca2b427e28909043 -
Trigger Event:
release
-
Statement type:
File details
Details for the file swe_lab-0.1.0-py3-none-any.whl.
File metadata
- Download URL: swe_lab-0.1.0-py3-none-any.whl
- Upload date:
- Size: 129.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
31a9f6c1f8e3a78a64a48dea2bb3eb84db0cb8a351c303e70afd14ebbe1438f1
|
|
| MD5 |
3e716e1b5aac0ebca28aef5f614bb567
|
|
| BLAKE2b-256 |
888e09dbdb7164d14151027756785ace5fc43b64bb3174cfc606d99d05f76d6c
|
Provenance
The following attestation bundles were made for swe_lab-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on Luolc/swe-lab
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
swe_lab-0.1.0-py3-none-any.whl -
Subject digest:
31a9f6c1f8e3a78a64a48dea2bb3eb84db0cb8a351c303e70afd14ebbe1438f1 - Sigstore transparency entry: 2255332960
- Sigstore integration time:
-
Permalink:
Luolc/swe-lab@32a17f547aa42586868c9e3bca2b427e28909043 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/Luolc
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@32a17f547aa42586868c9e3bca2b427e28909043 -
Trigger Event:
release
-
Statement type: