https://github.com/docling-project/docling-metrics
Core package for type and interface definitions of docling metric implementations
https://github.com/docling-project/docling-metrics
Last synced: 4 months ago
JSON representation
Core package for type and interface definitions of docling metric implementations
- Host: GitHub
- URL: https://github.com/docling-project/docling-metrics
- Owner: docling-project
- License: mit
- Created: 2026-01-23T12:21:54.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2026-02-12T17:45:16.000Z (4 months ago)
- Last Synced: 2026-02-12T22:10:47.370Z (4 months ago)
- Language: C++
- Homepage:
- Size: 605 KB
- Stars: 3
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: .github/SECURITY.md
- Maintainers: MAINTAINERS.md
Awesome Lists containing this project
README
# docling-metrics
Monorepo for Docling metric packages — types, evaluators, and scoring utilities for document processing evaluation.
## Packages
| Package | Description |
|---------|-------------|
| [docling-metrics-core](packages/docling-metrics-core/) | Base metric types and abstract interfaces |
## Development
This repository uses [uv workspaces](https://docs.astral.sh/uv/concepts/workspaces/). All packages are developed in a single virtual environment with compatible dependencies.
```bash
# 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-files
```
Changes to any workspace package are immediately available to all other packages in the same environment — no reinstall needed.
## Adding a New Package
1. Create `packages//` with a `pyproject.toml`, source directory, and `tests/`
2. If it depends on another workspace package, add it to `[project] dependencies` and declare `[tool.uv.sources]`:
```toml
[project]
dependencies = ["docling-metrics-core"]
[tool.uv.sources]
docling-metrics-core = { workspace = true }
```
3. Run `uv sync` to regenerate the lock file
## License
MIT