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.8.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.8-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: digamma_prime-0.1.8.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.8.tar.gz
Algorithm Hash digest
SHA256 651f6187ccc8c45b9fe67bdd58003544fa0231b848fd065ade75c578d93c2347
MD5 fbd7b63702ecd6263dcefb7b2afbe7b4
BLAKE2b-256 d50c47fe46144e6e3a30ec503d96f3537ff6f6877696fd0f26853fb9f5b266a5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: digamma_prime-0.1.8-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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 9f3f7587090d3b1b257b52646aca5bc994b3658b2df1722d48c1cfa7c05c85a9
MD5 74077b27f7ec5378057c423ab967f8cf
BLAKE2b-256 3b493f824bf2e1be3c5c39c1d67fb0052d74cbb8a3b66fa7c110b445df1893ee

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