llm-behavioral-eval
Spec-agnostic LLM evaluation engine. Measures how well any LLM follows behavioral specifications (AGENTS.md, CLAUDE.md, .cursorrules, etc.).
Quick Start
pip install llm-behavioral-eval
# Evaluate any spec directory
behavioral-eval --spec ./my-project --suite core_principles --count 20 --real-llm
# Full evaluation with LLM judge
behavioral-eval --spec ./dann-specs/project --suite all --real-llm --judge-provider deepseek
# Heuristic mode (no API cost for judge)
behavioral-eval --spec ./dann-specs/project --suite all --real-llm --no-judge
# A/B comparison between two models
behavioral-eval --spec ./dann-specs/project --arena llama-home ollama-home --count 30 --real-llm
Features
- 5 test suites: core_principles, rubric_dimensions, roles, variants, concrete
- LLM Judge: external LLM scores responses per-dimension (1-5) with justifications
- Concrete verification: executable coding tasks with real assertion testing
- Consistency:
--repetitions Nmeasures model stability - A/B Arena: compare two models head-to-head with statistical significance
- Heatmaps: per-dimension score breakdowns
- Spec-agnostic: evaluates any behavioral specification directory
License
GPL-3.0-only. See LICENSE.
Metadata
Release files for llm-behavioral-eval 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| llm_behavioral_eval-1.0.1.tar.gz | 31.1 kB | Without provenance | Details for llm_behavioral_eval-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| llm_behavioral_eval-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for llm_behavioral_eval-1.0.1-py3-none-any.whl |
Total release size: 68.6 kB
Release files / llm_behavioral_eval-1.0.1.tar.gz
| Download URL | llm_behavioral_eval-1.0.1.tar.gz |
|---|---|
| Size | 31.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ea2e77be52fb10b51946c0885e61e64e183631387cfd8c9784d236bb542ccbc3
|
|
BLAKE2b-256 checksum How to use checksums |
1c56c294105e60dbef593a5cf1c43aeb3ae7a5f119d8d074cd14ca05cec219c6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Release files / llm_behavioral_eval-1.0.1-py3-none-any.whl
| Download URL | llm_behavioral_eval-1.0.1-py3-none-any.whl |
|---|---|
| Size | 37.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
de486ab9d1025b61f92df099f2ec0cc2da72468f2ca4a4e3b3815fff84684b96
|
|
BLAKE2b-256 checksum How to use checksums |
231fe77bbb7263ffe816982925c130cf3b380023d8812e359c218bdb3c1ffa1f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Security for llm-behavioral-eval 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.