Skip to main content

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.

![GitHub last commit](https://img.shields.io/github/last-commit/Cerene-Salt/Digamma-Prime-Framework)
![GitHub tag](https://img.shields.io/github/v/tag/Cerene-Salt/Digamma-Prime-Framework)
![License](https://img.shields.io/github/license/Cerene-Salt/Digamma-Prime-Framework)

![Python version](https://img.shields.io/badge/python-3.11+-blue)
![Build status](https://img.shields.io/github/actions/workflow/status/Cerene-Salt/Digamma-Prime-Framework/test.yml)

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

digamma_prime-0.1.9.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

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

digamma_prime-0.1.9-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

Details for the file digamma_prime-0.1.9.tar.gz.

File metadata

  • Download URL: digamma_prime-0.1.9.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

Hashes for digamma_prime-0.1.9.tar.gz
Algorithm Hash digest
SHA256 8c1eff8ad2b29db5b0c66a3c0b64f953c317b46e59048ebc8b42045c522b7500
MD5 bc467fa0a1f6103c348f4d50bc3ff60b
BLAKE2b-256 c2e0f43e733d5cfa642c51886426bcfe2e6114a9c133e671a1178f715fde1a82

See more details on using hashes here.

File details

Details for the file digamma_prime-0.1.9-py3-none-any.whl.

File metadata

  • Download URL: digamma_prime-0.1.9-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

Hashes for digamma_prime-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 e799cfcf9a1cc924e07799812b0038a14342051e9c2e78709ea8070ceb97745e
MD5 ded1e4c89ec26da688421026283c72fc
BLAKE2b-256 d32dcc7dc22e8e303a0b76481d3fc87252882e782e68f43861c831bdd9414705

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