/** * DORA Tier Classifier * * Maps metric values to DORA performance tiers based on industry benchmarks * * @see https://dora.dev/ - DORA Research */ import { DORAType } from '../types.js'; /** * Classify Deployment Frequency * * Benchmarks (deploys per year): * - Elite: >365 (on-demand, multiple per day) * - High: 52-365 (weekly to daily) * - Medium: 12-52 (monthly to weekly) * - Low: <12 (less than monthly) * * @param deploysPerYear - Number of deployments per year * @returns DORA tier */ export declare function classifyDeploymentFrequency(deploysPerYear: number): DORAType; /** * Classify Lead Time for Changes * * Benchmarks (hours from commit to production): * - Elite: <1 hour * - High: 1 hour to 1 week (168 hours) * - Medium: 1 week to 1 month (720 hours) * - Low: >1 month * * @see https://dora.dev/ - DORA Research benchmarks * @param hours - Average lead time in hours * @returns DORA tier */ export declare function classifyLeadTime(hours: number): DORAType; /** * Classify Change Failure Rate * * Benchmarks (percentage of failed deployments): * - Elite: 0-15% * - High: 15-30% * - Medium: 30-45% * - Low: >45% * * @see https://dora.dev/ - DORA Research benchmarks * @param percentage - Change failure rate (0-100) * @returns DORA tier */ export declare function classifyChangeFailureRate(percentage: number): DORAType; /** * Classify Mean Time to Recovery (MTTR) * * Benchmarks (minutes to recover from incident): * - Elite: <60 minutes (1 hour) * - High: 60 minutes to 1 day (1440 minutes) * - Medium: 1 day to 1 week (10080 minutes) * - Low: >1 week * * @param minutes - Average recovery time in minutes * @returns DORA tier */ export declare function classifyMTTR(minutes: number): DORAType; //# sourceMappingURL=tier-classifier.d.ts.map