You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Sven Geboers
aef7c45074
Refactor tests: replace sys.modules hacks with real DI + in-memory DB
- Add db=None, embedder=None params to ai_provider_wrapper, text_pipeline, compute_similarities
- New conftest.py: FakeEmbedder, mem_db (in-memory DuckDB), fake_embedder fixtures
- Rewrite test_ai_provider_wrapper (4 tests), test_rerun_embeddings_retry (2 tests), test_similarity_compute_filter (1 test) with real implementations
- Fix rerun_embeddings tests hanging on _get_all_windows by patching it alongside _clear_embeddings
- All 53 tests pass (2 skipped), 0 sys.modules hacks in refactored files
|
1 month ago |
| .. |
|
__init__.py
|
feat(pipeline): implement parliamentary embedding pipeline MVP
|
1 month ago |
|
ai_provider_wrapper.py
|
Refactor tests: replace sys.modules hacks with real DI + in-memory DB
|
1 month ago |
|
extract_mp_votes.py
|
fix(pipeline): fix API pagination, add skip_details fast path, bulk mp_votes insert
|
1 month ago |
|
fetch_mp_metadata.py
|
feat(analysis): fetch real MP metadata, fix anchor axis for party-level actors
|
1 month ago |
|
fusion.py
|
feat(similarity): add precomputed similarity cache, fix fusion N+1, add 429 retry
|
1 month ago |
|
run_pipeline.py
|
feat: add StemAtlas Streamlit app, explorer, Docker deployment, blog charts
|
1 month ago |
|
svd_pipeline.py
|
feat: add StemAtlas Streamlit app, explorer, Docker deployment, blog charts
|
1 month ago |
|
text_pipeline.py
|
Refactor tests: replace sys.modules hacks with real DI + in-memory DB
|
1 month ago |