Metadata-Version: 2.4
Name: exergynet-gbench
Version: 0.1.0
Summary: Google DeepMind gBench compatibility adapter and persistent-state efficiency plugin 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://portal.exergynet.org/docs
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
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`

Google DeepMind `gbench` integration adapter and general-purpose **Persistent State Computational Efficiency** evaluation plugin for ExergyNet.

Licensed under Apache-2.0. Maintained by EDT INC (`ai@exergynet.org`).

## Installation

```bash
pip install exergynet-gbench
```

## Components
1. **`exergynet_gbench.adapter`**: Lightweight HTTP compatibility shim exposing OpenAI-compatible `/v1/models` and `/v1/chat/completions` for `gbench --remote-endpoint`, forwarding cleanly to ExergyNet Portal (`portal.exergynet.org`) and optionally mediating persistent state via `/api/xlmp/ingest` + `/api/xlmp/zk-query`.
2. **`exergynet_gbench.plugins.persistent_state_efficiency`**: A `gbench`-native evaluation plugin (`--eval-plugins-dir`) measuring multi-session persistent-state recall accuracy and prompt-token efficiency on synthetic session corpora.
3. **`exergynet_gbench.compare`**: Statistical paired comparison (`McNemar` test, token delta, P50/P95 latency) between Configuration A (conventional full-context) and Configuration B (ExergyNet governed context), without fabricating unmeasured energy claims.

Maintained by **EDT INC** (`ai@exergynet.org`).
