legco_ai_assistant/backend/app
Woody 3f50f81bfe test(backend): extend existing tests for per-sub-q methods and templates
Add 6 tests for retrieve_per_subquestion and generate_response_per_subquestion to Phase 1 rag service tests. Add 4 tests for filter_per_subquestion to Phase 1 relevance filter tests. Add 2 tests for new {context_sections} generate template to Phase 3 prompt injection tests. Add TestPerSubQPipelineHistory class with 3 per-sub-q pipeline simulation tests to Phase 3 integration tests. Add generate_per_subq template seed to conftest mock_prompt_service fixture.

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-04-26 23:29:27 +08:00
..
core feat(db): update history schema and generate prompt template for Package 4 2026-04-26 23:28:28 +08:00
models feat(models): add SubQuestionSources model and per-sub-q history fields 2026-04-26 23:28:19 +08:00
routers feat(query): refactor pipeline for per-sub-question flow with progressive SSE 2026-04-26 23:28:06 +08:00
services feat(db): update history schema and generate prompt template for Package 4 2026-04-26 23:28:28 +08:00
test test(backend): extend existing tests for per-sub-q methods and templates 2026-04-26 23:29:27 +08:00
utils feat(backend): add PDF page extractor and chunk PDF storage config 2026-04-24 10:52:57 +08:00
__init__.py feat: Phase 1.1 project setup with config, database, and models 2026-04-22 16:13:52 +08:00
main.py feat(history): Phase 3.5 — Query History backend (service, API, timing, XML capture) 2026-04-25 22:59:53 +08:00