NERA / README.md
sp103107's picture
Upload README.md with huggingface_hub
0f7c973 verified
|
Raw History Blame Contribute Delete
7.45 kB
# πŸŽ“ NORA - Northeastern Admissions Agent
[![Python](https://img.shields.io/badge/Python-3.8+-blue.svg)](https://www.python.org/downloads/)
[![Streamlit](https://img.shields.io/badge/Streamlit-1.47+-red.svg)](https://streamlit.io/)
[![Google Gemini](https://img.shields.io/badge/Google%20Gemini-AI-orange.svg)](https://ai.google.dev/)
[![License](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE)
> **AI-Powered Admissions Assistant for Northeastern University**
NORA is an intelligent admissions evaluation system that uses Google Gemini AI to analyze student applications, score them across multiple criteria, and provide detailed rankings with explanations.
## πŸš€ Live Demo
**Try NORA online:** [Hugging Face Space](https://huggingface.co/spaces/sp103107/NORA)
## ✨ Features
### πŸ€– **AI-Powered Analysis**
- **Google Gemini Integration**: Advanced AI analysis using Google's latest language model
- **Multi-Criteria Evaluation**: Scores across Academics, Activities, Essays, and Recommendations
- **Intelligent Justifications**: Detailed explanations for each scoring decision
- **Comprehensive Summaries**: AI-generated applicant summaries
### πŸ“Š **Professional Interface**
- **Streamlit Web UI**: Modern, responsive web interface
- **Real-time Processing**: Live progress tracking and status updates
- **Interactive Demos**: Multiple demo modes for different use cases
- **Professional Styling**: Northeastern University branding and modern design
### πŸ§ͺ **Robust Testing**
- **Comprehensive Test Suite**: 80%+ test coverage
- **Unit Tests**: Individual component testing
- **Integration Tests**: End-to-end workflow validation
- **Performance Tests**: Load handling and scalability testing
### 🎯 **Demo-Ready**
- **Multiple Demo Modes**: Full Review, Quick Preview, Individual Review
- **Professional Presentations**: Ready for stakeholder demonstrations
- **Interactive Elements**: Audience participation capabilities
- **Detailed Documentation**: Complete demo guides and scenarios
## πŸ—οΈ Architecture
```
NORA/
β”œβ”€β”€ agent/ # Core AI agent logic
β”‚ β”œβ”€β”€ admissions_agent.py # Main agent class
β”‚ β”œβ”€β”€ prompts.py # AI prompt engineering
β”‚ └── utils.py # Utility functions
β”œβ”€β”€ ui/ # User interface
β”‚ └── streamlit_app.py # Streamlit web application
β”œβ”€β”€ tests/ # Comprehensive test suite
β”‚ β”œβ”€β”€ test_agent.py # Agent unit tests
β”‚ β”œβ”€β”€ test_integration.py # Integration tests
β”‚ β”œβ”€β”€ test_performance.py # Performance tests
β”‚ β”œβ”€β”€ test_ui.py # UI component tests
β”‚ └── mocks.py # Mock data and responses
β”œβ”€β”€ data/ # Sample data
β”‚ β”œβ”€β”€ sample_applications.json
β”‚ └── rubric.json
└── docs/ # Documentation
β”œβ”€β”€ DEMO_README.md
β”œβ”€β”€ UI_DEMO_GUIDE.md
└── ROADMAP_SUMMARY.md
```
## πŸš€ Quick Start
### Prerequisites
- Python 3.8+
- Google Gemini API key
### Installation
1. **Clone the repository**
```bash
git clone https://github.com/sp103107/NORA.git
cd NORA
```
2. **Install dependencies**
```bash
pip install -r requirements.txt
```
3. **Set up your API key**
```bash
# Windows PowerShell
$env:GOOGLE_API_KEY = "your-api-key-here"
# Linux/Mac
export GOOGLE_API_KEY="your-api-key-here"
```
4. **Run the application**
```bash
# CLI version
python app.py
# Web UI
python -m streamlit run ui/streamlit_app.py
```
## πŸŽ›οΈ Demo Modes
### 1. **Full Review Mode** πŸš€
Complete demonstration with all 10 sample applicants
- Real-time progress tracking
- Professional leaderboard
- Detailed applicant analysis
### 2. **Quick Preview Mode** ⚑
Instant demo without API calls
- Sample data display
- UI layout demonstration
- No API key required
### 3. **Individual Review Mode** πŸ‘€
Focused analysis of specific applicants
- Select individual applicants
- Detailed scoring breakdown
- Interactive analysis
## πŸ§ͺ Testing
### Run All Tests
```bash
python run_tests.py
```
### Quick Validation
```bash
python run_tests.py --quick
```
### Individual Test Suites
```bash
# Unit tests
python -m pytest tests/test_agent.py -v
python -m pytest tests/test_utils.py -v
python -m pytest tests/test_ui.py -v
# Integration tests
python -m pytest tests/test_integration.py -v
# Performance tests
python -m pytest tests/test_performance.py -v
```
## πŸ“Š Test Results
- **Unit Tests**: 27/28 passing (96.4%)
- **Integration Tests**: 11/11 passing (100%)
- **Performance Tests**: 10/10 passing (100%)
- **UI Tests**: 11/11 passing (100%)
- **Overall Success Rate**: 80%+
## πŸŽ“ Demo Scenarios
### **Executive Presentation**
1. Use Quick Preview for UI overview
2. Demonstrate Full Review for complete workflow
3. Highlight professional leaderboard
4. Show detailed applicant analysis
### **Technical Deep Dive**
1. Start with Individual Review
2. Select different applicants to show variety
3. Expand AI analysis sections
4. Discuss scoring methodology
### **Interactive Demo**
1. Let audience choose applicants
2. Show real-time AI processing
3. Discuss specific scoring decisions
4. Answer methodology questions
## πŸ”§ Configuration
### Environment Variables
- `GOOGLE_API_KEY`: Your Google Gemini API key (required)
### API Configuration
- **Model**: `gemini-1.5-flash` (default)
- **Temperature**: 0.3 (controlled randomness)
- **Max Tokens**: Auto-determined by Gemini
## πŸ›οΈ Scoring Criteria
NORA evaluates applicants across four weighted criteria:
1. **Academics** (30%): GPA, SAT scores, academic achievements
2. **Activities** (25%): Extracurricular involvement, leadership roles
3. **Essay** (25%): Writing quality, personal insight, authenticity
4. **Recommendations** (20%): Teacher/counselor endorsements
## πŸš€ Deployment
### Hugging Face Spaces
The application is deployed on Hugging Face Spaces:
- **Space URL**: https://huggingface.co/spaces/sp103107/NORA
- **Framework**: Streamlit
- **Python Version**: 3.9+
### Local Deployment
```bash
# Production setup
pip install -r requirements.txt
streamlit run ui/streamlit_app.py --server.port 8501
```
## πŸ“ˆ Performance
- **Response Time**: ~2-3 seconds per applicant
- **Concurrent Users**: Supports multiple simultaneous users
- **Memory Usage**: Optimized for efficient processing
- **Scalability**: Designed for production workloads
## 🀝 Contributing
1. Fork the repository
2. Create a feature branch (`git checkout -b feature/amazing-feature`)
3. Commit your changes (`git commit -m 'Add amazing feature'`)
4. Push to the branch (`git push origin feature/amazing-feature`)
5. Open a Pull Request
## πŸ“ License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
## πŸ™ Acknowledgments
- **Google Gemini**: AI model and API
- **Streamlit**: Web application framework
- **Northeastern University**: Project inspiration and context
- **Open Source Community**: Testing frameworks and tools
## πŸ“ž Contact
- **GitHub**: [@sp103107](https://github.com/sp103107)
- **Hugging Face**: [sp103107](https://huggingface.co/sp103107)
- **Project**: [NORA Repository](https://github.com/sp103107/NORA)
---
**πŸŽ“ NORA Admissions Agent - Northeastern University**
*Powered by Google Gemini AI*