Evaluation for LLMs on developer experience.
Project description
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
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 dxbench-0.0.0.tar.gz.
File metadata
- Download URL: dxbench-0.0.0.tar.gz
- Upload date:
- Size: 8.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
62abf94f0cea9fdc29a63da6cc5226078ae445a4f6d3c10890c5c4597d2471b7
|
|
| MD5 |
ca948bc0d3baa82a34fe0153c4367854
|
|
| BLAKE2b-256 |
49f24a50986d2088df75bec411e8c189844851ddf6dc936e40ce2e9b2bc472bd
|
File details
Details for the file dxbench-0.0.0-py3-none-any.whl.
File metadata
- Download URL: dxbench-0.0.0-py3-none-any.whl
- Upload date:
- Size: 10.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9781db07fcd394fe482ad96b5be8d1b9a1533c65e50908a874db8e4c505491e0
|
|
| MD5 |
7b2473941b23825903d307b2843fdda5
|
|
| BLAKE2b-256 |
ad020444d7b38d6b1c2d139663e0c8d895bfe4d295c8e270bc9ccd2f2763a480
|