GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - docsgraph/docsgraph-eval: Independent benchmark and testing suite for OCR, extraction, retrieval, evidence attribution, graph generation, permissions, synchronization, and offline consistency.

BranchesTags
Open more actions menu

Latest commit

 

History

4 Commits
4 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
fixtures
fixtures
 
 
src/docsgraph_eval
src/docsgraph_eval
 
 
tests
tests
 
 
.editorconfig
.editorconfig
 
 
.gitignore
.gitignore
 
 
.pre-commit-config.yaml
.pre-commit-config.yaml
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
pyproject.toml
pyproject.toml
 
 
uv.lock
uv.lock
 
 

Repository files navigation

docsgraph-eval

Independent benchmark and testing suite for OCR, extraction, retrieval, evidence attribution, graph generation, permissions, synchronization, and offline consistency.

docsgraph-eval is the quality-assurance layer for docsgraph, a local-first document/contract management platform built from docsgraph (the client) and docsgraph-server (the self-hostable backend). This repo independently benchmarks whether those two actually work correctly.

Development setup

This project uses uv for packaging, ruff for linting and formatting, mypy (strict mode) for typing, and pytest for tests.

uv sync --all-extras --locked
uv run ruff check .
uv run ruff format --check .
uv run mypy src tests
uv run pytest

Install the git hooks with pre-commit so these checks run automatically before each commit:

uv run pre-commit install

CLI

uv run docsgraph-eval --help
uv run docsgraph-eval run ocr
uv run docsgraph-eval run all

Benchmark areas

  • ocr — OCR accuracy against ground-truth transcriptions (character/word error rate).
  • extraction — structured field/clause extraction quality.
  • retrieval — search/retrieval quality (precision/recall, ranking metrics).
  • evidence_attribution — whether answers correctly cite the source passage they came from.
  • graph_generation — quality of the generated knowledge graph (entity/relation correctness).
  • permissions — whether permission/access-control decisions match expected outcomes.
  • sync — whether the sync protocol converges correctly across simulated clients.
  • offline_consistency — whether data stays consistent across offline/online transitions and reconnects.

Each area lives in src/docsgraph_eval/<area>/ as a skeleton: a BenchmarkCase type (shared, defined in src/docsgraph_eval/core.py) and a run() stub that will grow into the real benchmark implementation. Sample documents and golden answers will live in fixtures/<area>/.

Status

Early scaffold. Benchmark logic is not implemented yet — run() in each area currently raises NotImplementedError.

License

MIT — see LICENSE.

About

Independent benchmark and testing suite for OCR, extraction, retrieval, evidence attribution, graph generation, permissions, synchronization, and offline consistency.

Resources

Readme
MIT license

Contributing

Contributing
Activity
Custom properties

Stars

0 stars

Watchers

0 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.