Skip to main content

Deterministic evaluation suite for LLMs

Project description

dqnEval

Deterministic, fully scriptable evaluation for LLMs. No LLM-based judging.

Features

  • 250 question suite across instruction fidelity, programming, reasoning, context awareness, common sense, language & grammar, and tool calling
  • OpenAI-compatible Chat Completions API support (local or hosted)
  • JSON and Markdown reports
  • Reproducible, code-driven scoring
  • Suite validation and category descriptions

Quickstart

python -m venv .venv
source .venv/bin/activate
pip install -e .

dqneval list
dqneval describe
dqneval validate

dqneval run \
  --model gpt-4o-mini \
  --base-url https://api.openai.com/v1 \
  --api-key $OPENAI_API_KEY \
  --out-dir results

CLI

dqneval list

dqneval run --model MODEL --base-url URL --api-key KEY
  [--categories instruction_fidelity,programming]
  [--max-questions 100]
  [--out-dir results]
  [--format json,md]
  [--shuffle]
  [--seed 123]
  [--verbose]
  [--temperature 0]
  [--max-tokens 512]
  [--max-retries 2]
  [--request-delay 0.5]
  [--question-retries 2]
  [--retry-backoff 5]
  [--retry-max-delay 60]
  [--continue-on-error]
  [--api-key-header Authorization]
  [--api-key-prefix Bearer]

Environment defaults:
- OPENAI_BASE_URL
- OPENAI_API_KEY

Notes

  • Prompts enforce JSON-only responses for deterministic parsing.
  • Coding tasks run in a time-limited subprocess with tests.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dqneval-0.1.0rc1.tar.gz (25.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dqneval-0.1.0rc1-py3-none-any.whl (27.1 kB view details)

Uploaded Python 3

File details

Details for the file dqneval-0.1.0rc1.tar.gz.

File metadata

  • Download URL: dqneval-0.1.0rc1.tar.gz
  • Upload date:
  • Size: 25.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for dqneval-0.1.0rc1.tar.gz
Algorithm Hash digest
SHA256 f743175b78e2919b91645e9c5e17e91288d1fa0a07ec10fd46a0aae4ef48b5a4
MD5 0f078fa8bc1db5b6b7974b0d950c9e82
BLAKE2b-256 869da0085d66e6254990df0b29d10a688507757e0e04468c2e9c7818bb2c2999

See more details on using hashes here.

File details

Details for the file dqneval-0.1.0rc1-py3-none-any.whl.

File metadata

  • Download URL: dqneval-0.1.0rc1-py3-none-any.whl
  • Upload date:
  • Size: 27.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for dqneval-0.1.0rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 b351ab8db30f8fa412a28d03e53f3e7ebfe4a70cad517afbd9be71319a877670
MD5 e1aaf5261da1de15b8ab71ae85b34856
BLAKE2b-256 2f17329e096b817602304957372a2e001de886c77acc1cd966b9db079ec28c1c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page