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
f7d806dc3a
fix(analysis): add Procrustes alignment and normalize vectors for drift computation
...
SVD sign/rotation is arbitrary per window. Without alignment, drift was
dominated by basis flips (~1.9/step max=2.0) rather than real political movement.
- _procrustes_align_windows(): aligns each window to the previous using
orthogonal Procrustes on common entities (scipy, falls back gracefully)
- compute_trajectories(): builds aligned window dict before per-MP drift calc,
adds normalize=True (L2-normalise) to remove cross-window magnitude differences
caused by varying numbers of motions per quarter
- Results now in sensible range: NSC=2.28, DENK=1.90, ... PVV=0.82, FVD=0.70
- NSC large late jump (1.39 in Q4→Q1 2026) matches its parliamentary fracture
- Add outputs/trajectories_party_aligned.html with cleaned-up drift chart
1 month ago
analysis
fix(analysis): add Procrustes alignment and normalize vectors for drift computation
1 month ago
docs/ admin
feat(pipeline): implement parliamentary embedding pipeline MVP
1 month ago
migrations
feat(pipeline): implement parliamentary embedding pipeline MVP
1 month ago
outputs
fix(analysis): add Procrustes alignment and normalize vectors for drift computation
1 month ago
pipeline
feat(analysis): fetch real MP metadata, fix anchor axis for party-level actors
1 month ago
scripts
fix(pipeline): fix API pagination, add skip_details fast path, bulk mp_votes insert
1 month ago
src/ types
feat(pipeline): implement parliamentary embedding pipeline MVP
1 month ago
tests
feat(analysis): fetch real MP metadata, fix anchor axis for party-level actors
1 month ago
thoughts
feat(pipeline): implement parliamentary embedding pipeline MVP
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
.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(pipeline): implement parliamentary embedding pipeline MVP
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(analysis): fetch real MP metadata, fix anchor axis for party-level actors
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