Files
hanzo.ai/lib/counts.ts
Cursor Agentandz 74a1a48c54 oss: every Hanzo org, tracked forks, and the year's contributions
The census now asks for every Hanzo organization this GitHub account belongs to, and it counts an organization's forks, because a tracked fork is a project whose main we follow. zeekay and zooqueen are read from GitHub's own contribution count for the past year. scripts/forge-mirrors.mjs prints the organizations forge.hanzo.ai does not have yet and, with FORGE_TOKEN, pull-mirrors the public repositories with GitHub kept as the source.

Co-authored-by: z <[email protected]>
2026-10-27 05:10:33 +00:00

22 lines
991 B
TypeScript

/**
* The figures the site states about itself, read off the snapshots the build
* already keeps, so two pages cannot disagree.
*
* Models: `lib/data/served.json` is the build's read of `/v1/models` (page
* existence, never a rate). The live price-list summary can differ; a page
* that has not heard from it yet says this count, floored to the hundred.
* Repositories: `lib/data/oss.json` `repos`, every public repository the census
* lists (forks included), floored the same way. The activity panel counts the
* non-fork, non-archived subset of that list. The open-source royalty
* is cloud's `defaultShareBps` (2000) of a deploying org's metered spend.
*
* A unit test holds the numbers to those files. Change the snapshot and the
* test, together.
*/
export const MODEL_COUNT = 561
export const MODEL_FLOOR = 500
export const REPO_COUNT = 2741
export const REPO_FLOOR = 2700
/** Of a deploying org's metered spend, to the verified author. */
export const OSS_SHARE = '20%'