DXBench
A benchmark for evaluating LLMs on how well they can improve the developer experience.
One thing that developers hate is writing tests, so this benchmark evaluates how well LLMs are able to write tests for different features developers are working on.
Evaluate Your LLM
To evaluate your LLM on this benchmark:
- Install the
dxbenchpackage from pip:pip install dxbench - Setup your LLM by implementing the
Botclass - Run the benchmark by:
run(your_bot)
Here is an example:
from dxbench.bot import Bot
from dxbench.runner import run
class TestBot(Bot):
def get_response(self, prompt: str) -> str:
# Get your response here
return response
bot = TestBot()
run(bot)
Contribute Test Cases
To contribute test cases, please:
- Fork this repository
- Install the dev packages:
pip install ".[dev]" - Add a function that should be tested in
dxbench/cut. Make sure that your code is runnable! - Register your code in
dxbench/registry.py
Metadata
Release files for dxbench 0.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| dxbench-0.0.0.tar.gz | 8.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dxbench-0.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 18.8 kB
Release files / dxbench-0.0.0.tar.gz
| Download URL | dxbench-0.0.0.tar.gz |
|---|---|
| Size | 8.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
62abf94f0cea9fdc29a63da6cc5226078ae445a4f6d3c10890c5c4597d2471b7
|
|
BLAKE2b-256 checksum How to use checksums |
49f24a50986d2088df75bec411e8c189844851ddf6dc936e40ce2e9b2bc472bd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.5
|
Release files / dxbench-0.0.0-py3-none-any.whl
| Download URL | dxbench-0.0.0-py3-none-any.whl |
|---|---|
| Size | 10.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9781db07fcd394fe482ad96b5be8d1b9a1533c65e50908a874db8e4c505491e0
|
|
BLAKE2b-256 checksum How to use checksums |
ad020444d7b38d6b1c2d139663e0c8d895bfe4d295c8e270bc9ccd2f2763a480
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.5
|
Security for dxbench 0.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.