gitoria

jukebox

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commitd7b5e780d7b5e780|||PR Records 2026-11-24 (2): live day72, PR #19 merge, #10 newsmred7b5e780/plugins/mpackdb/testdata/format3/README.md

1.0 KB

  1. # Index format 3 compat corpus (#119, mpackdb 1.4.0)
  2. Store `format3` written by mpackdb 1.4.0 with `{ primaryKey: '*id', indexes: ['*x', 'name'] }`:
  3. ten records (ids 0–9) with x = 1.5, -0.5, 1e21, NaN, Infinity, -Infinity, 7, 1e-7, 3, 2.25 and
  4. name = "42", 'a"b', "a,b", "", "ünïcode", "x\ny", '"quoted', "042", "abc", a 64-digit string;
  5. record 9 (x 2.25, the 64-digit name) deleted before close (tomblog), so the index files carry nine entries.
  6. Files: `format3.mpack` (data), `format3.id.txt` / `format3.x.txt` / `format3.name.txt` (index lines,
  7. format 3), `format3.idxstate.json` (`idxFmt: 3`), `format3.meta.json`, `format3.tomblog`.
  8. The grammar is the comment above `formatIndexLine` in `src/IndexManager.js`. A compatible reader
  9. opens this store without a rebuild and finds: `x = 1.5` → id 0, `x` from 1.2 to 1.7 → [0],
  10. `nonFinite` on x → ids 3, 4, 5, `name = "42"` → id 0 (a string; the number 42 finds nothing),
  11. `name = "042"` → id 7, `name = ""` → id 3. A compatible writer produces byte-identical index lines
  12. for the same entries (sort order aside, see the comment).

Branches

Latest commits

  • d7b5e780|||PR Records 2026-11-24 (2): live day72, PR #19 merge, #10 newsmre
  • 43b564dbMerge branch 'records-1124b' into mainJukebox
  • fa86b08c|||PR Records 2026-11-24: LOG, STATUS, missions 020-023mre
  • 0a2ae3daMerge remote-tracking branch 'origin/records-1123' into records-1124mre
  • 9a48cfcaMerge branch 'vendor-theme' into mainJukebox
  • 170d3735Merge branch 'code-order-2' into mainJukebox
  • 3f1918a7|||PR Re-sync layouts theme 4099e64 with Segoe UI firstmre
  • 2e7f6a43Vendor virtual-list 489afcf from components.hybrielmre
  • 0ba85799Merge branch 'reset-classes' into mainJukebox
  • 502eeed5jukebox#20: vendor virtual-list initial resetKey baseline fixmre
  • 6d5ce287|||PR jukebox#9 Centralize songs table reads and writes in db.hlmre
  • dcca21abjukebox#8 Move copies and queue logic into their topicsmre
  • 3b76651cjukebox#20: update virtual-list README pin and resetKey optionsmre
  • bc09e1e8|||PR jukebox#20: reset virtual lists through resetKey (partial validation)mre
  • a3796dc5Records: live step waits for idlemre
  • 3b158e16Records: merges of #9 and #11mre
  • 27204167Merge main into records-1123mre
  • 10f8a8c8Merge branch 'code-order' into mainJukebox
  • 204fc828Merge branch 'day72' into mainJukebox
  • 8e8d0e2b|||PR Records: PROCEDURES.md, missions 016-019, GO 2026-11-23mre