SQLite best practices for Python -- PRAGMAs per connection, context manager transactions, parameterized queries, row_factory, executemany, FK indexes
92
90%
Does it follow best practices?
Impact
97%
1.73xAverage score across 5 eval scenarios
Passed
No known issues
A community center needs an event registration system built with Python and FastAPI. Use SQLite for storage (single server, moderate traffic from staff and members).
The system needs:
Produce:
app/db.py -- Database connection and initializationapp/schemas.py -- Pydantic modelsapp/events.py -- Event-related route handlersapp/registrations.py -- Registration-related route handlersapp/main.py -- FastAPI applicationrequirements.txt -- With dependenciesComplete Python code, no placeholders or TODO comments.
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
skills
sqlite-python-best-practices
verifiers