harbor run -t LiteCoder/student-performance-dashboardharbor download LiteCoder/student-performance-dashboardBuild an interactive Plotly Dash web dashboard that visualizes student academic performance and predicts final grades from study-time features, using a synthetic dataset you generate.
Generate a reproducible synthetic student dataset and write it to /app/data/students.csv.
42 for reproducibilitystudent_id: unique integer identifier starting from 1study_hours_per_week: float, range roughly 0–40attendance_rate: float between 0.0 and 1.0assignments_completed: integer, range 0–50previous_grade: float, range 0–100extracurricular_hours: float, range 0–20final_grade: float, range 0–100 (the target variable)final_grade must have a meaningful statistical relationship with the study-time related features (correlation with study_hours_per_week should be positive)Produce descriptive statistics and two visualizations:
/app/outputs/descriptive_stats.csv/app/outputs/plot1.png/app/outputs/plot2.pngstudy_hours_per_week and final_gradeTrain a regression model to predict final_grade from the feature columns.
RandomForestRegressor or GradientBoostingRegressor from Scikit-learnrandom_state=42study_hours_per_week, attendance_rate, assignments_completed, previous_grade, extracurricular_hours/app/outputs/model_metrics.txt in this exact format (one metric per line):
RMSE: <value>
R2: <value>
<value> is a float rounded to 4 decimal places/app/outputs/predictions.csv with columns: actual, predictedCreate a Plotly Dash application in /app/app.py.
0.0.0.0 and port 8050study_hours_per_week (range 0–40) that dynamically displays the model's predicted grade for the selected value (using median/mean values for other features)predicted-grade-outputstudy-hours-slider/app/student_dashboard.tar.gz containing all project files (data, outputs, app.py, and any supporting scripts)/app/README.md documenting the startup command to run the dashboard| File | Description |
|---|---|
/app/data/students.csv |
Synthetic dataset (≥200 rows, ≥7 columns) |
/app/outputs/descriptive_stats.csv |
Descriptive statistics for all numeric columns |
/app/outputs/plot1.png |
Correlation heatmap |
/app/outputs/plot2.png |
Study hours vs final grade plot |
/app/outputs/model_metrics.txt |
RMSE and R² on test set |
/app/outputs/predictions.csv |
Actual vs predicted values |
/app/app.py |
Dash application entry point |
/app/student_dashboard.tar.gz |
Project archive |
/app/README.md |
Startup documentation |