Make the /reset endpoint more robust by accepting task_id and seed from either a JSON body or query parameters. ResetRequest.task_id is now optional (defaults to BUG_DETECTION). The endpoint resolves final values with precedence: default < body < query, then calls env.reset(final_task_id, final_seed). Added fastapi Body import, an info log on reset, and a test (test_api_reset_robustness) that verifies no-body, empty-body, query-only, and query-overrides-body behavior.
fix: align inference with checklist and fix hf deployment headers
Add TESTING=true to the CI workflow and set APP_ENV=test in tests so test runs are marked as testing. Update TrustedHostMiddleware to treat 'test' like 'development' (allow all hosts) and include 'testserver' in allowed hosts for non-dev cases so FastAPI's TrustedHost won't block TestClient requests.
Avoid initializing the SQLite DB during tests by checking the TESTING env var in app.lifespan and logging accordingly. Add scripts/reset_db.py to remove and re-create the DB file for fresh state during development/benchmarks. Update tests: conftest sets TESTING=true and test_api uses a shared client fixture instead of creating TestClient per test. Update results.json sample data (IDs and durations) as part of test/sample data refresh.
Bump core version to 2.0.0 (FastAPI metadata and health_check) and update dashboard package metadata (version 2.0.0, add author). Add Divyansh Rawat as a co-author in LICENSE and owners in codelens.yaml. Polish README: reformat tables, clarify scoring and API reference, add Authors & Maintainers, fix example whitespace, and improve Docker/testing instructions for readability. These changes prepare a new release and improve attribution and documentation.
feat: finalize CodeLens. rebranding and production environment polish
- Complete transition to CodeLens identity across all source code and documents
- Integrate high-precision SVG logo and signature red-dot favicon
- Optimize Dashboard header with minimalist monospaced typography
- Fix backend static routing in app.py to correctly serve root brand assets
- Create GET_STARTED.md with troubleshooting for venv and database initialization
- Standardize all CLI commands (migrate.py init) and Docker tags
- Resolve Tailwind CSS linting warnings and refactor app startup to lifespan pattern
feat: add SQLite persistence for episodes, results, and leaderboard via SQLModel
- Overwrite codereview_env/models.py with standardized Pydantic v2 classes
- Create codereview_env/scenarios.py with 30 realistic code review cases
- Update env.py and app.py for model and scenario registry compatibility
- Reorder BUG_DETECTION scenarios to align with seed-based test expectations
- Remove legacy codereview_env/scenario_bank.py and deprecated StateResult