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:
@@ -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,
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user