Weak Topic Detection
AI-powered learning gap identification
CodePlanet's Weak Topic Detection system is an AI-powered feature that automatically identifies areas where you need more practice. Instead of randomly solving problems, you get personalized recommendations based on your actual performance data.
How It Works
The weak topic detection system analyzes three key metrics for each topic:
1. Success Rate
Topics where you have a success rate below your overall average are flagged as potential weak areas.
2. Attempt Volume
We consider how many problems you've attempted in each topic. A topic with only 2 attempts isn't as reliable an indicator as one with 20+ attempts.
3. Recency
Recent performance matters more than old data. A topic you struggled with 6 months ago but have since mastered shouldn't be flagged.
Weakness Score Calculation
Each topic gets a weakness score from 0-100:
Topics with scores above 60 are considered weak and appear in your dashboard.
The Learning Pipeline
Database Schema
The weak topic detection system uses the topic_performance table:
A PostgreSQL trigger automatically recalculates the weakness score after each submission.
API Endpoints
Get Weak Topics
Response:
Record Attempt
Dashboard Widget
The Weak Topics Widget appears on your dashboard and shows:
- Your top 5 weakest topics
- Success rate for each topic
- Recommended problems to practice
- One-click navigation to practice
Best Practices
1. Solve Recommended Problems
When a topic is flagged as weak, the system suggests problems specifically chosen to help you improve. Prioritize these.
2. Don't Game the System
Attempting easy problems in weak topics doesn't help. The system weighs difficulty — harder problems solved in weak topics improve your score faster.
3. Regular Practice
Consistent practice prevents topics from becoming weak. Even 1-2 problems per week in each topic maintains your skills.
4. Review Failed Attempts
Before moving on from a failed attempt, review the solution and understand the concept. This improves future performance.
Privacy
Your topic performance data is:
- Only visible to you
- Protected by Row-Level Security
- Never shared with other users
- Used only to improve your learning experience
Limitations
The weak topic detection system has some known limitations:
- Minimum Data Required — At least 5 attempts in a topic before reliable scoring
- Tag Accuracy — Depends on accurate problem tagging
- Learning Style — Doesn't account for different learning paces
Next Steps
- Progress Intelligence — Learn about other tracking features
- Learning Paths — Structured practice for weak areas
- Spaced Repetition — Optimal review scheduling