Daniel Samson 4c82e4f54c feat: add M6 setup admin area milestone
Backend (FastAPI):
- is_admin field added to User model with default False
- Admin-only dependency validates JWT AND is_admin flag
- Protected CRUD endpoints for items management
- Pagination, search by title/url, sort by title/date

Frontend (React + TypeScript):
- AdminLayout with sidebar navigation protected by auth check
- AdminDashboard with pagination controls and page size selector
- EditItemPage with Lexical WYSIWYG editor toolbar
- DeleteConfirmation modal requires explicit confirmation
- Warning icon and consequences message before delete

Security:
- Server-side 403 Forbidden for non-admin users
- JWT token validation required on all admin routes
2026-10-29 16:23:52 +00:00
2026-10-28 12:13:45 +00:00

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.

Structure

Most real applications, are not made in a single shot. This benchmark reflects this by simulating tickets as milestones. Each milestone is a separate markdown file, containing 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/integration tests with 50% code coverage
4 Agent fully implemented acceptance criteria that builds successfully, includes passing unit/integration tests, passing end-to-end tests, with 80% code coverage
5 Agent fully implemented acceptance criteria that builds successfully, includes passing unit/integration tests, and passing end-to-end tests with 100% code coverage

Milestones

This benchmark consists of multiple milestones, each representing a separate task:

M1: Git Repository Setup

M2: Backend Infrastructure

M3: Frontend Application

This benchmark consists of multiple milestones, each representing a separate task:

M5: Authentication System

M6: Admin Area

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
S
Description
LLM Benchmark
Readme MIT
255 KiB
0 Stars 1 Watchers 0 Forks
Languages
Markdown 100%