Upload benchmark query-category table assets
Browse files- evaluation/tables/benchmark_query_category_table/README.md +38 -0
- evaluation/tables/benchmark_query_category_table/build_benchmark_query_category_table.py +793 -0
- evaluation/tables/benchmark_query_category_table/final/README.md +11 -0
- evaluation/tables/benchmark_query_category_table/final/benchmark_query_category_table_real.pdf +3 -0
- evaluation/tables/benchmark_query_category_table/final/benchmark_query_category_table_real.png +3 -0
- evaluation/tables/benchmark_query_category_table/final/benchmark_query_category_table_real.tex +62 -0
- evaluation/tables/benchmark_query_category_table/final/benchmark_query_category_table_real_dataset_level.csv +0 -0
- evaluation/tables/benchmark_query_category_table/final/benchmark_query_category_table_real_model_summary.csv +40 -0
- evaluation/tables/benchmark_query_category_table/final/benchmark_query_category_table_real_source.tex +34 -0
- evaluation/tables/benchmark_query_category_table/final/benchmark_query_category_table_real_sources.csv +14 -0
- evaluation/tables/benchmark_query_category_table/final/benchmark_query_category_table_real_summary.csv +40 -0
evaluation/tables/benchmark_query_category_table/README.md
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Benchmark Query Category Table
|
| 2 |
+
|
| 3 |
+
This folder contains a compact benchmark summary table that aggregates the retained benchmark channels by dataset category.
|
| 4 |
+
|
| 5 |
+
## Goal
|
| 6 |
+
|
| 7 |
+
Create a single standalone LaTeX table with:
|
| 8 |
+
|
| 9 |
+
- rows: `Categorical`, `Numerical`, `Mix`
|
| 10 |
+
- columns: `Distance`, `Subgroup`, `Conditional`, `Tail`, `Missingness`, `Cardinality`
|
| 11 |
+
- cell values: arithmetic means across the available synthetic generators
|
| 12 |
+
- direct PDF export for review
|
| 13 |
+
- companion CSV exports for traceability
|
| 14 |
+
|
| 15 |
+
## Files
|
| 16 |
+
|
| 17 |
+
- `build_benchmark_query_category_table.py`
|
| 18 |
+
- Rebuilds the compact table from the current evaluation assets.
|
| 19 |
+
- `final/benchmark_query_category_table_real.tex`
|
| 20 |
+
- Standalone LaTeX source for the review PDF.
|
| 21 |
+
- `final/benchmark_query_category_table_real_source.tex`
|
| 22 |
+
- Paper-facing embedded table snippet copied into the active paper folder.
|
| 23 |
+
- `final/benchmark_query_category_table_real_summary.csv`
|
| 24 |
+
- Category-level summary with per-metric generator-averaged means, stds, and model counts.
|
| 25 |
+
- `final/benchmark_query_category_table_real_dataset_level.csv`
|
| 26 |
+
- Dataset-level metric values used to compute the compact summary.
|
| 27 |
+
- `final/benchmark_query_category_table_real_sources.csv`
|
| 28 |
+
- Metric-to-source manifest for traceability.
|
| 29 |
+
|
| 30 |
+
## Rebuild
|
| 31 |
+
|
| 32 |
+
From the repo root:
|
| 33 |
+
|
| 34 |
+
```powershell
|
| 35 |
+
python Evaluation\benchmark_query_category_table\build_benchmark_query_category_table.py
|
| 36 |
+
```
|
| 37 |
+
|
| 38 |
+
The script also attempts to compile the standalone PDF and to mirror the paper-facing source snippet into the active paper figure directory.
|
evaluation/tables/benchmark_query_category_table/build_benchmark_query_category_table.py
ADDED
|
@@ -0,0 +1,793 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from __future__ import annotations
|
| 2 |
+
|
| 3 |
+
import re
|
| 4 |
+
import shutil
|
| 5 |
+
import subprocess
|
| 6 |
+
from pathlib import Path
|
| 7 |
+
|
| 8 |
+
import pandas as pd
|
| 9 |
+
|
| 10 |
+
|
| 11 |
+
REPO_ROOT = Path(__file__).resolve().parents[2]
|
| 12 |
+
EVAL_ROOT = REPO_ROOT / "Evaluation"
|
| 13 |
+
TABLE_ROOT = EVAL_ROOT / "benchmark_query_category_table"
|
| 14 |
+
OUT_DIR = TABLE_ROOT / "final"
|
| 15 |
+
PAPER_FIGURE_SUBDIR = "figures/benchmark_query_category_table"
|
| 16 |
+
FINAL_BASENAME = "benchmark_query_category_table_real"
|
| 17 |
+
|
| 18 |
+
PAPER_MODEL_ORDER = [
|
| 19 |
+
"real",
|
| 20 |
+
"arf",
|
| 21 |
+
"bayesnet",
|
| 22 |
+
"ctgan",
|
| 23 |
+
"forestdiffusion",
|
| 24 |
+
"realtabformer",
|
| 25 |
+
"tabbyflow",
|
| 26 |
+
"tabddpm",
|
| 27 |
+
"tabdiff",
|
| 28 |
+
"tabpfgen",
|
| 29 |
+
"tabsyn",
|
| 30 |
+
"tvae",
|
| 31 |
+
]
|
| 32 |
+
SYNTHETIC_MODEL_ORDER = [model_id for model_id in PAPER_MODEL_ORDER if model_id != "real"]
|
| 33 |
+
MODEL_ORDER_MAP = {model_id: idx for idx, model_id in enumerate(PAPER_MODEL_ORDER)}
|
| 34 |
+
|
| 35 |
+
PREFIX_ORDER = ["c", "n", "m"]
|
| 36 |
+
PREFIX_LABELS = {
|
| 37 |
+
"c": "Categorical",
|
| 38 |
+
"n": "Numerical",
|
| 39 |
+
"m": "Mix",
|
| 40 |
+
}
|
| 41 |
+
PREFIX_ORDER_MAP = {prefix: idx for idx, prefix in enumerate(PREFIX_ORDER)}
|
| 42 |
+
|
| 43 |
+
METRICS = [
|
| 44 |
+
{
|
| 45 |
+
"key": "distance_overall",
|
| 46 |
+
"family": "Distance",
|
| 47 |
+
"group_label": "Distance",
|
| 48 |
+
"header_label": "Dist. overall",
|
| 49 |
+
"full_label": "Distance overall",
|
| 50 |
+
"highlight_column": True,
|
| 51 |
+
"source_kind": "distance_dataset_export",
|
| 52 |
+
"source_file": "Evaluation/distance/runs/*/datasets/*/distance_summary__*.csv",
|
| 53 |
+
"source_note": "Latest deduplicated dataset-model overall fidelity score.",
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"key": "internal_profile_stability",
|
| 57 |
+
"family": "Subgroup",
|
| 58 |
+
"group_label": "Subgroup",
|
| 59 |
+
"header_label": "Internal profile",
|
| 60 |
+
"full_label": "Internal profile stability",
|
| 61 |
+
"highlight_column": False,
|
| 62 |
+
"source_kind": "query_subitem_dataset_export",
|
| 63 |
+
"source_file": "Evaluation/query_fivepart_breakdown/subgroup_breakdown/data/dataset_model_subitems.csv",
|
| 64 |
+
"source_note": "Canonical subgroup sub-item score from dataset-level sub-item export.",
|
| 65 |
+
},
|
| 66 |
+
{
|
| 67 |
+
"key": "subgroup_size_stability",
|
| 68 |
+
"family": "Subgroup",
|
| 69 |
+
"group_label": "Subgroup",
|
| 70 |
+
"header_label": "Size stability",
|
| 71 |
+
"full_label": "Subgroup size stability",
|
| 72 |
+
"highlight_column": False,
|
| 73 |
+
"source_kind": "query_subitem_dataset_export",
|
| 74 |
+
"source_file": "Evaluation/query_fivepart_breakdown/subgroup_breakdown/data/dataset_model_subitems.csv",
|
| 75 |
+
"source_note": "Canonical subgroup sub-item score from dataset-level sub-item export.",
|
| 76 |
+
},
|
| 77 |
+
{
|
| 78 |
+
"key": "dependency_strength_similarity",
|
| 79 |
+
"family": "Conditional",
|
| 80 |
+
"group_label": "Conditional",
|
| 81 |
+
"header_label": "Dependency strength",
|
| 82 |
+
"full_label": "Dependency strength similarity",
|
| 83 |
+
"highlight_column": False,
|
| 84 |
+
"source_kind": "query_subitem_dataset_export",
|
| 85 |
+
"source_file": "Evaluation/query_fivepart_breakdown/conditional_breakdown/data/dataset_model_subitems.csv",
|
| 86 |
+
"source_note": "Canonical conditional sub-item score from dataset-level sub-item export.",
|
| 87 |
+
},
|
| 88 |
+
{
|
| 89 |
+
"key": "direction_consistency",
|
| 90 |
+
"family": "Conditional",
|
| 91 |
+
"group_label": "Conditional",
|
| 92 |
+
"header_label": "Direction",
|
| 93 |
+
"full_label": "Direction consistency",
|
| 94 |
+
"highlight_column": False,
|
| 95 |
+
"source_kind": "query_subitem_dataset_export",
|
| 96 |
+
"source_file": "Evaluation/query_fivepart_breakdown/conditional_breakdown/data/dataset_model_subitems.csv",
|
| 97 |
+
"source_note": "Canonical conditional sub-item score from dataset-level sub-item export.",
|
| 98 |
+
},
|
| 99 |
+
{
|
| 100 |
+
"key": "slice_level_consistency",
|
| 101 |
+
"family": "Conditional",
|
| 102 |
+
"group_label": "Conditional",
|
| 103 |
+
"header_label": "Slice-level",
|
| 104 |
+
"full_label": "Slice-level consistency",
|
| 105 |
+
"highlight_column": False,
|
| 106 |
+
"source_kind": "query_subitem_dataset_export",
|
| 107 |
+
"source_file": "Evaluation/query_fivepart_breakdown/conditional_breakdown/data/dataset_model_subitems.csv",
|
| 108 |
+
"source_note": "Canonical conditional sub-item score from dataset-level sub-item export.",
|
| 109 |
+
},
|
| 110 |
+
{
|
| 111 |
+
"key": "tail_set_consistency",
|
| 112 |
+
"family": "Tail",
|
| 113 |
+
"group_label": "Tail",
|
| 114 |
+
"header_label": "Tail set",
|
| 115 |
+
"full_label": "Tail set consistency",
|
| 116 |
+
"highlight_column": False,
|
| 117 |
+
"source_kind": "query_subitem_dataset_export",
|
| 118 |
+
"source_file": "Evaluation/query_fivepart_breakdown/tail_breakdown/data/dataset_model_scores.csv",
|
| 119 |
+
"source_note": "Canonical tail sub-item score from dataset-level breakdown export.",
|
| 120 |
+
},
|
| 121 |
+
{
|
| 122 |
+
"key": "tail_mass_similarity",
|
| 123 |
+
"family": "Tail",
|
| 124 |
+
"group_label": "Tail",
|
| 125 |
+
"header_label": "Tail mass",
|
| 126 |
+
"full_label": "Tail mass similarity",
|
| 127 |
+
"highlight_column": False,
|
| 128 |
+
"source_kind": "query_subitem_dataset_export",
|
| 129 |
+
"source_file": "Evaluation/query_fivepart_breakdown/tail_breakdown/data/dataset_model_scores.csv",
|
| 130 |
+
"source_note": "Canonical tail sub-item score from dataset-level breakdown export.",
|
| 131 |
+
},
|
| 132 |
+
{
|
| 133 |
+
"key": "tail_concentration_consistency",
|
| 134 |
+
"family": "Tail",
|
| 135 |
+
"group_label": "Tail",
|
| 136 |
+
"header_label": "Tail concentration",
|
| 137 |
+
"full_label": "Tail concentration consistency",
|
| 138 |
+
"highlight_column": False,
|
| 139 |
+
"source_kind": "query_subitem_dataset_export",
|
| 140 |
+
"source_file": "Evaluation/query_fivepart_breakdown/tail_breakdown/data/dataset_model_scores.csv",
|
| 141 |
+
"source_note": "Canonical tail sub-item score from dataset-level breakdown export.",
|
| 142 |
+
},
|
| 143 |
+
{
|
| 144 |
+
"key": "marginal_missing_rate_consistency",
|
| 145 |
+
"family": "Missingness",
|
| 146 |
+
"group_label": "Missingness",
|
| 147 |
+
"header_label": "Marginal rate",
|
| 148 |
+
"full_label": "Marginal missing-rate consistency",
|
| 149 |
+
"highlight_column": False,
|
| 150 |
+
"source_kind": "query_subitem_dataset_export",
|
| 151 |
+
"source_file": "Evaluation/query_fivepart_breakdown/missingness_breakdown/data/dataset_model_subitems.csv",
|
| 152 |
+
"source_note": "Canonical missingness sub-item score from dataset-level sub-item export.",
|
| 153 |
+
},
|
| 154 |
+
{
|
| 155 |
+
"key": "co_missingness_pattern_consistency",
|
| 156 |
+
"family": "Missingness",
|
| 157 |
+
"group_label": "Missingness",
|
| 158 |
+
"header_label": "Co-missingness",
|
| 159 |
+
"full_label": "Co-missingness pattern consistency",
|
| 160 |
+
"highlight_column": False,
|
| 161 |
+
"source_kind": "query_subitem_dataset_export",
|
| 162 |
+
"source_file": "Evaluation/query_fivepart_breakdown/missingness_breakdown/data/dataset_model_subitems.csv",
|
| 163 |
+
"source_note": "Canonical missingness sub-item score from dataset-level sub-item export.",
|
| 164 |
+
},
|
| 165 |
+
{
|
| 166 |
+
"key": "support_rank_profile_consistency",
|
| 167 |
+
"family": "Cardinality",
|
| 168 |
+
"group_label": "Cardinality",
|
| 169 |
+
"header_label": "Support-rank",
|
| 170 |
+
"full_label": "Support-rank profile consistency",
|
| 171 |
+
"highlight_column": False,
|
| 172 |
+
"source_kind": "cardinality_subitem_dataset_export",
|
| 173 |
+
"source_file": "Evaluation/query_fivepart_breakdown/cardinality/data/cleaned_results.csv",
|
| 174 |
+
"source_note": "Dataset-level mean of the discrete support-retention branch.",
|
| 175 |
+
},
|
| 176 |
+
{
|
| 177 |
+
"key": "high_cardinality_response_stability",
|
| 178 |
+
"family": "Cardinality",
|
| 179 |
+
"group_label": "Cardinality",
|
| 180 |
+
"header_label": "High-cardinality",
|
| 181 |
+
"full_label": "High-cardinality response stability",
|
| 182 |
+
"highlight_column": False,
|
| 183 |
+
"source_kind": "cardinality_subitem_dataset_export",
|
| 184 |
+
"source_file": "Evaluation/query_fivepart_breakdown/cardinality/data/cleaned_results.csv",
|
| 185 |
+
"source_note": "Dataset-level mean over high-dynamic cardinality/range units.",
|
| 186 |
+
},
|
| 187 |
+
]
|
| 188 |
+
|
| 189 |
+
METRIC_SPECS = {metric["key"]: metric for metric in METRICS}
|
| 190 |
+
METRIC_ORDER = [metric["key"] for metric in METRICS]
|
| 191 |
+
FAMILY_ORDER = ["Distance", "Subgroup", "Conditional", "Tail", "Missingness", "Cardinality"]
|
| 192 |
+
|
| 193 |
+
|
| 194 |
+
def ensure_out_dir() -> None:
|
| 195 |
+
OUT_DIR.mkdir(parents=True, exist_ok=True)
|
| 196 |
+
|
| 197 |
+
|
| 198 |
+
def pick_active_paper_dir() -> Path:
|
| 199 |
+
candidates = sorted((REPO_ROOT / "Paper").glob("*/main.tex"))
|
| 200 |
+
if not candidates:
|
| 201 |
+
raise FileNotFoundError("Could not find Paper/*/main.tex.")
|
| 202 |
+
return candidates[0].parent
|
| 203 |
+
|
| 204 |
+
|
| 205 |
+
def dataset_prefix(dataset_id: str) -> str:
|
| 206 |
+
return str(dataset_id)[0].lower() if dataset_id else ""
|
| 207 |
+
|
| 208 |
+
|
| 209 |
+
def dataset_sort_tuple(dataset_id: str) -> tuple[int, int, str]:
|
| 210 |
+
text = str(dataset_id)
|
| 211 |
+
match = re.match(r"([A-Za-z]+)(\d+)", text)
|
| 212 |
+
if not match:
|
| 213 |
+
return (99, 10**9, text)
|
| 214 |
+
prefix, number = match.groups()
|
| 215 |
+
prefix_order = {"c": 0, "m": 1, "n": 2}.get(prefix.lower(), 50)
|
| 216 |
+
return (prefix_order, int(number), text)
|
| 217 |
+
|
| 218 |
+
|
| 219 |
+
def latex_escape(text: str) -> str:
|
| 220 |
+
replacements = {
|
| 221 |
+
"\\": r"\textbackslash{}",
|
| 222 |
+
"&": r"\&",
|
| 223 |
+
"%": r"\%",
|
| 224 |
+
"$": r"\$",
|
| 225 |
+
"#": r"\#",
|
| 226 |
+
"_": r"\_",
|
| 227 |
+
"{": r"\{",
|
| 228 |
+
"}": r"\}",
|
| 229 |
+
"~": r"\textasciitilde{}",
|
| 230 |
+
"^": r"\textasciicircum{}",
|
| 231 |
+
}
|
| 232 |
+
escaped = str(text)
|
| 233 |
+
for src, dst in replacements.items():
|
| 234 |
+
escaped = escaped.replace(src, dst)
|
| 235 |
+
return escaped
|
| 236 |
+
|
| 237 |
+
|
| 238 |
+
def fmt_num(value: float) -> str:
|
| 239 |
+
if abs(value) < 5e-4:
|
| 240 |
+
value = 0.0
|
| 241 |
+
return f"{value:.2f}"
|
| 242 |
+
|
| 243 |
+
|
| 244 |
+
def normalize_long_metric(
|
| 245 |
+
df: pd.DataFrame,
|
| 246 |
+
*,
|
| 247 |
+
metric_key: str,
|
| 248 |
+
value_col: str,
|
| 249 |
+
source_path: str,
|
| 250 |
+
source_kind: str,
|
| 251 |
+
) -> pd.DataFrame:
|
| 252 |
+
working = df.copy()
|
| 253 |
+
working = working[working["model_id"].isin(SYNTHETIC_MODEL_ORDER)].copy()
|
| 254 |
+
if "dataset_prefix" not in working.columns:
|
| 255 |
+
working["dataset_prefix"] = working["dataset_id"].map(dataset_prefix)
|
| 256 |
+
working["dataset_prefix_label"] = working["dataset_prefix"].map(PREFIX_LABELS)
|
| 257 |
+
working["metric_key"] = metric_key
|
| 258 |
+
working["metric_family"] = METRIC_SPECS[metric_key]["family"]
|
| 259 |
+
working["metric_group_label"] = METRIC_SPECS[metric_key]["group_label"]
|
| 260 |
+
working["metric_header_label"] = METRIC_SPECS[metric_key]["header_label"]
|
| 261 |
+
working["metric_full_label"] = METRIC_SPECS[metric_key]["full_label"]
|
| 262 |
+
working["metric_value"] = pd.to_numeric(working[value_col], errors="coerce")
|
| 263 |
+
working["source_kind"] = source_kind
|
| 264 |
+
working["source_path"] = source_path
|
| 265 |
+
working["row_kind"] = "synthetic"
|
| 266 |
+
working["model_order"] = working["model_id"].map(MODEL_ORDER_MAP)
|
| 267 |
+
return working[
|
| 268 |
+
[
|
| 269 |
+
"dataset_id",
|
| 270 |
+
"dataset_prefix",
|
| 271 |
+
"dataset_prefix_label",
|
| 272 |
+
"model_id",
|
| 273 |
+
"metric_key",
|
| 274 |
+
"metric_family",
|
| 275 |
+
"metric_group_label",
|
| 276 |
+
"metric_header_label",
|
| 277 |
+
"metric_full_label",
|
| 278 |
+
"metric_value",
|
| 279 |
+
"source_kind",
|
| 280 |
+
"source_path",
|
| 281 |
+
"row_kind",
|
| 282 |
+
"model_order",
|
| 283 |
+
]
|
| 284 |
+
]
|
| 285 |
+
|
| 286 |
+
|
| 287 |
+
def load_distance_long() -> pd.DataFrame:
|
| 288 |
+
frames = []
|
| 289 |
+
cols = ["dataset_id", "model_id", "timestamp_utc", "overall_fidelity_score"]
|
| 290 |
+
for path in (EVAL_ROOT / "distance" / "runs").glob("*/*/distance_summary__*.csv"):
|
| 291 |
+
try:
|
| 292 |
+
df = pd.read_csv(path, usecols=cols, low_memory=False)
|
| 293 |
+
except Exception:
|
| 294 |
+
continue
|
| 295 |
+
frames.append(df)
|
| 296 |
+
if not frames:
|
| 297 |
+
raise FileNotFoundError("No distance dataset exports were found under Evaluation/distance/runs.")
|
| 298 |
+
|
| 299 |
+
df = pd.concat(frames, ignore_index=True)
|
| 300 |
+
df = df[df["model_id"].isin(SYNTHETIC_MODEL_ORDER)].copy()
|
| 301 |
+
df["timestamp_utc"] = pd.to_datetime(df["timestamp_utc"], errors="coerce")
|
| 302 |
+
df["dataset_prefix"] = df["dataset_id"].map(dataset_prefix)
|
| 303 |
+
df = df.sort_values(["dataset_id", "model_id", "timestamp_utc"]).drop_duplicates(
|
| 304 |
+
["dataset_id", "model_id"],
|
| 305 |
+
keep="last",
|
| 306 |
+
)
|
| 307 |
+
return normalize_long_metric(
|
| 308 |
+
df[["dataset_id", "dataset_prefix", "model_id", "overall_fidelity_score"]],
|
| 309 |
+
metric_key="distance_overall",
|
| 310 |
+
value_col="overall_fidelity_score",
|
| 311 |
+
source_path="Evaluation/distance/runs/*/datasets/*/distance_summary__*.csv (latest dataset-model export)",
|
| 312 |
+
source_kind="distance_dataset_export",
|
| 313 |
+
)
|
| 314 |
+
|
| 315 |
+
|
| 316 |
+
def load_subgroup_long() -> pd.DataFrame:
|
| 317 |
+
subitems_path = EVAL_ROOT / "query_fivepart_breakdown" / "subgroup_breakdown" / "data" / "dataset_model_subitems.csv"
|
| 318 |
+
subitems_df = pd.read_csv(subitems_path)
|
| 319 |
+
|
| 320 |
+
frames = []
|
| 321 |
+
|
| 322 |
+
for subitem_key in ["internal_profile_stability", "subgroup_size_stability"]:
|
| 323 |
+
subset = subitems_df[subitems_df["subitem_id"] == subitem_key].copy()
|
| 324 |
+
frames.append(
|
| 325 |
+
normalize_long_metric(
|
| 326 |
+
subset[["dataset_id", "dataset_prefix", "model_id", "subitem_score"]],
|
| 327 |
+
metric_key=subitem_key,
|
| 328 |
+
value_col="subitem_score",
|
| 329 |
+
source_path=str(subitems_path.relative_to(REPO_ROOT)),
|
| 330 |
+
source_kind="query_subitem_dataset_export",
|
| 331 |
+
)
|
| 332 |
+
)
|
| 333 |
+
return pd.concat(frames, ignore_index=True)
|
| 334 |
+
|
| 335 |
+
|
| 336 |
+
def load_conditional_long() -> pd.DataFrame:
|
| 337 |
+
subitems_path = EVAL_ROOT / "query_fivepart_breakdown" / "conditional_breakdown" / "data" / "dataset_model_subitems.csv"
|
| 338 |
+
subitems_df = pd.read_csv(subitems_path)
|
| 339 |
+
|
| 340 |
+
frames = []
|
| 341 |
+
|
| 342 |
+
for subitem_key in ["dependency_strength_similarity", "direction_consistency", "slice_level_consistency"]:
|
| 343 |
+
subset = subitems_df[subitems_df["subitem_id"] == subitem_key].copy()
|
| 344 |
+
frames.append(
|
| 345 |
+
normalize_long_metric(
|
| 346 |
+
subset[["dataset_id", "dataset_prefix", "model_id", "subitem_score"]],
|
| 347 |
+
metric_key=subitem_key,
|
| 348 |
+
value_col="subitem_score",
|
| 349 |
+
source_path=str(subitems_path.relative_to(REPO_ROOT)),
|
| 350 |
+
source_kind="query_subitem_dataset_export",
|
| 351 |
+
)
|
| 352 |
+
)
|
| 353 |
+
return pd.concat(frames, ignore_index=True)
|
| 354 |
+
|
| 355 |
+
|
| 356 |
+
def load_tail_long() -> pd.DataFrame:
|
| 357 |
+
path = EVAL_ROOT / "query_fivepart_breakdown" / "tail_breakdown" / "data" / "dataset_model_scores.csv"
|
| 358 |
+
df = pd.read_csv(path)
|
| 359 |
+
frames = []
|
| 360 |
+
for metric_key in [
|
| 361 |
+
"tail_set_consistency",
|
| 362 |
+
"tail_mass_similarity",
|
| 363 |
+
"tail_concentration_consistency",
|
| 364 |
+
]:
|
| 365 |
+
frames.append(
|
| 366 |
+
normalize_long_metric(
|
| 367 |
+
df[["dataset_id", "dataset_prefix", "model_id", metric_key]],
|
| 368 |
+
metric_key=metric_key,
|
| 369 |
+
value_col=metric_key,
|
| 370 |
+
source_path=str(path.relative_to(REPO_ROOT)),
|
| 371 |
+
source_kind="query_subitem_dataset_export",
|
| 372 |
+
)
|
| 373 |
+
)
|
| 374 |
+
return pd.concat(frames, ignore_index=True)
|
| 375 |
+
|
| 376 |
+
|
| 377 |
+
def load_missingness_long() -> pd.DataFrame:
|
| 378 |
+
subitems_path = EVAL_ROOT / "query_fivepart_breakdown" / "missingness_breakdown" / "data" / "dataset_model_subitems.csv"
|
| 379 |
+
subitems_df = pd.read_csv(subitems_path)
|
| 380 |
+
|
| 381 |
+
frames = []
|
| 382 |
+
|
| 383 |
+
for subitem_key in ["marginal_missing_rate_consistency", "co_missingness_pattern_consistency"]:
|
| 384 |
+
subset = subitems_df[subitems_df["subitem_id"] == subitem_key].copy()
|
| 385 |
+
frames.append(
|
| 386 |
+
normalize_long_metric(
|
| 387 |
+
subset[["dataset_id", "dataset_prefix", "model_id", "subitem_score"]],
|
| 388 |
+
metric_key=subitem_key,
|
| 389 |
+
value_col="subitem_score",
|
| 390 |
+
source_path=str(subitems_path.relative_to(REPO_ROOT)),
|
| 391 |
+
source_kind="query_subitem_dataset_export",
|
| 392 |
+
)
|
| 393 |
+
)
|
| 394 |
+
return pd.concat(frames, ignore_index=True)
|
| 395 |
+
|
| 396 |
+
|
| 397 |
+
def load_cardinality_long() -> pd.DataFrame:
|
| 398 |
+
path = EVAL_ROOT / "query_fivepart_breakdown" / "cardinality" / "data" / "cleaned_results.csv"
|
| 399 |
+
df = pd.read_csv(
|
| 400 |
+
path,
|
| 401 |
+
low_memory=False,
|
| 402 |
+
usecols=[
|
| 403 |
+
"dataset",
|
| 404 |
+
"model",
|
| 405 |
+
"channel",
|
| 406 |
+
"score",
|
| 407 |
+
"dynamic_regime",
|
| 408 |
+
],
|
| 409 |
+
)
|
| 410 |
+
df = df.rename(columns={"dataset": "dataset_id", "model": "model_id"}).copy()
|
| 411 |
+
df["model_id"] = df["model_id"].astype(str).str.strip().str.lower()
|
| 412 |
+
df["dataset_prefix"] = df["dataset_id"].map(dataset_prefix)
|
| 413 |
+
|
| 414 |
+
support_rank_df = (
|
| 415 |
+
df[df["channel"] == "discrete"]
|
| 416 |
+
.groupby(["dataset_id", "dataset_prefix", "model_id"], as_index=False)["score"]
|
| 417 |
+
.mean()
|
| 418 |
+
.rename(columns={"score": "support_rank_profile_consistency"})
|
| 419 |
+
)
|
| 420 |
+
high_dynamic_df = (
|
| 421 |
+
df[df["dynamic_regime"] == "high"]
|
| 422 |
+
.groupby(["dataset_id", "dataset_prefix", "model_id"], as_index=False)["score"]
|
| 423 |
+
.mean()
|
| 424 |
+
.rename(columns={"score": "high_cardinality_response_stability"})
|
| 425 |
+
)
|
| 426 |
+
|
| 427 |
+
frames = [
|
| 428 |
+
normalize_long_metric(
|
| 429 |
+
support_rank_df,
|
| 430 |
+
metric_key="support_rank_profile_consistency",
|
| 431 |
+
value_col="support_rank_profile_consistency",
|
| 432 |
+
source_path=str(path.relative_to(REPO_ROOT)),
|
| 433 |
+
source_kind="cardinality_subitem_dataset_export",
|
| 434 |
+
),
|
| 435 |
+
normalize_long_metric(
|
| 436 |
+
high_dynamic_df,
|
| 437 |
+
metric_key="high_cardinality_response_stability",
|
| 438 |
+
value_col="high_cardinality_response_stability",
|
| 439 |
+
source_path=str(path.relative_to(REPO_ROOT)),
|
| 440 |
+
source_kind="cardinality_subitem_dataset_export",
|
| 441 |
+
),
|
| 442 |
+
]
|
| 443 |
+
return pd.concat(frames, ignore_index=True)
|
| 444 |
+
|
| 445 |
+
|
| 446 |
+
def assemble_dataset_level_table() -> pd.DataFrame:
|
| 447 |
+
frames = [
|
| 448 |
+
load_distance_long(),
|
| 449 |
+
load_subgroup_long(),
|
| 450 |
+
load_conditional_long(),
|
| 451 |
+
load_tail_long(),
|
| 452 |
+
load_missingness_long(),
|
| 453 |
+
load_cardinality_long(),
|
| 454 |
+
]
|
| 455 |
+
long_df = pd.concat(frames, ignore_index=True)
|
| 456 |
+
long_df["metric_value"] = pd.to_numeric(long_df["metric_value"], errors="coerce")
|
| 457 |
+
long_df["prefix_order"] = long_df["dataset_prefix"].map(PREFIX_ORDER_MAP)
|
| 458 |
+
long_df["metric_order"] = long_df["metric_key"].map({metric_key: idx for idx, metric_key in enumerate(METRIC_ORDER)})
|
| 459 |
+
long_df["dataset_sort_key"] = long_df["dataset_id"].map(dataset_sort_tuple)
|
| 460 |
+
return (
|
| 461 |
+
long_df.sort_values(["prefix_order", "metric_order", "dataset_sort_key", "model_order"])
|
| 462 |
+
.drop(columns=["dataset_sort_key"])
|
| 463 |
+
.reset_index(drop=True)
|
| 464 |
+
)
|
| 465 |
+
|
| 466 |
+
|
| 467 |
+
def build_category_summary(dataset_level: pd.DataFrame) -> pd.DataFrame:
|
| 468 |
+
per_model = (
|
| 469 |
+
dataset_level.groupby(
|
| 470 |
+
[
|
| 471 |
+
"dataset_prefix",
|
| 472 |
+
"dataset_prefix_label",
|
| 473 |
+
"model_id",
|
| 474 |
+
"metric_key",
|
| 475 |
+
"metric_family",
|
| 476 |
+
"metric_group_label",
|
| 477 |
+
"metric_header_label",
|
| 478 |
+
"metric_full_label",
|
| 479 |
+
],
|
| 480 |
+
as_index=False,
|
| 481 |
+
)
|
| 482 |
+
.agg(
|
| 483 |
+
model_metric_mean=("metric_value", "mean"),
|
| 484 |
+
covered_datasets=("dataset_id", "nunique"),
|
| 485 |
+
)
|
| 486 |
+
)
|
| 487 |
+
|
| 488 |
+
summary = (
|
| 489 |
+
per_model.groupby(
|
| 490 |
+
[
|
| 491 |
+
"dataset_prefix",
|
| 492 |
+
"dataset_prefix_label",
|
| 493 |
+
"metric_key",
|
| 494 |
+
"metric_family",
|
| 495 |
+
"metric_group_label",
|
| 496 |
+
"metric_header_label",
|
| 497 |
+
"metric_full_label",
|
| 498 |
+
],
|
| 499 |
+
as_index=False,
|
| 500 |
+
)
|
| 501 |
+
.agg(
|
| 502 |
+
category_mean=("model_metric_mean", "mean"),
|
| 503 |
+
category_std=("model_metric_mean", "std"),
|
| 504 |
+
model_count=("model_metric_mean", "count"),
|
| 505 |
+
min_covered_datasets=("covered_datasets", "min"),
|
| 506 |
+
max_covered_datasets=("covered_datasets", "max"),
|
| 507 |
+
)
|
| 508 |
+
)
|
| 509 |
+
summary.loc[summary["model_count"] <= 1, "category_std"] = 0.0
|
| 510 |
+
summary["prefix_order"] = summary["dataset_prefix"].map(PREFIX_ORDER_MAP)
|
| 511 |
+
summary["metric_order"] = summary["metric_key"].map({metric_key: idx for idx, metric_key in enumerate(METRIC_ORDER)})
|
| 512 |
+
summary["rank"] = pd.NA
|
| 513 |
+
|
| 514 |
+
for metric_key in METRIC_ORDER:
|
| 515 |
+
subset = summary[(summary["metric_key"] == metric_key) & summary["category_mean"].notna()].sort_values(
|
| 516 |
+
"category_mean",
|
| 517 |
+
ascending=False,
|
| 518 |
+
)
|
| 519 |
+
for idx, (_, row) in enumerate(subset.iterrows(), start=1):
|
| 520 |
+
summary.loc[
|
| 521 |
+
(summary["dataset_prefix"] == row["dataset_prefix"]) & (summary["metric_key"] == metric_key),
|
| 522 |
+
"rank",
|
| 523 |
+
] = idx
|
| 524 |
+
|
| 525 |
+
return summary.sort_values(["prefix_order", "metric_order"]).reset_index(drop=True)
|
| 526 |
+
|
| 527 |
+
|
| 528 |
+
def render_category_cell(summary: pd.DataFrame, prefix: str, metric_key: str) -> str:
|
| 529 |
+
row = summary[
|
| 530 |
+
(summary["dataset_prefix"] == prefix)
|
| 531 |
+
& (summary["metric_key"] == metric_key)
|
| 532 |
+
]
|
| 533 |
+
spec = METRIC_SPECS[metric_key]
|
| 534 |
+
prefix_text = r"\cellcolor{OverallTint} " if spec["highlight_column"] else ""
|
| 535 |
+
if row.empty or pd.isna(row.iloc[0]["category_mean"]):
|
| 536 |
+
return prefix_text + r"\textit{N/A}"
|
| 537 |
+
|
| 538 |
+
mean_value = float(row.iloc[0]["category_mean"])
|
| 539 |
+
std_value = 0.0 if pd.isna(row.iloc[0]["category_std"]) else float(row.iloc[0]["category_std"])
|
| 540 |
+
rank_value = None if pd.isna(row.iloc[0]["rank"]) else int(row.iloc[0]["rank"])
|
| 541 |
+
body = f"{fmt_num(mean_value)}$_{{\\pm {fmt_num(std_value)}}}$"
|
| 542 |
+
if rank_value == 1:
|
| 543 |
+
body = rf"{{\color{{FirstPlace}}\textbf{{{body}}}}}"
|
| 544 |
+
elif rank_value == 2:
|
| 545 |
+
body = rf"{{\color{{SecondPlace}}\textbf{{{body}}}}}"
|
| 546 |
+
elif rank_value == 3:
|
| 547 |
+
body = rf"{{\color{{ThirdPlace}}\textbf{{{body}}}}}"
|
| 548 |
+
return prefix_text + body
|
| 549 |
+
|
| 550 |
+
|
| 551 |
+
def render_embedded_source(summary: pd.DataFrame) -> str:
|
| 552 |
+
tabular_spec = "@{}l " + " ".join("c" for _ in METRIC_ORDER) + "@{}"
|
| 553 |
+
|
| 554 |
+
top_header_parts = []
|
| 555 |
+
cmidrules = []
|
| 556 |
+
start_col = 2
|
| 557 |
+
for family in FAMILY_ORDER:
|
| 558 |
+
family_metrics = [metric for metric in METRICS if metric["family"] == family]
|
| 559 |
+
span = len(family_metrics)
|
| 560 |
+
top_header_parts.append(rf"\multicolumn{{{span}}}{{c}}{{\textbf{{{latex_escape(family)}}}}}")
|
| 561 |
+
cmidrules.append(rf"\cmidrule(lr){{{start_col}-{start_col + span - 1}}}")
|
| 562 |
+
start_col += span
|
| 563 |
+
top_header = " & ".join(top_header_parts)
|
| 564 |
+
second_header = " & ".join(
|
| 565 |
+
(
|
| 566 |
+
(rf"\cellcolor{{OverallTint}} {latex_escape(metric['header_label'])} $\uparrow$")
|
| 567 |
+
if metric["highlight_column"]
|
| 568 |
+
else rf"{latex_escape(metric['header_label'])} $\uparrow$"
|
| 569 |
+
)
|
| 570 |
+
for metric in METRICS
|
| 571 |
+
)
|
| 572 |
+
|
| 573 |
+
body_lines = []
|
| 574 |
+
for prefix in PREFIX_ORDER:
|
| 575 |
+
cells = [latex_escape(PREFIX_LABELS[prefix])]
|
| 576 |
+
for metric_key in METRIC_ORDER:
|
| 577 |
+
cells.append(render_category_cell(summary, prefix, metric_key))
|
| 578 |
+
body_lines.append(" & ".join(cells) + r" \\")
|
| 579 |
+
|
| 580 |
+
return rf"""{{
|
| 581 |
+
\definecolor{{FirstPlace}}{{HTML}}{{1397B8}}%
|
| 582 |
+
\definecolor{{SecondPlace}}{{HTML}}{{7B45E5}}%
|
| 583 |
+
\definecolor{{ThirdPlace}}{{HTML}}{{000000}}%
|
| 584 |
+
\definecolor{{OverallTint}}{{HTML}}{{F8F1DA}}%
|
| 585 |
+
\definecolor{{RuleGray}}{{HTML}}{{C8CDD3}}%
|
| 586 |
+
\arrayrulecolor{{RuleGray}}%
|
| 587 |
+
\setlength{{\tabcolsep}}{{3.0pt}}%
|
| 588 |
+
\renewcommand{{\arraystretch}}{{1.08}}%
|
| 589 |
+
\scriptsize
|
| 590 |
+
\begin{{adjustbox}}{{max width=\textwidth}}
|
| 591 |
+
\begin{{tabular}}{{{tabular_spec}}}
|
| 592 |
+
\toprule
|
| 593 |
+
\multirow{{2}}{{*}}{{\textbf{{Category}}}} & {top_header} \\
|
| 594 |
+
{chr(10).join(cmidrules)}
|
| 595 |
+
& {second_header} \\
|
| 596 |
+
\midrule
|
| 597 |
+
{chr(10).join(body_lines)}
|
| 598 |
+
\bottomrule
|
| 599 |
+
\end{{tabular}}
|
| 600 |
+
\end{{adjustbox}}
|
| 601 |
+
|
| 602 |
+
\vspace{{0.35em}}
|
| 603 |
+
\begin{{minipage}}{{0.96\textwidth}}
|
| 604 |
+
\footnotesize\textit{{Note.}} Each cell reports mean $\pm$ std across synthetic generators after first averaging that metric within the covered datasets of the corresponding category for each generator. \texttt{{Distance}} keeps only \texttt{{Dist. overall}}, while the five query-centric families retain only their sub-items. The category rows are ranked within each column and highlighted as {{\color{{FirstPlace}}\textbf{{First}}}}, {{\color{{SecondPlace}}\textbf{{Second}}}}, and {{\color{{ThirdPlace}}\textbf{{Third}}}}.
|
| 605 |
+
\end{{minipage}}
|
| 606 |
+
}}
|
| 607 |
+
"""
|
| 608 |
+
|
| 609 |
+
|
| 610 |
+
def render_standalone_latex(summary: pd.DataFrame) -> str:
|
| 611 |
+
embedded = render_embedded_source(summary)
|
| 612 |
+
return rf"""\documentclass[10pt]{{article}}
|
| 613 |
+
\usepackage[a4paper,landscape,margin=0.60in]{{geometry}}
|
| 614 |
+
\usepackage[T1]{{fontenc}}
|
| 615 |
+
\usepackage[utf8]{{inputenc}}
|
| 616 |
+
\usepackage{{newtxtext,newtxmath}}
|
| 617 |
+
\usepackage{{booktabs}}
|
| 618 |
+
\usepackage[table]{{xcolor}}
|
| 619 |
+
\usepackage{{array}}
|
| 620 |
+
\usepackage{{multirow}}
|
| 621 |
+
\usepackage{{adjustbox}}
|
| 622 |
+
\usepackage{{caption}}
|
| 623 |
+
\usepackage{{microtype}}
|
| 624 |
+
\captionsetup{{font=small,labelfont=bf}}
|
| 625 |
+
|
| 626 |
+
\begin{{document}}
|
| 627 |
+
\thispagestyle{{empty}}
|
| 628 |
+
|
| 629 |
+
\noindent{{\small\textit{{Category-wise benchmark summary with expanded query families}}}}\\[-0.15em]
|
| 630 |
+
\noindent\color{{gray}}\rule{{\textwidth}}{{0.5pt}}
|
| 631 |
+
|
| 632 |
+
\begin{{table}}[ht]
|
| 633 |
+
\centering
|
| 634 |
+
\caption{{Category-wise benchmark summary aligned to the benchmark reference-table style. \texttt{{Distance}} retains only \texttt{{Dist. overall}}. The five query-centric families (\texttt{{Subgroup}}, \texttt{{Conditional}}, \texttt{{Tail}}, \texttt{{Missingness}}, and \texttt{{Cardinality}}) retain only their sub-items. Rows are the three dataset categories, and each cell is a generator-averaged category score shown as mean $\pm$ std. Within each column, category ranks are marked as \textcolor[HTML]{{1397B8}}{{\textbf{{First}}}}, \textcolor[HTML]{{7B45E5}}{{\textbf{{Second}}}}, and \textcolor[HTML]{{000000}}{{\textbf{{Third}}}}.}}
|
| 635 |
+
\label{{tab:benchmark_query_category_real}}
|
| 636 |
+
{embedded}
|
| 637 |
+
\end{{table}}
|
| 638 |
+
|
| 639 |
+
\end{{document}}
|
| 640 |
+
"""
|
| 641 |
+
|
| 642 |
+
|
| 643 |
+
def build_source_manifest() -> pd.DataFrame:
|
| 644 |
+
return pd.DataFrame(
|
| 645 |
+
[
|
| 646 |
+
{
|
| 647 |
+
"metric_key": metric["key"],
|
| 648 |
+
"metric_family": metric["family"],
|
| 649 |
+
"metric_header_label": metric["header_label"],
|
| 650 |
+
"metric_full_label": metric["full_label"],
|
| 651 |
+
"source_kind": metric["source_kind"],
|
| 652 |
+
"source_file": metric["source_file"],
|
| 653 |
+
"source_note": metric["source_note"],
|
| 654 |
+
}
|
| 655 |
+
for metric in METRICS
|
| 656 |
+
]
|
| 657 |
+
)
|
| 658 |
+
|
| 659 |
+
|
| 660 |
+
def try_compile_pdf(tex_path: Path) -> tuple[bool, str]:
|
| 661 |
+
commands = []
|
| 662 |
+
bundled_tectonic = REPO_ROOT / "Evaluation" / "model_radar" / "_build_tools" / "tectonic" / "tectonic.exe"
|
| 663 |
+
if shutil.which("latexmk"):
|
| 664 |
+
commands.append(["latexmk", "-pdf", "-interaction=nonstopmode", tex_path.name])
|
| 665 |
+
if shutil.which("tectonic"):
|
| 666 |
+
commands.append(["tectonic", tex_path.name])
|
| 667 |
+
elif bundled_tectonic.exists():
|
| 668 |
+
commands.append([str(bundled_tectonic), tex_path.name])
|
| 669 |
+
|
| 670 |
+
last_message = "No local TeX engine was found."
|
| 671 |
+
for command in commands:
|
| 672 |
+
try:
|
| 673 |
+
proc = subprocess.run(
|
| 674 |
+
command,
|
| 675 |
+
cwd=tex_path.parent,
|
| 676 |
+
stdout=subprocess.PIPE,
|
| 677 |
+
stderr=subprocess.STDOUT,
|
| 678 |
+
text=True,
|
| 679 |
+
check=False,
|
| 680 |
+
)
|
| 681 |
+
except Exception as exc:
|
| 682 |
+
last_message = str(exc)
|
| 683 |
+
continue
|
| 684 |
+
if proc.returncode == 0:
|
| 685 |
+
return True, proc.stdout[-2000:]
|
| 686 |
+
last_message = proc.stdout[-2000:]
|
| 687 |
+
return False, last_message
|
| 688 |
+
|
| 689 |
+
|
| 690 |
+
def try_render_png(pdf_path: Path, png_path: Path) -> tuple[bool, str]:
|
| 691 |
+
try:
|
| 692 |
+
import fitz # type: ignore
|
| 693 |
+
|
| 694 |
+
doc = fitz.open(pdf_path)
|
| 695 |
+
page = doc.load_page(0)
|
| 696 |
+
pix = page.get_pixmap(matrix=fitz.Matrix(2.0, 2.0), alpha=False)
|
| 697 |
+
pix.save(png_path)
|
| 698 |
+
return True, "Rendered with PyMuPDF."
|
| 699 |
+
except Exception as exc:
|
| 700 |
+
last_message = str(exc)
|
| 701 |
+
|
| 702 |
+
if shutil.which("pdftoppm"):
|
| 703 |
+
prefix = png_path.with_suffix("")
|
| 704 |
+
try:
|
| 705 |
+
proc = subprocess.run(
|
| 706 |
+
["pdftoppm", "-png", "-singlefile", str(pdf_path), str(prefix)],
|
| 707 |
+
cwd=pdf_path.parent,
|
| 708 |
+
stdout=subprocess.PIPE,
|
| 709 |
+
stderr=subprocess.STDOUT,
|
| 710 |
+
text=True,
|
| 711 |
+
check=False,
|
| 712 |
+
)
|
| 713 |
+
if proc.returncode == 0 and png_path.exists():
|
| 714 |
+
return True, proc.stdout[-1000:]
|
| 715 |
+
last_message = proc.stdout[-1000:]
|
| 716 |
+
except Exception as exc:
|
| 717 |
+
last_message = str(exc)
|
| 718 |
+
|
| 719 |
+
if shutil.which("magick"):
|
| 720 |
+
try:
|
| 721 |
+
proc = subprocess.run(
|
| 722 |
+
["magick", "-density", "220", str(pdf_path), str(png_path)],
|
| 723 |
+
cwd=pdf_path.parent,
|
| 724 |
+
stdout=subprocess.PIPE,
|
| 725 |
+
stderr=subprocess.STDOUT,
|
| 726 |
+
text=True,
|
| 727 |
+
check=False,
|
| 728 |
+
)
|
| 729 |
+
if proc.returncode == 0 and png_path.exists():
|
| 730 |
+
return True, proc.stdout[-1000:]
|
| 731 |
+
last_message = proc.stdout[-1000:]
|
| 732 |
+
except Exception as exc:
|
| 733 |
+
last_message = str(exc)
|
| 734 |
+
|
| 735 |
+
return False, last_message
|
| 736 |
+
|
| 737 |
+
|
| 738 |
+
def write_outputs(dataset_level: pd.DataFrame, summary: pd.DataFrame) -> dict[str, Path]:
|
| 739 |
+
ensure_out_dir()
|
| 740 |
+
output_paths = {
|
| 741 |
+
"dataset_csv": OUT_DIR / f"{FINAL_BASENAME}_dataset_level.csv",
|
| 742 |
+
"summary_csv": OUT_DIR / f"{FINAL_BASENAME}_summary.csv",
|
| 743 |
+
"legacy_summary_csv": OUT_DIR / f"{FINAL_BASENAME}_model_summary.csv",
|
| 744 |
+
"sources_csv": OUT_DIR / f"{FINAL_BASENAME}_sources.csv",
|
| 745 |
+
"tex": OUT_DIR / f"{FINAL_BASENAME}.tex",
|
| 746 |
+
"pdf": OUT_DIR / f"{FINAL_BASENAME}.pdf",
|
| 747 |
+
"png": OUT_DIR / f"{FINAL_BASENAME}.png",
|
| 748 |
+
"source_tex": OUT_DIR / f"{FINAL_BASENAME}_source.tex",
|
| 749 |
+
}
|
| 750 |
+
|
| 751 |
+
dataset_level.to_csv(output_paths["dataset_csv"], index=False)
|
| 752 |
+
summary.to_csv(output_paths["summary_csv"], index=False)
|
| 753 |
+
summary.to_csv(output_paths["legacy_summary_csv"], index=False)
|
| 754 |
+
build_source_manifest().to_csv(output_paths["sources_csv"], index=False)
|
| 755 |
+
output_paths["tex"].write_text(render_standalone_latex(summary), encoding="utf-8")
|
| 756 |
+
output_paths["source_tex"].write_text(render_embedded_source(summary), encoding="utf-8")
|
| 757 |
+
return output_paths
|
| 758 |
+
|
| 759 |
+
|
| 760 |
+
def sync_paper_source(source_tex_path: Path) -> Path:
|
| 761 |
+
paper_dir = pick_active_paper_dir()
|
| 762 |
+
target_dir = paper_dir / PAPER_FIGURE_SUBDIR
|
| 763 |
+
target_dir.mkdir(parents=True, exist_ok=True)
|
| 764 |
+
target_path = target_dir / source_tex_path.name
|
| 765 |
+
target_path.write_text(source_tex_path.read_text(encoding="utf-8"), encoding="utf-8")
|
| 766 |
+
return target_path
|
| 767 |
+
|
| 768 |
+
|
| 769 |
+
def main() -> None:
|
| 770 |
+
dataset_level = assemble_dataset_level_table()
|
| 771 |
+
summary = build_category_summary(dataset_level)
|
| 772 |
+
output_paths = write_outputs(dataset_level, summary)
|
| 773 |
+
paper_target = sync_paper_source(output_paths["source_tex"])
|
| 774 |
+
|
| 775 |
+
compiled, compile_note = try_compile_pdf(output_paths["tex"])
|
| 776 |
+
if compiled:
|
| 777 |
+
print(f"Compiled PDF: {output_paths['pdf']}")
|
| 778 |
+
rendered, render_note = try_render_png(output_paths["pdf"], output_paths["png"])
|
| 779 |
+
if rendered:
|
| 780 |
+
print(f"Rendered PNG: {output_paths['png']}")
|
| 781 |
+
else:
|
| 782 |
+
print(f"PNG rendering skipped/failed: {render_note}")
|
| 783 |
+
else:
|
| 784 |
+
print(f"PDF compilation skipped/failed: {compile_note}")
|
| 785 |
+
|
| 786 |
+
print(f"Wrote dataset-level CSV: {output_paths['dataset_csv']}")
|
| 787 |
+
print(f"Wrote summary CSV: {output_paths['summary_csv']}")
|
| 788 |
+
print(f"Wrote source manifest: {output_paths['sources_csv']}")
|
| 789 |
+
print(f"Wrote embedded source snippet: {paper_target}")
|
| 790 |
+
|
| 791 |
+
|
| 792 |
+
if __name__ == "__main__":
|
| 793 |
+
main()
|
evaluation/tables/benchmark_query_category_table/final/README.md
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Final Assets
|
| 2 |
+
|
| 3 |
+
- `benchmark_query_category_table_real.tex`: standalone LaTeX source for the review table
|
| 4 |
+
- `benchmark_query_category_table_real.pdf`: compiled review PDF when a local TeX engine is available
|
| 5 |
+
- `benchmark_query_category_table_real.png`: rendered one-page preview when PDF-to-image conversion is available
|
| 6 |
+
- `benchmark_query_category_table_real_source.tex`: paper-facing embedded table snippet
|
| 7 |
+
- `benchmark_query_category_table_real_summary.csv`: category-level generator-averaged means, stds, and model counts
|
| 8 |
+
- `benchmark_query_category_table_real_dataset_level.csv`: dataset-level metric values used for aggregation
|
| 9 |
+
- `benchmark_query_category_table_real_sources.csv`: source manifest for each displayed metric
|
| 10 |
+
|
| 11 |
+
This table keeps only six columns: `Distance`, `Subgroup`, `Conditional`, `Tail`, `Missingness`, and `Cardinality`. Rows are `Categorical`, `Numerical`, and `Mix`, and each cell is the arithmetic mean across the available synthetic generators for that category/metric combination.
|
evaluation/tables/benchmark_query_category_table/final/benchmark_query_category_table_real.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c05cce08671806ea82d464f556f4717fb6c2e9e08c949ec4c01c0eac63c8c017
|
| 3 |
+
size 28662
|
evaluation/tables/benchmark_query_category_table/final/benchmark_query_category_table_real.png
ADDED
|
Git LFS Details
|
evaluation/tables/benchmark_query_category_table/final/benchmark_query_category_table_real.tex
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
\documentclass[10pt]{article}
|
| 2 |
+
\usepackage[a4paper,landscape,margin=0.60in]{geometry}
|
| 3 |
+
\usepackage[T1]{fontenc}
|
| 4 |
+
\usepackage[utf8]{inputenc}
|
| 5 |
+
\usepackage{newtxtext,newtxmath}
|
| 6 |
+
\usepackage{booktabs}
|
| 7 |
+
\usepackage[table]{xcolor}
|
| 8 |
+
\usepackage{array}
|
| 9 |
+
\usepackage{multirow}
|
| 10 |
+
\usepackage{adjustbox}
|
| 11 |
+
\usepackage{caption}
|
| 12 |
+
\usepackage{microtype}
|
| 13 |
+
\captionsetup{font=small,labelfont=bf}
|
| 14 |
+
|
| 15 |
+
\begin{document}
|
| 16 |
+
\thispagestyle{empty}
|
| 17 |
+
|
| 18 |
+
\noindent{\small\textit{Category-wise benchmark summary with expanded query families}}\\[-0.15em]
|
| 19 |
+
\noindent\color{gray}\rule{\textwidth}{0.5pt}
|
| 20 |
+
|
| 21 |
+
\begin{table}[ht]
|
| 22 |
+
\centering
|
| 23 |
+
\caption{Category-wise benchmark summary aligned to the benchmark reference-table style. \texttt{Distance} retains only \texttt{Dist. overall}. The five query-centric families (\texttt{Subgroup}, \texttt{Conditional}, \texttt{Tail}, \texttt{Missingness}, and \texttt{Cardinality}) retain only their sub-items. Rows are the three dataset categories, and each cell is a generator-averaged category score shown as mean $\pm$ std. Within each column, category ranks are marked as \textcolor[HTML]{1397B8}{\textbf{First}}, \textcolor[HTML]{7B45E5}{\textbf{Second}}, and \textcolor[HTML]{000000}{\textbf{Third}}.}
|
| 24 |
+
\label{tab:benchmark_query_category_real}
|
| 25 |
+
{
|
| 26 |
+
\definecolor{FirstPlace}{HTML}{1397B8}%
|
| 27 |
+
\definecolor{SecondPlace}{HTML}{7B45E5}%
|
| 28 |
+
\definecolor{ThirdPlace}{HTML}{000000}%
|
| 29 |
+
\definecolor{OverallTint}{HTML}{F8F1DA}%
|
| 30 |
+
\definecolor{RuleGray}{HTML}{C8CDD3}%
|
| 31 |
+
\arrayrulecolor{RuleGray}%
|
| 32 |
+
\setlength{\tabcolsep}{3.0pt}%
|
| 33 |
+
\renewcommand{\arraystretch}{1.08}%
|
| 34 |
+
\scriptsize
|
| 35 |
+
\begin{adjustbox}{max width=\textwidth}
|
| 36 |
+
\begin{tabular}{@{}l c c c c c c c c c c c c c@{}}
|
| 37 |
+
\toprule
|
| 38 |
+
\multirow{2}{*}{\textbf{Category}} & \multicolumn{1}{c}{\textbf{Distance}} & \multicolumn{2}{c}{\textbf{Subgroup}} & \multicolumn{3}{c}{\textbf{Conditional}} & \multicolumn{3}{c}{\textbf{Tail}} & \multicolumn{2}{c}{\textbf{Missingness}} & \multicolumn{2}{c}{\textbf{Cardinality}} \\
|
| 39 |
+
\cmidrule(lr){2-2}
|
| 40 |
+
\cmidrule(lr){3-4}
|
| 41 |
+
\cmidrule(lr){5-7}
|
| 42 |
+
\cmidrule(lr){8-10}
|
| 43 |
+
\cmidrule(lr){11-12}
|
| 44 |
+
\cmidrule(lr){13-14}
|
| 45 |
+
& \cellcolor{OverallTint} Dist. overall $\uparrow$ & Internal profile $\uparrow$ & Size stability $\uparrow$ & Dependency strength $\uparrow$ & Direction $\uparrow$ & Slice-level $\uparrow$ & Tail set $\uparrow$ & Tail mass $\uparrow$ & Tail concentration $\uparrow$ & Marginal rate $\uparrow$ & Co-missingness $\uparrow$ & Support-rank $\uparrow$ & High-cardinality $\uparrow$ \\
|
| 46 |
+
\midrule
|
| 47 |
+
Categorical & \cellcolor{OverallTint} {\color{ThirdPlace}\textbf{0.74$_{\pm 0.16}$}} & {\color{FirstPlace}\textbf{0.47$_{\pm 0.07}$}} & {\color{SecondPlace}\textbf{0.40$_{\pm 0.08}$}} & {\color{FirstPlace}\textbf{0.53$_{\pm 0.10}$}} & {\color{FirstPlace}\textbf{0.54$_{\pm 0.11}$}} & {\color{SecondPlace}\textbf{0.39$_{\pm 0.09}$}} & {\color{FirstPlace}\textbf{0.14$_{\pm 0.12}$}} & {\color{SecondPlace}\textbf{0.31$_{\pm 0.24}$}} & {\color{SecondPlace}\textbf{0.37$_{\pm 0.26}$}} & {\color{FirstPlace}\textbf{0.88$_{\pm 0.07}$}} & {\color{FirstPlace}\textbf{0.88$_{\pm 0.07}$}} & {\color{SecondPlace}\textbf{0.46$_{\pm 0.37}$}} & {\color{ThirdPlace}\textbf{0.66$_{\pm 0.15}$}} \\
|
| 48 |
+
Numerical & \cellcolor{OverallTint} {\color{SecondPlace}\textbf{0.78$_{\pm 0.12}$}} & {\color{ThirdPlace}\textbf{0.32$_{\pm 0.08}$}} & {\color{ThirdPlace}\textbf{0.37$_{\pm 0.11}$}} & {\color{ThirdPlace}\textbf{0.35$_{\pm 0.14}$}} & {\color{ThirdPlace}\textbf{0.38$_{\pm 0.13}$}} & {\color{ThirdPlace}\textbf{0.37$_{\pm 0.05}$}} & {\color{ThirdPlace}\textbf{0.07$_{\pm 0.07}$}} & {\color{FirstPlace}\textbf{0.60$_{\pm 0.11}$}} & {\color{FirstPlace}\textbf{0.67$_{\pm 0.07}$}} & {\color{ThirdPlace}\textbf{0.55$_{\pm 0.25}$}} & {\color{ThirdPlace}\textbf{0.55$_{\pm 0.25}$}} & {\color{ThirdPlace}\textbf{0.39$_{\pm 0.28}$}} & {\color{FirstPlace}\textbf{0.88$_{\pm 0.09}$}} \\
|
| 49 |
+
Mix & \cellcolor{OverallTint} {\color{FirstPlace}\textbf{0.86$_{\pm 0.11}$}} & {\color{SecondPlace}\textbf{0.40$_{\pm 0.06}$}} & {\color{FirstPlace}\textbf{0.46$_{\pm 0.06}$}} & {\color{SecondPlace}\textbf{0.51$_{\pm 0.07}$}} & {\color{SecondPlace}\textbf{0.51$_{\pm 0.08}$}} & {\color{FirstPlace}\textbf{0.47$_{\pm 0.05}$}} & {\color{SecondPlace}\textbf{0.10$_{\pm 0.12}$}} & {\color{ThirdPlace}\textbf{0.23$_{\pm 0.18}$}} & {\color{ThirdPlace}\textbf{0.31$_{\pm 0.20}$}} & {\color{SecondPlace}\textbf{0.84$_{\pm 0.11}$}} & {\color{SecondPlace}\textbf{0.84$_{\pm 0.11}$}} & {\color{FirstPlace}\textbf{0.48$_{\pm 0.36}$}} & {\color{SecondPlace}\textbf{0.80$_{\pm 0.09}$}} \\
|
| 50 |
+
\bottomrule
|
| 51 |
+
\end{tabular}
|
| 52 |
+
\end{adjustbox}
|
| 53 |
+
|
| 54 |
+
\vspace{0.35em}
|
| 55 |
+
\begin{minipage}{0.96\textwidth}
|
| 56 |
+
\footnotesize\textit{Note.} Each cell reports mean $\pm$ std across synthetic generators after first averaging that metric within the covered datasets of the corresponding category for each generator. \texttt{Distance} keeps only \texttt{Dist. overall}, while the five query-centric families retain only their sub-items. The category rows are ranked within each column and highlighted as {\color{FirstPlace}\textbf{First}}, {\color{SecondPlace}\textbf{Second}}, and {\color{ThirdPlace}\textbf{Third}}.
|
| 57 |
+
\end{minipage}
|
| 58 |
+
}
|
| 59 |
+
|
| 60 |
+
\end{table}
|
| 61 |
+
|
| 62 |
+
\end{document}
|
evaluation/tables/benchmark_query_category_table/final/benchmark_query_category_table_real_dataset_level.csv
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
evaluation/tables/benchmark_query_category_table/final/benchmark_query_category_table_real_model_summary.csv
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
dataset_prefix,dataset_prefix_label,metric_key,metric_family,metric_group_label,metric_header_label,metric_full_label,category_mean,category_std,model_count,min_covered_datasets,max_covered_datasets,prefix_order,metric_order,rank
|
| 2 |
+
c,Categorical,distance_overall,Distance,Distance,Dist. overall,Distance overall,0.7378319956864181,0.15882813583964822,11,8,20,0,0,3
|
| 3 |
+
c,Categorical,internal_profile_stability,Subgroup,Subgroup,Internal profile,Internal profile stability,0.4695235274722863,0.06998974703211315,11,8,19,0,1,1
|
| 4 |
+
c,Categorical,subgroup_size_stability,Subgroup,Subgroup,Size stability,Subgroup size stability,0.398626941876227,0.07623829611451803,11,8,19,0,2,2
|
| 5 |
+
c,Categorical,dependency_strength_similarity,Conditional,Conditional,Dependency strength,Dependency strength similarity,0.5297446115302926,0.10311066073871228,11,8,19,0,3,1
|
| 6 |
+
c,Categorical,direction_consistency,Conditional,Conditional,Direction,Direction consistency,0.5362975178302296,0.10704072139884171,11,8,19,0,4,1
|
| 7 |
+
c,Categorical,slice_level_consistency,Conditional,Conditional,Slice-level,Slice-level consistency,0.38875129467250535,0.08983283734580416,11,7,18,0,5,2
|
| 8 |
+
c,Categorical,tail_set_consistency,Tail,Tail,Tail set,Tail set consistency,0.14253322839467797,0.12341820140990105,11,8,18,0,6,1
|
| 9 |
+
c,Categorical,tail_mass_similarity,Tail,Tail,Tail mass,Tail mass similarity,0.31028592376298464,0.23675650633035966,11,8,18,0,7,2
|
| 10 |
+
c,Categorical,tail_concentration_consistency,Tail,Tail,Tail concentration,Tail concentration consistency,0.3740018230680052,0.26482213384488884,11,8,18,0,8,2
|
| 11 |
+
c,Categorical,marginal_missing_rate_consistency,Missingness,Missingness,Marginal rate,Marginal missing-rate consistency,0.8813004799999999,0.06970819812648324,10,8,19,0,9,1
|
| 12 |
+
c,Categorical,co_missingness_pattern_consistency,Missingness,Missingness,Co-missingness,Co-missingness pattern consistency,0.8783717266666666,0.0666524265510059,10,8,19,0,10,1
|
| 13 |
+
c,Categorical,support_rank_profile_consistency,Cardinality,Cardinality,Support-rank,Support-rank profile consistency,0.4602752186068887,0.366861408505073,11,8,20,0,11,2
|
| 14 |
+
c,Categorical,high_cardinality_response_stability,Cardinality,Cardinality,High-cardinality,High-cardinality response stability,0.6620046773285082,0.14963038372953083,11,1,12,0,12,3
|
| 15 |
+
n,Numerical,distance_overall,Distance,Distance,Dist. overall,Distance overall,0.7781988849850697,0.11701571515037142,11,2,20,1,0,2
|
| 16 |
+
n,Numerical,internal_profile_stability,Subgroup,Subgroup,Internal profile,Internal profile stability,0.32300778920404777,0.08227942926217155,11,2,19,1,1,3
|
| 17 |
+
n,Numerical,subgroup_size_stability,Subgroup,Subgroup,Size stability,Subgroup size stability,0.36957429421192695,0.11325409439634704,11,1,16,1,2,3
|
| 18 |
+
n,Numerical,dependency_strength_similarity,Conditional,Conditional,Dependency strength,Dependency strength similarity,0.34568107721322067,0.13836647733257204,11,2,19,1,3,3
|
| 19 |
+
n,Numerical,direction_consistency,Conditional,Conditional,Direction,Direction consistency,0.38364716916321734,0.13041214216436803,11,2,19,1,4,3
|
| 20 |
+
n,Numerical,slice_level_consistency,Conditional,Conditional,Slice-level,Slice-level consistency,0.36704052493014905,0.053452389974622545,11,2,19,1,5,3
|
| 21 |
+
n,Numerical,tail_set_consistency,Tail,Tail,Tail set,Tail set consistency,0.07464324919104746,0.0706525986620942,10,2,19,1,6,3
|
| 22 |
+
n,Numerical,tail_mass_similarity,Tail,Tail,Tail mass,Tail mass similarity,0.5977028937383901,0.11297410538607572,10,2,19,1,7,1
|
| 23 |
+
n,Numerical,tail_concentration_consistency,Tail,Tail,Tail concentration,Tail concentration consistency,0.6691425957667698,0.07388882174370075,10,2,19,1,8,1
|
| 24 |
+
n,Numerical,marginal_missing_rate_consistency,Missingness,Missingness,Marginal rate,Marginal missing-rate consistency,0.5514571851851852,0.2512177564827895,9,2,19,1,9,3
|
| 25 |
+
n,Numerical,co_missingness_pattern_consistency,Missingness,Missingness,Co-missingness,Co-missingness pattern consistency,0.5521162222222222,0.249249116869312,9,2,19,1,10,3
|
| 26 |
+
n,Numerical,support_rank_profile_consistency,Cardinality,Cardinality,Support-rank,Support-rank profile consistency,0.3945733820275187,0.28447649711307266,10,2,19,1,11,3
|
| 27 |
+
n,Numerical,high_cardinality_response_stability,Cardinality,Cardinality,High-cardinality,High-cardinality response stability,0.8777668822001493,0.09134254610672132,10,2,14,1,12,1
|
| 28 |
+
m,Mix,distance_overall,Distance,Distance,Dist. overall,Distance overall,0.8563024788267684,0.10559535058410295,11,6,11,2,0,1
|
| 29 |
+
m,Mix,internal_profile_stability,Subgroup,Subgroup,Internal profile,Internal profile stability,0.3959704766595662,0.05525315390211962,11,6,11,2,1,2
|
| 30 |
+
m,Mix,subgroup_size_stability,Subgroup,Subgroup,Size stability,Subgroup size stability,0.4604416994197091,0.06456896618839744,11,6,11,2,2,1
|
| 31 |
+
m,Mix,dependency_strength_similarity,Conditional,Conditional,Dependency strength,Dependency strength similarity,0.5092219044921619,0.06698324290685187,11,6,11,2,3,2
|
| 32 |
+
m,Mix,direction_consistency,Conditional,Conditional,Direction,Direction consistency,0.5051151576853998,0.07874618397987326,11,6,11,2,4,2
|
| 33 |
+
m,Mix,slice_level_consistency,Conditional,Conditional,Slice-level,Slice-level consistency,0.4712745279835051,0.0537725139680299,11,6,11,2,5,1
|
| 34 |
+
m,Mix,tail_set_consistency,Tail,Tail,Tail set,Tail set consistency,0.09766786832185491,0.12306172722651405,11,6,11,2,6,2
|
| 35 |
+
m,Mix,tail_mass_similarity,Tail,Tail,Tail mass,Tail mass similarity,0.22915647893841007,0.18489994930514467,11,6,11,2,7,3
|
| 36 |
+
m,Mix,tail_concentration_consistency,Tail,Tail,Tail concentration,Tail concentration consistency,0.3105914506349206,0.202725881012202,11,6,11,2,8,3
|
| 37 |
+
m,Mix,marginal_missing_rate_consistency,Missingness,Missingness,Marginal rate,Marginal missing-rate consistency,0.8425754999999999,0.10734148666154718,11,6,11,2,9,2
|
| 38 |
+
m,Mix,co_missingness_pattern_consistency,Missingness,Missingness,Co-missingness,Co-missingness pattern consistency,0.8413917727272726,0.10844381859544887,11,6,11,2,10,2
|
| 39 |
+
m,Mix,support_rank_profile_consistency,Cardinality,Cardinality,Support-rank,Support-rank profile consistency,0.4813761323423284,0.36480806865690174,11,6,11,2,11,1
|
| 40 |
+
m,Mix,high_cardinality_response_stability,Cardinality,Cardinality,High-cardinality,High-cardinality response stability,0.7957809127934102,0.09392061292496333,11,5,10,2,12,2
|
evaluation/tables/benchmark_query_category_table/final/benchmark_query_category_table_real_source.tex
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
\definecolor{FirstPlace}{HTML}{1397B8}%
|
| 3 |
+
\definecolor{SecondPlace}{HTML}{7B45E5}%
|
| 4 |
+
\definecolor{ThirdPlace}{HTML}{000000}%
|
| 5 |
+
\definecolor{OverallTint}{HTML}{F8F1DA}%
|
| 6 |
+
\definecolor{RuleGray}{HTML}{C8CDD3}%
|
| 7 |
+
\arrayrulecolor{RuleGray}%
|
| 8 |
+
\setlength{\tabcolsep}{3.0pt}%
|
| 9 |
+
\renewcommand{\arraystretch}{1.08}%
|
| 10 |
+
\scriptsize
|
| 11 |
+
\begin{adjustbox}{max width=\textwidth}
|
| 12 |
+
\begin{tabular}{@{}l c c c c c c c c c c c c c@{}}
|
| 13 |
+
\toprule
|
| 14 |
+
\multirow{2}{*}{\textbf{Category}} & \multicolumn{1}{c}{\textbf{Distance}} & \multicolumn{2}{c}{\textbf{Subgroup}} & \multicolumn{3}{c}{\textbf{Conditional}} & \multicolumn{3}{c}{\textbf{Tail}} & \multicolumn{2}{c}{\textbf{Missingness}} & \multicolumn{2}{c}{\textbf{Cardinality}} \\
|
| 15 |
+
\cmidrule(lr){2-2}
|
| 16 |
+
\cmidrule(lr){3-4}
|
| 17 |
+
\cmidrule(lr){5-7}
|
| 18 |
+
\cmidrule(lr){8-10}
|
| 19 |
+
\cmidrule(lr){11-12}
|
| 20 |
+
\cmidrule(lr){13-14}
|
| 21 |
+
& \cellcolor{OverallTint} Dist. overall $\uparrow$ & Internal profile $\uparrow$ & Size stability $\uparrow$ & Dependency strength $\uparrow$ & Direction $\uparrow$ & Slice-level $\uparrow$ & Tail set $\uparrow$ & Tail mass $\uparrow$ & Tail concentration $\uparrow$ & Marginal rate $\uparrow$ & Co-missingness $\uparrow$ & Support-rank $\uparrow$ & High-cardinality $\uparrow$ \\
|
| 22 |
+
\midrule
|
| 23 |
+
Categorical & \cellcolor{OverallTint} {\color{ThirdPlace}\textbf{0.74$_{\pm 0.16}$}} & {\color{FirstPlace}\textbf{0.47$_{\pm 0.07}$}} & {\color{SecondPlace}\textbf{0.40$_{\pm 0.08}$}} & {\color{FirstPlace}\textbf{0.53$_{\pm 0.10}$}} & {\color{FirstPlace}\textbf{0.54$_{\pm 0.11}$}} & {\color{SecondPlace}\textbf{0.39$_{\pm 0.09}$}} & {\color{FirstPlace}\textbf{0.14$_{\pm 0.12}$}} & {\color{SecondPlace}\textbf{0.31$_{\pm 0.24}$}} & {\color{SecondPlace}\textbf{0.37$_{\pm 0.26}$}} & {\color{FirstPlace}\textbf{0.88$_{\pm 0.07}$}} & {\color{FirstPlace}\textbf{0.88$_{\pm 0.07}$}} & {\color{SecondPlace}\textbf{0.46$_{\pm 0.37}$}} & {\color{ThirdPlace}\textbf{0.66$_{\pm 0.15}$}} \\
|
| 24 |
+
Numerical & \cellcolor{OverallTint} {\color{SecondPlace}\textbf{0.78$_{\pm 0.12}$}} & {\color{ThirdPlace}\textbf{0.32$_{\pm 0.08}$}} & {\color{ThirdPlace}\textbf{0.37$_{\pm 0.11}$}} & {\color{ThirdPlace}\textbf{0.35$_{\pm 0.14}$}} & {\color{ThirdPlace}\textbf{0.38$_{\pm 0.13}$}} & {\color{ThirdPlace}\textbf{0.37$_{\pm 0.05}$}} & {\color{ThirdPlace}\textbf{0.07$_{\pm 0.07}$}} & {\color{FirstPlace}\textbf{0.60$_{\pm 0.11}$}} & {\color{FirstPlace}\textbf{0.67$_{\pm 0.07}$}} & {\color{ThirdPlace}\textbf{0.55$_{\pm 0.25}$}} & {\color{ThirdPlace}\textbf{0.55$_{\pm 0.25}$}} & {\color{ThirdPlace}\textbf{0.39$_{\pm 0.28}$}} & {\color{FirstPlace}\textbf{0.88$_{\pm 0.09}$}} \\
|
| 25 |
+
Mix & \cellcolor{OverallTint} {\color{FirstPlace}\textbf{0.86$_{\pm 0.11}$}} & {\color{SecondPlace}\textbf{0.40$_{\pm 0.06}$}} & {\color{FirstPlace}\textbf{0.46$_{\pm 0.06}$}} & {\color{SecondPlace}\textbf{0.51$_{\pm 0.07}$}} & {\color{SecondPlace}\textbf{0.51$_{\pm 0.08}$}} & {\color{FirstPlace}\textbf{0.47$_{\pm 0.05}$}} & {\color{SecondPlace}\textbf{0.10$_{\pm 0.12}$}} & {\color{ThirdPlace}\textbf{0.23$_{\pm 0.18}$}} & {\color{ThirdPlace}\textbf{0.31$_{\pm 0.20}$}} & {\color{SecondPlace}\textbf{0.84$_{\pm 0.11}$}} & {\color{SecondPlace}\textbf{0.84$_{\pm 0.11}$}} & {\color{FirstPlace}\textbf{0.48$_{\pm 0.36}$}} & {\color{SecondPlace}\textbf{0.80$_{\pm 0.09}$}} \\
|
| 26 |
+
\bottomrule
|
| 27 |
+
\end{tabular}
|
| 28 |
+
\end{adjustbox}
|
| 29 |
+
|
| 30 |
+
\vspace{0.35em}
|
| 31 |
+
\begin{minipage}{0.96\textwidth}
|
| 32 |
+
\footnotesize\textit{Note.} Each cell reports mean $\pm$ std across synthetic generators after first averaging that metric within the covered datasets of the corresponding category for each generator. \texttt{Distance} keeps only \texttt{Dist. overall}, while the five query-centric families retain only their sub-items. The category rows are ranked within each column and highlighted as {\color{FirstPlace}\textbf{First}}, {\color{SecondPlace}\textbf{Second}}, and {\color{ThirdPlace}\textbf{Third}}.
|
| 33 |
+
\end{minipage}
|
| 34 |
+
}
|
evaluation/tables/benchmark_query_category_table/final/benchmark_query_category_table_real_sources.csv
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
metric_key,metric_family,metric_header_label,metric_full_label,source_kind,source_file,source_note
|
| 2 |
+
distance_overall,Distance,Dist. overall,Distance overall,distance_dataset_export,Evaluation/distance/runs/*/datasets/*/distance_summary__*.csv,Latest deduplicated dataset-model overall fidelity score.
|
| 3 |
+
internal_profile_stability,Subgroup,Internal profile,Internal profile stability,query_subitem_dataset_export,Evaluation/query_fivepart_breakdown/subgroup_breakdown/data/dataset_model_subitems.csv,Canonical subgroup sub-item score from dataset-level sub-item export.
|
| 4 |
+
subgroup_size_stability,Subgroup,Size stability,Subgroup size stability,query_subitem_dataset_export,Evaluation/query_fivepart_breakdown/subgroup_breakdown/data/dataset_model_subitems.csv,Canonical subgroup sub-item score from dataset-level sub-item export.
|
| 5 |
+
dependency_strength_similarity,Conditional,Dependency strength,Dependency strength similarity,query_subitem_dataset_export,Evaluation/query_fivepart_breakdown/conditional_breakdown/data/dataset_model_subitems.csv,Canonical conditional sub-item score from dataset-level sub-item export.
|
| 6 |
+
direction_consistency,Conditional,Direction,Direction consistency,query_subitem_dataset_export,Evaluation/query_fivepart_breakdown/conditional_breakdown/data/dataset_model_subitems.csv,Canonical conditional sub-item score from dataset-level sub-item export.
|
| 7 |
+
slice_level_consistency,Conditional,Slice-level,Slice-level consistency,query_subitem_dataset_export,Evaluation/query_fivepart_breakdown/conditional_breakdown/data/dataset_model_subitems.csv,Canonical conditional sub-item score from dataset-level sub-item export.
|
| 8 |
+
tail_set_consistency,Tail,Tail set,Tail set consistency,query_subitem_dataset_export,Evaluation/query_fivepart_breakdown/tail_breakdown/data/dataset_model_scores.csv,Canonical tail sub-item score from dataset-level breakdown export.
|
| 9 |
+
tail_mass_similarity,Tail,Tail mass,Tail mass similarity,query_subitem_dataset_export,Evaluation/query_fivepart_breakdown/tail_breakdown/data/dataset_model_scores.csv,Canonical tail sub-item score from dataset-level breakdown export.
|
| 10 |
+
tail_concentration_consistency,Tail,Tail concentration,Tail concentration consistency,query_subitem_dataset_export,Evaluation/query_fivepart_breakdown/tail_breakdown/data/dataset_model_scores.csv,Canonical tail sub-item score from dataset-level breakdown export.
|
| 11 |
+
marginal_missing_rate_consistency,Missingness,Marginal rate,Marginal missing-rate consistency,query_subitem_dataset_export,Evaluation/query_fivepart_breakdown/missingness_breakdown/data/dataset_model_subitems.csv,Canonical missingness sub-item score from dataset-level sub-item export.
|
| 12 |
+
co_missingness_pattern_consistency,Missingness,Co-missingness,Co-missingness pattern consistency,query_subitem_dataset_export,Evaluation/query_fivepart_breakdown/missingness_breakdown/data/dataset_model_subitems.csv,Canonical missingness sub-item score from dataset-level sub-item export.
|
| 13 |
+
support_rank_profile_consistency,Cardinality,Support-rank,Support-rank profile consistency,cardinality_subitem_dataset_export,Evaluation/query_fivepart_breakdown/cardinality/data/cleaned_results.csv,Dataset-level mean of the discrete support-retention branch.
|
| 14 |
+
high_cardinality_response_stability,Cardinality,High-cardinality,High-cardinality response stability,cardinality_subitem_dataset_export,Evaluation/query_fivepart_breakdown/cardinality/data/cleaned_results.csv,Dataset-level mean over high-dynamic cardinality/range units.
|
evaluation/tables/benchmark_query_category_table/final/benchmark_query_category_table_real_summary.csv
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
dataset_prefix,dataset_prefix_label,metric_key,metric_family,metric_group_label,metric_header_label,metric_full_label,category_mean,category_std,model_count,min_covered_datasets,max_covered_datasets,prefix_order,metric_order,rank
|
| 2 |
+
c,Categorical,distance_overall,Distance,Distance,Dist. overall,Distance overall,0.7378319956864181,0.15882813583964822,11,8,20,0,0,3
|
| 3 |
+
c,Categorical,internal_profile_stability,Subgroup,Subgroup,Internal profile,Internal profile stability,0.4695235274722863,0.06998974703211315,11,8,19,0,1,1
|
| 4 |
+
c,Categorical,subgroup_size_stability,Subgroup,Subgroup,Size stability,Subgroup size stability,0.398626941876227,0.07623829611451803,11,8,19,0,2,2
|
| 5 |
+
c,Categorical,dependency_strength_similarity,Conditional,Conditional,Dependency strength,Dependency strength similarity,0.5297446115302926,0.10311066073871228,11,8,19,0,3,1
|
| 6 |
+
c,Categorical,direction_consistency,Conditional,Conditional,Direction,Direction consistency,0.5362975178302296,0.10704072139884171,11,8,19,0,4,1
|
| 7 |
+
c,Categorical,slice_level_consistency,Conditional,Conditional,Slice-level,Slice-level consistency,0.38875129467250535,0.08983283734580416,11,7,18,0,5,2
|
| 8 |
+
c,Categorical,tail_set_consistency,Tail,Tail,Tail set,Tail set consistency,0.14253322839467797,0.12341820140990105,11,8,18,0,6,1
|
| 9 |
+
c,Categorical,tail_mass_similarity,Tail,Tail,Tail mass,Tail mass similarity,0.31028592376298464,0.23675650633035966,11,8,18,0,7,2
|
| 10 |
+
c,Categorical,tail_concentration_consistency,Tail,Tail,Tail concentration,Tail concentration consistency,0.3740018230680052,0.26482213384488884,11,8,18,0,8,2
|
| 11 |
+
c,Categorical,marginal_missing_rate_consistency,Missingness,Missingness,Marginal rate,Marginal missing-rate consistency,0.8813004799999999,0.06970819812648324,10,8,19,0,9,1
|
| 12 |
+
c,Categorical,co_missingness_pattern_consistency,Missingness,Missingness,Co-missingness,Co-missingness pattern consistency,0.8783717266666666,0.0666524265510059,10,8,19,0,10,1
|
| 13 |
+
c,Categorical,support_rank_profile_consistency,Cardinality,Cardinality,Support-rank,Support-rank profile consistency,0.4602752186068887,0.366861408505073,11,8,20,0,11,2
|
| 14 |
+
c,Categorical,high_cardinality_response_stability,Cardinality,Cardinality,High-cardinality,High-cardinality response stability,0.6620046773285082,0.14963038372953083,11,1,12,0,12,3
|
| 15 |
+
n,Numerical,distance_overall,Distance,Distance,Dist. overall,Distance overall,0.7781988849850697,0.11701571515037142,11,2,20,1,0,2
|
| 16 |
+
n,Numerical,internal_profile_stability,Subgroup,Subgroup,Internal profile,Internal profile stability,0.32300778920404777,0.08227942926217155,11,2,19,1,1,3
|
| 17 |
+
n,Numerical,subgroup_size_stability,Subgroup,Subgroup,Size stability,Subgroup size stability,0.36957429421192695,0.11325409439634704,11,1,16,1,2,3
|
| 18 |
+
n,Numerical,dependency_strength_similarity,Conditional,Conditional,Dependency strength,Dependency strength similarity,0.34568107721322067,0.13836647733257204,11,2,19,1,3,3
|
| 19 |
+
n,Numerical,direction_consistency,Conditional,Conditional,Direction,Direction consistency,0.38364716916321734,0.13041214216436803,11,2,19,1,4,3
|
| 20 |
+
n,Numerical,slice_level_consistency,Conditional,Conditional,Slice-level,Slice-level consistency,0.36704052493014905,0.053452389974622545,11,2,19,1,5,3
|
| 21 |
+
n,Numerical,tail_set_consistency,Tail,Tail,Tail set,Tail set consistency,0.07464324919104746,0.0706525986620942,10,2,19,1,6,3
|
| 22 |
+
n,Numerical,tail_mass_similarity,Tail,Tail,Tail mass,Tail mass similarity,0.5977028937383901,0.11297410538607572,10,2,19,1,7,1
|
| 23 |
+
n,Numerical,tail_concentration_consistency,Tail,Tail,Tail concentration,Tail concentration consistency,0.6691425957667698,0.07388882174370075,10,2,19,1,8,1
|
| 24 |
+
n,Numerical,marginal_missing_rate_consistency,Missingness,Missingness,Marginal rate,Marginal missing-rate consistency,0.5514571851851852,0.2512177564827895,9,2,19,1,9,3
|
| 25 |
+
n,Numerical,co_missingness_pattern_consistency,Missingness,Missingness,Co-missingness,Co-missingness pattern consistency,0.5521162222222222,0.249249116869312,9,2,19,1,10,3
|
| 26 |
+
n,Numerical,support_rank_profile_consistency,Cardinality,Cardinality,Support-rank,Support-rank profile consistency,0.3945733820275187,0.28447649711307266,10,2,19,1,11,3
|
| 27 |
+
n,Numerical,high_cardinality_response_stability,Cardinality,Cardinality,High-cardinality,High-cardinality response stability,0.8777668822001493,0.09134254610672132,10,2,14,1,12,1
|
| 28 |
+
m,Mix,distance_overall,Distance,Distance,Dist. overall,Distance overall,0.8563024788267684,0.10559535058410295,11,6,11,2,0,1
|
| 29 |
+
m,Mix,internal_profile_stability,Subgroup,Subgroup,Internal profile,Internal profile stability,0.3959704766595662,0.05525315390211962,11,6,11,2,1,2
|
| 30 |
+
m,Mix,subgroup_size_stability,Subgroup,Subgroup,Size stability,Subgroup size stability,0.4604416994197091,0.06456896618839744,11,6,11,2,2,1
|
| 31 |
+
m,Mix,dependency_strength_similarity,Conditional,Conditional,Dependency strength,Dependency strength similarity,0.5092219044921619,0.06698324290685187,11,6,11,2,3,2
|
| 32 |
+
m,Mix,direction_consistency,Conditional,Conditional,Direction,Direction consistency,0.5051151576853998,0.07874618397987326,11,6,11,2,4,2
|
| 33 |
+
m,Mix,slice_level_consistency,Conditional,Conditional,Slice-level,Slice-level consistency,0.4712745279835051,0.0537725139680299,11,6,11,2,5,1
|
| 34 |
+
m,Mix,tail_set_consistency,Tail,Tail,Tail set,Tail set consistency,0.09766786832185491,0.12306172722651405,11,6,11,2,6,2
|
| 35 |
+
m,Mix,tail_mass_similarity,Tail,Tail,Tail mass,Tail mass similarity,0.22915647893841007,0.18489994930514467,11,6,11,2,7,3
|
| 36 |
+
m,Mix,tail_concentration_consistency,Tail,Tail,Tail concentration,Tail concentration consistency,0.3105914506349206,0.202725881012202,11,6,11,2,8,3
|
| 37 |
+
m,Mix,marginal_missing_rate_consistency,Missingness,Missingness,Marginal rate,Marginal missing-rate consistency,0.8425754999999999,0.10734148666154718,11,6,11,2,9,2
|
| 38 |
+
m,Mix,co_missingness_pattern_consistency,Missingness,Missingness,Co-missingness,Co-missingness pattern consistency,0.8413917727272726,0.10844381859544887,11,6,11,2,10,2
|
| 39 |
+
m,Mix,support_rank_profile_consistency,Cardinality,Cardinality,Support-rank,Support-rank profile consistency,0.4813761323423284,0.36480806865690174,11,6,11,2,11,1
|
| 40 |
+
m,Mix,high_cardinality_response_stability,Cardinality,Cardinality,High-cardinality,High-cardinality response stability,0.7957809127934102,0.09392061292496333,11,5,10,2,12,2
|