Monorepo for Docling metric packages — types, evaluators, and scoring utilities for document processing evaluation.
| Package | Description |
|---|---|
| docling-metrics-core | Base metric types and abstract interfaces |
This repository uses uv workspaces. All packages are developed in a single virtual environment with compatible dependencies.
# Install uv
curl -LsSf https://astral.sh/uv/install.sh | sh
# Install all packages (editable) + dev tools
uv sync
# Run tests for a specific package
uv run pytest packages/docling-metrics-core/tests
# Run all tests
uv run pytest packages/*/tests
# Run linting and formatting
pre-commit run --all-filesChanges to any workspace package are immediately available to all other packages in the same environment — no reinstall needed.
- Create
packages/<package-name>/with apyproject.toml, source directory, andtests/ - If it depends on another workspace package, add it to
[project] dependenciesand declare[tool.uv.sources]:[project] dependencies = ["docling-metrics-core"] [tool.uv.sources] docling-metrics-core = { workspace = true }
- Run
uv syncto regenerate the lock file
MIT