Skip to content

[LLM] Implement seed database access layer and repositories - #13

Open
menny wants to merge 1 commit into
curated-lessons-seedfrom
seed-data-layer
Open

menny wants to merge 1 commit into
curated-lessons-seedfrom
seed-data-layer

Conversation

@menny

@menny menny commented Oct 17, 2026

Copy link
Copy Markdown
Member

Summary of Changes

  • Implemented pure-JVM SQLite repository interfaces and implementations for all 4 pre-packaged seed tables defined in docs/DATA.md:
    • DictionaryRepository (SqliteDictionaryRepository) for single lookup, batch chunked queries, lemma inflections, and prefix search.
    • FalseCognatesRepository (SqliteFalseCognatesRepository) for 4-Part Card trap lookups, batch queries, and lemma filtering.
    • CuratedLessonsRepository (SqliteCuratedLessonsRepository) for ordered retrieval by level and sequence order, plus parsing of interlinear gloss sentences.
    • CognateRulesRepository (SqliteCognateRulesRepository) for word transformer rule lookups, longest suffix matching, and examples parsing.
    • SeedDatabase for connection lifecycle management and table/index DDL creation.
  • Added comprehensive unit tests in //core/data verifying single and chunked batch queries, case insensitivity, lemma lookups, prefix searches, and JSON parsing.
  • Verified 0 errors across format, format.check, lint, and test gates.

Adds pure-JVM SQLite repository interfaces and implementations for seed.db tables (dictionary, false_cognates, curated_lessons, and cognate_rules) in //core/data, along with comprehensive unit tests for single and batch queries, ordering, and prefix lookups.
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