@* Views/Admin/SurveyAnalysis/Index.cshtml *@ @model IEnumerable @{ ViewData["Title"] = "AI Survey Analysis — Intelligence Platform"; } @section Styles { }
CLAUDE AI–POWERED ANALYTICS

Mental Health Intelligence Platform

Advanced AI analysis for workplace wellness insights, real-time risk detection, and data-driven mental health strategies.

CLAUDE AI ENGINE

Unified intelligence for sentiment analysis, risk assessment, and workplace insights

Sentiment Analysis Risk Assessment Key Phrase Extraction PII Anonymization Workplace Insights Categorization
@(isOnline ? "ONLINE" : "OFFLINE")
@if (TempData["ErrorMessage"] != null) {
SYSTEM ERROR
@TempData["ErrorMessage"]
} @if (TempData["SuccessMessage"] != null) {
SUCCESS
@TempData["SuccessMessage"]
} @if (TempData["WarningMessage"] != null) {
ADVISORY
@TempData["WarningMessage"]
}

INDIVIDUAL RESPONSES

@{ var modelList = Model?.ToList() ?? new List(); var avGradients = new[] { "background:linear-gradient(135deg,#818cf8,#60a5fa)", "background:linear-gradient(135deg,#c084fc,#f472b6)", "background:linear-gradient(135deg,#33b3ae,#34d399)", "background:linear-gradient(135deg,#f59e0b,#fbbf24)", "background:linear-gradient(135deg,#22d3ee,#60a5fa)" }; var cardIdx = 0; } @if (modelList.Count > 0) { @foreach (var resp in modelList) { var userName = (string)(resp.UserName ?? "Anonymous"); var userEmail = (string)(resp.UserEmail ?? "No email"); var initial = userName.Length > 0 ? userName.Substring(0, 1).ToUpper() : "?"; var avStyle = avGradients[cardIdx % avGradients.Length]; cardIdx++;

@resp.Title

@initial
@userName
@userEmail
RESPONDENT
@resp.QuestionCount
QUESTIONS
@resp.TotalAnswered
ANSWERED
@resp.AnalyzableCount
ANALYZABLE
@if (resp.SubmissionDate != null && resp.SubmissionDate != DateTime.MinValue) {
SUBMITTED: @((DateTime)resp.SubmissionDate)
}
@if (resp.AnalyzableCount > 0) {
} else {
INSUFFICIENT DATA
No analyzable answers in this response
}
} } else {

NO RESPONSES FOUND

Deploy questionnaires and collect responses to begin AI analysis

CREATE QUESTIONNAIRE
}
@section Scripts { }