Skip to content

test : added unit tests for AdaptiveLearningManager core methods - #1321

Open
tmdeveloper007 wants to merge 1 commit into
komalharshita:mainfrom
tmdeveloper007:#1316
Open

test : added unit tests for AdaptiveLearningManager core methods#1321
tmdeveloper007 wants to merge 1 commit into
komalharshita:mainfrom
tmdeveloper007:#1316

Conversation

@tmdeveloper007

Copy link
Copy Markdown
Contributor

Summary of What Has Been Done

Added comprehensive pytest unit tests for AdaptiveLearningManager in tests/test_adaptive_learning.py.

Changes Made

  • TestUserProfile: tests for create_user_profile() and memory storage
  • TestSkillAssessment: tests for assess_skill_level() including error handling for unknown users
  • TestAdaptivePathGeneration: tests for generate_adaptive_path() including path storage
  • TestProgressRecording: tests for record_progress() including history appending and path adaptation
  • TestNextRecommendation: tests for get_next_recommendation() including exhausted paths
  • TestLearningMetrics: tests for calculate_learning_metrics() with and without history
  • TestEdgeCases: tests for empty skills, empty skill names, and zero time

Impact it Made

Ensures adaptive learning path features work correctly for personalized recommendations.

Note: Please assign this PR to the tmdeveloper007 account.

Closes #1316

@vercel

vercel Bot commented Jul 24, 2026

Copy link
Copy Markdown

@tmdeveloper007 is attempting to deploy a commit to the komalsony234-1530's projects Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test : add unit tests for AdaptiveLearningManager core methods

1 participant