Repository navigation
fix(vocabulary): coverage measured, list corrected (M19a) - #30
Open
jgrodziski wants to merge 2 commits into
Open
jgrodziski wants to merge 2 commits into
jgrodziski wants to merge 2 commits into
Conversation
Measured on BroadleafCommerce, Mastodon, Plausible and codegraph itself (PLAN.md §20.1), each word read off the names that carry it: 13 words named the program's machinery, not the business, in a real corpus's top ten, and join the shared technical list (125 → 138). - name type value key map property field: the data vocabulary of every language (getName, propertyName, cacheKey, parsedValue, itemMap). - extension extensions: Broadleaf's …ExtensionManager pattern. Moved from the C# profile, since a word two lists hold is the shared list's. - read: the R of CRUD, missing from a list that claimed the CRUD verbs. - serializer worker index: Mastodon's app/serializers/, app/workers/ and search indexes; index is machinery in all four corpora. Broadleaf's top ten now reads order item customer offer product admin group fulfillment category payment. In the fixtures only value, name and index change class; no weight moves. Snapshots, the C# profile page and the CLI page's examples follow. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The §20.1 table filled on the five fixtures, BroadleafCommerce, codegraph, Mastodon and Plausible (commits, machine and method stated), what their unnamed entities are, the Broadleaf top ten reviewed and the list correction argued word by word. The last M19a item is checked and the milestone row marked done. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
codegraph | 666a3ec | Commit Preview URL Branch Preview URL |
Oct 26 2026, 09:27 AM |
This was referenced Oct 26, 2026
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.
Fifth and last step of milestone M19a in PLAN.md §20 (word cloud / glossary, #6). Stacked on #29 (itself on #28, #27 and #26): review those first; this PR's diff is the two commits after #29.
It measures the vocabulary on real codebases, which is the M19a item left open, and corrects the shared technical list where the measurement showed it leaking.
The coverage table
Whole repositories as cloned, tests included.
buildisbuildVocabularyalone over a built graph (median of five, Apple M1 Max, Node 26);artifactis the compactvocabulary.json.26208e01de(Java)294e5cc(TypeScript)2bc820fb84(Ruby)9bc90b0063(Elixir)PLAN §20.1 has the full table: each fixture, the counts by role, and the skipped entities. Findings:
The technical list: 125 → 138 words
The plan's sanity check is that Broadleaf's top ten must read as a commerce vocabulary. Under the old list it read
order name type field item customer offer extension value product. Each word was judged from the names that carry it, never from its spelling:nametypevaluekeymappropertyfield: the data vocabulary of every language (getName,propertyName,cacheKey,parsedValue,itemMap).extensionextensions: Broadleaf's…ExtensionManager/…ExtensionHandlerpattern. Moved from the C# profile, since a word two lists hold belongs to the shared one, and a test keeps them disjoint.read: the R of CRUD, missing from a list that claimed the CRUD verbs (readStaticAssetById).serializerworkerindex: from Mastodon's top ten (app/serializers/,app/workers/, search indexes).indexnames machinery in all four corpora: database indexes, array positions,index.ts, the controller action.Broadleaf's top ten now:
order item customer offer product admin group fulfillment category payment.Worth a look in review:
type,nameandindex; a--technicalfile gives them back.policy(Mastodon's authorization policies, but also its privacy and quote-approval policies),change,query,collection.plausibleandbroadleafare every module's namespace, asacmeis the fixtures'.Effect on the fixtures
Only
value,nameandindexchange class, and no weight moves. The sixvocabulary.jsonsnapshots are regenerated. Five hand-pinned counts in the CLI tests drop by one or two. The website'svocabularypage shows the new list size and digest, and its two examples were diffed against real output. The profiles page is regenerated for C#.Verification
pnpm -r buildandpnpm -r typecheckgreen; eslint clean on every changed file;pnpm run gen:schemasleavesschemas/unchanged; the Hugo site builds.node:sqlitewarning test noted on feat(core): language lexicons on profiles (M19a) #26.PLAN §20.4's last M19a item is checked and the milestone row marked done.
Part of #6.
🤖 Generated with Claude Code