Fix deduction value from 2.0 to 1.0 across all files for consistency

Co-authored-by: Kenearos <86194771+Kenearos@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2025-12-12 12:04:38 +00:00
parent 89862e918c
commit a2cc8340ee
12 changed files with 51 additions and 50 deletions

View file

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