export class DeveloperInsightFactory {
    static create(overrides = {}) {
        const defaults = {
            developerName: 'alice',
            title: 'architect',
            overallLevel: 7,
            categoryLevels: {
                quality: { level: 8, trend: 'improving' },
                responsiveness: { level: 6, trend: 'stable' },
                codeVolume: { level: 7, trend: 'stable' },
                iteration: { level: 6, trend: 'declining' },
            },
            strengths: ['quality'],
            weaknesses: ['iteration'],
            topPriority: 'iteration',
            reviewCount: 10,
            metrics: {
                averageScore: 8.0,
                averageBlocking: 0.5,
                averageWarnings: 1.0,
                averageDuration: 60000,
                totalFollowups: null,
                averageAdditions: 150,
                averageDeletions: 30,
                firstReviewQualityRate: 0.75,
            },
            insightDescriptions: [],
        };
        return { ...defaults, ...overrides };
    }
    static createValid(overrides = {}) {
        return {
            developerName: 'alice',
            title: 'architect',
            overallLevel: 7,
            categoryLevels: {
                quality: { level: 8, trend: 'improving' },
                responsiveness: { level: 6, trend: 'stable' },
                codeVolume: { level: 7, trend: 'stable' },
                iteration: { level: 6, trend: 'declining' },
            },
            strengths: ['quality'],
            weaknesses: ['iteration'],
            topPriority: 'iteration',
            reviewCount: 10,
            metrics: {
                averageScore: 8.0,
                averageBlocking: 0.5,
                averageWarnings: 1.0,
                averageDuration: 60000,
                totalFollowups: null,
                averageAdditions: 150,
                averageDeletions: 30,
                firstReviewQualityRate: 0.75,
            },
            insightDescriptions: [],
            ...overrides,
        };
    }
}
//# sourceMappingURL=developerInsight.factory.js.map