Samānatā is a personal,vibe-coding project built with help of AI to explore human compatibility. It blends psychology, emotional insight, and semantic analysis to understand how two people truly connect through emotional alignment, shared meaning, and lifestyle similarity.
The name comes from the Nepali word समानता, meaning similarity or alignment—the heart of this project.
Samānatā helps you understand how two people truly connect, beyond surface-level preferences. Both individuals answer the same in-depth questionnaire covering:
- Interests & hobbies
- Lifestyle & daily routines
- Values & priorities
- Personality & relationships with family and friends
- Food preferences
- Emotional tastes (movies, music, books, poetry, culture)
The system analyzes responses using weighted scoring and emotional/semantic similarity, capturing shared mindset, values, and emotional closeness, not just identical answers.
- Two people complete the same questionnaire
- Answers are compared with weighted and semantic analysis
- A compatibility score from 0–100 is generated
- Relationship classification on a spectrum: From Strangers to Soulmates
- Results are displayed visually with insights on strengths, differences, and alignment in daily life
- The data is stored in Supabase database.
This project defines a structured and weighted framework to calculate compatibility between individuals based on multiple psychological, behavioral, and lifestyle dimensions.
The model is designed to be scalable, transparent, and suitable for use in applications such as matchmaking systems, social platforms, or personality-based analytics.
Each category contributes to the final compatibility score based on its relative importance.
| Category | Weight | Description |
|---|---|---|
| Values | 1.5× | Core beliefs, life priorities, integrity, security vs. growth |
| Emotions | 1.5× | Emotional vulnerability, stress response, emotional support needs |
| Lifestyle | 1.2× | Daily routines, sleep habits, organization |
| Personality | 1.2× | Decision-making style, conflict handling, introversion/extroversion |
| Relationships | 1.1× | Family closeness, love languages, independence |
| Money | 1.0× | Spending vs. saving behavior, financial openness |
| Interests | 0.8× | Hobbies and shared activities |
| Culture | 0.7× | Movies, music, cultural exploration |
| Food | 0.5× | Culinary preferences |
Different question types are scored using appropriate comparison techniques:
- Compatibility is calculated using proximity
- Smaller differences between scores result in higher compatibility
- Scored using Jaccard Similarity
- Measures the overlap between two sets of selected options
- Exact match → 100%
- No match → 0%
- Preferences are compared by position
- Higher-ranked choices are weighted more heavily than lower-ranked ones
| Score Range | Classification |
|---|---|
| 90–100 | 🌟 Soulmates |
| 80–89 | 💫 Kindred Spirits |
| 65–79 | 💚 Close Friends |
| 50–64 | 🤝 Friends |
| 35–49 | 👋 Acquaintances |
| 0–34 | 👤 Strangers |
Samānatā is not about judging or labeling relationships as good or bad.
It provides warm, non-judgmental, and psychologically grounded insights into how two people connect emotionally, intellectually, and in everyday life.
Personal project built out of curiosity for:
- Human connection
- Psychology
- Meaningful data interpretation
This project is open-source. Feel free to explore, contribute, or adapt for your own projects.





