Read further · read 53.7% · key from adjacent plaintext · partial

The VOC number cipher of Batavia, 1623–1643

Four letters of the Governor-General and Council at Batavia to the Heren XVII (Nationaal Archief, VOC 1.04.02) hide cargoes, ships and plans in a homophonic number cipher, and in 1640 and 1643 also in a second, mixed letter-and-number cipher. The number key was rebuilt from the glosses of the 1634 letter, frozen, and tested on a postscript of 1640 and a letter of 1643 (81.82% and 68.60% on the first pass; 0 of 5,000 shuffles reach them). Read in part: 73 of 136 cipher words are sure; nearly all words of the second system rest on contemporary glosses only. The 1643 passage on the voyage to Tartary was printed with its meaning by Leupe in 1858. Contributed by Malcolm McBratney, with AI agents; the checks were done with AI tools and no person checked each record by hand.

Date
1623–1643
Read now
53.7% of the cipher tokens give sense
Write-up
vocbatavia.html
Files
targets/vocbatavia
Open gaps
code groups open ×4

Hand this page to your AI agent

Give your agent (Claude, ChatGPT or any assistant that can open web pages) this address and ask it to do the task on the page:

https://dbourdeau.github.io/cyphersolver/further/vocbatavia.html

Or copy the block below into the chat. It is the whole task: the reading, every open gap, what has been tried, the steps, and how to report back.

TASK: take a partial decipherment further: The VOC number cipher of Batavia, 1623–1643
This page: https://dbourdeau.github.io/cyphersolver/further/vocbatavia.html

You are helping a public research project finish reading historical cipher letters. This one is read in part:
the key works, but some pieces are still open. Your job is to close one or more of the open gaps below.

THE READING
  Write-up:   https://dbourdeau.github.io/cyphersolver/vocbatavia.html (read it first: how the text was read, the key, the reading)
  Date:       1623–1643
  Outcome:    key from adjacent plaintext · partial
  Read now:   53.7% of the deciphered cipher tokens give sense (pieces below may be untouched)
  Files:      https://github.com/dbourdeau/cyphersolver/tree/main/targets/vocbatavia (NOTES.md, key, transcription, reading, scripts)

OPEN GAPS (from NOTES.md, "## Remaining gaps")
  1. [open-codes: doable now] 1623 letter: read, 53 of 54 cipher words; the one hole is kolden read konden (26 = l taken as a slip); the first pass (59.26%) is key-test evidence only; 13 numbers set from context after the first pass - blocker: open-codes; Reading exists in the 1079 margins; values set post hoc in SECOND_PASS_values.tsv.
  2. [open-codes: doable now] 1640 postscript: 16 letter-cipher (system B) words (13 in the v1 transcription + 'k bd. p.' in v2, see emendations made) - blocker: open-codes; LC_KEY_v1 test failed (5/13); the 617 interlinear gloss is only partly legible at the NA image resolution.
  3. [open-codes: doable now] 1643 letter: 27 of 86 number groups uncovered - blocker: open-codes; 12 are isolated system-B signs the frozen rule cannot score; run 905.3 is system B ('eylanden' in the gloss).
  4. [open-codes: doable now] System B key (KEY_B_v1) - blocker: open-codes; Built from glosses only; no held-out unglossed B passage scored yet.

ALREADY TRIED (from NOTES.md, "## Escalation")
  [x] siblings: the 1623, 1634, 1640 and 1643 letters of the same series worked; leaves next to the cipher opened (inv. 1134 scans 570-617; inv. 1141 scans 886-908); DECODE has only record 1564 (1674, other system). The 7 Mar 1643 letter (inv. 1141 near scan 876) was found as a glossed copy only and not transcribed (key evidence, not part of these four texts).
  [x] clear-pages: the glossed copies (1079 margins, 1108 glosses, 1134 scans 605 and 617, 1141 scans 886 and 890) checked as the decipherment, each after its score.
  [x] known-keys: KEY_v2 tried on 1640 and 1643; LC_KEY_v1 on the 1640 letter words; Ramanacoil 1674 key is graphic signs, not comparable (DECODE login needed for a direct look).
  [x] print: Leupe 1858 (1643 passage printed with explanation, found 27 Nov), Coolhaas Generale Missiven I-II (full text), Dagh-Register 1640-41 and 1643-44 (archive.org OCR), Coen Bescheiden VII, HistoCrypt papers, web searches for Tomokiyo and Lasry; HathiTrust/Google Books phrases left on Malcolm's sheet.
  [x] key-rebuild: 27 Nov 2026, dictionary/LM-context extension of KEY_B_v1 (scripts/retry_b.py, letters/RETRY_B_2026-11-27.txt): for each B word with unknown signs, Dutch words that fit the known letters (repository nl lexicon plus the words read in this target). No new value is supported by two or more words, so none is adopted; KEY_B_v1 unchanged. Annealing or EM was not run: 47 B words in all, 15 with unknown signs, too few to constrain a key with no held-out text.
  [x] retry: 27 Nov 2026, all 47 system-B words (1640 postscript 16, 1643 letter 31) decoded with the frozen KEY_B_v1 (letters/RETRY_B_2026-11-27.txt): 32 fully valued. The 1643 words give the copy-1 glosses back (tartarien, iapan, oosten, natien, chinees, drie, acht ...), but KEY_B_v1 was built from those glosses, so they are not a test. In the 1640 postscript tpbk = over (its own gloss) and grbk = daer; Gmroodt, lrdgenlm, bpbkdbsbd, Zrpmb, qbbm/qbhm, boode stay unread. Regraded: no hole changes under the house rule (B words rest on glosses; the B key has no held-out test). Figures of record and house count unchanged.

STEPS
0. Set up. If you can run a shell, fork and clone the repository and work inside it:
     git clone https://github.com/dbourdeau/cyphersolver.git
   Then read, in this order: CONTRIBUTING.md (how a contribution is sent and credited); README.md, sections
   "Repository layout" and "Conventions" (how readings are measured and named); targets/vocbatavia/NOTES.md in full, and the
   key, transcription and reading files it names; lang/README.md (shared language models).
   Work in targets/vocbatavia/. Add your findings to NOTES.md under a dated heading without rewriting what is there, and
   update the "## Remaining gaps" line of every gap you close. Keep WORKLOG.md there: one dated line per step
   (hypothesis, value tried, solver run, crib, control), failures included. Do not edit docs/ (the site is generated).
   If you cannot run a shell, fetch the files from the links above and keep your work in files you send with the issue.
1. Pick a gap. Start with the ones marked "doable now" (open-codes, not-attempted, left-open): the images and the key
   are online, so they need only work. A gap marked "needs a new source" (no-key-material, too-short, illegible,
   needs-physical-access) can be closed only by something new: a key
   or a deciphered sibling found elsewhere, a better image, a printed edition or calendar, a photograph from the archive.
   For those, search for that material first, and say where you looked even when you find nothing.
2. Start from the existing key and transcription in the folder. Do not rebuild the key from scratch, and do not
   re-read parts that are already read unless you find an error in them.
3. For a code group or sign value: list every place the group occurs, show how each reads with the value you propose,
   and say what still does not fit. For a passage: re-read it at the image and give the folio and line. For a missing
   letter or leaf: say where it is held and how it can be reached.
4. Measure again. Apply the key to the whole text, write the reading file, and count the share of cipher tokens that
   give sense (not an estimate). The reading is "complete" only when (1) at least 95% of its cipher tokens give sense;
   (2) no gap is left untried; (3) every letter in it is covered; (4) what stays open is scattered code groups or names,
   or pieces blocked from outside. Otherwise it stays "partial": say which gaps are still open and why.
5. Be honest. Mark every uncertain word with [?], leave unread groups as their numbers or signs, and never fill a gap
   with a plausible guess. A gap retried and still open, with what was ruled out, is worth reporting.

REPORT BACK
With a clone: open a pull request with your changes to targets/vocbatavia/. Say in the description which gaps you worked on,
  the share read before and after, and how you want to be credited (name, initials or handle, and a link).
Without one: open an issue: https://github.com/dbourdeau/cyphersolver/issues/new?template=further-reading.yml&title=Further+reading%3A+vocbatavia&page=vocbatavia.html
  Give the write-up, the gap you worked on (its line in Remaining gaps, or the code group, folio and line), what you
  propose, the evidence (every occurrence, the images or sources), the share read before and after, your step log,
  and the tools and AI model you used.
If you cannot open issues or pull requests, write this report for your human to send. Credit goes to the person who sends it.

Open gaps

gold can be done now: the images and the key are online, it needs only work. grey needs a new source first: a key, a better scan, an edition or the archive.

Already tried

Send a result

One closed gap counts: a code group valued, a passage re-read, a key or clear copy found elsewhere. It is credited to you on the write-up.

Open a further-reading issueOther kinds of reportHow credit works← All partial readings