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
504400faf2
fix: quiz seed from motions with actual individual MP votes
...
Root causes:
- Seed selection sorted by controversy_score across all 28k motions, but
only 282 have individual MP vote records. Top controversial motions only
have party-level votes, so match_mps_for_votes always returned empty.
- global_db singleton was used for match/discriminate instead of the db_path
passed to the tab builder.
Fixes:
- Add MotionDatabase.get_motions_with_individual_votes(k) which queries
motions with comma-formatted mp_name votes, ordered by controversy_score
- Replace broken seed logic in build_mp_quiz_tab with this new method
- Replace global_db usages with a local MotionDatabase(db_path) instance
- Guard against motion IDs present in votes but absent from motions DataFrame
1 month ago
analysis
feat: complete parliamentary embedding pipeline with full historical coverage
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
pages
feat: add StemAtlas Streamlit app, explorer, Docker deployment, blog charts
1 month ago
pipeline
feat(mp-quiz): add MP quiz tab and DB helpers; add design and plan docs
1 month ago
scripts
feat(mp-quiz): add MP quiz tab and DB helpers; add design and plan docs
1 month ago
similarity
Refactor tests: replace sys.modules hacks with real DI + in-memory DB
1 month ago
src/ types
feat(pipeline): implement parliamentary embedding pipeline MVP
1 month ago
tests
test: add full quiz tab test suite and fix Geen stem normalization
1 month ago
thoughts
feat(mp-quiz): add MP quiz tab and DB helpers; add design and plan docs
1 month ago
tools
feat(pipeline): implement parliamentary embedding pipeline MVP
1 month ago
.drone.yml
feat: add StemAtlas Streamlit app, explorer, Docker deployment, blog charts
1 month ago
.env
feat(analysis): add 2D political compass and 2D trajectories
1 month ago
.gitignore
feat: add StemAtlas Streamlit app, explorer, Docker deployment, blog charts
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: add StemAtlas Streamlit app, explorer, Docker deployment, blog charts
1 month ago
EMBEDDING_ANALYSIS.md
feat(pipeline): implement parliamentary embedding pipeline MVP
1 month ago
Home.py
feat: add StemAtlas Streamlit app, explorer, Docker deployment, blog charts
1 month ago
README.md
feat(pipeline): implement parliamentary embedding pipeline MVP
1 month ago
ai_provider.py
feat: complete parliamentary embedding pipeline with full historical coverage
1 month ago
api_client.py
feat: complete parliamentary embedding pipeline with full historical coverage
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
fix: quiz seed from motions with actual individual MP votes
1 month ago
docker-compose.yml
feat: add StemAtlas Streamlit app, explorer, Docker deployment, blog charts
1 month ago
explorer.py
fix: quiz seed from motions with actual individual MP votes
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(mp-quiz): add MP quiz tab and DB helpers; add design and plan docs
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(mp-quiz): add MP quiz tab and DB helpers; add design and plan docs
1 month ago
verify.py
feat(pipeline): implement parliamentary embedding pipeline MVP
1 month ago