Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MatteoGabriele/agentscan
/ functions
Functions
132 in github.com/MatteoGabriele/agentscan
⨍
Functions
132
◇
Types & classes
4
↓ 83 callers
Function
createEcosystemHealthItem
( created_at: string, score: number, )
test/unit/shared/utils/count-classification-by-date.test.ts:15
↓ 28 callers
Function
mockRepoConfig
(config: Record<string, unknown>)
test/unit/server/api/webhook/github.post.test.ts:147
↓ 22 callers
Function
round
(n: number, rounding = 2)
shared/utils/numbers.ts:1
↓ 17 callers
Function
createLastDatapointLabelsSvg
({ series, drawingArea, colors, formatValue, isDarkMode, fontSize = 20, labelOffset = 24, labe
shared/utils/charts.ts:434
↓ 16 callers
Function
calcLinearProgression
(values: number[])
shared/utils/calc-linear-progression.ts:1
↓ 16 callers
Function
hexToRgb
(hex: string)
app/utils/colors.ts:11
↓ 15 callers
Function
isKnownBot
(username: string)
shared/cicd-known-bots.ts:23
↓ 14 callers
Function
formatTrend
(value: number = 0)
shared/utils/health-stats.ts:20
↓ 13 callers
Function
expectClassificationCounts
( received: ClassificationStats, expected: ClassificationStats, )
test/unit/shared/utils/count-classification-by-date.test.ts:34
↓ 13 callers
Function
formatDateRange
({ startDate, endDate, startYear = false, endYear = true, locale = 'en-GB', }: { startDate: string
shared/utils/dates.ts:1
↓ 11 callers
Function
formatUsername
(username: string)
server/utils/format-username.ts:1
↓ 11 callers
Function
getDateKey
(date: string)
shared/utils/count-classification-by-date.ts:44
↓ 11 callers
Function
setupEvent
( payloadOverrides: Record<string, unknown> = {}, configOverrides: Record<string, unknown> = {}, )
test/unit/server/api/webhook/github.post.test.ts:134
↓ 10 callers
Function
createEcosystemHealthItem
( created_at: string, repo_name: string, pr_key: string, pr_status: 'open' | 'closed', sco
test/unit/shared/utils/charts.test.ts:217
↓ 7 callers
Function
clamp
(value: number, min: number, max: number)
app/utils/colors.ts:7
↓ 7 callers
Function
completeCheckRun
( conclusion: CheckConclusion, title: string, summary: string, )
server/api/webhook/github/index.post.ts:142
↓ 7 callers
Function
createOctokit
(auth?: string)
server/utils/github-client.ts:36
↓ 7 callers
Function
generateUserHash
(userId: number)
scripts/__tests__/user-hash.test.ts:13
↓ 7 callers
Function
getClassificationStatsByDate
( data: EcosystemHealthItem[] = [], )
shared/utils/count-classification-by-date.ts:58
↓ 7 callers
Function
getDayKey
(date: string | Date)
shared/utils/charts.ts:25
↓ 7 callers
Function
parseIssueBody
(body: string)
scripts/parse-automation-issue.ts:23
↓ 7 callers
Function
rgbToHex
({ r, g, b }: RGB)
app/utils/colors.ts:25
↓ 7 callers
Function
validateEntry
( entry: Partial<AutomationEntry>, )
scripts/parse-automation-issue.ts:51
↓ 6 callers
Function
generateEntry
( parsed: Partial<AutomationEntry>, issueUrl: string, createdAt?: string, )
scripts/parse-automation-issue.ts:73
↓ 6 callers
Function
mockVerifiedList
(usernames: string[])
test/unit/server/api/webhook/github.post.test.ts:154
↓ 5 callers
Function
getClassificationByDateChunks
({ data = [], dates = [], days = 7, rolling = true, }: { data?: EcosystemHealthItem[] dates?: stri
shared/utils/count-classification-by-date.ts:469
↓ 5 callers
Function
getClassificationForPreviousDays
({ data = [], date, days, }: { data?: EcosystemHealthItem[] date: string days: number })
shared/utils/count-classification-by-date.ts:331
↓ 5 callers
Function
getClosedPrDelta
( source: EcosystemHealthItem[] = [], scoreBounds: ScoreBounds = [0, 100], dateKey: keyof EcosystemHealt
shared/utils/charts.ts:394
↓ 5 callers
Function
percentageLabel
(value: number | null)
scripts/notify-discord.ts:69
↓ 4 callers
Function
expectClassificationMetric
( received: ClassificationMetric, expected: ClassificationMetric, )
test/unit/shared/utils/count-classification-by-date.test.ts:25
↓ 4 callers
Function
getCategoryDeltas
( results: EcosystemHealthItem[], )
shared/utils/count-classification-by-date.ts:169
↓ 4 callers
Function
getClosedPrPercentageByRepo
( source: EcosystemHealthItem[], options: RepoClosedPrOptions = {}, )
shared/utils/charts.ts:84
↓ 4 callers
Function
getMondayDateKey
(date: string)
shared/utils/count-classification-by-date.ts:229
↓ 4 callers
Function
getUniqueDatesFromSource
( source: EcosystemHealthItem[], dateKey: keyof EcosystemHealthItem = 'created_at', )
shared/utils/charts.ts:173
↓ 4 callers
Function
getWeeklyClassification
( data: EcosystemHealthItem[] = [], date: string, rolling = true, )
shared/utils/count-classification-by-date.ts:373
↓ 4 callers
Function
statLabel
(value: number | null, suffix = '')
scripts/notify-discord.ts:60
↓ 4 callers
Function
sumClassificationCountsByDates
({ countsByDate, dates, }: { countsByDate: getClassificationStatsByDateResults dates: Set<string> })
shared/utils/count-classification-by-date.ts:272
↓ 3 callers
Function
applyClassificationPercentages
( counts: ClassificationStats, )
shared/utils/count-classification-by-date.ts:296
↓ 3 callers
Function
convertToHorizontalBarDataset
( source: EcosystemHealthItem[] = [], date?: Date | string | null, )
shared/utils/charts.ts:37
↓ 3 callers
Function
createEmptyClassificationStats
()
shared/utils/count-classification-by-date.ts:48
↓ 3 callers
Function
formatPercentage
(value: number)
shared/utils/health-stats.ts:16
↓ 3 callers
Function
getClosedPrPercentageByRepoForDate
( source: EcosystemHealthItem[], untilDate: string | Date, options: RepoClosedPrOptions = {}, )
shared/utils/charts.ts:192
↓ 3 callers
Function
getNextDays
({ date, length, }: { date: string length: number })
shared/utils/count-classification-by-date.ts:210
↓ 3 callers
Function
trendLabel
(trendValue: number)
scripts/notify-discord.ts:55
↓ 3 callers
Function
unpack
(content: string)
shared/utils/compactor.ts:67
↓ 3 callers
Function
withRetry
(fn: () => Promise<T>, label: string)
scripts/scan-users.ts:38
↓ 2 callers
Function
applyClassificationCountTrends
({ currentCounts, previousCounts, }: { currentCounts: ClassificationStats previousCounts: Classificati
shared/utils/count-classification-by-date.ts:249
↓ 2 callers
Function
escapeXML
(text: string)
server/routes/feed.xml.ts:80
↓ 2 callers
Function
fromUnixSecs
(secs: number)
shared/utils/compactor.ts:31
↓ 2 callers
Function
getCategoryPercentage
( counts: ClassificationStats | undefined, category: IdentityClassification, )
shared/utils/count-classification-by-date.ts:121
↓ 2 callers
Function
getClosedPrPercentageTotal
( source: EcosystemHealthItem[] = [], scoreBounds: ScoreBounds = [0, 100], )
shared/utils/charts.ts:328
↓ 2 callers
Function
getClosedPrSnapshot
( source: EcosystemHealthItem[] = [], date: string | Date | undefined, scoreBounds: ScoreBounds = [0, 10
shared/utils/charts.ts:354
↓ 2 callers
Function
getCompleteDayRange
(days: string[])
shared/utils/charts.ts:4
↓ 2 callers
Function
getPreviousDays
({ date, length, offset = 0, }: { date: string length: number offset?: number })
shared/utils/count-classification-by-date.ts:187
↓ 2 callers
Function
getTotalClassificationCount
( counts: ClassificationStats | undefined, )
shared/utils/count-classification-by-date.ts:109
↓ 2 callers
Function
interpolate
(from: RGB, to: RGB, amount: number)
app/utils/colors.ts:34
↓ 2 callers
Function
toUnixSecs
(isoDate: string)
shared/utils/compactor.ts:27
↓ 2 callers
Function
trackGithubRequest
( options: RequestOptions, headers: ResponseHeaders, status: number, )
server/utils/github-client.ts:7
↓ 2 callers
Function
withUnit
(val: FlagDataPoint['value'])
app/composables/useFlagDataPoints.ts:52
↓ 1 callers
Function
addEntryToJson
(entry: AutomationEntry)
scripts/parse-automation-issue.ts:87
↓ 1 callers
Function
base64UrlToHex
(b64: string)
shared/utils/compactor.ts:23
↓ 1 callers
Function
classifyByScore
(score: number)
shared/utils/health-stats.ts:6
↓ 1 callers
Function
fetchIssueFromGitHub
( issueNumber: number, )
scripts/parse-automation-issue.ts:113
↓ 1 callers
Function
fetchReposForQuery
( octokit: Octokit, query: string, source: string, )
scripts/scan-bounty-repos.ts:91
↓ 1 callers
Function
formatNextScanTime
(nextScanDate: Date)
app/composables/useNextScanTime.ts:84
↓ 1 callers
Function
generateRSSFeed
(automations: VerifiedAutomation[])
server/routes/feed.xml.ts:32
↓ 1 callers
Function
getCalendarWeekStartDates
(dates: string[])
shared/utils/count-classification-by-date.ts:430
↓ 1 callers
Function
getCategoryPercentageComparison
({ category, lastDate, previousDate, countsByDate, }: { category: IdentityClassification lastDate:
shared/utils/count-classification-by-date.ts:132
↓ 1 callers
Function
getClassificationByCalendarWeekChunks
({ data = [], dates = [], }: { data?: EcosystemHealthItem[] dates?: string[] })
shared/utils/count-classification-by-date.ts:434
↓ 1 callers
Function
getClassificationPercentageTrend
({ currentPercentage, previousPercentage, }: { currentPercentage: number previousPercentage: number })
shared/utils/count-classification-by-date.ts:314
↓ 1 callers
Function
getClosedPrPercentageEvolutionByRepo
( source: EcosystemHealthItem[] = [], scoreBounds: ScoreBounds = [0, 100], dateKey: keyof EcosystemHealt
shared/utils/charts.ts:236
↓ 1 callers
Function
getClosedPrPercentageEvolutionTotal
( source: EcosystemHealthItem[] = [], scoreBounds: ScoreBounds = [0, 100], dateKey: keyof EcosystemHealt
shared/utils/charts.ts:294
↓ 1 callers
Function
getDataPointIcon
(label: string)
app/composables/useFlagDataPoints.ts:27
↓ 1 callers
Function
getEventIcon
(event: GitHubEvent)
app/composables/useGitHubEventDisplay.ts:26
↓ 1 callers
Function
getHealthStats
( data: EcosystemHealthItem[] = [], )
shared/utils/health-stats.ts:27
↓ 1 callers
Function
getNextScanTime
(currentDate: Date = new Date())
app/composables/useNextScanTime.ts:44
↓ 1 callers
Function
getPreviousMondayDateKey
(date: string)
shared/utils/count-classification-by-date.ts:241
↓ 1 callers
Function
getSundayDateKey
(date: string)
shared/utils/count-classification-by-date.ts:421
↓ 1 callers
Function
hashPrId
(repo: string, prId: number)
scripts/pr-hash.ts:5
↓ 1 callers
Function
hexToBase64Url
(hex: string)
shared/utils/compactor.ts:19
↓ 1 callers
Function
interpolateHexColors
({ colors, ratio, }: { colors: string[] ratio: number })
app/utils/colors.ts:42
↓ 1 callers
Function
isIssueNumber
(arg: string)
scripts/parse-automation-issue.ts:142
↓ 1 callers
Function
loadBountyRepos
()
scripts/scan-bounty-repos.ts:67
↓ 1 callers
Function
loadScanResults
()
scripts/scan-users.ts:68
↓ 1 callers
Function
loadVerifiedAutomations
()
scripts/scan-users.ts:56
↓ 1 callers
Function
main
(options: ScanOptions = {})
scripts/scan-users.ts:194
↓ 1 callers
Function
main
()
scripts/scan-bounty-repos.ts:131
↓ 1 callers
Function
main
()
scripts/notify-discord.ts:16
↓ 1 callers
Function
main
()
scripts/parse-automation-issue.ts:146
↓ 1 callers
Function
pack
(results: EcosystemHealthItem[])
shared/utils/compactor.ts:35
↓ 1 callers
Function
parseRepoConfig
(yamlContent: string)
server/api/webhook/github/_config.ts:66
↓ 1 callers
Function
parseRepoSlug
(input: string)
shared/utils/parse-repo-slug.ts:7
↓ 1 callers
Function
readCssVariable
(element: HTMLElement, variableName: string)
app/composables/useColors.ts:22
↓ 1 callers
Function
repoSlugFromUrl
(url: string)
scripts/scan-bounty-repos.ts:85
↓ 1 callers
Function
resolveElement
(element?: CssVariableSource)
app/composables/useColors.ts:32
↓ 1 callers
Function
saveBountyRepos
(repos: Map<string, BountyRepo>)
scripts/scan-bounty-repos.ts:77
↓ 1 callers
Function
saveScanResults
(results: ScanResult[], dryRun: boolean = false)
scripts/scan-users.ts:80
↓ 1 callers
Function
scanUser
( username: string, userCreatedAt: string, publicRepos: number, )
scripts/scan-users.ts:93
↓ 1 callers
Function
searchUsers
( octokit: Octokit, prsPerRepo: number = PR_SCAN_AMOUNT, )
scripts/scan-users.ts:117
↓ 1 callers
Function
sortByTime
(evts: GitHubEvent[])
app/composables/useGitHubEventDisplay.ts:156
next →
1–100 of 132, ranked by callers