docs: refresh whole-repo token figure (233k -> 503k)#35
Merged
Conversation
…x dirs PR #33 accidentally committed a 155 KB ctx index (codebase.sqlite) under docs/website/docs/.ctx/. The root .gitignore rule '.ctx/*' is anchored to the repo root, so nested .ctx dirs were never ignored. Remove the file and add '**/.ctx/*' (keeping config.toml) so it can't recur.
The codebase grew well past the old 233,169-token figure. Re-measured with `ctx --count-only` (cl100k_base, default): 502,856 tokens. Update every instance and the derived ratio vs the ~8,700-token task-scoped example (now ~58x, was 27x) across the README, why-ctx, using-ctx-with-agents, and the messaging reference.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The ctx codebase has grown well past the old 233,169-token figure the docs cite. Re-measured with the same command the docs reference (
ctx --count-only, cl100k_base, default target): 502,856 tokens (205 files).Updated every instance and the derived ratio against the ~8,700-token task-scoped
ctx smartexample (now ~58×, was 27×):README.md— the "wrong 503k" line and thectx smartcommentdocs/website/docs/why-ctx.md— both the "one dump" figure and the smart-context ratiodocs/website/docs/guides/using-ctx-with-agents.md— full-dump vs task-scoped comparisondocs/messaging.md— messaging reference (legacy top-level tree)Note: this is 502,856, not the ~545k mentioned in passing — 545k isn't reproducible with
ctx --count-only; this figure is, matching how the original was obtained.