IdeaCredIdeaCred

davidjosipovic/news-trend-analysis

73

Automated NLP pipeline for news analysis with sentiment detection, topic modeling & summarization. Daily updates via GitHub Actions, 24/7 Streamlit dashboard on Railway.

What's novel

Automated NLP pipeline for news analysis with sentiment detection, topic modeling & summarization. Daily updates via GitHub Actions, 24/7 Streamlit dashboard on Railway.

Code Analysis

10 files read · 3 rounds

An automated news aggregation pipeline that fetches economic articles, performs sentiment analysis (RoBERTa), topic modeling (BERTopic), summarization (DistilBART), and predictive analytics (XGBoost/ElasticNet) with a Streamlit dashboard and FastAPI endpoint.

Strengths

The predictive analytics layer is genuinely well-engineered with proper OOP design, time-based splits, SMOTE for imbalance, dual-model comparison, and thoughtful feature engineering including domain-specific Croatian holidays. The semantic duplicate detection using sentence-transformer embeddings with cosine similarity is a non-trivial addition that goes beyond simple URL deduplication.

Weaknesses

The README claims FinBERT but the code uses cardiffnlp/twitter-roberta-base-sentiment-latest, and the test suite appears minimal (only 4 test files for a 31-source-file project). The pipeline is tightly coupled to file paths and CSV intermediates rather than using a proper data pipeline framework, making it fragile and hard to test in isolation.

Score Breakdown

Innovation
4 (25%)
Craft
67 (35%)
Traction
17 (15%)
Scope
79 (25%)

Signal breakdown

Innovation

Not Fork+1
Code Novelty+1
Concept Novelty+1

Craft

Ci+5
Tests+5
Polish+0
Releases+0
Has License+0
Code Quality+20
Readme Quality+15
Recent Activity+7
Structure Quality+5
Commit Consistency+5
Has Dependency Mgmt+5

Traction

Forks+6
Stars+6
Hn Points+0
Watchers+3
Early Traction+0
Devto Reactions+0
Community Contribs+2

Scope

Commits+8
Languages+3
Subsystems+15
Bloat Penalty+0
Completeness+6
Contributors+6
Authored Files+15
Readme Code Match+3
Architecture Depth+7
Implementation Depth+8

Evidence

Commits

328

Contributors

2

Files

368

Active weeks

20

TestsCI/CDREADMELicenseContributing

Repository

Language

Python

Stars

2

Forks

2

License