|
| 1 | +**AI-Powered Student Success Analytics – Product Requirements Document (PRD)** |
| 2 | + |
| 3 | +**1\. Overview** |
| 4 | + |
| 5 | +This Product Requirements Document (PRD) defines the goals, requirements, and deliverables for the AI-Powered Student Success Analytics platform, developed by CodeBenders for the Datathon. The platform was built and deployed for **Bishop State Community College (BSCC)** — a historically Black community college serving ~4,000 students annually in Mobile, Alabama — and is designed to be extensible to other institutions using the Postsecondary Data Partnership (PDP) data standard. |
| 6 | + |
| 7 | +The platform combines seven machine learning models, a rule-based readiness scoring engine, a natural-language query interface, and a live analytics dashboard to give advisors, faculty, and institutional leadership actionable, data-informed insights for improving student retention and success. |
| 8 | + |
| 9 | +**2\. Problem Statement** |
| 10 | + |
| 11 | +Bishop State Community College faces challenges common to community colleges serving under-resourced student populations: |
| 12 | + |
| 13 | +• Students are majority Black/African American (59%), with high rates of part-time enrollment (68%) and first-generation college attendance — populations for whom early intervention is most impactful. |
| 14 | + |
| 15 | +• Existing data systems lack unified predictive capabilities. Advisors cannot quickly identify which students are at risk before academic difficulties compound. |
| 16 | + |
| 17 | +• Gateway course bottlenecks — particularly in math and English — are a leading predictor of non-retention, but course-level risk is not surfaced in existing tools. |
| 18 | + |
| 19 | +• Institutional reporting is slow and manual, limiting the ability to act on PDP data between annual submission cycles. |
| 20 | + |
| 21 | +**3\. Primary Users** |
| 22 | + |
| 23 | +• **Advisors** – Need early-warning insights and student-level risk indicators to prioritize caseloads. |
| 24 | + |
| 25 | +• **Institutional Researchers** – Need structured access to PDP + AR files + SIS data for analysis and federal reporting. |
| 26 | + |
| 27 | +• **Faculty** – Need course-level success indicators, gateway course insights, and readiness trends by cohort. |
| 28 | + |
| 29 | +• **Leadership** – Needs high-level retention, readiness, and enrollment metrics for resource planning and grant reporting. |
| 30 | + |
| 31 | +• **IT/Data Teams** – Need a streamlined, automated, validated data submission and ingestion workflow. |
| 32 | + |
| 33 | +**4\. Goals & Objectives** |
| 34 | + |
| 35 | +1\. Deliver a unified analytics dashboard integrating PDP, AR, and institutional data for Bishop State. |
| 36 | + |
| 37 | +2\. Provide seven predictive models covering retention, gateway course success, readiness, GPA risk, time-to-credential, and credential type outcomes. |
| 38 | + |
| 39 | +3\. Enable natural-language queries for fast, self-service analytics without SQL knowledge. |
| 40 | + |
| 41 | +4\. Surface a transparent, PDP-aligned readiness score for every student with human-readable explanations. |
| 42 | + |
| 43 | +5\. Improve student success metrics by enabling early, data-informed interventions. |
| 44 | + |
| 45 | +**5\. Scope** |
| 46 | + |
| 47 | +IN SCOPE: |
| 48 | + |
| 49 | +• Data ingestion pipeline (PDP → AR merge → institutional sources → Postgres/Supabase warehouse). |
| 50 | + |
| 51 | +• Unified dashboard with NLQ (natural-language querying) and prompt history/audit trail. |
| 52 | + |
| 53 | +• Seven predictive models: retention, at-risk early warning, gateway math success, gateway English success, GPA prediction, time-to-credential, credential type. |
| 54 | + |
| 55 | +• Readiness index calculation (0.0–1.0 scale, PDP-aligned, rule-based with full traceability). |
| 56 | + |
| 57 | +• Methodology page with research citations and worked examples. |
| 58 | + |
| 59 | +• Live deployment to Vercel backed by hosted Supabase. |
| 60 | + |
| 61 | +OUT OF SCOPE (for Datathon): |
| 62 | + |
| 63 | +• Real-time pipelines beyond PDP/AR files. |
| 64 | + |
| 65 | +• SIS system integration requiring institutional credentials. |
| 66 | + |
| 67 | +• GitHub Actions CI/CD (manual deploy script provided as interim solution). |
| 68 | + |
| 69 | +**6\. Institutional Requirements — Bishop State Community College** |
| 70 | + |
| 71 | +• Role-based access to PDP dashboards for advisors, faculty, and leadership. |
| 72 | + |
| 73 | +• A faculty-facing AI tool for chart generation and natural-language querying of student data. |
| 74 | + |
| 75 | +• Course sequencing insights and identification of high-risk gateway courses. |
| 76 | + |
| 77 | +• Readiness scoring that accounts for math placement level, enrollment intensity, and PDP momentum metrics. |
| 78 | + |
| 79 | +• Transparent, explainable predictions that advisors can act on without data science expertise. |
| 80 | + |
| 81 | +• FERPA-compliant data handling: no PII transmitted to LLM providers; student identifiers excluded from stored features. |
| 82 | + |
| 83 | +**7\. Functional Requirements** |
| 84 | + |
| 85 | +FR1. Data Integration |
| 86 | + |
| 87 | +• System must ingest PDP cohort and course files. |
| 88 | + |
| 89 | +• System must ingest AR files and merge with PDP using unique student IDs. |
| 90 | + |
| 91 | +• System must support mapping to institutional data schemas. |
| 92 | + |
| 93 | +FR2. Readiness Assessment |
| 94 | + |
| 95 | +• System must compute a readiness score (0.0–1.0) composed of academic (40%), engagement (30%), and ML risk (30%) sub-scores. |
| 96 | + |
| 97 | +• Score must be PDP-aligned, using the five PDP momentum metrics as inputs. |
| 98 | + |
| 99 | +• Every score must be fully traceable to its input features (stored as JSONB, no PII). |
| 100 | + |
| 101 | +• Score tier thresholds: High ≥ 0.65, Medium 0.40–0.64, Low < 0.40. |
| 102 | + |
| 103 | +FR3. Predictive Analytics |
| 104 | + |
| 105 | +• Seven predictive models: retention probability, at-risk alert level, gateway math success, gateway English success, first-semester GPA risk, time-to-credential, credential type. |
| 106 | + |
| 107 | +• Models must provide calibrated probabilities, not just binary predictions. |
| 108 | + |
| 109 | +• At-risk alerts must be consistent with retention probability (no contradictions). |
| 110 | + |
| 111 | +FR4. Dashboard Requirements |
| 112 | + |
| 113 | +• KPI tiles: overall retention rate, at-risk count, average readiness score, enrollment counts. |
| 114 | + |
| 115 | +• Charts: retention risk distribution, readiness distribution, at-risk breakdown. |
| 116 | + |
| 117 | +• Student-level drill-down with all prediction columns visible. |
| 118 | + |
| 119 | +• Filtering by cohort, term, demographic attributes, and credential type. |
| 120 | + |
| 121 | +FR5. AI Querying |
| 122 | + |
| 123 | +• NLQ interface must translate natural-language prompts into SQL and return visualizations. |
| 124 | + |
| 125 | +• Supported query types: retention trends, readiness distributions, gateway course performance, demographic equity gaps. |
| 126 | + |
| 127 | +• All queries must be logged to a prompt history panel (client) and server-side audit log (JSONL). |
| 128 | + |
| 129 | +• Users must be able to re-run any prior query from the history panel. |
| 130 | + |
| 131 | +FR6. Role-Based Access |
| 132 | + |
| 133 | +• Admin, Advisor, IR, Faculty, Leadership roles. |
| 134 | + |
| 135 | +• Access rules must define PDP visibility, AR visibility, and student-level data controls. |
| 136 | + |
| 137 | +FR7. Reporting & Methodology |
| 138 | + |
| 139 | +• Methodology page must document the scoring formula, research citations (PDP, CCRC, CAPR), and worked examples showing end-to-end score calculations for both high- and low-readiness students. |
| 140 | + |
| 141 | +• Server-side query audit log must be exportable for compliance review. |
| 142 | + |
| 143 | +**8\. Non-Functional Requirements** |
| 144 | + |
| 145 | +NFR1. Performance – Dashboard responses must render within 2–4 seconds for typical queries. |
| 146 | + |
| 147 | +NFR2. Security – PDP and AR files contain PII; encryption at rest + access control required. No student identifiers transmitted to LLM providers. |
| 148 | + |
| 149 | +NFR3. Maintainability – Models must be retrainable as new cohorts are added. Re-running the pipeline upserts scores without duplicates. |
| 150 | + |
| 151 | +NFR4. Usability – Dashboards and methodology page must be accessible to non-technical users (advisors, faculty). |
| 152 | + |
| 153 | +NFR5. Auditability – All data transformations and NLQ queries traceable for compliance (federal/state reporting). Prompt history logged server-side. |
| 154 | + |
| 155 | +**9\. Data Pipeline Requirements** |
| 156 | + |
| 157 | +• Must clean, validate, and conform PDP files to required schema. |
| 158 | + |
| 159 | +• Must support merging PDP cohort + PDP course + AR files into a unified student-level dataset. |
| 160 | + |
| 161 | +• Seven ML models trained and scored against the merged dataset in a single pipeline run. |
| 162 | + |
| 163 | +• Rule-based readiness scoring run as a separate, re-runnable step after the ML pipeline. |
| 164 | + |
| 165 | +• All outputs upserted to Postgres (Supabase) — no duplicates on re-run. |
| 166 | + |
| 167 | +• Data refreshed by re-running `scripts/deploy.sh --with-data`. |
| 168 | + |
| 169 | +**10\. Success Metrics** |
| 170 | + |
| 171 | +• **4,000 Bishop State students** scored with retention probability, readiness level, and seven prediction columns. |
| 172 | + |
| 173 | +• **Live deployment** at Vercel, backed by hosted Supabase (US East region). |
| 174 | + |
| 175 | +• **Readiness engine** producing High (83.9%), Medium (16.1%) distributions with full PDP alignment. |
| 176 | + |
| 177 | +• **NLQ interface** with prompt history, re-run, and server-side audit logging. |
| 178 | + |
| 179 | +• **Methodology page** with research citations and worked examples for advisor trust and transparency. |
| 180 | + |
| 181 | +• **Seven ML models** trained with cross-validation and overfitting checks, performance metrics stored in database. |
| 182 | + |
| 183 | +**11\. Risks & Assumptions** |
| 184 | + |
| 185 | +RISKS: |
| 186 | + |
| 187 | +• AR and PDP data schemas vary by institution — onboarding additional institutions requires schema mapping work. |
| 188 | + |
| 189 | +• Annual PDP submission cycles limit real-time insights between cohort years. |
| 190 | + |
| 191 | +• Connection pooler configuration varies by Supabase region — must be verified per deployment. |
| 192 | + |
| 193 | +ASSUMPTIONS: |
| 194 | + |
| 195 | +• PDP + AR data is accessible and provided for Bishop State. |
| 196 | + |
| 197 | +• Vercel serverless functions use the Supabase transaction pooler (port 6543), not the direct connection. |
| 198 | + |
| 199 | +• Dashboard usage patterns will mirror reported advisor and faculty workflows. |
| 200 | + |
| 201 | +**12\. Current Status & Next Steps** |
| 202 | + |
| 203 | +DELIVERED: |
| 204 | + |
| 205 | +• Full ML pipeline (7 models) trained and scored against 4,000 Bishop State students. |
| 206 | + |
| 207 | +• Rule-based readiness engine (PDP-aligned) with audit logging. |
| 208 | + |
| 209 | +• Live dashboard deployed to Vercel with Supabase backend. |
| 210 | + |
| 211 | +• NLQ interface with prompt history and server-side audit trail. |
| 212 | + |
| 213 | +• Methodology page with research citations, scoring formula, and worked examples. |
| 214 | + |
| 215 | +NEXT STEPS: |
| 216 | + |
| 217 | +• Set up GitHub Actions for automated Vercel deploy on push to `main` (interim: `scripts/deploy.sh`). |
| 218 | + |
| 219 | +• Obtain `devcolor/codebenders-datathon` repo write access for CI/CD integration. |
| 220 | + |
| 221 | +• Onboard additional institutions (University of Akron, KCTCS) using the same PDP-aligned pipeline. |
| 222 | + |
| 223 | +• Add role-based access control (advisor vs. leadership vs. IR views). |
| 224 | + |
| 225 | +• Explore scheduled pipeline re-runs for quarterly PDP refresh cycles. |
0 commit comments