dataxid-syntheval
Synthetic data quality evaluation — compare original and synthetic datasets with interactive HTML reports.
Quickstart
import polars as pl
from dataxid_syntheval import SynthEval
original = pl.read_csv("original.csv")
synthetic = pl.read_csv("synthetic.csv")
se = SynthEval(original=original, synthetic=synthetic)
se.to_html("report.html")
Programmatic access:
diffs = se.diff
diffs["column_diffs"] # per-column stat deltas
diffs["alert_diff"] # new / resolved alerts
diffs["distribution_overlays"] # histogram & frequency overlays
diffs["correlation_diffs"] # correlation matrix differences
Quality Scores
Compute fidelity and privacy metrics with a holdout dataset:
import polars as pl
from dataxid_syntheval import SynthEval
original = pl.read_csv("train.csv")
synthetic = pl.read_csv("synthetic.csv")
holdout = pl.read_csv("holdout.csv")
se = SynthEval(original=original, synthetic=synthetic, holdout=holdout)
scores = se.scores
scores.fidelity # overall fidelity (%)
scores.fidelity_detail.univariate # univariate accuracy (%)
scores.fidelity_detail.bivariate # bivariate accuracy (%)
scores.fidelity_detail.per_column # per-column breakdown
scores.privacy.dcr_share # DCR share
scores.privacy.ims_training # identical match share
scores.privacy.nndr_ratio # NNDR ratio
scores.privacy.assessments # descriptive text assessments
Privacy metrics require a holdout dataset. Without holdout, se.scores.privacy is None.
Features
- Column-level stat comparison — mean, std, median, min/max, missing %, distinct count and more
- Alert change detection — new and resolved data quality alerts between profiles
- Distribution overlays — proportion-based histograms and categorical frequency charts for fair comparison across different dataset sizes
- Correlation matrix diffs — Pearson, Spearman, Kendall, Cramér's V, Phik
- Interactive HTML report — tabbed column comparison, ECharts visualizations, lazy chart rendering
- Built on dataxid-profiling and Polars
Installation
pip install dataxid-syntheval
Contributing
Contributions are welcome. See CONTRIBUTING.md for details.
Links
License
Metadata
Release files for dataxid-syntheval 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| dataxid_syntheval-0.3.0.tar.gz | 28.6 MB | Without provenance | Details for dataxid_syntheval-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dataxid_syntheval-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for dataxid_syntheval-0.3.0-py3-none-any.whl |
Total release size: 57.1 MB
Release files / dataxid_syntheval-0.3.0.tar.gz
| Download URL | dataxid_syntheval-0.3.0.tar.gz |
|---|---|
| Size | 28.6 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5851e484e918e2d7b8bfe6baec1b08c239a1bcda8e874c3cab4c09250b3377ff
|
|
BLAKE2b-256 checksum How to use checksums |
b4313391c0247326144b6ee714a91fa9bf0177041138f871ea43525233740317
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.22 {"installer":{"name":"uv","version":"0.9.22","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / dataxid_syntheval-0.3.0-py3-none-any.whl
| Download URL | dataxid_syntheval-0.3.0-py3-none-any.whl |
|---|---|
| Size | 28.5 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5c115718d9b08ab288a585ab3e37d1bc04922b9626293d3a384371661bda5de9
|
|
BLAKE2b-256 checksum How to use checksums |
345fe22078a9e3af2be4ae3f4905d6d3f8224d525349958c91c7169872f1e9eb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.22 {"installer":{"name":"uv","version":"0.9.22","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for dataxid-syntheval 0.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.