UIengF opened a new pull request, #372: URL: https://github.com/apache/hugegraph-ai/pull/372
## Overview Add an experimental, domain-neutral extraction runtime for already-normalized text chunks. Domain implementations provide extraction and quality rules; the runtime coordinates validation, review, repair, and final decisions. It supports both single-chunk execution and bounded concurrent batches. ## Main capabilities - A complete extract, schema validation, identity validation, review, repair, and final-gate lifecycle. - Immutable graph revisions, independent review/repair budgets, and final, candidate, blocked, or failed outcomes bound to the corresponding graph. - Concurrent chunks with independent Bundle/Provider state and input-ordered results. - Provider request contracts, capability adaptation records, and deterministic replay. - Semantic manifests, layered fingerprints, execution traces, diagnostics, and structured result artifacts. - An inventory-domain example, contract tests, architecture documentation, and a runnable replay example. ## Integration boundary The runtime is an experimental Python API within `hugegraph-llm`, targeting Python 3.10 and 3.11. Existing extraction routes and production callers retain their current behavior. Live model transports, document preparation, persistence, cross-chunk merging, and graph publication remain application integration work. The versioned interfaces are experimental rather than a stable public API commitment. ## Verification - LLM unit/contract selection on Python 3.11: **453 passed, 3 skipped, 15 deselected**; coverage **56.55%**, above the existing 34% threshold. - Focused runtime suite: **72 passed**; covers repairs, terminal outcomes, provider replay, concurrent state isolation, input ordering, and production-call separation. - Python 3.10 unit/contract verification: **453 passed, 3 skipped, 15 deselected** in the implementation verification run. - Runtime and test files: Ruff lint and formatting passed; runtime type checks targeting Python 3.10 passed. - The documented concurrent replay example produced `BOLT final` and `NUT final` without model credentials or a running HugeGraph server. The full-repository Ruff checks have existing findings outside the runtime changes. Changed Python files pass their scoped checks. Live-model quality and external-service integration were not tested as part of this prototype. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
