Metadata-Version: 2.4
Name: exergynet-gbench
Version: 0.2.1
Summary: Google DeepMind gBench compatibility adapter, persistent-state efficiency plugin, and EPIES-001-v1.1-RC1 evaluation & verification toolkit for ExergyNet.
Author-email: EDT INC <ai@exergynet.org>
License-Expression: Apache-2.0
Project-URL: Homepage, https://exergynet.org
Project-URL: Repository, https://github.com/ezumba/exergynet-gbench
Project-URL: Documentation, https://exergynet.org/epies-001-onboarding.html
Project-URL: Research, https://github.com/ezumba/exergynet-research/tree/main/standards/EPIES-001
Project-URL: DOI, https://doi.org/10.5281/zenodo.24763046
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
License-File: NOTICE
Requires-Dist: httpx<1.0,>=0.27.0
Requires-Dist: exergynet>=0.1.0
Requires-Dist: jsonschema<5.0,>=4.23.0
Requires-Dist: scipy>=1.13.0
Requires-Dist: tiktoken>=0.8.0
Provides-Extra: gbench
Requires-Dist: gbench>=0.5.0; extra == "gbench"
Provides-Extra: dev
Requires-Dist: pytest>=8.0; extra == "dev"
Requires-Dist: ruff>=0.6; extra == "dev"
Requires-Dist: build>=1.0; extra == "dev"
Requires-Dist: twine>=5.0; extra == "dev"
Dynamic: license-file

# exergynet-gbench

Official Google DeepMind `gbench` compatibility adapter, persistent-state efficiency evaluation plugin, and **`EPIES-001-v1.1-RC1`** evidence verification & benchmark workflow CLI for ExergyNet. Published by **EDT INC** (`ai@exergynet.org`).

## Installation

```bash
pip install exergynet-gbench==0.2.1
# Optional gBench runtime extra:
pip install "exergynet-gbench[gbench]==0.2.1"
```

## EPIES-001-v1.1-RC1 Developer Workflow (`exergynet-epies`)

Verify submission bundles, independently reconstruct metrics from raw per-question JSONLs, generate certification reports, and run bounded evaluations directly from the CLI:

```bash
# Verify an E3 positive-control submission bundle
exergynet-epies verify ./xlmp_rc_v2_gemini38_n500 --min-level E3 --json

# Reconstruct metrics, latencies, and separated lifecycle costs
exergynet-epies reconstruct ./xlmp_rc_v2_gemini38_n500 --output reconstructed.json

# Generate human-readable or machine-readable EPIES certification report
exergynet-epies report ./xlmp_rc_v2_gemini38_n500 --format text

# Run a bounded offline persistent-state evaluation and emit a verified EPIES bundle (< 15s, $0.00)
exergynet-epies eval-demo --out /tmp/my_epies_demo --architecture my-memory-arch
```

## Python API

```python
from exergynet_gbench import (
    evaluate_memory_architecture,
    validate_bundle,
    reconstruct_metrics,
    format_certification_report,
)

result = evaluate_memory_architecture(
    arm_id="my-custom-retriever",
    out_dir="/tmp/my_bundle",
    retriever_fn=lambda ctx, q: ctx,
)
print(format_certification_report(result["verification"]))
```

## gBench Compatibility Adapter (`exergynet-gbench-adapter`)

```bash
export EXERGYNET_API_KEY="<your-portal-api-key>"
exergynet-gbench-adapter --mode exergynet_governed --port 8091
```

## Verified Research & Standards Links

- **Permanent Zenodo Archive (DOI):** https://doi.org/10.5281/zenodo.24763046 (Concept DOI: `10.5281/zenodo.24763045`)
- **EPIES-001-v1.1-RC1 Standard & Validator:** https://github.com/ezumba/exergynet-research/tree/main/standards/EPIES-001
- **Independent E4 Reproduction Invitation:** https://github.com/ezumba/exergynet-research/blob/main/standards/EPIES-001/E4_INDEPENDENT_REPRODUCTION_INVITATION.md
- **EDT-BENCH-005-PIQ Competitive Report & Leaderboards:** https://exergynet.org/research-edt-bench-005-piq.html
- **Developer Onboarding Guide:** https://exergynet.org/epies-001-onboarding.html
- **Hugging Face Dataset:** https://huggingface.co/datasets/exergynet/ExergyNet-EPIES-001-EDT-BENCH-005-PIQ
- **Evidence Explorer Space:** https://huggingface.co/spaces/exergynet/ExergyNet-Evidence-Explorer
- **EDT-BENCH-003-GBENCH (DOI 10.5281/zenodo.24685204):** https://exergynet.org/research-edt-bench-003.html

*License: Apache-2.0. Neither Google DeepMind nor Hugging Face endorsed or audited these results.*
