IdeaCredIdeaCred

kruts/Fake-Review-Detector

49

πŸ” Detect fake product reviews using NLP techniques, TF-IDF, and Logistic Regression, with an interactive Streamlit app for real-time predictions.

What's novel

πŸ” Detect fake product reviews using NLP techniques, TF-IDF, and Logistic Regression, with an interactive Streamlit app for real-time predictions.

Code Analysis

8 files read Β· 3 rounds

A small TF-IDF + Logistic Regression classifier with 6 hand-crafted behavioral features (sentiment, exclamation count, all-caps, clichΓ© phrases, length, word uniqueness) that labels product reviews as FAKE or REAL, wrapped in a minimal Streamlit UI.

Strengths

The code is clean, readable, and well-organized for its size; the feature engineering (behavioral signals like all-caps tokens, repeated phrases, unique word ratio) is a reasonable complement to TF-IDF and shows some thought beyond a pure bag-of-words approach.

Weaknesses

The sample dataset is only ~60 rows of 7 unique reviews repeated, making the perfect 1.0 AUC meaningless; there are zero tests, duplicated prediction logic across predict.py and streamlit_app.py, unused dependencies (plotly, nltk), and the README's installation instructions (download ZIP, double-click) don't match the actual repo structure.

Score Breakdown

Innovation
3 (25%)
Craft
50 (35%)
Traction
8 (15%)
Scope
46 (25%)

Signal breakdown

Innovation

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

Craft

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

Traction

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

Scope

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

Evidence

Commits

7

Contributors

2

Files

16

Active weeks

3

TestsCI/CDREADMELicenseContributing

Repository

Language

Python

Stars

1

Forks

0

License

MIT