ui/client/features/review/domain/Ranking
Pure (DOMAIN-001): the order of the list, and the sentence that explains it (the ordering rule is visible, not a hidden score).
Cockpit client (features), v0.9. Source: ui/client/features/review/domain/Ranking.ts.
Functions#
orderExplanation()#
orderExplanation(
order):string
Defined in: ui/client/features/review/domain/Ranking.ts:8
Parameters#
order
Returns#
string
rankBranches()#
rankBranches(
rows,order):BranchRow[]
Defined in: ui/client/features/review/domain/Ranking.ts:17
Ranked copy of the rows. Ties fall back to the newest commit, then the name, so the order is stable.
Parameters#
rows
order
Returns#
riskScore()#
riskScore(
a):number
Defined in: ui/client/features/review/domain/Ranking.ts:6
How many indicators need attention, then how many findings: the number the list is ranked by.
Parameters#
a
Returns#
number