Repository navigation
StyleGallery 0.1.12: one stylegallery CLI with BM25F search, Korean aliases, section reads, and a retrieval gate - #60
Merged
Merged
Conversation
added 7 commits
October 19, 2026 15:58
…version Drop the sg bin (it collides with ast-grep). sg-material, stylegallery-material, and stylegallery-material-mcp print a rename notice and delegate for 0.1.12. The main MCP server gains search and read tools.
…eline Hit@3/5, MRR, nDCG@5, and a must-pass gate. Baseline (legacy ranker): Hit@5 0.633, nDCG@5 0.517, must-pass 14/19, Korean Hit@5 0.133.
Pattern aliases live in scripts/pattern-data.mjs and generate into pattern docs; hand-written recipes, guides, motion, design-engineering, platform, and expression docs carry them directly. Add 15 held-out questions written after the aliases and re-record the pre-change baseline on the original corpus (75 questions).
…ery_en Light -ing/-ed stemming, section-local snippets, and documented field weights. After: Hit@5 0.973, nDCG@5 0.863, must-pass 19/19, Korean Hit@5 1.0, held-out Hit@5 0.867.
…l gate search-eval.yml runs the search tests and search-eval --gate on every pull request: every must-pass question in the top 5, Hit@5 and nDCG@5 within 0.02 of eval/search/scores.json. A Korean 2-gram-only match needs half the query's 2-grams. The v1 documentation baseline records the renamed commands.
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.
What
stylegalleryis the only command:search,read(--outline,--section),context,resolve,claims,discover,retrieve,help/--help,version/--version. Thesgbin is removed (it collides with ast-grep).sg-material,stylegallery-material, andstylegallery-material-mcpprint a rename notice and delegate in 0.1.12 only.stylegallery-mcpgainssearchandreadtools.query_en. Readable idssg:<domain>/<slug>(hash ids in--detailed). Schema 3.0 results carry a verbatim snippet and the next read command. Offline and deterministic, no embeddings.aliasesandquestionsfor all 46 patterns (through pattern-data and the generator) and 29 other docs.search-eval.ymlruns the search tests andsearch-eval.mjs --gate.Scores (legacy ranker on the original corpus -> search v3)
The aliases were written with the first 60 questions in view, so those scores are optimistic. The 15 held-out questions are the honest measure.
consumer_reference: not_applicable (retrieval tooling and search metadata; no consumer-reference record is selected)