Skip to content

chore: merge MetaSekaiLab/nnnotes main (recommendation engine) - #14

Merged
nichinichisou0609 merged 2 commits into
mainfrom
sync/recommend-engine
Oct 4, 2026
Merged

nichinichisou0609 merged 2 commits into
mainfrom
sync/recommend-engine

Conversation

@nichinichisou0609

Copy link
Copy Markdown
  • Merges MetaSekaiLab/nnnotes main: nnnotes music-data --recommend-engine DIR publishes the deck recommendation module in the replay manifest as recommendEngine.
  • Conflicts with this fork's Snap labels are resolved by keeping both: replaydata.bundle(music, engine_dir=None, recommend_dir=None, *, label_source=None), musicdata.export passes the recommendation engine and the label source, and the manifest carries both snapLabels and recommendEngine.

nichinichisou0609 and others added 2 commits October 4, 2026 10:28
…ifest

`nnnotes music-data --recommend-engine DIR` copies a wasm-bindgen
`--target web` package of the deck model's `wasm/recommend`
(`ournotes_recommend.js`, `ournotes_recommend_bg.wasm`, `build.json`)
into the replay bundle beside the replay engine. Its `build.json`
(`ournotes.recommend-engine/1`) must name the pinned model commit and the
SHA-256 of both files, else the export stops before writing anything.

The replay manifest lists it as `recommendEngine`: the model identity and
the `js`, `wasm` and `build` resources with their URL relative to the
manifest, SHA-256 and size. The model is the one of `engine` and of
`deck-data.json`, so a page loads the recommendation module and the deck
data it reads from one model commit and one master snapshot. Without the
option the key is absent.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts:
#	docs/music-data.md
#	src/nnnotes/musicdata.py
#	src/nnnotes/replaydata.py
@nichinichisou0609
nichinichisou0609 merged commit e653dfb into main Oct 4, 2026
6 checks passed
@nichinichisou0609
nichinichisou0609 deleted the sync/recommend-engine branch October 4, 2026 02:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant