Spaces:
Paused
Paused
Commit History
-
fix: normalize naive DB datetimes to UTC-aware in personnel analytics
dushyantsingh0 +1: Claude Sonnet 4.6created_at and resolved_at come from the DB as offset-naive datetimes while datetime.now(timezone.utc) is offset-aware. Subtracting them raised TypeError. Wrap both with .replace(tzinfo=timezone.utc) when tzinfo is None before computing duration_mins. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>94afd06
-
Initial commit
dushyantsingh0d8744fd
-
Improve AI performance narrative: tier badges, insight-driven prompts
dushyantsingh0 +1: Claude Sonnet 4.6- Add _compute_tier() to classify agents as TOP/STRONG/STEADY/AT_RISK/CRITICAL based on SLA compliance and resolved-ticket thresholds - Store tier in activity_summary JSON for frontend consumption - Rewrite LLM prompt: produces a single insight sentence focused on implication rather than repeating numbers already visible in adjacent table columns; bans repetitive openers like "Over the past 30 days, the staff member..." - Frontend: replace sparkle+plain-text narrative cell with color-coded tier badge + insight text in a column layout - Add TIER_CONFIG map and getSlaColor() helper (3-tier: green/amber/red) - Add .tierBadge, .narrativeText, .narrativeCellTd CSS classes Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>548b54e
-
fix: align background analytics with API logic to prevent AI hallucinations
dushyantsingh06cdfafa -
fix: enable real-time synchronization for personnel analytics
dushyantsingh007b09f1 -
fix: resolve NameError in personnel analytics task
dushyantsingh0fb01f3e -
feat: leadership-driven personnel AI narrative refresh with 24h throttle
dushyantsingh01e6a00d
-
backend stabilization
dushyantsingh04777084