Skip to content
Back to skills

Comparison And Quality

ASecurity

"Guides fg-data-profiling report comparison, privacy-safe reports,

  • 247 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 8, 2026
toolspythongobackend

Works with

  • cli

Security analysis

A100/100

Pro scans all 7 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill comparison-and-quality --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Comparison And Quality?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Comparison And Quality
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-comparison-and-quality/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-comparison-and-quality)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: comparison-and-quality
description: "Guides fg-data-profiling report comparison, privacy-safe reports,
  metadata, data dictionaries, quality outputs, and expectation-suite caveats."
disable-model-invocation: true
metadata:
  disco-role: operating
license: MIT
---

# Comparison and Quality

Use this sub-skill when the user wants to compare datasets/reports, protect
sensitive data in a profile report, attach dataset metadata or data dictionaries,
inspect quality outputs, or discuss expectation-suite integration.

## Read first

- Read [references/comparison-workflows.md](references/comparison-workflows.md)
  for `compare([...])`, `profile_a.compare(profile_b)`, labels, constraints,
  and comparison output handling.
- Read [references/privacy-and-metadata.md](references/privacy-and-metadata.md)
  for `sensitive=True`, `samples=None`, custom synthetic samples, phone-number
  dtype risks, dataset metadata, column descriptions, and `type_schema`.
- Read [references/quality-outputs.md](references/quality-outputs.md) for
  `get_description()`, JSON output, alerts, and legacy Great Expectations notes.
- Read [references/troubleshooting.md](references/troubleshooting.md) for
  comparison errors, privacy leaks, and expectation-suite dependency failures.
- Run [scripts/compare_reports_smoke.py](scripts/compare_reports_smoke.py) or
  [scripts/sensitive_report_smoke.py](scripts/sensitive_report_smoke.py) for
  safe no-network checks of comparison/privacy guidance.

## Comparison quick start

```python
from data_profiling import ProfileReport, compare

train_profile = ProfileReport(train_df, title="Train", minimal=True)
valid_profile = ProfileReport(valid_df, title="Validation", minimal=True)
comparison = compare([train_profile, valid_profile])
comparison.to_file("train-vs-validation.html")
```

`ProfileReport.compare(other)` is an alias for comparing two reports:

```python
comparison = train_profile.compare(valid_profile)
```

Reports use `config.title` as labels. Tune `report.precision` and
`html.style.primary_colors` when comparison tables are cramped.

## Privacy quick start

```python
profile = ProfileReport(
    df,
    title="Private profile",
    sensitive=True,
    samples=None,
    duplicates=None,
    minimal=True,
)
profile.to_file("private-profile.html")
```

For reports that need a sample section, replace real records with a synthetic
sample:

```python
profile = ProfileReport(
    df,
    sensitive=True,
    sample={"name": "Synthetic sample", "data": synthetic_df, "caption": "Synthetic rows only."},
)
```

This is redaction guidance, not enterprise PII detection. The open-source
package does not automatically manage organization-wide PII classifications.

## Metadata and quality quick start

```python
profile = ProfileReport(
    df,
    title="Dataset profile",
    dataset={"description": "5% reproducible sample", "creator": "Data team"},
    variables={"descriptions": {"amount": "Transaction amount"}},
    type_schema={"segment": "categorical"},
)
summary = profile.get_description()
json_text = profile.to_json()
```

## Boundaries

- Basic report creation belongs in
  [../profiling-workflows/SKILL.md](../profiling-workflows/SKILL.md).
- YAML/settings mechanics belong in
  [../configuration-and-output/SKILL.md](../configuration-and-output/SKILL.md).
- CLI command shapes belong in
  [../cli-and-automation/SKILL.md](../cli-and-automation/SKILL.md).
- Optional Great Expectations installation/version questions route to
  [../integrations-and-backends/SKILL.md](../integrations-and-backends/SKILL.md).

Files in this skill

  • SKILL.md3.5 KB
  • references/comparison-workflows.md2.3 KB
  • references/privacy-and-metadata.md2 KB
  • references/quality-outputs.md1.6 KB
  • references/troubleshooting.md1.8 KB
  • scripts/compare_reports_smoke.py1.9 KB
  • scripts/sensitive_report_smoke.py2.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.