Change weekend deduction from 1.0 to 2.0 units

Co-authored-by: Kenearos <86194771+Kenearos@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2025-12-12 11:36:24 +00:00
parent 86cd0ae4a7
commit d6372fe2e2
11 changed files with 32 additions and 32 deletions

View file

@ -108,8 +108,8 @@ class BonusCalculator {
let totalDeduction = 0;
if (thresholdReached) {
// Deduct 1.0 qualifying day with Friday priority
totalDeduction = 1.0;
// Deduct 2.0 qualifying days with Friday priority
totalDeduction = 2.0;
// First deduct from Friday
deductionFromFriday = Math.min(totalDeduction, qualifyingDaysFriday);