Inspiration
While working on my earlier project Mood2Mail, I realized how often communication can carry hidden bias — not just in tone, but in the subtle language choices we make every day. I wanted to build a tool that does more than just analyze sentiment — something that actively flags microaggressions, gender-coded language, and tone, while suggesting inclusive rewrites. Inspired by SDG 5 (Gender Equality), BiasX-Ray aims to be your real-time lens into inclusive language.
What it does
BiasX-Ray is a real-time bias detector for team chats. As users type messages, it:
- Detects tone using an ML model (e.g., friendly, anxious, aggressive).
- Flags gender-coded words and microaggressions.
- Suggests inclusive rewrites.
- Promotes non-binary inclusive communication without being preachy.
How I built it
- Frontend: HTML, CSS, and JavaScript — interactive interface, live highlighting, and visual feedback.
- Backend: Flask-based API using ML model (TF-IDF + Naive Bayes) for tone detection.
- Bias Detection: Pure Python logic for gender-coded terms, pronouns, job titles, and soft microaggressions.
- Artwork: Custom logo and illustrations reflecting all genders holding hands.
Challenges I ran into
- Finding the line between biased and neutral phrasing — context matters.
- Avoiding false positives without under-detecting.
- Designing logic that works for non-binary and gender-diverse users.
- Merging ML tone detection with logic-based bias spotting smoothly.
Accomplishments that I am proud of
- Built a fully working prototype with real-time bias feedback.
- Integrated tone detection from a previous project (Mood2Mail) — reused, improved, and expanded!
- Created a visually appealing and inclusive design.
- Developed meaningful logic that actually teaches better phrasing.
What I learned
-Language inclusivity is more than removing “he/she” — it's nuanced. -Real-time analysis can be smooth without sacrificing speed or UX. -Ethical tech requires both sensitivity and structure — it’s not just a logic problem.
What's next for BiasX-Ray: Real-Time Bias Detector
- Add more tones and emotional cues.
- Build a Chrome extension for Slack/Discord/Teams.
- Add a feedback button to let users mark incorrect flags.
- Expand detection beyond gender: race-coded terms, ableist language, etc.
- Add team analytics dashboards to reflect communication trends.
Log in or sign up for Devpost to join the conversation.