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
a3154f72df
refactor: extract shared helpers to common.py, fix bugs, add TDD tests
- Created analysis/right_wing/common.py with all shared helpers:
Constants: CANONICAL_CENTRIST, COALITION, BREAK_YEAR, etc.
Functions: _conn, cohens_d, build_party_name_map, parse_lead_submitter,
motion_passed, quarter_sort_key, find_inflection_point
- Fixed bugs:
1. ai_provider.py: requests.Timeout now caught alongside ConnectionError
2. voting_margin.py: Removed walrus operator misuse, fixed Mann-Whitney test
- Updated 13 consuming files to import from common.py
- Added 35 TDD tests in tests/right_wing/test_common.py
- 282 tests pass (was 247)
|
3 weeks ago |
| .. |
|
right_wing
|
refactor: extract shared helpers to common.py, fix bugs, add TDD tests
|
3 weeks ago |
|
tabs
|
feat: agent-native refactor, SVD consistency fixes, UX cleanup, mobile support
|
2 months ago |
|
__init__.py
|
feat(pipeline): add orchestrator CLI, analysis modules, and ActorFractie ingestion
|
3 months ago |
|
axis_classifier.py
|
refactor: remove Stemgedrag cohesie section and fallback axis message
|
3 months ago |
|
clustering.py
|
refactor: make duckdb imports optional in analysis modules
|
2 months ago |
|
config.py
|
infra: fix CI, config, docker-compose, README, and pre-commit
|
2 months ago |
|
explorer_data.py
|
feat: agent-native refactor, SVD consistency fixes, UX cleanup, mobile support
|
2 months ago |
|
political_axis.py
|
Use aligned PCA scores for all SVD components 1-10
|
2 months ago |
|
projections.py
|
refactor: extract data loading and trajectory logic from explorer.py
|
3 months ago |
|
svd_labels.py
|
fix: resolve SVD axis label alignment and score mismatch in tijdtraject view
|
2 months ago |
|
trajectory.py
|
refactor: make duckdb imports optional in analysis modules
|
2 months ago |
|
visualize.py
|
feat: complete parliamentary embedding pipeline with full historical coverage
|
3 months ago |