Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions docs/commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@ in the printed summary and in `SITE.failures.json`, models that fail in the summ

```
nnnotes music-data (--master-files DIR | --apk-master | --decoded-master) [--full] [--no-deck] [--seeds N]
[--workers N] [--no-gekisou-aptitude] [--aptitude-max-seeds N] [--aptitude-cross-seeds N]
[--workers N] [--no-gekisou-aptitude]
[--stats-cache DIR] [--no-bgm] [--jackets DIR] -o FILE
```

Expand All @@ -694,10 +694,9 @@ rank and the Perfect play need) and off (a solo live), measured by the deck mode
`nnnotes._deck`) on its whole-live simulation and checked against the chart facts and the master data. `--full` also writes the deck model's input: every
`MasterLiveMusicScore` row's chart as the client builds it at runtime (notes, skill events, fever ranges) and the
master data tables about cards, skills, bonuses, scores and events. Single-skill Gekisou aptitude is included by
default (not an optimal deck); `--no-gekisou-aptitude` omits it, `--aptitude-max-seeds N` (1024) and
`--aptitude-cross-seeds N` (64) cap its sampling and cross terms. `--no-deck` skips the deck model (every chart's
`deck` is null); `--seeds N` (default 8) and `--workers N` (default: every processor) set its seeds on charts with a
luck range and its threads. `--stats-cache DIR` keeps every chart's statistics in `DIR` under the SHA-256 of what
default as independent nominal expectations; `--no-gekisou-aptitude` omits it.
`--no-deck` leaves every chart's `deck` null. `--seeds N` (default 8) gives replay seeds for luck charts;
`--workers N` sets measurement threads (default: every processor). `--stats-cache DIR` keeps every chart's statistics in `DIR` under the SHA-256 of what
they are a function of (the deck model's sources, these options, the master data tables and the chart) and measures
only the charts it lacks; `DIR` then holds this file's charts only. The master data is decoded from the files as served: `--master-files DIR` reads
`DIR/MasterManifest.json` and the `.bin` files it lists (`master download`; the file's region is `[catalog] region`),
Expand Down
2 changes: 1 addition & 1 deletion docs/contracts.md
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ The catalog versions of a store, `nnnotes.catalogs/1` ([schema/catalogs.schema.j
([schema/catalog-diff.schema.json](schema/catalog-diff.schema.json), `nnnotes catalogs diff --json`), are written
by the commands.

The music data file of `nnnotes music-data`, `nnnotes.music-data/1`
The music data file of `nnnotes music-data`, `nnnotes.music-data/2`
([schema/music-data.schema.json](schema/music-data.schema.json)), names its format in a `format` field; it is
described in [music-data.md](music-data.md).

Expand Down
248 changes: 90 additions & 158 deletions docs/music-data.md

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/replay.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ The music-data pointer is:
"deckData": {"format":"nnnotes.deck-data/1","url":"deck-data.json","sha256":"<SHA>","bytes":0},
"charts": [{"scoreId":10000303,"url":"charts/10000303.json","sha256":"<SHA>","bytes":0,"musicLengthMs":120557,"noteCount":0,"assetSha256":"<original chart asset SHA>"}],
"engine": {
"model": {"name":"ournotes-deck","version":"<version>","source":"<repository>","commit":"<pinned commit>","format":"ournotes-deck.chart-stats/2"},
"model": {"name":"ournotes-deck","version":"<version>","source":"<repository>","commit":"<pinned commit>","format":"ournotes-deck.chart-stats/3"},
"requestFormat":"ournotes.replay/1","class":"ReplaySession","methods":["describeChart","template","run"],
"js":{"url":"engine/ournotes_replay_wasm.js","sha256":"<SHA>","bytes":0},
"wasm":{"url":"engine/ournotes_replay_wasm_bg.wasm","sha256":"<SHA>","bytes":0},
"build":{"url":"engine/build-info.json","sha256":"<SHA>","bytes":0}
},
"recommendEngine": {
"model": {"name":"ournotes-deck","version":"<version>","source":"<repository>","commit":"<pinned commit>","format":"ournotes-deck.chart-stats/2"},
"model": {"name":"ournotes-deck","version":"<version>","source":"<repository>","commit":"<pinned commit>","format":"ournotes-deck.chart-stats/3"},
"js":{"url":"recommend/ournotes_recommend_wasm.js","sha256":"<SHA>","bytes":0},
"wasm":{"url":"recommend/ournotes_recommend_wasm_bg.wasm","sha256":"<SHA>","bytes":0},
"build":{"url":"recommend/build-info.json","sha256":"<SHA>","bytes":0}
Expand Down
Loading
Loading