A Streamlit-based application that analyzes student test performance, visualizes learning trends, and uses the Google Gemini API to generate personalized academic feedback. It outputs professional, downloadable reports to help students and educators track and improve learning outcomes.
-
🤖 AI-Generated Feedback
Leverages the Google Gemini API to provide detailed, constructive, and motivational feedback—like having a virtual academic coach. -
📊 In-Depth Data Analysis
Processes JSON test data to compute:- Overall performance (score, accuracy, time utilization)
- Subject-wise analysis
- Chapter-level strengths and weaknesses
- Concept-level mastery insights
-
📈 Rich Visualizations
- Subject Performance Radar Chart
- Time vs. Accuracy Scatter Plot
- Chapter vs. Difficulty Heatmap
-
📄 Professional Report Generation
- Primary: Styled PDF via ReportLab
- Fallback: Matplotlib-generated PDF
- Final fallback: Simple
.txtreport if PDF libraries are unavailable
-
🖥️ Interactive UI
Built with Streamlit: clean layout, metric cards, visual explorer, and AI feedback section. -
📂 Flexible Data Input
- Upload custom JSON test data
- Or use the built-in
data.jsonfor demo purposes
Watch a short demo of the app in action:
🎥 Click here to watch the demo
Here are some previews of the application:
git clone <your-repository-url>
cd <your-repository-directory># Windows
python -m venv venv
.\venv\Scripts\activate
# macOS/Linux
python3 -m venv venv
source venv/bin/activatepip install -r requirements.txtCreate a .env file in the root directory:
GEMINI_API_KEY="YOUR_API_KEY_HERE"Ensure a data.json file is present in the root directory to demo the system.
streamlit run your_script_name.py.
├── your_script_name.py # Main Streamlit application
├── data.json # Sample student test data
├── .env # API key (not included in git)
├── requirements.txt # Project dependencies
├── Images/ # Folder for demo images
│ ├── Performance_data.png
│ ├── Visualization.png
└── README.md # Project documentation
MIT License
- Developed using Streamlit
- Feedback generation powered by Google Gemini API
- Visualizations via Matplotlib and Seaborn


