refactor: Rename TrueCV to RealCV throughout codebase
- Renamed all directories (TrueCV.* -> RealCV.*) - Renamed all project files (.csproj) - Renamed solution file (TrueCV.sln -> RealCV.sln) - Updated all namespaces in C# and Razor files - Updated project references - Updated CSS variable names 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
11
src/RealCV.Application/Models/CVData.cs
Normal file
11
src/RealCV.Application/Models/CVData.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
namespace RealCV.Application.Models;
|
||||
|
||||
public sealed record CVData
|
||||
{
|
||||
public required string FullName { get; init; }
|
||||
public string? Email { get; init; }
|
||||
public string? Phone { get; init; }
|
||||
public List<EmploymentEntry> Employment { get; init; } = [];
|
||||
public List<EducationEntry> Education { get; init; } = [];
|
||||
public List<string> Skills { get; init; } = [];
|
||||
}
|
||||
35
src/RealCV.Application/Models/CompanyVerificationResult.cs
Normal file
35
src/RealCV.Application/Models/CompanyVerificationResult.cs
Normal file
@@ -0,0 +1,35 @@
|
||||
namespace RealCV.Application.Models;
|
||||
|
||||
public sealed record CompanyVerificationResult
|
||||
{
|
||||
public required string ClaimedCompany { get; init; }
|
||||
public string? MatchedCompanyName { get; init; }
|
||||
public string? MatchedCompanyNumber { get; init; }
|
||||
public required int MatchScore { get; init; }
|
||||
public required bool IsVerified { get; init; }
|
||||
public string? VerificationNotes { get; init; }
|
||||
public DateOnly? ClaimedStartDate { get; init; }
|
||||
public DateOnly? ClaimedEndDate { get; init; }
|
||||
public string? CompanyType { get; init; }
|
||||
public string? ClaimedJobTitle { get; init; }
|
||||
public bool? JobTitlePlausible { get; init; }
|
||||
public string? JobTitleNotes { get; init; }
|
||||
|
||||
// Additional company data for verification checks
|
||||
public string? CompanyStatus { get; init; }
|
||||
public DateOnly? IncorporationDate { get; init; }
|
||||
public DateOnly? DissolutionDate { get; init; }
|
||||
public string? AccountsCategory { get; init; }
|
||||
public List<string>? SicCodes { get; init; }
|
||||
|
||||
// Additional verification flags
|
||||
public List<CompanyVerificationFlag> Flags { get; init; } = [];
|
||||
}
|
||||
|
||||
public sealed record CompanyVerificationFlag
|
||||
{
|
||||
public required string Type { get; init; }
|
||||
public required string Severity { get; init; }
|
||||
public required string Message { get; init; }
|
||||
public int ScoreImpact { get; init; }
|
||||
}
|
||||
11
src/RealCV.Application/Models/EducationEntry.cs
Normal file
11
src/RealCV.Application/Models/EducationEntry.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
namespace RealCV.Application.Models;
|
||||
|
||||
public sealed record EducationEntry
|
||||
{
|
||||
public required string Institution { get; init; }
|
||||
public string? Qualification { get; init; }
|
||||
public string? Subject { get; init; }
|
||||
public string? Grade { get; init; }
|
||||
public DateOnly? StartDate { get; init; }
|
||||
public DateOnly? EndDate { get; init; }
|
||||
}
|
||||
22
src/RealCV.Application/Models/EducationVerificationResult.cs
Normal file
22
src/RealCV.Application/Models/EducationVerificationResult.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
namespace RealCV.Application.Models;
|
||||
|
||||
public sealed record EducationVerificationResult
|
||||
{
|
||||
public required string ClaimedInstitution { get; init; }
|
||||
public string? MatchedInstitution { get; init; }
|
||||
public required string Status { get; init; } // Recognised, NotRecognised, DiplomaMill, Suspicious, Unknown
|
||||
public bool IsVerified { get; init; }
|
||||
public bool IsDiplomaMill { get; init; }
|
||||
public bool IsSuspicious { get; init; }
|
||||
public string? VerificationNotes { get; init; }
|
||||
|
||||
// Date plausibility
|
||||
public DateOnly? ClaimedStartDate { get; init; }
|
||||
public DateOnly? ClaimedEndDate { get; init; }
|
||||
public bool DatesArePlausible { get; init; } = true;
|
||||
public string? DatePlausibilityNotes { get; init; }
|
||||
|
||||
// Qualification info
|
||||
public string? ClaimedQualification { get; init; }
|
||||
public string? ClaimedSubject { get; init; }
|
||||
}
|
||||
12
src/RealCV.Application/Models/EmploymentEntry.cs
Normal file
12
src/RealCV.Application/Models/EmploymentEntry.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
namespace RealCV.Application.Models;
|
||||
|
||||
public sealed record EmploymentEntry
|
||||
{
|
||||
public required string CompanyName { get; init; }
|
||||
public required string JobTitle { get; init; }
|
||||
public string? Location { get; init; }
|
||||
public DateOnly? StartDate { get; init; }
|
||||
public DateOnly? EndDate { get; init; }
|
||||
public bool IsCurrent { get; init; }
|
||||
public string? Description { get; init; }
|
||||
}
|
||||
10
src/RealCV.Application/Models/FlagResult.cs
Normal file
10
src/RealCV.Application/Models/FlagResult.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
namespace RealCV.Application.Models;
|
||||
|
||||
public sealed record FlagResult
|
||||
{
|
||||
public required string Category { get; init; }
|
||||
public required string Severity { get; init; }
|
||||
public required string Title { get; init; }
|
||||
public required string Description { get; init; }
|
||||
public required int ScoreImpact { get; init; }
|
||||
}
|
||||
33
src/RealCV.Application/Models/SemanticMatchResult.cs
Normal file
33
src/RealCV.Application/Models/SemanticMatchResult.cs
Normal file
@@ -0,0 +1,33 @@
|
||||
namespace RealCV.Application.Models;
|
||||
|
||||
public record SemanticMatchResult
|
||||
{
|
||||
public required string CandidateCompanyName { get; init; }
|
||||
public required string CandidateCompanyNumber { get; init; }
|
||||
public required int ConfidenceScore { get; init; }
|
||||
public required string MatchType { get; init; } // Exact, TradingName, Subsidiary, Parent, NoMatch
|
||||
public required string Reasoning { get; init; }
|
||||
public bool IsMatch => ConfidenceScore >= 70;
|
||||
}
|
||||
|
||||
public record CompanyMatchRequest
|
||||
{
|
||||
public required string CVCompanyName { get; init; }
|
||||
public required List<CompanyCandidate> Candidates { get; init; }
|
||||
}
|
||||
|
||||
public record CompanyCandidate
|
||||
{
|
||||
public required string CompanyName { get; init; }
|
||||
public required string CompanyNumber { get; init; }
|
||||
public string? CompanyStatus { get; init; }
|
||||
public string? DateOfCreation { get; init; }
|
||||
}
|
||||
|
||||
public record AIMatchResponse
|
||||
{
|
||||
public required string BestMatchCompanyNumber { get; init; }
|
||||
public required int ConfidenceScore { get; init; }
|
||||
public required string MatchType { get; init; }
|
||||
public required string Reasoning { get; init; }
|
||||
}
|
||||
9
src/RealCV.Application/Models/TimelineAnalysisResult.cs
Normal file
9
src/RealCV.Application/Models/TimelineAnalysisResult.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
namespace RealCV.Application.Models;
|
||||
|
||||
public sealed record TimelineAnalysisResult
|
||||
{
|
||||
public required int TotalGapMonths { get; init; }
|
||||
public required int TotalOverlapMonths { get; init; }
|
||||
public List<TimelineGap> Gaps { get; init; } = [];
|
||||
public List<TimelineOverlap> Overlaps { get; init; } = [];
|
||||
}
|
||||
8
src/RealCV.Application/Models/TimelineGap.cs
Normal file
8
src/RealCV.Application/Models/TimelineGap.cs
Normal file
@@ -0,0 +1,8 @@
|
||||
namespace RealCV.Application.Models;
|
||||
|
||||
public sealed record TimelineGap
|
||||
{
|
||||
public required DateOnly StartDate { get; init; }
|
||||
public required DateOnly EndDate { get; init; }
|
||||
public required int Months { get; init; }
|
||||
}
|
||||
10
src/RealCV.Application/Models/TimelineOverlap.cs
Normal file
10
src/RealCV.Application/Models/TimelineOverlap.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
namespace RealCV.Application.Models;
|
||||
|
||||
public sealed record TimelineOverlap
|
||||
{
|
||||
public required string Company1 { get; init; }
|
||||
public required string Company2 { get; init; }
|
||||
public required DateOnly OverlapStart { get; init; }
|
||||
public required DateOnly OverlapEnd { get; init; }
|
||||
public required int Months { get; init; }
|
||||
}
|
||||
13
src/RealCV.Application/Models/VeracityReport.cs
Normal file
13
src/RealCV.Application/Models/VeracityReport.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
namespace RealCV.Application.Models;
|
||||
|
||||
public sealed record VeracityReport
|
||||
{
|
||||
public string? CandidateName { get; init; }
|
||||
public required int OverallScore { get; init; }
|
||||
public required string ScoreLabel { get; init; }
|
||||
public List<CompanyVerificationResult> EmploymentVerifications { get; init; } = [];
|
||||
public List<EducationVerificationResult> EducationVerifications { get; init; } = [];
|
||||
public required TimelineAnalysisResult TimelineAnalysis { get; init; }
|
||||
public List<FlagResult> Flags { get; init; } = [];
|
||||
public required DateTime GeneratedAt { get; init; }
|
||||
}
|
||||
Reference in New Issue
Block a user