35 lines
2.2 KiB
Markdown
35 lines
2.2 KiB
Markdown
# News Benchmark
|
|
|
|
A benchmark that tests how local language models perform on real world software engineering tasks.
|
|
|
|
## The challenge:
|
|
|
|
Make and maintain a news web application.
|
|
|
|
## Stucture
|
|
|
|
Most real applications, are not made in a single shot. This benchmark reflects this by simulating tickets as milestones. Each mile stone is a separate markdown file, containing a prompt, description, acceptance criteria, technical details, and QA notes.
|
|
|
|
## Scoring
|
|
|
|
The model performing the benchmark will be scored against the acceptance criteria and the tests written as proof of work:
|
|
|
|
| Score | Criteria |
|
|
|-------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|
| 0 | Agent failed to implement acceptance criteria |
|
|
| 1 | Agent partially implemented acceptance criteria that builds successfully |
|
|
| 2 | Agent fully implemented acceptance criteria that builds successfully |
|
|
| 3 | Agent fully implemented acceptance criteria that builds successfully, includes passing unit tests, includes passing integration tests |
|
|
| 4 | Agent fully implemented acceptance criteria that builds successfully, includes passing unit tests, includes passing integration tests, and passing end to end tests |
|
|
|
|
## Context management
|
|
|
|
After each milestone the agents context MUST be cleared. This test the models reasoning capabilities and how it performs with incomplete information.
|
|
|
|
|
|
## Tech stack variations
|
|
|
|
### Python
|
|
- **Backend:** Python, FastAPI, SQLAlchemy, SQLite (data persisted in a Docker volume)
|
|
- **Frontend:** React + TypeScript (Vite), lucide-react icons, served by nginx
|
|
- **Compose:** two services, frontend proxies /api to the backend |