Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
bc2207c
feat(guandi): historical interpretation layer — 解曰+聖意 100/100
Crystal32378 Aug 20, 2026
3fd80ec
feat(guandi): second-witness anomaly sweep — 維基文庫側 5 處怪字/誤讀標記
Crystal32378 Aug 20, 2026
55e2076
docs(guandi): 用語修正「一手抓取」→「直接抓取」(transcription witness 非一手史料)
Crystal32378 Aug 20, 2026
8109d8b
fix(hall): 紙落定即入簿——籤的身份收回一本帳(2026-09-14 審查 P0)
Crystal32378 Sep 17, 2026
4f8604b
merge: 關帝 historical interpretation layer(PR #23 資料,未改動)
claude Nov 14, 2026
a0a6977
merge: 紙落定即入籤簿(PR #32)整合進解曰摺頁之後的 main
claude Nov 14, 2026
929f0b5
feat(interp): 歷史解讀層接進三殿——關帝解曰上紙、暫緩名單、六十甲子整套暫緩
claude Nov 14, 2026
c5aa4c1
fix(interp): 觀音摺頁文案回到 PR #34 拍板原版;關帝只留一句定位
claude Nov 14, 2026
8b2162f
feat(arrival): ink pass——入廟體驗與視覺升級提案 v1(灰墨+點色、推門、殿內的骨、桌機裁切)
claude Nov 14, 2026
c7f10fd
docs: ink pass 測試數字如實
claude Nov 14, 2026
37ed527
fix(hall): 一事一籤跨殿時,原籤不再掛在別殿的聖號與版本底下
claude Nov 14, 2026
dcc04cc
Merge branch 'fable/interp-three-halls' into fable/arrival-ink
claude Nov 14, 2026
ea6ca8c
feat(arrival): 筆路 v2——有提按的筆、輕染、門檻的光、石獅與掃痕
claude Nov 14, 2026
36a5901
fix(liushijiazi): 乙未(#10)、戊午(#28)詩文依北港朝天宮官方原圖修正
claude Nov 14, 2026
f6d5878
Merge branch 'fix/liushijiazi-010-028-ocr' into fable/arrival-ink
claude Nov 14, 2026
a61746d
fix(hall): 短視窗進殿不再只剩半個聖號;硃砂柱收一階;整合福的修正測試
claude Nov 14, 2026
0f851bb
ci: production-truth 取完整歷史,讓相容性測試讀得到修正前的 commit
claude Nov 14, 2026
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
16 changes: 16 additions & 0 deletions .github/workflows/production-truth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # 乙未/戊午相容性測試要讀修正前的 commit(7ae87f6)作對照;淺層 checkout 抓不到

- uses: actions/setup-node@v4
with:
Expand All @@ -22,3 +24,17 @@ jobs:
run: |
node scripts/build-draw-pool.mjs
git diff --exit-code -- assets/oracles.draw-pool.js data/production/draw-pool.report.json

- name: Run 解曰 layer regression suite (three halls, holds, fail-closed counter-examples)
run: node scripts/test-interpretation-pool.mjs

- name: Committed 解曰 pools + holds must match a rebuild from corpus sources
run: |
node scripts/build-interpretation-pool.mjs
git diff --exit-code -- assets/interpretation-pool.guanyin.js assets/interpretation-pool.guandi.js assets/interpretation-holds.js data/production/interpretation-pool.report.json data/production/interpretation-pool.guandi.report.json

- name: Arrival mechanics contracts (incl. 紙落定即入簿)
run: node scripts/test-arrival.mjs

- name: 乙未/戊午 repair — old books, notes and bindings still restore
run: node scripts/test-liushijiazi-book-compat.mjs
84 changes: 84 additions & 0 deletions assets/interpretation-holds.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
// GENERATED by scripts/build-interpretation-pool.mjs — DO NOT EDIT BY HAND.
// What the 解曰 layer withholds, and why (reason codes only). Regenerate with the pools.
window.INTERPRETATION_HOLDS = {
"schema": "interpretation-holds/0.1",
"note": "What the 解曰 layer deliberately does NOT show, and why. Reason codes only — no withheld text ever enters this file. The page may state the reason; it may not fill the gap.",
"reason_codes": {
"unsettled_transcription": "source status UNRESOLVED/CANDIDATE (missing or undecided characters)",
"suspect_reading": "a character in the transcription is flagged as a likely misreading; not yet checked against the original image",
"irregular_form": "the transcription's form/punctuation is irregular for this edition; not yet checked against the original image",
"license_unresolved": "reuse licence of the source text is not confirmed",
"single_pass_ocr": "transcription is single-pass OCR with no human image check"
},
"corpora": {
"guanyin": {
"scope": "slip",
"edition_id": "ed-guanyin-xue2008-appendix2-image",
"content_version": "e34cea042c1748a4bcc7e1a51d1ee21e843e3b5942606715ff94688c056a0b22",
"slips": {
"12": "unsettled_transcription",
"20": "unsettled_transcription",
"35": "unsettled_transcription",
"44": "unsettled_transcription",
"65": "unsettled_transcription",
"77": "unsettled_transcription"
}
},
"guandi": {
"scope": "slip",
"edition_id": "ed-guandi-daozang-fuye-1225",
"content_version": "b69098e9cc77e40d306899f12931e12f389c423277efacb000768c358d2fe90d",
"slips": {
"5": "suspect_reading",
"6": "suspect_reading",
"10": "suspect_reading",
"11": "suspect_reading",
"12": "suspect_reading",
"25": "suspect_reading",
"31": "suspect_reading",
"33": "suspect_reading",
"36": "suspect_reading",
"38": "suspect_reading",
"46": "suspect_reading",
"47": "suspect_reading",
"52": "suspect_reading",
"56": "suspect_reading",
"58": "suspect_reading",
"66": "suspect_reading",
"67": "suspect_reading",
"68": "suspect_reading",
"69": "suspect_reading",
"71": "suspect_reading",
"73": "irregular_form",
"75": "suspect_reading",
"80": "suspect_reading",
"83": "suspect_reading",
"85": "suspect_reading",
"87": "suspect_reading",
"88": "suspect_reading",
"91": "irregular_form",
"94": "suspect_reading",
"100": "unsettled_transcription"
}
},
"liushijiazi": {
"scope": "corpus",
"reasons": [
"license_unresolved",
"single_pass_ocr"
],
"evidence": {
"license_status": "unsure",
"item_license_status": "unresolved",
"layer_status": "DRAFT",
"entries": 360,
"probable": 3,
"candidate": 349,
"unresolved": 8,
"human_image_confirmed": 0
},
"official_url": "https://www.matsu.org.tw/?act=menuinfo&ml_id=20240116002&cmd=list",
"official_name": "北港朝天宮"
}
}
};
Loading
Loading