fix: update interview max score to 25 and recalculate weighted_score
This commit is contained in:
@@ -53,7 +53,7 @@ class Candidate extends Model
|
||||
})->max() ?? 0;
|
||||
|
||||
$totalPoints = $cv + $motivation + $interview + $bestAttempt;
|
||||
$maxPoints = 20 + 10 + 30 + 20; // Total potentiel = 80
|
||||
$maxPoints = 20 + 10 + 25 + 20; // Total potentiel = 75
|
||||
|
||||
return round(($totalPoints / $maxPoints) * 20, 2);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user