legco_ai_assistant/backend/app/test
Woody e49a68b0bd feat(prompts): Phase 3.2 — Prompt Backend (CRUD service, REST API, 33 tests)
- PromptService (services/prompt_service.py): full CRUD for 3 profiles A/B/C
  with seed template reset, validation, and sqlite3.Row access
- REST API (routers/prompts.py): 6 endpoints on /api/v1/prompts
- Pydantic models (models/prompts.py): 6 schemas
- DI wiring (dependencies.py): get_prompt_service()
- App registration (main.py): prompts router
- Mock fixture (conftest.py): mock_prompt_service
- Tests: test_phase3_prompt_service.py (22) + test_phase3_prompts_router.py (11)
- 162/166 total pass, 4 skipped, 0 fail
2026-04-25 21:11:17 +08:00
..
acceptance test(backend): update Phase 1 test suite 2026-04-23 13:27:40 +08:00
conftest.py feat(prompts): Phase 3.2 — Prompt Backend (CRUD service, REST API, 33 tests) 2026-04-25 21:11:17 +08:00
test_phase1_chunk_serving.py feat: add chunk PDF serving endpoint and frontend clickable source links (1.5.6) 2026-04-24 11:49:39 +08:00
test_phase1_chunking.py feat: Phase 1.2 ingestion pipeline with chunking and metadata 2026-04-22 16:49:52 +08:00
test_phase1_config.py feat: Phase 1.1 project setup with config, database, and models 2026-04-22 16:13:52 +08:00
test_phase1_database.py feat: Phase 1.1 project setup with config, database, and models 2026-04-22 16:13:52 +08:00
test_phase1_documents_router.py feat(backend): add documents CRUD endpoints and tests 2026-04-23 19:02:28 +08:00
test_phase1_enhanced_metadata.py feat(backend): add page_number, chunk_file_path, document_id to chunk metadata 2026-04-24 10:30:40 +08:00
test_phase1_ingest.py feat(backend): refactor ingest pipeline for page-aware chunking with PDF generation 2026-04-24 10:53:17 +08:00
test_phase1_ingest_page_aware.py feat(backend): refactor ingest pipeline for page-aware chunking with PDF generation 2026-04-24 10:53:17 +08:00
test_phase1_llm_client.py test(backend): update unit tests for LLM monitoring changes 2026-04-23 14:52:41 +08:00
test_phase1_metadata.py feat: Phase 1.2 ingestion pipeline with chunking and metadata 2026-04-22 16:49:52 +08:00
test_phase1_page_aware_chunking.py feat(backend): add page-aware chunking with adjacent-page overlap 2026-04-24 10:30:18 +08:00
test_phase1_parsers.py feat: Phase 1.2 ingestion pipeline with chunking and metadata 2026-04-22 16:49:52 +08:00
test_phase1_pdf_extractor.py feat(backend): add PDF page extractor and chunk PDF storage config 2026-04-24 10:52:57 +08:00
test_phase1_pdf_parser_pages.py feat(backend): add page-aware PDF parsing with per-page text extraction 2026-04-24 10:30:04 +08:00
test_phase1_query.py test(backend): update query tests for sub-question generation (sub-phase 2.3) 2026-04-24 16:24:10 +08:00
test_phase1_query_decomposer.py test(backend): update query tests for sub-question generation (sub-phase 2.3) 2026-04-24 16:24:10 +08:00
test_phase1_rag_service.py test(backend): update Phase 1 test suite 2026-04-23 13:27:40 +08:00
test_phase1_relevance_filter.py fix(backend): extract JSON from markdown code blocks in LLM responses 2026-04-23 16:28:07 +08:00
test_phase2_asr_client.py init: project setup with AGENTS.md, test structure, and plan directory 2026-04-22 15:22:29 +08:00
test_phase2_video_upload.py init: project setup with AGENTS.md, test structure, and plan directory 2026-04-22 15:22:29 +08:00
test_phase2_ws_asr.py init: project setup with AGENTS.md, test structure, and plan directory 2026-04-22 15:22:29 +08:00
test_phase3_prompt_service.py feat(prompts): Phase 3.2 — Prompt Backend (CRUD service, REST API, 33 tests) 2026-04-25 21:11:17 +08:00
test_phase3_prompts_router.py feat(prompts): Phase 3.2 — Prompt Backend (CRUD service, REST API, 33 tests) 2026-04-25 21:11:17 +08:00
test_phase3_sqlite_db.py feat(db): Phase 3.1 — SQLite infrastructure (prompts.db + history.db) 2026-04-25 20:29:29 +08:00