The shared eval library of the Development Finance Observatory (DFO) and the home of its outcome suites. Component suites in other DFO repositories, such as apis and ai, depend on it by git revision. The DFO is an initiative of ONE Data, built on Google Data Commons. The organisation profile has the full map of repositories.
This repository is under active development. Interfaces, schemas, and data may change without notice.
src/dfo_evals/ The `dfo-evals` Python package
tests/ The package's test suite
The package supports Python 3.12 and later. apis runs its suites on 3.12 and ai on 3.13, and CI tests both.
dfo_evals.langfuse_sink, which pushes runs to Langfuse, needs the langfuse extra: depend on dfo-evals[langfuse].
just setup # sync dependencies and install pre-commit hooks
just check # lint, type check, and tests, as CI runs themjust lists every recipe.
The Publish eval results workflow on dev builds the report daily from the complete runs in the dev bucket. Dispatch the workflow from dev to refresh it on demand.
Open the eval results page with a Google account that has access to the bucket. The infra runbook describes how to grant access.
Issues and pull requests are welcome. See CONTRIBUTING.md.
MIT. See LICENSE.