MCPcopy Create free account
hub / github.com/SethGammon/Citadel / section

Function section

dashboard/app.js:54–58  ·  view source on GitHub ↗
(title)

Source from the content-addressed store, hash-verified

52 const branch = fork.comparison.branches.find((entry) => entry.branch_id === branchId);
53 return Boolean(branch && branch.comparable);
54}
55
56function forkComparisonLabel(comparison) {
57 if (!comparison || comparison.outcome === 'insufficient-evidence') return 'Insufficient evidence';
58 if (comparison.outcome === 'tie') return 'Verified tie';
59 if (comparison.outcome === 'recommended') return `Recommendation: ${comparison.recommendation}`;
60 return 'Comparison unknown';
61}

Callers 7

renderOverviewFunction · 0.85
renderCampaignsFunction · 0.85
renderFleetFunction · 0.85
renderLoopsFunction · 0.85
renderCostFunction · 0.85
renderHooksFunction · 0.85
renderHandoffsFunction · 0.85

Calls 1

elFunction · 0.85

Tested by

no test coverage detected