MCPcopy Create free account
hub / github.com/arctic-cli/interface / getTokenComparison

Function getTokenComparison

packages/arctic/src/cli/cmd/stats.ts:434–438  ·  view source on GitHub ↗
(stats: SessionStats)

Source from the content-addressed store, hash-verified

432}
433
434function getTokenComparison(stats: SessionStats): number | undefined {
435 const multiple = stats.totalTokens / WAR_AND_PEACE_TOKENS
436 if (multiple < 1) return undefined
437 return Math.round(multiple)
438}
439
440async function aggregateStats(dateFilter?: DateFilter): Promise<SessionStats> {
441 const allSessions = await getAllSessions()

Callers 1

displayStatsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected