legco_ai_assistant/backend/app/test/acceptance
Woody 7493b3aaf6 feat: Phase 1.4 acceptance tests, error handling, and polish
- Implement acceptance tests for ingest (real ChromaDB) and query (real LLM)
- Full 3-step RAG pipeline verified: decompose → retrieve → filter → generate
- Add logging to ingest and query routers
- Improve error handling: empty doc detection, proper HTTPException re-raising
- Add .txt file support to ingest endpoint
- Fix query router: strip distance from retrieve tuples before relevance filter
- Update plan: Phase 1 backend complete (all acceptance criteria met)
- Tests: 41 unit passed, 5 acceptance passed (real OpenRouter calls)
2026-04-22 17:45:50 +08:00
..
test_acceptance_phase1_ingest.py feat: Phase 1.4 acceptance tests, error handling, and polish 2026-04-22 17:45:50 +08:00
test_acceptance_phase1_llm_client.py feat: Phase 1.2 ingestion pipeline with chunking and metadata 2026-04-22 16:49:52 +08:00
test_acceptance_phase1_rag_query.py feat: Phase 1.4 acceptance tests, error handling, and polish 2026-04-22 17:45:50 +08:00
test_acceptance_phase2_asr.py docs: add sub-phase development rules and acceptance test structure 2026-04-22 15:27:31 +08:00
test_acceptance_phase2_video.py docs: add sub-phase development rules and acceptance test structure 2026-04-22 15:27:31 +08:00
test_integration_phase1.py docs: add sub-phase development rules and acceptance test structure 2026-04-22 15:27:31 +08:00
test_integration_phase2.py docs: add sub-phase development rules and acceptance test structure 2026-04-22 15:27:31 +08:00