Skip to content

feat(data): classical I Ching texts + release v8.1.0 - #32

Merged
sapuyou45-bit merged 1 commit into
mainfrom
feat/iching-texts
Aug 12, 2026
Merged

sapuyou45-bit merged 1 commit into
mainfrom
feat/iching-texts

Conversation

@sapuyou45-bit

Copy link
Copy Markdown
Owner

Part 2 of the data layer (part 1 = #31: tarot meanings + bazi timezone). Completes 'the model interprets data, not memory'.

What

  • Classical Zhou Yi texts (卦辭/爻辭, public domain via Chinese Wikisource) embedded for all 64 hexagrams, keyed by binary string
  • primary_hexagram.texts / resulting_hexagram.texts: judgment + line labels + line texts + source
  • changing_line_texts: the moving lines actually read, with 初九/九二… labels
  • Schema updated ($defs.hexagram.texts + top-level changing_line_texts), packaged copy synced

Provenance decision

Wilhelm-Bayes (the popular English translation) is still under copyright — deliberately avoided. Classical Chinese text is public domain; open-iching's JSON was evaluated and rejected after spotting transcription errors (见龙再在田); Wikisource parsed per-hexagram instead, with format-variant handling (名 glued to text, comma separators) and two hand-verified patches (習坎/恆).

Tests

96 tests + 35 subtests pass, incl. anchored 困之節 contract test.

- Zhou Yi judgment + line texts (public domain, Chinese Wikisource)
  embedded per hexagram, keyed by binary; primary/resulting hexagrams
  carry texts; changing_line_texts convenience array
- provenance note: Wilhelm-Bayes avoided (copyright)
- schema (.hexagram.texts + changing_line_texts) + packaged copy
- contract test: 困之節 anchored case
- bump 8.1.0 (tarot meanings + bazi timezone landed in #31)
@sapuyou45-bit
sapuyou45-bit merged commit 01fe5ca into main Aug 12, 2026
8 of 9 checks passed
@sapuyou45-bit
sapuyou45-bit deleted the feat/iching-texts branch August 12, 2026 20:10
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