gatelineAPI reference
interface Metrics {
    decisions: GateDecisionRecord[];
    perGate: GateMetrics[];
    perRepository: RepositoryGateMetrics[];
    rateMinDecisions: number;
    roundCap: number;
    runs: RunMetricsSummary[];
    unreadable: UnreadableRepository[];
}

Properties

decisions: GateDecisionRecord[]
perGate: GateMetrics[]

The total: every readable repository's decisions pooled, one entry per gate.

perRepository: RepositoryGateMetrics[]

The same figures per repository (#499), one entry per readable repository in the order they are listed, including a repository with no decisions. A repository in unreadable has no entry.

rateMinDecisions: number

The fewest decisions a rate is computed from (RATE_MIN_DECISIONS).

roundCap: number

The review-round cap the rounds counts are read against (record ROUND_CAP).

unreadable: UnreadableRepository[]

Repositories left out because reading them failed (docs/MULTI-REPO.md §10), in the order they are listed. Their decisions and runs are absent from every figure above, so a reader must know they are missing.