Skip to content

feat(okf-ingest): add OKF v0.2 ingestion package, license indexing, and LLM-as-a-judge QA - #66

Merged
crapougnax merged 20 commits into
developfrom
feat/okf-ingest-package
Oct 12, 2026
Merged

crapougnax merged 20 commits into
developfrom
feat/okf-ingest-package

Conversation

@crapougnax

Copy link
Copy Markdown
Collaborator

Summary

This PR introduces the new @quatrain/okf-ingest and @quatrain/okf-ingest-catalog packages, bringing comprehensive OKF v0.2 structured ingestion, multimodal diagram transcription, encyclopedic monograph decomposition, and automated quality grading.

Key Capabilities

  • OKF v0.2 Document Ingestion: Multilingual abstracts, keywords, taxonomy profiling, token/cost tracking.
  • Open Science & License Indexing: Formal support for SPDX license identifiers (license:) and copyright provenance.
  • Encyclopedic Monograph Decomposition: Slices massive volumes and multi-chapter works into indexed chapter trees with parent lineage.
  • LLM-as-a-Judge QA Evaluator: Multi-judge consensus evaluation engine (OkfEntryEvaluator) verifying factual groundedness and academic grading.
  • OpenAI & LM Studio Adapters: Enriched @quatrain/ai-openai with local LM Studio presets and token usage capture.

Testing

  • 52 passing tests across okf-ingest, okf-ingest-catalog, and ai-openai.
  • All monorepo packages compiled cleanly via Turbo.

…2, multimodal vision, and token cost tracking
@codacy-production

codacy-production Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

Not up to standards ⛔

🔴 Issues 24 high

Alerts:
⚠ 24 issues (≤ 0 issues of at least minor severity)

Results:
24 new issues

Category Results
Security 24 high

View in Codacy

🟢 Metrics 509 complexity · 38 duplication

Metric Results
Complexity 509
Duplication 38

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@sonarqubecloud

Copy link
Copy Markdown

@crapougnax
crapougnax merged commit feafe7c into develop Oct 12, 2026
3 of 4 checks passed
@crapougnax
crapougnax deleted the feat/okf-ingest-package branch October 12, 2026 12:50
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