Repository navigation
chore: refresh packaged indexes and add the two new manuals - #16
Merged
Merged
Conversation
`mcp/prebuilt/` is committed output of `npm run build:index`, so adding a manual to the catalog does not give it a snapshot on its own. The 0.4.1 catalog change left `x5-cases` and `audio-kit` without one: when the live index fails, those two returned an error while every other manual fell back to its snapshot, and `eval:offline` could not cover them. Re-run the builder against the live sites. The directory now holds 19 manuals (17 + the two additions), all with a matching `.bm25.gz`, and the page text captured for RDK Ultra is refreshed along with everything else. Co-Authored-By: Claude Code <noreply@anthropic.com>
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.
问题
mcp/prebuilt/是npm run build:index的产物、提交进仓库的,所以往 catalog 里加手册不会自动生成快照。0.4.1 加了x5-cases和audio-kit,但没人重跑构建脚本,这两本一直没有prebuilt/条目:npm run eval:offline覆盖不到它们,离线回归里是盲区。CI 的
rebuild-indexjob 每次 PR 都跑build:index,但它只验证脚本能跑通、不回写产物,所以 CI 绿并不代表产物齐。改动
对线上站点重跑
npm run build:index:prebuilt/从 17 本变 19 本,新增audio-kit.{json,bm25}.gz和x5-cases.{json,bm25}.gz,每本都有对应倒排表expandBodies的手册正文来自这里)manifest.json同步更新验证
npm test:706 passed(39 files)npm run eval:offline:hit@1 0.867 / hit@3 0.933 / MRR 0.900,全部走包内快照、无网络prebuilt/*.json.gz19 个,prebuilt/*.bm25.gz19 个发布
只有提交、不改版本号。快照是打进 npm 包的,用户要拿到这两本新快照需要下一次
npm publish,建议和下一个功能版本一起发,不单独占版本号。🤖 Generated with Claude Code