Signal Desk
A news aggregator for following EU digital policy across sources and languages. I built the collection pipeline, relevance filters and interface for reviewing and selecting articles.
Python, Streamlit, SQLAlchemy, SQLite, PostgreSQL, MiniLM, sentence-transformers, RapidFuzz
The brief
Following digital policy means reading articles from many sources and languages before deciding what belongs in a daily briefing.
Collect articles in one place, sort them by topic and relevance, and let the reader make the final selection.
A news aggregator with a review interface, feedback controls and a newsletter export.
Design and engineering
Collect and prepare
Python collects feeds and API results through concurrent requests. Conditional HTTP requests avoid downloading unchanged feeds. Text extraction and validation prepare articles for classification and storage.
Sort by meaning and keywords
RapidFuzz matches weighted keywords to classify clear cases first. When those matches are too weak, the all-MiniLM-L6-v2 model creates sentence embeddings to compare the article’s meaning with topics. Relevance rules also consider topic and geographic context.
Review and feedback
A Streamlit interface supports filtering, relevance feedback and newsletter selection. Repeated feedback can produce capped penalties for sources and terms, which the classifier applies to later articles.
Store and export
SQLAlchemy supports SQLite and PostgreSQL. The database checks article URLs to reduce duplicates. Readers select the stories, then export a briefing as text, PDF or Word.
Checking the pipeline
Automated tests cover validation, article classification, relevance filtering and feedback handling. They also check that an invalid article does not continue through later stages.