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
a78bee9b0a
feat(similarity): add precomputed similarity cache, fix fusion N+1, add 429 retry
- Add similarity/ package (compute.py, lookup.py) with numpy-based
pairwise cosine similarity and cached lookup
- database.py: create embeddings + similarity_cache tables in _init_database(),
add store_similarity_batch/get_cached_similarities/clear_similarity_cache helpers
- pipeline/fusion.py: replace N+1 per-motion embedding SELECT with single
bulk JOIN using DuckDB QUALIFY window function
- ai_provider.py: retry HTTP 429 with Retry-After header support
- migrations/2026-03-22-add-similarity-cache.sql: make executable
- Add tests for similarity compute, db helpers, and 429 retry (34 pass, 2 skip)
|
1 month ago |
|
analysis
|
fix(analysis): improve PCA handling when PC1 dominates, add pca_residual option and plot autoscaling/variance annotation
|
1 month ago |
|
data
|
feat(analysis): add 2D political compass and 2D trajectories
|
1 month ago |
|
docs/admin
|
feat(pipeline): implement parliamentary embedding pipeline MVP
|
1 month ago |
|
migrations
|
feat(similarity): add precomputed similarity cache, fix fusion N+1, add 429 retry
|
1 month ago |
|
outputs
|
fix(analysis): add Procrustes alignment and normalize vectors for drift computation
|
1 month ago |
|
pipeline
|
feat(similarity): add precomputed similarity cache, fix fusion N+1, add 429 retry
|
1 month ago |
|
scripts
|
fix(pipeline): fix API pagination, add skip_details fast path, bulk mp_votes insert
|
1 month ago |
|
similarity
|
feat(similarity): add precomputed similarity cache, fix fusion N+1, add 429 retry
|
1 month ago |
|
src/types
|
feat(pipeline): implement parliamentary embedding pipeline MVP
|
1 month ago |
|
tests
|
feat(similarity): add precomputed similarity cache, fix fusion N+1, add 429 retry
|
1 month ago |
|
thoughts
|
Add design: embedding-based motion similarity cache
|
1 month ago |
|
tools
|
feat(pipeline): implement parliamentary embedding pipeline MVP
|
1 month ago |
|
.drone.yml
|
feat(pipeline): implement parliamentary embedding pipeline MVP
|
1 month ago |
|
.env
|
feat(analysis): add 2D political compass and 2D trajectories
|
1 month ago |
|
.gitignore
|
feat(pipeline): implement parliamentary embedding pipeline MVP
|
1 month ago |
|
.python-version
|
feat(pipeline): implement parliamentary embedding pipeline MVP
|
1 month ago |
|
ARCHITECTURE.md
|
feat(pipeline): implement parliamentary embedding pipeline MVP
|
1 month ago |
|
CODE_STYLE.md
|
feat(pipeline): implement parliamentary embedding pipeline MVP
|
1 month ago |
|
Dockerfile
|
feat(pipeline): implement parliamentary embedding pipeline MVP
|
1 month ago |
|
EMBEDDING_ANALYSIS.md
|
feat(pipeline): implement parliamentary embedding pipeline MVP
|
1 month ago |
|
README.md
|
feat(pipeline): implement parliamentary embedding pipeline MVP
|
1 month ago |
|
ai_provider.py
|
feat(similarity): add precomputed similarity cache, fix fusion N+1, add 429 retry
|
1 month ago |
|
api_client.py
|
fix(pipeline): fix API pagination, add skip_details fast path, bulk mp_votes insert
|
1 month ago |
|
app.py
|
feat(pipeline): implement parliamentary embedding pipeline MVP
|
1 month ago |
|
config.py
|
feat(pipeline): implement parliamentary embedding pipeline MVP
|
1 month ago |
|
database.py
|
feat(similarity): add precomputed similarity cache, fix fusion N+1, add 429 retry
|
1 month ago |
|
docker-compose.yml
|
feat(pipeline): implement parliamentary embedding pipeline MVP
|
1 month ago |
|
fix_database.py
|
feat(pipeline): implement parliamentary embedding pipeline MVP
|
1 month ago |
|
main.py
|
feat(pipeline): implement parliamentary embedding pipeline MVP
|
1 month ago |
|
pyproject.toml
|
feat(pipeline): add orchestrator CLI, analysis modules, and ActorFractie ingestion
|
1 month ago |
|
read.py
|
feat(pipeline): implement parliamentary embedding pipeline MVP
|
1 month ago |
|
reset.py
|
feat(pipeline): implement parliamentary embedding pipeline MVP
|
1 month ago |
|
scheduler.py
|
feat(pipeline): implement parliamentary embedding pipeline MVP
|
1 month ago |
|
scraper.py
|
feat(pipeline): implement parliamentary embedding pipeline MVP
|
1 month ago |
|
summarizer.py
|
feat(pipeline): implement parliamentary embedding pipeline MVP
|
1 month ago |
|
test.py
|
feat(pipeline): implement parliamentary embedding pipeline MVP
|
1 month ago |
|
uv.lock
|
feat(pipeline): add orchestrator CLI, analysis modules, and ActorFractie ingestion
|
1 month ago |
|
verify.py
|
feat(pipeline): implement parliamentary embedding pipeline MVP
|
1 month ago |