BonusPoints - IEEE-Team-3/map GitHub Wiki
Bonus points are additional points given to users for exceptional work, exceeding task expectations, or going beyond their usual responsibilities. These points are not part of the regular task points system.
- A user submits a task earlier than the deadline with exceptional quality.
- A user takes on extra work beyond their assigned tasks.
- A user receives high praise from peers or team leads.
- A user achieves milestones that are not directly related to tasks.
- A user submits a task 2 days early with no errors: Bonus points = 5 points.
- A user leads a team to achieve an important milestone: Bonus points = 10 points.
function awardBonusPoints(userId, bonusPoints, reason) {
const point = new Point({
userId,
points: bonusPoints,
type: 'bonus',
reason,
});
point.save();
}