A newer version of the Streamlit SDK is available: 1.56.0
Contributing to LifeUnity AI — Cognitive Twin System
Thank you for your interest in contributing to LifeUnity AI! This document provides guidelines for contributing to the project.
Code of Conduct
- Be respectful and inclusive
- Focus on constructive feedback
- Help others learn and grow
- Maintain a positive environment
How to Contribute
Reporting Bugs
If you find a bug, please create an issue with:
- Clear description of the problem
- Steps to reproduce
- Expected vs actual behavior
- Screenshots if applicable
- Environment details (OS, Python version, etc.)
Suggesting Features
Feature requests are welcome! Please include:
- Clear description of the feature
- Use case and benefits
- Potential implementation approach
- Any relevant examples or mockups
Pull Requests
Fork the repository
git clone https://github.com/ravigohel142996/lifeunity-ai-cognitive-twin.git cd lifeunity-ai-cognitive-twinCreate a feature branch
git checkout -b feature/your-feature-nameMake your changes
- Follow the existing code style
- Add comments where necessary
- Update documentation if needed
- Ensure code is well-tested
Commit your changes
git commit -m "Add: Description of your feature"Push to your fork
git push origin feature/your-feature-nameCreate a Pull Request
- Provide a clear description
- Reference any related issues
- Include screenshots for UI changes
Development Setup
Clone the repository
git clone https://github.com/ravigohel142996/lifeunity-ai-cognitive-twin.git cd lifeunity-ai-cognitive-twinCreate virtual environment
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activateInstall dependencies
pip install -r requirements.txtRun the application
streamlit run app/main.py
Code Style
- Follow PEP 8 guidelines
- Use meaningful variable and function names
- Add docstrings to functions and classes
- Keep functions focused and modular
- Maximum line length: 100 characters
Testing
Before submitting a PR:
- Test your changes thoroughly
- Ensure existing functionality still works
- Test on different screen sizes (for UI changes)
- Run the import test:
python test_modules.py
Documentation
- Update README.md if you add new features
- Add docstrings to new functions/classes
- Update type hints where applicable
- Include usage examples for new features
Areas for Contribution
High Priority
- Additional emotion detection models
- Real-time webcam streaming
- Export functionality for reports
- Mobile-responsive UI improvements
- Performance optimizations
Medium Priority
- Multi-language support
- Voice emotion detection
- Integration with wearables
- Advanced data visualizations
- User authentication system
Good First Issues
- UI/UX improvements
- Documentation enhancements
- Bug fixes
- Test coverage
- Code cleanup
Questions?
Feel free to:
- Open an issue for discussion
- Reach out to the maintainers
- Join community discussions
Thank you for contributing to LifeUnity AI! 🧠💙