mirror of
https://github.com/hanzo-apps/hanzo.ai.git
synced 2026-10-29 07:20:43 +00:00
Testing: production export, typecheck, mobile/desktop composer and paid-Settings browser gates, historical activity/count unit tests and design lint pass. Risk: organization-scoped read-only usage, labelled estimates, public repository metadata only. How to revert: revert this commit and consume app 0.2.46.
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
|
|
* configured 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 = 1613
|
|
export const REPO_FLOOR = 1600
|
|
/** Of a deploying org's metered spend, to the verified author. */
|
|
export const OSS_SHARE = '20%'
|