MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / selectAlsoNotable

Function selectAlsoNotable

scripts/changelog-weekly.ts:461–467  ·  view source on GitHub ↗
(commits: WeeklyCommit[], highlights: WeeklyCommit[])

Source from the content-addressed store, hash-verified

459}
460
461function selectAlsoNotable(commits: WeeklyCommit[], highlights: WeeklyCommit[]) {
462 const highlightedShas = new Set(highlights.map((commit) => commit.sha));
463 return commits
464 .filter((commit) => commit.category !== "Internal")
465 .filter((commit) => !highlightedShas.has(commit.sha))
466 .slice(0, 5);
467}
468
469function isHighImpactCandidate(commit: WeeklyCommit) {
470 return HIGHLIGHT_CATEGORIES.has(commit.category) && !isEditorialOnlyScope(commit.scope);

Callers 1

renderDocsUpdateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected