Update main.py
Browse files
main.py
CHANGED
|
@@ -24,7 +24,12 @@ def main():
|
|
| 24 |
# Initialize the AI analysis handler
|
| 25 |
ai_analysis = AIAnalysis(data_processor.client)
|
| 26 |
|
| 27 |
-
st.title("
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
|
| 29 |
# Date selection option
|
| 30 |
date_option = st.radio(
|
|
@@ -78,9 +83,11 @@ def main():
|
|
| 78 |
st.error(f"Expected column '{DataProcessor.INTERVENTION_COLUMN}' not found.")
|
| 79 |
return
|
| 80 |
|
|
|
|
|
|
|
| 81 |
# Compute Intervention Session Statistics
|
| 82 |
intervention_stats = data_processor.compute_intervention_statistics(df)
|
| 83 |
-
st.subheader("Intervention
|
| 84 |
st.write(intervention_stats)
|
| 85 |
|
| 86 |
# Plot and download intervention statistics
|
|
@@ -104,7 +111,7 @@ def main():
|
|
| 104 |
|
| 105 |
# Compute Student Metrics
|
| 106 |
student_metrics_df = data_processor.compute_student_metrics(df)
|
| 107 |
-
st.subheader("Student
|
| 108 |
st.write(student_metrics_df)
|
| 109 |
|
| 110 |
# Compute Student Metric Averages
|
|
|
|
| 24 |
# Initialize the AI analysis handler
|
| 25 |
ai_analysis = AIAnalysis(data_processor.client)
|
| 26 |
|
| 27 |
+
st.title("Literacy Implementation Record Data Analysis")
|
| 28 |
+
|
| 29 |
+
# Add the descriptive text
|
| 30 |
+
st.markdown("""
|
| 31 |
+
This tool summarizes implementation record data for student attendance, engagement, and intervention dosage to address hypothesis #1: Have Students Received Adequate Instruction?
|
| 32 |
+
""")
|
| 33 |
|
| 34 |
# Date selection option
|
| 35 |
date_option = st.radio(
|
|
|
|
| 83 |
st.error(f"Expected column '{DataProcessor.INTERVENTION_COLUMN}' not found.")
|
| 84 |
return
|
| 85 |
|
| 86 |
+
|
| 87 |
+
#MOVE
|
| 88 |
# Compute Intervention Session Statistics
|
| 89 |
intervention_stats = data_processor.compute_intervention_statistics(df)
|
| 90 |
+
st.subheader("Intervention Dosage")
|
| 91 |
st.write(intervention_stats)
|
| 92 |
|
| 93 |
# Plot and download intervention statistics
|
|
|
|
| 111 |
|
| 112 |
# Compute Student Metrics
|
| 113 |
student_metrics_df = data_processor.compute_student_metrics(df)
|
| 114 |
+
st.subheader("Student Attendance and Engagement")
|
| 115 |
st.write(student_metrics_df)
|
| 116 |
|
| 117 |
# Compute Student Metric Averages
|