AOSSIE-Org / AOSSIE-Org/DebateAI

[Feature Request] Debate Analytics Dashboard

Đang mở
#169 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
TypeScript
Star
84
Fork
198
Merge trung bình
2 ngày 19 giờ
Pull request đã merge (30 ngày)
30

Mô tả

## 📌 Description

Add a Debate Analytics Dashboard that provides users with detailed insights into their debate performance after each debate and over time.

This dashboard would help users improve debating skills, track progress, and increase long-term engagement with the platform.

## 🎯 Motivation / Problem Statement

Currently, once a debate ends, users receive limited feedback. There is no way to:

- Analyze debate performance
- Track improvement across debates
- Compare strengths and weaknesses
- A Debate Analytics Dashboard would transform DebateAI from just a debate platform into a learning and performance-tracking tool.

### ✨ Proposed Features
🧾 Post-Debate Analytics

After each debate, show:

- Total arguments made per participant
- Average response time
- Rebuttal count
- Argument length distribution
- Debate duration

## 🧠 AI-Assisted Insights (Optional / Phase 2)
-
- Argument strength score (AI-generated)
- Logical consistency score
- Highlight strongest arguments
- Identify weak or repetitive points

## 📊 User Performance Dashboard

A new dashboard page showing:

- Debate history
- Win/Loss ratio
- Average scores over time
- Topic-wise performance
- Improvement trends (charts)

## 🏗️ Suggested Implementation (High-Level)
### Backend

- Store debate metadata and timestamps
- Add analytics computation after debate ends
- Optional: AI-generated summaries and scores

New API endpoints:

- GET /debates/{id}/analytics
- GET /users/{id}/analytics

### Frontend

- New Analytics Dashboard page
- Post-debate modal with stats
- Charts (bar/line/radar) for performance tracking

## ✅ Benefits

- Improves learning value of debates
- Encourages repeat usage
- Adds competitive and self-improvement elements
- Strong foundation for future ranking/leaderboard features

I am willing to submit a PR.

🔖 Labels

enhancement feature-request analytics frontend backend

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.