Tweak name-match threshold.

This commit is contained in:
Kim Taylor
2024-11-16 15:19:39 +11:00
parent 7af17f0e0b
commit 45a5afc5f9

View File

@@ -91,7 +91,7 @@ foreach ($results as $lga => $data) {
function was_elected($candidate, $vec_wards) {
foreach ($vec_wards as $vec_candidates) {
list($score, $match) = match_words($candidate, $vec_candidates);
if ($score > 100) return true;
if ($score > 180) return true;
}
return false;
}