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
6cb89126a7
fix(svd): expand party votes to individual MPs before SVD computation
...
The mp_votes table contains both party-aggregate rows (e.g. 'PVV', 'NSC')
and individual MP rows (e.g. 'Aardema, M.'). Running SVD on both together
creates a block-diagonal vote matrix where party codes and individual MPs
occupy disjoint SVD dimensions — causing dim 0 to be zero for all 421 MPs.
Fix: _build_expanded_rows() converts every party-level vote to individual
MP votes using mp_metadata date ranges (active MPs on motion date). Motions
that already have individual MP records are kept as-is. A party name mapping
handles NSC/Nieuw Sociaal Contract and other canonical name variants.
Results for current_parliament: 517 individual MPs, all 8732 motions covered,
dim 0 std=23.1 (was 0.0 for all MPs). PVV/NSC/BBB on positive end, SP/GL/PvdD
on negative end — matches expected left-right political axis.
All 11 annual windows (2016-2026) re-run with the new pipeline.
1 month ago
.github/ workflows
chore(repo): remove stale scripts, caches, and old workflow
1 month ago
.mindmodel
chore(mindmodel): add sanitized read-only manifest and reviewer README
1 month ago
analysis
feat: complete parliamentary embedding pipeline with full historical coverage
1 month ago
docs
docs: add SVD tab redesign implementation plan
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
fix(svd): expand party votes to individual MPs before SVD computation
1 month ago
scripts
fix: remove motion title truncation, add SVD JSON generation script
1 month ago
similarity
Refactor tests: replace sys.modules hacks with real DI + in-memory DB
1 month ago
src
feat(mindmodel): add report-only validator skeleton, types, and tests
1 month ago
tests
ci(mindmodel): add scheduled validation workflow
1 month ago
thoughts
chore(repo): remove stale scripts, caches, and old workflow
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
.pre-commit-config.yaml
chore(format): add pre-commit and formatter configs
1 month ago
.python-version
feat(pipeline): implement parliamentary embedding pipeline MVP
1 month ago
ARCHITECTURE.md
feat(mindmodel): add manifest loader and tests
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
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(svd): expand party votes to individual MPs before SVD computation
1 month ago
main.py
feat(pipeline): implement parliamentary embedding pipeline MVP
1 month ago
pyproject.toml
chore(deps): move pytest to dev-dependencies
1 month ago
requirements-dev.txt
chore(deps): move pytest to dev-dependencies
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
uv.lock
feat(explorer): harden _render_party_axis_chart axis bounds and range
1 month ago
verify.py
feat(pipeline): implement parliamentary embedding pipeline MVP
1 month ago