AssigningPoints - IEEE-Team-3/map GitHub Wiki

Overview

Points are awarded to users based on their performance and completion of tasks. Points can be assigned manually by admins, automatically by task completion, or based on achievements and milestones.

Points Assignment Workflow

  1. Admins or team leads can manually assign points to users.
  2. Points can also be assigned automatically upon task completion or achievement.
  3. Points for completing tasks are assigned when the task is marked as "completed."
  4. Bonus points and penalty points are assigned based on specific actions (e.g., exceptional task completion, late submissions).
  5. Role-based points are assigned based on the user’s role in the team or organization.

Example Backend Logic

function assignPoints(userId, points, type, reason) {
  const point = new Point({
    userId,
    points,
    type,
    reason,
  });
  point.save();
}
⚠️ **GitHub.com Fallback** ⚠️