Function evaluateUserProgress
evaluateUserProgress( user: User, logs: LogData[], userSectionId?: string, userClassId?: string,): Promise<void> Parameters
- user: User
- logs: LogData[]
Optional
userSectionId: stringOptional
userClassId: string
Returns Promise<void>
Evaluates a user's progress based on their logged interactions with suggestions.
Compares the user's acceptance rate and bug rate against configured thresholds to determine whether to award a badge, suspend, or lock their account.