You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Parse a free-form scripture reference into a canonical (tradition, work, ref) tuple. Must handle the variants from plan.md §8.1.
Includes the full test suite — not split out — because the resolver is only
trustworthy if its tests cover the matrix.
Acceptance criteria
Parses Bible: John 3:16, Jn 3:16, 1 John 3:16, 约翰福音 3:16, 约翰一书 3:16
Parses Tao Te Ching: dao 11, daodejing chapter 11, 道德经 11, 道德经第十一章
Parses Heart Sutra: sutra heart, 心经, 般若波罗蜜多心经
Parses Quran: Quran 2:255, 2:255, Surah Al-Baqarah 255
Area: foundation Depends on: #1
What
Parse a free-form scripture reference into a canonical
(tradition, work, ref)tuple. Must handle the variants fromplan.md§8.1.Includes the full test suite — not split out — because the resolver is only
trustworthy if its tests cover the matrix.
Acceptance criteria
John 3:16,Jn 3:16,1 John 3:16,约翰福音 3:16,约翰一书 3:16dao 11,daodejing chapter 11,道德经 11,道德经第十一章sutra heart,心经,般若波罗蜜多心经Quran 2:255,2:255,Surah Al-Baqarah 255Reference{Tradition, Work, Book?, Chapter, VerseStart, VerseEnd?}3:16with no tradition context) returns a typed error listing candidatesNotes
This is the hardest "small" module in the project. Don't over-engineer with
NLP — a per-tradition lookup table of aliases is enough.