Learning Context

Core module for managing learning context (memory -> LOs, prior cases, knowledge gaps, feedback preferences)

Setup

Learning Context Management

Core module for managing student learning context and history

The system needs to track and handle student information for personalised education.

This module handles: * Tracking learning objectives * Managing case history * Monitoring knowledge gaps * Customizing feedback preferences

and finally: * Context persistence


source

CategoryProgress

 CategoryProgress (category:__main__.LearningCategory,
                   completed_goals:List[__main__.SmartGoal]=<factory>,
                   total_goals:int=0)

Progress tracking for a category


source

SmartGoal

 SmartGoal (id:str, category:__main__.LearningCategory,
            original_input:str, smart_version:str, specialty:str,
            setting:str, created_at:datetime.datetime,
            completed_at:Optional[datetime.datetime]=None)

SMART learning goal


source

RotationContext

 RotationContext (specialty:str, setting:str)

Clinical rotation context


source

LearningCategory

 LearningCategory (value, names=None, module=None, qualname=None,
                   type=None, start=1)

Main learning categories


source

LearningContext

 LearningContext (context_path:Optional[pathlib.Path]=None)

*Manages learning context and goal tracking.

This class handles: - Rotation context management - SMART goal tracking - Progress monitoring by category - Context persistence*

Tests