Improve report readability and add score breakdown

- Add Score Breakdown section showing how score is calculated
- Convert variable-style flag names to readable titles (e.g. UnverifiedDirectorClaim -> Unverified Director Claim)
- Deduplicate flags in report display for existing reports
- Make verification notes more user-friendly
- Add "How Scoring Works" explanation panel

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-20 21:04:30 +01:00
parent 0eee5473e4
commit 21c73ab1e2
12 changed files with 5153 additions and 4 deletions

View File

@@ -304,6 +304,7 @@ public sealed class ProcessCVCheckJob
"SeniorRoleAtMicroCompany" => "Senior Role at Micro Company",
"SicCodeMismatch" => "Role/Industry Mismatch",
"ImplausibleJobTitle" => "Implausible Job Title",
"UnverifiedDirectorClaim" => "Unverified Director Claim",
_ => companyFlag.Type
},
Description = companyFlag.Message,

View File

@@ -77,7 +77,7 @@ public sealed class CompanyVerifierService : ICompanyVerifierService
{
_logger.LogDebug("No fuzzy match above threshold for: {CompanyName}", companyName);
return CreateUnverifiedResult(companyName, startDate, endDate, jobTitle,
$"No company name matched above {FuzzyMatchThreshold}% threshold");
"Company name could not be verified against official records");
}
var match = bestMatch.Value;