diff --git a/src/TrueCV.Infrastructure/Services/AICompanyNameMatcherService.cs b/src/TrueCV.Infrastructure/Services/AICompanyNameMatcherService.cs index 49e4e1f..5282eb6 100644 --- a/src/TrueCV.Infrastructure/Services/AICompanyNameMatcherService.cs +++ b/src/TrueCV.Infrastructure/Services/AICompanyNameMatcherService.cs @@ -40,11 +40,13 @@ public sealed class AICompanyNameMatcherService : ICompanyNameMatcherService Rules: 1. A match requires the companies to be the SAME organisation, not just similar names - 2. "Families First CiC" is NOT the same as "FAMILIES AGAINST CONFORMITY LTD" - these are different organisations - 3. "North Halifax Partnership" is NOT the same as "NORTH LIMITED" - completely different companies - 4. Trading names should match their registered entity (e.g., "Tesco" matches "TESCO PLC") - 5. Subsidiaries can match if clearly the same organisation (e.g., "ASDA" could match "ASDA STORES LIMITED") - 6. If NO candidate is clearly the same company, return "NONE" as the best match + 2. "Families First CiC" is NOT the same as "FAMILIES AGAINST CONFORMITY LTD" - different words = different companies + 3. Trading names should match their registered entity (e.g., "Tesco" matches "TESCO PLC") + 4. Subsidiaries can match if clearly the same organisation (e.g., "ASDA" could match "ASDA STORES LIMITED") + 5. Acronyms in parentheses are abbreviations of the full name (e.g., "North Halifax Partnership (NHP)" = "NORTH HALIFAX PARTNERSHIP") + 6. CiC/CIC = Community Interest Company, LLP = Limited Liability Partnership - these are legal suffixes + 7. If the CV name contains all the key words of a candidate (ignoring Ltd/Limited/CIC/etc.), it's likely a match + 8. If NO candidate is clearly the same company, return "NONE" as the best match Respond with this exact JSON structure: { diff --git a/src/TrueCV.Web/Components/Layout/MainLayout.razor b/src/TrueCV.Web/Components/Layout/MainLayout.razor index 5f6b75c..12a1225 100644 --- a/src/TrueCV.Web/Components/Layout/MainLayout.razor +++ b/src/TrueCV.Web/Components/Layout/MainLayout.razor @@ -4,7 +4,7 @@