Symbolic audit engine for divergence detection and structural analysis
Project description
Digamma Prime (digamma-ep)
Sistema simbólico para auditoria de modelos com métricas de divergência estrutural, temporal e algébrica.
Symbolic audit framework for comparing models, tracking divergence, and teaching algebraic structure.
📦 Instalação / Installation
pip install digamma-ep
#Basic Usage
from epe_maria import phi, delta_phi, phi_star
f = lambda x: x**2 + 2*x + 1
g = lambda x: x**2 + x + 1
print(phi(f, g)) # Divergência estrutural
print(delta_phi(f, g)) # Divergência de taxa
print(phi_star(f, g)) # Métrica de fusão
#Tests
pytest test_benchmark.py
pytest test_monitor.py
#Documentation
See examples and explanations in docs/ep_documentacao
#About
Created by Cerene Rúbio
License: MIT
# 🔮 Digamma Prime — Symbolic Model Auditing Framework
Digamma Prime is a symbolic framework for comparing machine learning models by their **behavior**, not just their outputs.
It introduces interpretable metrics like:
- **φ** — structural divergence
- **Δφ** — rate divergence
- **φ*** — fusion metric
- **drift** — directional bias
- **curvature** — shape sensitivity
---
## 🚀 Features
- Symbolic comparison of models
- CLI for drift detection and audits
- Visual modules for φ and Δφ
- Tutorials and case studies
- Ready for CI/CD and dashboards
---
## 📚 Documentation
See the full docs in the `docs/` folder or at [GitHub Pages link once published].
---
## 🧪 Quickstart
```python
from epe_maria import phi, delta_phi
phi_val = phi(model_a.predict(X), model_b.predict(X))
🤝 Contributing
We welcome contributions in tutorials, metrics, automation, and visualizations. See docs/roadmap.md and docs/style_guide.md to get started.
🧠 Vision
Digamma Prime aims to become a universal symbolic standard for model auditing, drift detection, and interpretability.





Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
digamma_ep-0.1.7.tar.gz
(7.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file digamma_ep-0.1.7.tar.gz.
File metadata
- Download URL: digamma_ep-0.1.7.tar.gz
- Upload date:
- Size: 7.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
53f0191f7dfa043c75b54c2c80490087edb172a9835343aeae67fc398a80cd86
|
|
| MD5 |
14fef7a81a791226960896dc6dd7400a
|
|
| BLAKE2b-256 |
39f4bff5cf2777da0d751eb686291bea8855533ce1338ba468e4550c77bf213b
|
File details
Details for the file digamma_ep-0.1.7-py3-none-any.whl.
File metadata
- Download URL: digamma_ep-0.1.7-py3-none-any.whl
- Upload date:
- Size: 9.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
de01257598cad586da690df4893ecf092e9ba880d84ed033383f5aca053a6fa7
|
|
| MD5 |
79bef42d5bfb2980e3f7d5be4fcc7abb
|
|
| BLAKE2b-256 |
159207a8ac25f997bdcc27ac7ee59a0c970731bffd58ec66884e27c501936800
|