- Remove unused GetRepoLanguagesAsync method from GitHubClient - Remove unused IsFakeAccreditor and FakeAccreditors from DiplomaMills - Remove unused CompanyVerificationFlagPenalty constant from ProcessCVCheckJob - Remove unused SkillVerification properties (TotalLinesOfCode, FirstUsed, LastUsed) - Remove unused CompanyMatchRequest record from SemanticMatchResult - Add JsonDefaults.ApiClient and consolidate duplicate JsonSerializerOptions across API clients - Remove ApiTester tool containing hardcoded API credentials (security fix) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
50 lines
1.5 KiB
C#
50 lines
1.5 KiB
C#
namespace RealCV.Application.Models;
|
|
|
|
/// <summary>
|
|
/// Result of verifying a developer's GitHub profile
|
|
/// </summary>
|
|
public sealed record GitHubVerificationResult
|
|
{
|
|
public required string ClaimedUsername { get; init; }
|
|
public required bool IsVerified { get; init; }
|
|
|
|
// Profile details
|
|
public string? ProfileName { get; init; }
|
|
public string? ProfileUrl { get; init; }
|
|
public string? Bio { get; init; }
|
|
public string? Company { get; init; }
|
|
public string? Location { get; init; }
|
|
public DateOnly? AccountCreated { get; init; }
|
|
|
|
// Activity metrics
|
|
public int PublicRepos { get; init; }
|
|
public int Followers { get; init; }
|
|
public int Following { get; init; }
|
|
public int TotalContributions { get; init; }
|
|
|
|
// Language breakdown
|
|
public Dictionary<string, int> LanguageStats { get; init; } = new();
|
|
|
|
// Claimed skills verification
|
|
public List<SkillVerification> SkillVerifications { get; init; } = [];
|
|
|
|
public string? VerificationNotes { get; init; }
|
|
public List<GitHubVerificationFlag> Flags { get; init; } = [];
|
|
}
|
|
|
|
public sealed record SkillVerification
|
|
{
|
|
public required string ClaimedSkill { get; init; }
|
|
public required bool IsVerified { get; init; }
|
|
public int RepoCount { get; init; }
|
|
public string? Notes { get; init; }
|
|
}
|
|
|
|
public sealed record GitHubVerificationFlag
|
|
{
|
|
public required string Type { get; init; }
|
|
public required string Severity { get; init; }
|
|
public required string Message { get; init; }
|
|
public int ScoreImpact { get; init; }
|
|
}
|