Interface: QualityGateProfile
Defined in: packages/uimatch-core/src/config/quality-gate-profiles.ts:5
Quality gate profiles for different comparison scenarios
Properties
autoReEvaluate?
optional autoReEvaluate: boolean;
Defined in: packages/uimatch-core/src/config/quality-gate-profiles.ts:48
Enable automatic re-evaluation for pad mode with union basis When true, the system will recommend intersection basis if suspicions are detected
Default
true
contentBasis?
optional contentBasis: "union" | "intersection";
Defined in: packages/uimatch-core/src/config/quality-gate-profiles.ts:42
Content basis to use for comparison (affects contentRect calculation)
description
description: string;
Defined in: packages/uimatch-core/src/config/quality-gate-profiles.ts:7
name
name: string;
Defined in: packages/uimatch-core/src/config/quality-gate-profiles.ts:6
thresholds
thresholds: object;
Defined in: packages/uimatch-core/src/config/quality-gate-profiles.ts:8
areaGapCritical?
optional areaGapCritical: number;
Critical area gap threshold for immediate failure (0-1) When exceeded, quality gate immediately fails regardless of other metrics
Default
0.15 (15% area difference)
areaGapWarning?
optional areaGapWarning: number;
Warning area gap threshold (0-1) When exceeded, adds warning to quality gate reasons
Default
0.05 (5% area difference)
deltaE
deltaE: number;
Color delta E average threshold
maxHighSeverityIssues
maxHighSeverityIssues: number;
Maximum allowed high-severity style issues
maxLayoutHighIssues
maxLayoutHighIssues: number;
Maximum allowed layout category high-severity issues
pixelDiffRatio
pixelDiffRatio: number;
Pixel difference ratio threshold (0-1) Uses pixelDiffRatioContent when available, falls back to pixelDiffRatio