mirror of
https://github.com/hanzo-apps/hanzo.ai.git
synced 2026-10-29 07:20:43 +00:00
The landing said 686 public repositories (non-fork, not archived) while other pages said 800+ (every public repository, forks included): two numbers for one thing, and 125 of the 825 were other people's code. Both now count the public repositories we wrote, forks left out and archived kept: 725 across the twelve organizations, so pages say 700+. The activity block reads that same set, so its commit total gains the archived repositories' history: 84,505 commits in the year, 380 this week, 166 repositories with a commit this month. Models are 557, as /v1/models answers today.
24 lines
1.1 KiB
TypeScript
24 lines
1.1 KiB
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` `originals`, the public repositories we wrote
|
|
* (forks left out, archived kept) that `scripts/sync-oss` last counted across the
|
|
* twelve organizations, floored the same way. Every page that states how many
|
|
* repositories we have states this one, and the landing's activity block counts
|
|
* the same set. 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 = 557
|
|
export const MODEL_FLOOR = 500
|
|
export const REPO_COUNT = 725
|
|
export const REPO_FLOOR = 700
|
|
/** Of a deploying org's metered spend, to the verified author. */
|
|
export const OSS_SHARE = '20%'
|