IdeaCredIdeaCred

khanh152010/AI_Emotional_Mirror

47

๐Ÿชž Reflect on your emotions with AI Emotional Mirror, a tool that gently clarifies thoughts without offering advice or judgment.

What's novel

๐Ÿชž Reflect on your emotions with AI Emotional Mirror, a tool that gently clarifies thoughts without offering advice or judgment.

Code Analysis

6 files read ยท 2 rounds

A Streamlit app that takes user text, runs it through a pre-trained DistilRoBERTa emotion classifier, generates a basic word-frequency extractive summary, and calls the Groq Llama 3.1 API to produce a two-sentence calm reflection.

Strengths

Clean pipeline separation into small focused modules (text_utils, summarizer, emotion_model, reflector) makes the flow easy to follow. The emotion detection uses a legitimate pre-trained model and the reflection prompt engineering (no advice, no diagnosis, limited length) shows some thoughtfulness.

Weaknesses

No tests, dead imports (spacy, scikit-learn, requests), the Groq client crashes at import time if the API key is missing, and the summarizer is a trivial word-frequency approach. The README is heavily padded with marketing language and a suspicious download link, and claims features (save reflections, help section) that don't exist in the code.

Score Breakdown

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

Signal breakdown

Innovation

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

Craft

Ci+0
Tests-1
Polish+0
Releases+0
Has License+0
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+5
Languages+3
Subsystems+5
Bloat Penalty+0
Completeness+6
Contributors+6
Authored Files+8
Readme Code Match+3
Architecture Depth+3
Implementation Depth+8

Evidence

Commits

9

Contributors

2

Files

10

Active weeks

3

TestsCI/CDREADMELicenseContributing

Repository

Language

Python

Stars

1

Forks

0

License

โ€”