Files
crewli/api/app/Enums/IdentityMatchConfidence.php
bert.hausmans eb1a0ac666 feat: complete person identity matching system with fuzzy detection, revert, and manual link
Implements the full identity matching engine: email matching (HIGH confidence),
fuzzy name matching with Levenshtein distance (MEDIUM confidence, upgradable to
HIGH with DOB tiebreaker), manual link/unlink, revert confirmed matches, and
automatic detection via PersonObserver. Includes 33 comprehensive tests, frontend
integration with confirm/dismiss/unlink UI, and match indicators in the persons list.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-14 08:44:24 +02:00

20 lines
335 B
PHP

<?php
declare(strict_types=1);
namespace App\Enums;
enum IdentityMatchConfidence: string
{
case HIGH = 'high';
case MEDIUM = 'medium';
public function label(): string
{
return match ($this) {
self::HIGH => 'Hoge zekerheid',
self::MEDIUM => 'Gemiddelde zekerheid',
};
}
}