jialinzhang commited on
Commit
6d2f0d6
·
1 Parent(s): 3fed1a8

Add syntheticSuccess m7

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. syntheticSuccess/m7/arf/arf-m7-20260422_055912/_arf_generate.py +23 -0
  2. syntheticSuccess/m7/arf/arf-m7-20260422_055912/_arf_train.py +37 -0
  3. syntheticSuccess/m7/arf/arf-m7-20260422_055912/arf-m7-4088-20260422_060013.csv +3 -0
  4. syntheticSuccess/m7/arf/arf-m7-20260422_055912/arf_model.pkl +3 -0
  5. syntheticSuccess/m7/arf/arf-m7-20260422_055912/gen_20260422_060013.log +3 -0
  6. syntheticSuccess/m7/arf/arf-m7-20260422_055912/input_snapshot.json +36 -0
  7. syntheticSuccess/m7/arf/arf-m7-20260422_055912/public_gate/normalized_schema_snapshot.json +242 -0
  8. syntheticSuccess/m7/arf/arf-m7-20260422_055912/public_gate/public_gate_report.json +37 -0
  9. syntheticSuccess/m7/arf/arf-m7-20260422_055912/public_gate/staged_input_manifest.json +247 -0
  10. syntheticSuccess/m7/arf/arf-m7-20260422_055912/runtime_result.json +15 -0
  11. syntheticSuccess/m7/arf/arf-m7-20260422_055912/staged/arf/adapter_report.json +7 -0
  12. syntheticSuccess/m7/arf/arf-m7-20260422_055912/staged/arf/adapter_transforms_applied.json +1 -0
  13. syntheticSuccess/m7/arf/arf-m7-20260422_055912/staged/arf/model_input_manifest.json +249 -0
  14. syntheticSuccess/m7/arf/arf-m7-20260422_055912/staged/public/staged_features.json +62 -0
  15. syntheticSuccess/m7/arf/arf-m7-20260422_055912/staged/public/test.csv +3 -0
  16. syntheticSuccess/m7/arf/arf-m7-20260422_055912/staged/public/train.csv +3 -0
  17. syntheticSuccess/m7/arf/arf-m7-20260422_055912/staged/public/val.csv +3 -0
  18. syntheticSuccess/m7/arf/arf-m7-20260422_055912/train_20260422_055912.log +3 -0
  19. syntheticSuccess/m7/bayesnet/bayesnet-m7-20260420_035052/_bayesnet_generate.py +75 -0
  20. syntheticSuccess/m7/bayesnet/bayesnet-m7-20260420_035052/_bayesnet_train.py +93 -0
  21. syntheticSuccess/m7/bayesnet/bayesnet-m7-20260420_035052/bayesnet-m7-4088-20260420_035257.csv +3 -0
  22. syntheticSuccess/m7/bayesnet/bayesnet-m7-20260420_035052/bayesnet_coltypes.json +53 -0
  23. syntheticSuccess/m7/bayesnet/bayesnet-m7-20260420_035052/bayesnet_model.pkl +3 -0
  24. syntheticSuccess/m7/bayesnet/bayesnet-m7-20260420_035052/const_cols.json +1 -0
  25. syntheticSuccess/m7/bayesnet/bayesnet-m7-20260420_035052/gen_20260420_035257.log +3 -0
  26. syntheticSuccess/m7/bayesnet/bayesnet-m7-20260420_035052/input_snapshot.json +36 -0
  27. syntheticSuccess/m7/bayesnet/bayesnet-m7-20260420_035052/public_gate/normalized_schema_snapshot.json +242 -0
  28. syntheticSuccess/m7/bayesnet/bayesnet-m7-20260420_035052/public_gate/public_gate_report.json +37 -0
  29. syntheticSuccess/m7/bayesnet/bayesnet-m7-20260420_035052/public_gate/staged_input_manifest.json +247 -0
  30. syntheticSuccess/m7/bayesnet/bayesnet-m7-20260420_035052/runtime_result.json +15 -0
  31. syntheticSuccess/m7/bayesnet/bayesnet-m7-20260420_035052/staged/bayesnet/adapter_report.json +7 -0
  32. syntheticSuccess/m7/bayesnet/bayesnet-m7-20260420_035052/staged/bayesnet/adapter_transforms_applied.json +1 -0
  33. syntheticSuccess/m7/bayesnet/bayesnet-m7-20260420_035052/staged/bayesnet/model_input_manifest.json +249 -0
  34. syntheticSuccess/m7/bayesnet/bayesnet-m7-20260420_035052/staged/public/staged_features.json +62 -0
  35. syntheticSuccess/m7/bayesnet/bayesnet-m7-20260420_035052/staged/public/test.csv +3 -0
  36. syntheticSuccess/m7/bayesnet/bayesnet-m7-20260420_035052/staged/public/train.csv +3 -0
  37. syntheticSuccess/m7/bayesnet/bayesnet-m7-20260420_035052/staged/public/val.csv +3 -0
  38. syntheticSuccess/m7/bayesnet/bayesnet-m7-20260420_035052/train_20260420_035053.log +3 -0
  39. syntheticSuccess/m7/ctgan/ctgan-m7-20260422_031259/_ctgan_generate.py +18 -0
  40. syntheticSuccess/m7/ctgan/ctgan-m7-20260422_031259/ctgan-m7-4088-20260422_031701.csv +3 -0
  41. syntheticSuccess/m7/ctgan/ctgan-m7-20260422_031259/ctgan_metadata.json +52 -0
  42. syntheticSuccess/m7/ctgan/ctgan-m7-20260422_031259/ctgan_train_continuous_imputed.csv +3 -0
  43. syntheticSuccess/m7/ctgan/ctgan-m7-20260422_031259/gen_20260422_031701.log +3 -0
  44. syntheticSuccess/m7/ctgan/ctgan-m7-20260422_031259/input_snapshot.json +36 -0
  45. syntheticSuccess/m7/ctgan/ctgan-m7-20260422_031259/models_300epochs/ctgan_300epochs.pt +3 -0
  46. syntheticSuccess/m7/ctgan/ctgan-m7-20260422_031259/models_300epochs/train_20260422_031300.log +3 -0
  47. syntheticSuccess/m7/ctgan/ctgan-m7-20260422_031259/public_gate/normalized_schema_snapshot.json +242 -0
  48. syntheticSuccess/m7/ctgan/ctgan-m7-20260422_031259/public_gate/public_gate_report.json +37 -0
  49. syntheticSuccess/m7/ctgan/ctgan-m7-20260422_031259/public_gate/staged_input_manifest.json +247 -0
  50. syntheticSuccess/m7/ctgan/ctgan-m7-20260422_031259/runtime_result.json +15 -0
syntheticSuccess/m7/arf/arf-m7-20260422_055912/_arf_generate.py ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import pickle
2
+ import pandas as pd
3
+
4
+ n_target = int(4088)
5
+ with open("/work/output-SpecializedModels/m7/arf/arf-m7-20260422_055912/arf_model.pkl", "rb") as f:
6
+ model = pickle.load(f)
7
+ syn = model.forge(n=n_target)
8
+ syn = syn.reset_index(drop=True)
9
+ if len(syn) > n_target:
10
+ syn = syn.iloc[:n_target]
11
+ elif len(syn) < n_target:
12
+ parts = [syn]
13
+ tries = 0
14
+ while sum(len(p) for p in parts) < n_target and tries < 64:
15
+ tries += 1
16
+ need = n_target - sum(len(p) for p in parts)
17
+ chunk = model.forge(n=max(need, 1)).reset_index(drop=True)
18
+ if len(chunk) == 0:
19
+ break
20
+ parts.append(chunk)
21
+ syn = pd.concat(parts, ignore_index=True).iloc[:n_target]
22
+ syn.to_csv("/work/output-SpecializedModels/m7/arf/arf-m7-20260422_055912/arf-m7-4088-20260422_060013.csv", index=False)
23
+ print(f"[ARF] Generated {len(syn)} rows (requested {n_target}) -> /work/output-SpecializedModels/m7/arf/arf-m7-20260422_055912/arf-m7-4088-20260422_060013.csv")
syntheticSuccess/m7/arf/arf-m7-20260422_055912/_arf_train.py ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import pickle
2
+ import numpy as np
3
+ import pandas as pd
4
+ from arfpy import arf
5
+
6
+ def _sanitize_for_arf(df: pd.DataFrame) -> pd.DataFrame:
7
+ """缓解 forge 阶段 scipy.stats.truncnorm / 除零:处理 inf、NaN 与极端尾部。"""
8
+ df = df.replace([np.inf, -np.inf], np.nan)
9
+ df = df.dropna(axis=1, how="all")
10
+ for col in df.select_dtypes(include=[np.number]).columns:
11
+ med = df[col].median()
12
+ if pd.isna(med):
13
+ med = 0.0
14
+ df[col] = df[col].fillna(med)
15
+ nu = int(df[col].nunique(dropna=True))
16
+ if nu <= 1:
17
+ continue
18
+ lo, hi = df[col].quantile(0.001), df[col].quantile(0.999)
19
+ if pd.notna(lo) and pd.notna(hi) and lo < hi:
20
+ df[col] = df[col].clip(lo, hi)
21
+ return df
22
+
23
+ df = pd.read_csv("/work/output-SpecializedModels/m7/arf/arf-m7-20260422_055912/staged/public/train.csv")
24
+ df = _sanitize_for_arf(df)
25
+ print(f"[ARF] Training on {len(df)} rows, {len(df.columns)} cols")
26
+
27
+ model = arf.arf(x=df)
28
+ if hasattr(model, "fit"):
29
+ model.fit()
30
+ elif hasattr(model, "forde"):
31
+ model.forde()
32
+ else:
33
+ raise RuntimeError("arfpy API: no fit() / forde()")
34
+
35
+ with open("/work/output-SpecializedModels/m7/arf/arf-m7-20260422_055912/arf_model.pkl", "wb") as f:
36
+ pickle.dump(model, f)
37
+ print(f"[ARF] Model saved -> /work/output-SpecializedModels/m7/arf/arf-m7-20260422_055912/arf_model.pkl")
syntheticSuccess/m7/arf/arf-m7-20260422_055912/arf-m7-4088-20260422_060013.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5bef5cb3ca3d1d6f827e38f841a31518bd6c09c5318d903c10a6861e9fa08a61
3
+ size 546352
syntheticSuccess/m7/arf/arf-m7-20260422_055912/arf_model.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ead2f35ac0c73d397295a8a4a7080b4a4ebf9a4b58fe5b777d13930a91c4dd9a
3
+ size 18331589
syntheticSuccess/m7/arf/arf-m7-20260422_055912/gen_20260422_060013.log ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fbfbdef036085ce71ada368ffab278301c6d149a4f14a6ae26bc81f51e782c6a
3
+ size 2035
syntheticSuccess/m7/arf/arf-m7-20260422_055912/input_snapshot.json ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset_id": "m7",
3
+ "model": "arf",
4
+ "inputs": {
5
+ "train_csv": {
6
+ "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/m7/m7-train.csv",
7
+ "exists": true,
8
+ "size": 257258,
9
+ "sha256": "6458faf5495150c1433a95be37eb8d9605954f8474a3d40d9ab9d10adc4cf71e"
10
+ },
11
+ "val_csv": {
12
+ "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/m7/m7-val.csv",
13
+ "exists": true,
14
+ "size": 32142,
15
+ "sha256": "bb8674674733508f2c6940b78c07c601654827604862334f9b267e50a83ed9f7"
16
+ },
17
+ "test_csv": {
18
+ "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/m7/m7-test.csv",
19
+ "exists": true,
20
+ "size": 32328,
21
+ "sha256": "8b32eb82bd281650cd9f236ef26ec9cd6f02dbaba740770f0e3c4b94a189f3e7"
22
+ },
23
+ "profile_json": {
24
+ "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/artifacts/data_core/tabular/m7/m7-dataset_profile.json",
25
+ "exists": true,
26
+ "size": 5020,
27
+ "sha256": "ab77a37aa06b0bb854623b7f0caab0c4d4ed05cfce61d9aaf0320c279b20fae5"
28
+ },
29
+ "contract_json": {
30
+ "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/artifacts/data_core/tabular/m7/m7-dataset_contract_v1.json",
31
+ "exists": true,
32
+ "size": 5995,
33
+ "sha256": "aa9654fbc1dc4029d109adf4117767c5a5c8e90b53bd3f9c698d7b71345cf5b3"
34
+ }
35
+ }
36
+ }
syntheticSuccess/m7/arf/arf-m7-20260422_055912/public_gate/normalized_schema_snapshot.json ADDED
@@ -0,0 +1,242 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset_id": "m7",
3
+ "target_column": "Residence_type",
4
+ "task_type": "classification",
5
+ "columns": [
6
+ {
7
+ "name": "id",
8
+ "role": "feature",
9
+ "semantic_type": "numeric",
10
+ "nullable": false,
11
+ "missing_tokens": [],
12
+ "parse_format": null,
13
+ "impute_strategy": "median",
14
+ "profile_stats": {
15
+ "missing_rate": 0.0,
16
+ "unique_count": 4088,
17
+ "unique_ratio": 1.0,
18
+ "example_values": [
19
+ "35296",
20
+ "36710",
21
+ "32733",
22
+ "1077",
23
+ "13223"
24
+ ]
25
+ }
26
+ },
27
+ {
28
+ "name": "gender",
29
+ "role": "feature",
30
+ "semantic_type": "categorical",
31
+ "nullable": false,
32
+ "missing_tokens": [],
33
+ "parse_format": null,
34
+ "impute_strategy": "mode",
35
+ "profile_stats": {
36
+ "missing_rate": 0.0,
37
+ "unique_count": 2,
38
+ "unique_ratio": 0.000489,
39
+ "example_values": [
40
+ "Female",
41
+ "Male"
42
+ ]
43
+ }
44
+ },
45
+ {
46
+ "name": "age",
47
+ "role": "feature",
48
+ "semantic_type": "numeric",
49
+ "nullable": false,
50
+ "missing_tokens": [],
51
+ "parse_format": null,
52
+ "impute_strategy": "median",
53
+ "profile_stats": {
54
+ "missing_rate": 0.0,
55
+ "unique_count": 104,
56
+ "unique_ratio": 0.02544,
57
+ "example_values": [
58
+ "58",
59
+ "64",
60
+ "28",
61
+ "77",
62
+ "53"
63
+ ]
64
+ }
65
+ },
66
+ {
67
+ "name": "hypertension",
68
+ "role": "feature",
69
+ "semantic_type": "boolean",
70
+ "nullable": false,
71
+ "missing_tokens": [],
72
+ "parse_format": null,
73
+ "impute_strategy": "mode",
74
+ "profile_stats": {
75
+ "missing_rate": 0.0,
76
+ "unique_count": 2,
77
+ "unique_ratio": 0.000489,
78
+ "example_values": [
79
+ "0",
80
+ "1"
81
+ ]
82
+ }
83
+ },
84
+ {
85
+ "name": "heart_disease",
86
+ "role": "feature",
87
+ "semantic_type": "boolean",
88
+ "nullable": false,
89
+ "missing_tokens": [],
90
+ "parse_format": null,
91
+ "impute_strategy": "mode",
92
+ "profile_stats": {
93
+ "missing_rate": 0.0,
94
+ "unique_count": 2,
95
+ "unique_ratio": 0.000489,
96
+ "example_values": [
97
+ "0",
98
+ "1"
99
+ ]
100
+ }
101
+ },
102
+ {
103
+ "name": "ever_married",
104
+ "role": "feature",
105
+ "semantic_type": "boolean",
106
+ "nullable": false,
107
+ "missing_tokens": [],
108
+ "parse_format": null,
109
+ "impute_strategy": "mode",
110
+ "profile_stats": {
111
+ "missing_rate": 0.0,
112
+ "unique_count": 2,
113
+ "unique_ratio": 0.000489,
114
+ "example_values": [
115
+ "Yes",
116
+ "No"
117
+ ]
118
+ }
119
+ },
120
+ {
121
+ "name": "work_type",
122
+ "role": "feature",
123
+ "semantic_type": "categorical",
124
+ "nullable": false,
125
+ "missing_tokens": [],
126
+ "parse_format": null,
127
+ "impute_strategy": "mode",
128
+ "profile_stats": {
129
+ "missing_rate": 0.0,
130
+ "unique_count": 5,
131
+ "unique_ratio": 0.001223,
132
+ "example_values": [
133
+ "Private",
134
+ "Govt_job",
135
+ "Self-employed",
136
+ "children",
137
+ "Never_worked"
138
+ ]
139
+ }
140
+ },
141
+ {
142
+ "name": "Residence_type",
143
+ "role": "target",
144
+ "semantic_type": "categorical",
145
+ "nullable": false,
146
+ "missing_tokens": [],
147
+ "parse_format": null,
148
+ "impute_strategy": "mode",
149
+ "profile_stats": {
150
+ "missing_rate": 0.0,
151
+ "unique_count": 2,
152
+ "unique_ratio": 0.000489,
153
+ "example_values": [
154
+ "Rural",
155
+ "Urban"
156
+ ]
157
+ }
158
+ },
159
+ {
160
+ "name": "avg_glucose_level",
161
+ "role": "feature",
162
+ "semantic_type": "numeric",
163
+ "nullable": false,
164
+ "missing_tokens": [],
165
+ "parse_format": null,
166
+ "impute_strategy": "median",
167
+ "profile_stats": {
168
+ "missing_rate": 0.0,
169
+ "unique_count": 3337,
170
+ "unique_ratio": 0.816292,
171
+ "example_values": [
172
+ "100.42",
173
+ "62.21",
174
+ "106.68",
175
+ "106.03",
176
+ "86.39"
177
+ ]
178
+ }
179
+ },
180
+ {
181
+ "name": "bmi",
182
+ "role": "feature",
183
+ "semantic_type": "numeric",
184
+ "nullable": true,
185
+ "missing_tokens": [
186
+ "N/A"
187
+ ],
188
+ "parse_format": null,
189
+ "impute_strategy": "median",
190
+ "profile_stats": {
191
+ "missing_rate": 0.039873,
192
+ "unique_count": 396,
193
+ "unique_ratio": 0.100892,
194
+ "example_values": [
195
+ "39.5",
196
+ "28.3",
197
+ "29.3",
198
+ "30.2",
199
+ "48.9"
200
+ ]
201
+ }
202
+ },
203
+ {
204
+ "name": "smoking_status",
205
+ "role": "feature",
206
+ "semantic_type": "text",
207
+ "nullable": false,
208
+ "missing_tokens": [],
209
+ "parse_format": null,
210
+ "impute_strategy": "keep_raw",
211
+ "profile_stats": {
212
+ "missing_rate": 0.0,
213
+ "unique_count": 4,
214
+ "unique_ratio": 0.000978,
215
+ "example_values": [
216
+ "smokes",
217
+ "Unknown",
218
+ "never smoked",
219
+ "formerly smoked"
220
+ ]
221
+ }
222
+ },
223
+ {
224
+ "name": "stroke",
225
+ "role": "feature",
226
+ "semantic_type": "boolean",
227
+ "nullable": false,
228
+ "missing_tokens": [],
229
+ "parse_format": null,
230
+ "impute_strategy": "mode",
231
+ "profile_stats": {
232
+ "missing_rate": 0.0,
233
+ "unique_count": 2,
234
+ "unique_ratio": 0.000489,
235
+ "example_values": [
236
+ "0",
237
+ "1"
238
+ ]
239
+ }
240
+ }
241
+ ]
242
+ }
syntheticSuccess/m7/arf/arf-m7-20260422_055912/public_gate/public_gate_report.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset_id": "m7",
3
+ "status": "pass",
4
+ "checks": [
5
+ {
6
+ "check_id": "PG001_csv_parse_ok",
7
+ "status": "pass"
8
+ },
9
+ {
10
+ "check_id": "PG002_split_header_consistent",
11
+ "status": "pass"
12
+ },
13
+ {
14
+ "check_id": "PG003_profile_header_match",
15
+ "status": "pass"
16
+ },
17
+ {
18
+ "check_id": "PG004_missing_token_normalized",
19
+ "status": "pass"
20
+ },
21
+ {
22
+ "check_id": "PG005_semantic_type_validated",
23
+ "status": "pass"
24
+ },
25
+ {
26
+ "check_id": "PG006_target_defined_and_valid",
27
+ "status": "pass"
28
+ }
29
+ ],
30
+ "target_column": "Residence_type",
31
+ "task_type": "classification",
32
+ "input_splits": {
33
+ "train": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/m7/m7-train.csv",
34
+ "val": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/m7/m7-val.csv",
35
+ "test": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/m7/m7-test.csv"
36
+ }
37
+ }
syntheticSuccess/m7/arf/arf-m7-20260422_055912/public_gate/staged_input_manifest.json ADDED
@@ -0,0 +1,247 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset_id": "m7",
3
+ "target_column": "Residence_type",
4
+ "task_type": "classification",
5
+ "train_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/m7/arf/arf-m7-20260422_055912/staged/public/train.csv",
6
+ "val_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/m7/arf/arf-m7-20260422_055912/staged/public/val.csv",
7
+ "test_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/m7/arf/arf-m7-20260422_055912/staged/public/test.csv",
8
+ "features_json": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/m7/arf/arf-m7-20260422_055912/staged/public/staged_features.json",
9
+ "public_gate_report": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/m7/arf/arf-m7-20260422_055912/public_gate/public_gate_report.json",
10
+ "column_schema": [
11
+ {
12
+ "name": "id",
13
+ "role": "feature",
14
+ "semantic_type": "numeric",
15
+ "nullable": false,
16
+ "missing_tokens": [],
17
+ "parse_format": null,
18
+ "impute_strategy": "median",
19
+ "profile_stats": {
20
+ "missing_rate": 0.0,
21
+ "unique_count": 4088,
22
+ "unique_ratio": 1.0,
23
+ "example_values": [
24
+ "35296",
25
+ "36710",
26
+ "32733",
27
+ "1077",
28
+ "13223"
29
+ ]
30
+ }
31
+ },
32
+ {
33
+ "name": "gender",
34
+ "role": "feature",
35
+ "semantic_type": "categorical",
36
+ "nullable": false,
37
+ "missing_tokens": [],
38
+ "parse_format": null,
39
+ "impute_strategy": "mode",
40
+ "profile_stats": {
41
+ "missing_rate": 0.0,
42
+ "unique_count": 2,
43
+ "unique_ratio": 0.000489,
44
+ "example_values": [
45
+ "Female",
46
+ "Male"
47
+ ]
48
+ }
49
+ },
50
+ {
51
+ "name": "age",
52
+ "role": "feature",
53
+ "semantic_type": "numeric",
54
+ "nullable": false,
55
+ "missing_tokens": [],
56
+ "parse_format": null,
57
+ "impute_strategy": "median",
58
+ "profile_stats": {
59
+ "missing_rate": 0.0,
60
+ "unique_count": 104,
61
+ "unique_ratio": 0.02544,
62
+ "example_values": [
63
+ "58",
64
+ "64",
65
+ "28",
66
+ "77",
67
+ "53"
68
+ ]
69
+ }
70
+ },
71
+ {
72
+ "name": "hypertension",
73
+ "role": "feature",
74
+ "semantic_type": "boolean",
75
+ "nullable": false,
76
+ "missing_tokens": [],
77
+ "parse_format": null,
78
+ "impute_strategy": "mode",
79
+ "profile_stats": {
80
+ "missing_rate": 0.0,
81
+ "unique_count": 2,
82
+ "unique_ratio": 0.000489,
83
+ "example_values": [
84
+ "0",
85
+ "1"
86
+ ]
87
+ }
88
+ },
89
+ {
90
+ "name": "heart_disease",
91
+ "role": "feature",
92
+ "semantic_type": "boolean",
93
+ "nullable": false,
94
+ "missing_tokens": [],
95
+ "parse_format": null,
96
+ "impute_strategy": "mode",
97
+ "profile_stats": {
98
+ "missing_rate": 0.0,
99
+ "unique_count": 2,
100
+ "unique_ratio": 0.000489,
101
+ "example_values": [
102
+ "0",
103
+ "1"
104
+ ]
105
+ }
106
+ },
107
+ {
108
+ "name": "ever_married",
109
+ "role": "feature",
110
+ "semantic_type": "boolean",
111
+ "nullable": false,
112
+ "missing_tokens": [],
113
+ "parse_format": null,
114
+ "impute_strategy": "mode",
115
+ "profile_stats": {
116
+ "missing_rate": 0.0,
117
+ "unique_count": 2,
118
+ "unique_ratio": 0.000489,
119
+ "example_values": [
120
+ "Yes",
121
+ "No"
122
+ ]
123
+ }
124
+ },
125
+ {
126
+ "name": "work_type",
127
+ "role": "feature",
128
+ "semantic_type": "categorical",
129
+ "nullable": false,
130
+ "missing_tokens": [],
131
+ "parse_format": null,
132
+ "impute_strategy": "mode",
133
+ "profile_stats": {
134
+ "missing_rate": 0.0,
135
+ "unique_count": 5,
136
+ "unique_ratio": 0.001223,
137
+ "example_values": [
138
+ "Private",
139
+ "Govt_job",
140
+ "Self-employed",
141
+ "children",
142
+ "Never_worked"
143
+ ]
144
+ }
145
+ },
146
+ {
147
+ "name": "Residence_type",
148
+ "role": "target",
149
+ "semantic_type": "categorical",
150
+ "nullable": false,
151
+ "missing_tokens": [],
152
+ "parse_format": null,
153
+ "impute_strategy": "mode",
154
+ "profile_stats": {
155
+ "missing_rate": 0.0,
156
+ "unique_count": 2,
157
+ "unique_ratio": 0.000489,
158
+ "example_values": [
159
+ "Rural",
160
+ "Urban"
161
+ ]
162
+ }
163
+ },
164
+ {
165
+ "name": "avg_glucose_level",
166
+ "role": "feature",
167
+ "semantic_type": "numeric",
168
+ "nullable": false,
169
+ "missing_tokens": [],
170
+ "parse_format": null,
171
+ "impute_strategy": "median",
172
+ "profile_stats": {
173
+ "missing_rate": 0.0,
174
+ "unique_count": 3337,
175
+ "unique_ratio": 0.816292,
176
+ "example_values": [
177
+ "100.42",
178
+ "62.21",
179
+ "106.68",
180
+ "106.03",
181
+ "86.39"
182
+ ]
183
+ }
184
+ },
185
+ {
186
+ "name": "bmi",
187
+ "role": "feature",
188
+ "semantic_type": "numeric",
189
+ "nullable": true,
190
+ "missing_tokens": [
191
+ "N/A"
192
+ ],
193
+ "parse_format": null,
194
+ "impute_strategy": "median",
195
+ "profile_stats": {
196
+ "missing_rate": 0.039873,
197
+ "unique_count": 396,
198
+ "unique_ratio": 0.100892,
199
+ "example_values": [
200
+ "39.5",
201
+ "28.3",
202
+ "29.3",
203
+ "30.2",
204
+ "48.9"
205
+ ]
206
+ }
207
+ },
208
+ {
209
+ "name": "smoking_status",
210
+ "role": "feature",
211
+ "semantic_type": "text",
212
+ "nullable": false,
213
+ "missing_tokens": [],
214
+ "parse_format": null,
215
+ "impute_strategy": "keep_raw",
216
+ "profile_stats": {
217
+ "missing_rate": 0.0,
218
+ "unique_count": 4,
219
+ "unique_ratio": 0.000978,
220
+ "example_values": [
221
+ "smokes",
222
+ "Unknown",
223
+ "never smoked",
224
+ "formerly smoked"
225
+ ]
226
+ }
227
+ },
228
+ {
229
+ "name": "stroke",
230
+ "role": "feature",
231
+ "semantic_type": "boolean",
232
+ "nullable": false,
233
+ "missing_tokens": [],
234
+ "parse_format": null,
235
+ "impute_strategy": "mode",
236
+ "profile_stats": {
237
+ "missing_rate": 0.0,
238
+ "unique_count": 2,
239
+ "unique_ratio": 0.000489,
240
+ "example_values": [
241
+ "0",
242
+ "1"
243
+ ]
244
+ }
245
+ }
246
+ ]
247
+ }
syntheticSuccess/m7/arf/arf-m7-20260422_055912/runtime_result.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset_id": "m7",
3
+ "model": "arf",
4
+ "run_id": "arf-m7-20260422_055912",
5
+ "public_gate_status": "pass",
6
+ "adapter_ready_status": "pass",
7
+ "train_status": "success",
8
+ "generate_status": "success",
9
+ "reason_code": null,
10
+ "reason_detail": null,
11
+ "artifacts": {
12
+ "synthetic_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/m7/arf/arf-m7-20260422_055912/arf-m7-4088-20260422_060013.csv",
13
+ "model_path": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/m7/arf/arf-m7-20260422_055912/arf_model.pkl"
14
+ }
15
+ }
syntheticSuccess/m7/arf/arf-m7-20260422_055912/staged/arf/adapter_report.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "adapter_ready_status": "pass",
3
+ "adapter_fail_reason_code": null,
4
+ "adapter_fail_detail": null,
5
+ "adapter_transforms_applied": [],
6
+ "model_input_manifest": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/m7/arf/arf-m7-20260422_055912/staged/arf/model_input_manifest.json"
7
+ }
syntheticSuccess/m7/arf/arf-m7-20260422_055912/staged/arf/adapter_transforms_applied.json ADDED
@@ -0,0 +1 @@
 
 
1
+ []
syntheticSuccess/m7/arf/arf-m7-20260422_055912/staged/arf/model_input_manifest.json ADDED
@@ -0,0 +1,249 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset_id": "m7",
3
+ "model": "arf",
4
+ "target_column": "Residence_type",
5
+ "task_type": "classification",
6
+ "column_schema": [
7
+ {
8
+ "name": "id",
9
+ "role": "feature",
10
+ "semantic_type": "numeric",
11
+ "nullable": false,
12
+ "missing_tokens": [],
13
+ "parse_format": null,
14
+ "impute_strategy": "median",
15
+ "profile_stats": {
16
+ "missing_rate": 0.0,
17
+ "unique_count": 4088,
18
+ "unique_ratio": 1.0,
19
+ "example_values": [
20
+ "35296",
21
+ "36710",
22
+ "32733",
23
+ "1077",
24
+ "13223"
25
+ ]
26
+ }
27
+ },
28
+ {
29
+ "name": "gender",
30
+ "role": "feature",
31
+ "semantic_type": "categorical",
32
+ "nullable": false,
33
+ "missing_tokens": [],
34
+ "parse_format": null,
35
+ "impute_strategy": "mode",
36
+ "profile_stats": {
37
+ "missing_rate": 0.0,
38
+ "unique_count": 2,
39
+ "unique_ratio": 0.000489,
40
+ "example_values": [
41
+ "Female",
42
+ "Male"
43
+ ]
44
+ }
45
+ },
46
+ {
47
+ "name": "age",
48
+ "role": "feature",
49
+ "semantic_type": "numeric",
50
+ "nullable": false,
51
+ "missing_tokens": [],
52
+ "parse_format": null,
53
+ "impute_strategy": "median",
54
+ "profile_stats": {
55
+ "missing_rate": 0.0,
56
+ "unique_count": 104,
57
+ "unique_ratio": 0.02544,
58
+ "example_values": [
59
+ "58",
60
+ "64",
61
+ "28",
62
+ "77",
63
+ "53"
64
+ ]
65
+ }
66
+ },
67
+ {
68
+ "name": "hypertension",
69
+ "role": "feature",
70
+ "semantic_type": "boolean",
71
+ "nullable": false,
72
+ "missing_tokens": [],
73
+ "parse_format": null,
74
+ "impute_strategy": "mode",
75
+ "profile_stats": {
76
+ "missing_rate": 0.0,
77
+ "unique_count": 2,
78
+ "unique_ratio": 0.000489,
79
+ "example_values": [
80
+ "0",
81
+ "1"
82
+ ]
83
+ }
84
+ },
85
+ {
86
+ "name": "heart_disease",
87
+ "role": "feature",
88
+ "semantic_type": "boolean",
89
+ "nullable": false,
90
+ "missing_tokens": [],
91
+ "parse_format": null,
92
+ "impute_strategy": "mode",
93
+ "profile_stats": {
94
+ "missing_rate": 0.0,
95
+ "unique_count": 2,
96
+ "unique_ratio": 0.000489,
97
+ "example_values": [
98
+ "0",
99
+ "1"
100
+ ]
101
+ }
102
+ },
103
+ {
104
+ "name": "ever_married",
105
+ "role": "feature",
106
+ "semantic_type": "boolean",
107
+ "nullable": false,
108
+ "missing_tokens": [],
109
+ "parse_format": null,
110
+ "impute_strategy": "mode",
111
+ "profile_stats": {
112
+ "missing_rate": 0.0,
113
+ "unique_count": 2,
114
+ "unique_ratio": 0.000489,
115
+ "example_values": [
116
+ "Yes",
117
+ "No"
118
+ ]
119
+ }
120
+ },
121
+ {
122
+ "name": "work_type",
123
+ "role": "feature",
124
+ "semantic_type": "categorical",
125
+ "nullable": false,
126
+ "missing_tokens": [],
127
+ "parse_format": null,
128
+ "impute_strategy": "mode",
129
+ "profile_stats": {
130
+ "missing_rate": 0.0,
131
+ "unique_count": 5,
132
+ "unique_ratio": 0.001223,
133
+ "example_values": [
134
+ "Private",
135
+ "Govt_job",
136
+ "Self-employed",
137
+ "children",
138
+ "Never_worked"
139
+ ]
140
+ }
141
+ },
142
+ {
143
+ "name": "Residence_type",
144
+ "role": "target",
145
+ "semantic_type": "categorical",
146
+ "nullable": false,
147
+ "missing_tokens": [],
148
+ "parse_format": null,
149
+ "impute_strategy": "mode",
150
+ "profile_stats": {
151
+ "missing_rate": 0.0,
152
+ "unique_count": 2,
153
+ "unique_ratio": 0.000489,
154
+ "example_values": [
155
+ "Rural",
156
+ "Urban"
157
+ ]
158
+ }
159
+ },
160
+ {
161
+ "name": "avg_glucose_level",
162
+ "role": "feature",
163
+ "semantic_type": "numeric",
164
+ "nullable": false,
165
+ "missing_tokens": [],
166
+ "parse_format": null,
167
+ "impute_strategy": "median",
168
+ "profile_stats": {
169
+ "missing_rate": 0.0,
170
+ "unique_count": 3337,
171
+ "unique_ratio": 0.816292,
172
+ "example_values": [
173
+ "100.42",
174
+ "62.21",
175
+ "106.68",
176
+ "106.03",
177
+ "86.39"
178
+ ]
179
+ }
180
+ },
181
+ {
182
+ "name": "bmi",
183
+ "role": "feature",
184
+ "semantic_type": "numeric",
185
+ "nullable": true,
186
+ "missing_tokens": [
187
+ "N/A"
188
+ ],
189
+ "parse_format": null,
190
+ "impute_strategy": "median",
191
+ "profile_stats": {
192
+ "missing_rate": 0.039873,
193
+ "unique_count": 396,
194
+ "unique_ratio": 0.100892,
195
+ "example_values": [
196
+ "39.5",
197
+ "28.3",
198
+ "29.3",
199
+ "30.2",
200
+ "48.9"
201
+ ]
202
+ }
203
+ },
204
+ {
205
+ "name": "smoking_status",
206
+ "role": "feature",
207
+ "semantic_type": "text",
208
+ "nullable": false,
209
+ "missing_tokens": [],
210
+ "parse_format": null,
211
+ "impute_strategy": "keep_raw",
212
+ "profile_stats": {
213
+ "missing_rate": 0.0,
214
+ "unique_count": 4,
215
+ "unique_ratio": 0.000978,
216
+ "example_values": [
217
+ "smokes",
218
+ "Unknown",
219
+ "never smoked",
220
+ "formerly smoked"
221
+ ]
222
+ }
223
+ },
224
+ {
225
+ "name": "stroke",
226
+ "role": "feature",
227
+ "semantic_type": "boolean",
228
+ "nullable": false,
229
+ "missing_tokens": [],
230
+ "parse_format": null,
231
+ "impute_strategy": "mode",
232
+ "profile_stats": {
233
+ "missing_rate": 0.0,
234
+ "unique_count": 2,
235
+ "unique_ratio": 0.000489,
236
+ "example_values": [
237
+ "0",
238
+ "1"
239
+ ]
240
+ }
241
+ }
242
+ ],
243
+ "public_manifest": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/m7/arf/arf-m7-20260422_055912/public_gate/staged_input_manifest.json",
244
+ "train_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/m7/arf/arf-m7-20260422_055912/staged/public/train.csv",
245
+ "val_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/m7/arf/arf-m7-20260422_055912/staged/public/val.csv",
246
+ "test_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/m7/arf/arf-m7-20260422_055912/staged/public/test.csv",
247
+ "features_json": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/m7/arf/arf-m7-20260422_055912/staged/public/staged_features.json",
248
+ "public_gate_report": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/m7/arf/arf-m7-20260422_055912/public_gate/public_gate_report.json"
249
+ }
syntheticSuccess/m7/arf/arf-m7-20260422_055912/staged/public/staged_features.json ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "feature_name": "id",
4
+ "data_type": "continuous",
5
+ "is_target": false
6
+ },
7
+ {
8
+ "feature_name": "gender",
9
+ "data_type": "categorical",
10
+ "is_target": false
11
+ },
12
+ {
13
+ "feature_name": "age",
14
+ "data_type": "continuous",
15
+ "is_target": false
16
+ },
17
+ {
18
+ "feature_name": "hypertension",
19
+ "data_type": "binary",
20
+ "is_target": false
21
+ },
22
+ {
23
+ "feature_name": "heart_disease",
24
+ "data_type": "binary",
25
+ "is_target": false
26
+ },
27
+ {
28
+ "feature_name": "ever_married",
29
+ "data_type": "binary",
30
+ "is_target": false
31
+ },
32
+ {
33
+ "feature_name": "work_type",
34
+ "data_type": "categorical",
35
+ "is_target": false
36
+ },
37
+ {
38
+ "feature_name": "Residence_type",
39
+ "data_type": "categorical",
40
+ "is_target": true
41
+ },
42
+ {
43
+ "feature_name": "avg_glucose_level",
44
+ "data_type": "continuous",
45
+ "is_target": false
46
+ },
47
+ {
48
+ "feature_name": "bmi",
49
+ "data_type": "continuous",
50
+ "is_target": false
51
+ },
52
+ {
53
+ "feature_name": "smoking_status",
54
+ "data_type": "categorical",
55
+ "is_target": false
56
+ },
57
+ {
58
+ "feature_name": "stroke",
59
+ "data_type": "binary",
60
+ "is_target": false
61
+ }
62
+ ]
syntheticSuccess/m7/arf/arf-m7-20260422_055912/staged/public/test.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ed44e06410b9395c5c85e238168df0c6952d61bdfe49424863c651ef2b1f4bd8
3
+ size 32934
syntheticSuccess/m7/arf/arf-m7-20260422_055912/staged/public/train.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f842ac0ec4c47a15867ef35ae0ceede4ef955e556ad5220f982151d22894e25d
3
+ size 262059
syntheticSuccess/m7/arf/arf-m7-20260422_055912/staged/public/val.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ca541bece6380791dc2c9f7012ec8acbde8a8d270578cc5e031b739f7a761bf8
3
+ size 32704
syntheticSuccess/m7/arf/arf-m7-20260422_055912/train_20260422_055912.log ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c58f16eae31122e7db4279d26f5b157b90d1a49b549771e03e8c87e549521b22
3
+ size 232
syntheticSuccess/m7/bayesnet/bayesnet-m7-20260420_035052/_bayesnet_generate.py ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ import pickle
3
+ import warnings
4
+
5
+ import numpy as np
6
+ import pandas as pd
7
+ from pgmpy.sampling import BayesianModelSampling
8
+
9
+ warnings.filterwarnings("ignore", category=FutureWarning)
10
+
11
+ with open("/work/output-SpecializedModels/m7/bayesnet/bayesnet-m7-20260420_035052/bayesnet_model.pkl", "rb") as f:
12
+ bundle = pickle.load(f)
13
+
14
+ network = bundle["network"]
15
+ inverse = bundle["inverse"]
16
+ cols = bundle["column_order"]
17
+ integer_columns = set(bundle.get("integer_columns") or [])
18
+ full_order = bundle.get("full_column_order") or cols
19
+ const_cols = bundle.get("const_cols") or {}
20
+
21
+ sampler = BayesianModelSampling(network)
22
+ raw = sampler.forward_sample(size=4088, show_progress=False)
23
+
24
+ out = pd.DataFrame(index=raw.index)
25
+ rng = np.random.default_rng()
26
+
27
+ for c in cols:
28
+ if c in inverse["categorical"]:
29
+ levels = inverse["categorical"][c]
30
+ idx = raw[c].astype(int).to_numpy()
31
+ idx = np.clip(idx, 0, max(0, len(levels) - 1))
32
+ out[c] = [levels[i] for i in idx]
33
+ else:
34
+ edges = np.asarray(inverse["continuous"][c], dtype=float)
35
+ if edges.size < 2:
36
+ out[c] = 0.0
37
+ else:
38
+ nbin = edges.size - 1
39
+ res = []
40
+ for k in raw[c].astype(int).to_numpy():
41
+ k = int(k)
42
+ if k < 0:
43
+ k = 0
44
+ if k >= nbin:
45
+ k = nbin - 1
46
+ lo, hi = float(edges[k]), float(edges[k + 1])
47
+ if hi < lo:
48
+ lo, hi = hi, lo
49
+ v = rng.uniform(lo, hi)
50
+ if c in integer_columns:
51
+ v = int(round(v))
52
+ res.append(v)
53
+ out[c] = res
54
+
55
+ final = pd.DataFrame(index=out.index)
56
+ for c in full_order:
57
+ if c in const_cols:
58
+ final[c] = const_cols[c]
59
+ elif c in out.columns:
60
+ final[c] = out[c]
61
+
62
+ dtypes = bundle.get("original_dtypes") or {}
63
+ for c, dts in dtypes.items():
64
+ if c not in final.columns:
65
+ continue
66
+ try:
67
+ if "int" in dts:
68
+ final[c] = pd.to_numeric(final[c], errors="coerce").astype("Int64")
69
+ elif "float" in dts:
70
+ final[c] = pd.to_numeric(final[c], errors="coerce")
71
+ except Exception:
72
+ pass
73
+
74
+ final.to_csv("/work/output-SpecializedModels/m7/bayesnet/bayesnet-m7-20260420_035052/bayesnet-m7-4088-20260420_035257.csv", index=False)
75
+ print(f"[BayesNet] Generated 4088 rows -> /work/output-SpecializedModels/m7/bayesnet/bayesnet-m7-20260420_035052/bayesnet-m7-4088-20260420_035257.csv")
syntheticSuccess/m7/bayesnet/bayesnet-m7-20260420_035052/_bayesnet_train.py ADDED
@@ -0,0 +1,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ import json
3
+ import pickle
4
+ import warnings
5
+
6
+ import numpy as np
7
+ import pandas as pd
8
+ from pgmpy.estimators import TreeSearch
9
+ from pgmpy.models import DiscreteBayesianNetwork
10
+ warnings.filterwarnings("ignore", category=FutureWarning)
11
+
12
+ with open("/work/output-SpecializedModels/m7/bayesnet/bayesnet-m7-20260420_035052/bayesnet_coltypes.json", "r", encoding="utf-8") as _f:
13
+ colmeta = json.load(_f)
14
+ integer_columns = set(colmeta.get("integer_columns") or [])
15
+
16
+ df = pd.read_csv("/work/output-SpecializedModels/m7/bayesnet/bayesnet-m7-20260420_035052/staged/public/train.csv")
17
+ df = df.dropna(axis=1, how="all")
18
+ full_column_order = list(df.columns)
19
+
20
+ const_cols = {}
21
+ for col in list(df.columns):
22
+ if df[col].nunique(dropna=True) <= 1:
23
+ const_cols[col] = df[col].iloc[0] if len(df) > 0 else None
24
+ df = df.drop(columns=[col])
25
+ print(f"[BayesNet] Dropped zero-variance column '{col}'")
26
+
27
+ const_path = "/work/output-SpecializedModels/m7/bayesnet/bayesnet-m7-20260420_035052/bayesnet_model.pkl".replace("bayesnet_model.pkl", "const_cols.json")
28
+ with open(const_path, "w", encoding="utf-8") as _f:
29
+ json.dump({k: str(v) for k, v in const_cols.items()}, _f)
30
+
31
+ inverse = {"categorical": {}, "continuous": {}}
32
+ enc = pd.DataFrame(index=df.index)
33
+ max_bins = 10
34
+
35
+ for entry in colmeta["columns"]:
36
+ name = entry["name"]
37
+ if name not in df.columns:
38
+ continue
39
+ kind = entry["type"]
40
+ s = df[name]
41
+ if kind == "categorical":
42
+ uniques = sorted(s.dropna().unique(), key=lambda x: str(x))
43
+ mapping = {str(v): i for i, v in enumerate(uniques)}
44
+ inverse["categorical"][name] = [uniques[i] for i in range(len(uniques))]
45
+ enc[name] = s.map(lambda x, m=mapping: m.get(str(x), 0)).astype(int)
46
+ else:
47
+ s_num = pd.to_numeric(s, errors="coerce")
48
+ nu = int(s_num.nunique(dropna=True))
49
+ q = min(max_bins, max(2, nu))
50
+ if nu < 2:
51
+ enc[name] = np.zeros(len(s_num), dtype=int)
52
+ lo, hi = float(s_num.min()), float(s_num.max())
53
+ inverse["continuous"][name] = [lo, hi]
54
+ else:
55
+ try:
56
+ _, bins = pd.qcut(
57
+ s_num, q=q, retbins=True, duplicates="drop"
58
+ )
59
+ except Exception:
60
+ med = float(s_num.median())
61
+ s2 = s_num.fillna(med)
62
+ _, bins = pd.qcut(
63
+ s2, q=min(q, 3), retbins=True, duplicates="drop"
64
+ )
65
+ bins = np.asarray(bins, dtype=float)
66
+ lab = pd.cut(
67
+ s_num, bins=bins, labels=False, include_lowest=True
68
+ )
69
+ enc[name] = lab.fillna(0).astype(int)
70
+ inverse["continuous"][name] = bins.tolist()
71
+
72
+ print(f"[BayesNet] Training on {len(enc)} rows, {len(enc.columns)} cols (encoded)")
73
+
74
+ dag = TreeSearch(enc).estimate(show_progress=False)
75
+ for col in enc.columns:
76
+ if col not in dag.nodes():
77
+ dag.add_node(col)
78
+ print(f"[BayesNet] Added isolated node to DAG: {col}")
79
+ network = DiscreteBayesianNetwork(dag)
80
+ network.fit(enc)
81
+
82
+ bundle = {
83
+ "network": network,
84
+ "inverse": inverse,
85
+ "column_order": list(enc.columns),
86
+ "full_column_order": full_column_order,
87
+ "integer_columns": list(integer_columns),
88
+ "original_dtypes": {c: str(df[c].dtype) for c in enc.columns},
89
+ "const_cols": const_cols,
90
+ }
91
+ with open("/work/output-SpecializedModels/m7/bayesnet/bayesnet-m7-20260420_035052/bayesnet_model.pkl", "wb") as _f:
92
+ pickle.dump(bundle, _f)
93
+ print(f"[BayesNet] Model saved -> /work/output-SpecializedModels/m7/bayesnet/bayesnet-m7-20260420_035052/bayesnet_model.pkl")
syntheticSuccess/m7/bayesnet/bayesnet-m7-20260420_035052/bayesnet-m7-4088-20260420_035257.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c2e5c21f598d833656dad80ad005d7886a7d0535cf6a176db88712036d65114f
3
+ size 471242
syntheticSuccess/m7/bayesnet/bayesnet-m7-20260420_035052/bayesnet_coltypes.json ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "columns": [
3
+ {
4
+ "name": "id",
5
+ "type": "continuous"
6
+ },
7
+ {
8
+ "name": "gender",
9
+ "type": "categorical"
10
+ },
11
+ {
12
+ "name": "age",
13
+ "type": "continuous"
14
+ },
15
+ {
16
+ "name": "hypertension",
17
+ "type": "categorical"
18
+ },
19
+ {
20
+ "name": "heart_disease",
21
+ "type": "categorical"
22
+ },
23
+ {
24
+ "name": "ever_married",
25
+ "type": "categorical"
26
+ },
27
+ {
28
+ "name": "work_type",
29
+ "type": "categorical"
30
+ },
31
+ {
32
+ "name": "Residence_type",
33
+ "type": "categorical"
34
+ },
35
+ {
36
+ "name": "avg_glucose_level",
37
+ "type": "continuous"
38
+ },
39
+ {
40
+ "name": "bmi",
41
+ "type": "continuous"
42
+ },
43
+ {
44
+ "name": "smoking_status",
45
+ "type": "categorical"
46
+ },
47
+ {
48
+ "name": "stroke",
49
+ "type": "categorical"
50
+ }
51
+ ],
52
+ "integer_columns": []
53
+ }
syntheticSuccess/m7/bayesnet/bayesnet-m7-20260420_035052/bayesnet_model.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b0bdcb832b623c4da609bdd6797732e4cc4fe3f72c6f0381b10e975e5d251c0a
3
+ size 11519
syntheticSuccess/m7/bayesnet/bayesnet-m7-20260420_035052/const_cols.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {}
syntheticSuccess/m7/bayesnet/bayesnet-m7-20260420_035052/gen_20260420_035257.log ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c0899e478ccf5e9c9b1dc6f8963f6a62360aab8b45b5b4cdd51ab0b7737b4bd8
3
+ size 1134
syntheticSuccess/m7/bayesnet/bayesnet-m7-20260420_035052/input_snapshot.json ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset_id": "m7",
3
+ "model": "bayesnet",
4
+ "inputs": {
5
+ "train_csv": {
6
+ "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/m7/m7-train.csv",
7
+ "exists": true,
8
+ "size": 257258,
9
+ "sha256": "6458faf5495150c1433a95be37eb8d9605954f8474a3d40d9ab9d10adc4cf71e"
10
+ },
11
+ "val_csv": {
12
+ "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/m7/m7-val.csv",
13
+ "exists": true,
14
+ "size": 32142,
15
+ "sha256": "bb8674674733508f2c6940b78c07c601654827604862334f9b267e50a83ed9f7"
16
+ },
17
+ "test_csv": {
18
+ "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/m7/m7-test.csv",
19
+ "exists": true,
20
+ "size": 32328,
21
+ "sha256": "8b32eb82bd281650cd9f236ef26ec9cd6f02dbaba740770f0e3c4b94a189f3e7"
22
+ },
23
+ "profile_json": {
24
+ "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/artifacts/data_core/tabular/m7/m7-dataset_profile.json",
25
+ "exists": true,
26
+ "size": 5020,
27
+ "sha256": "ab77a37aa06b0bb854623b7f0caab0c4d4ed05cfce61d9aaf0320c279b20fae5"
28
+ },
29
+ "contract_json": {
30
+ "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/artifacts/data_core/tabular/m7/m7-dataset_contract_v1.json",
31
+ "exists": true,
32
+ "size": 5995,
33
+ "sha256": "aa9654fbc1dc4029d109adf4117767c5a5c8e90b53bd3f9c698d7b71345cf5b3"
34
+ }
35
+ }
36
+ }
syntheticSuccess/m7/bayesnet/bayesnet-m7-20260420_035052/public_gate/normalized_schema_snapshot.json ADDED
@@ -0,0 +1,242 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset_id": "m7",
3
+ "target_column": "Residence_type",
4
+ "task_type": "classification",
5
+ "columns": [
6
+ {
7
+ "name": "id",
8
+ "role": "feature",
9
+ "semantic_type": "numeric",
10
+ "nullable": false,
11
+ "missing_tokens": [],
12
+ "parse_format": null,
13
+ "impute_strategy": "median",
14
+ "profile_stats": {
15
+ "missing_rate": 0.0,
16
+ "unique_count": 4088,
17
+ "unique_ratio": 1.0,
18
+ "example_values": [
19
+ "35296",
20
+ "36710",
21
+ "32733",
22
+ "1077",
23
+ "13223"
24
+ ]
25
+ }
26
+ },
27
+ {
28
+ "name": "gender",
29
+ "role": "feature",
30
+ "semantic_type": "categorical",
31
+ "nullable": false,
32
+ "missing_tokens": [],
33
+ "parse_format": null,
34
+ "impute_strategy": "mode",
35
+ "profile_stats": {
36
+ "missing_rate": 0.0,
37
+ "unique_count": 2,
38
+ "unique_ratio": 0.000489,
39
+ "example_values": [
40
+ "Female",
41
+ "Male"
42
+ ]
43
+ }
44
+ },
45
+ {
46
+ "name": "age",
47
+ "role": "feature",
48
+ "semantic_type": "numeric",
49
+ "nullable": false,
50
+ "missing_tokens": [],
51
+ "parse_format": null,
52
+ "impute_strategy": "median",
53
+ "profile_stats": {
54
+ "missing_rate": 0.0,
55
+ "unique_count": 104,
56
+ "unique_ratio": 0.02544,
57
+ "example_values": [
58
+ "58",
59
+ "64",
60
+ "28",
61
+ "77",
62
+ "53"
63
+ ]
64
+ }
65
+ },
66
+ {
67
+ "name": "hypertension",
68
+ "role": "feature",
69
+ "semantic_type": "boolean",
70
+ "nullable": false,
71
+ "missing_tokens": [],
72
+ "parse_format": null,
73
+ "impute_strategy": "mode",
74
+ "profile_stats": {
75
+ "missing_rate": 0.0,
76
+ "unique_count": 2,
77
+ "unique_ratio": 0.000489,
78
+ "example_values": [
79
+ "0",
80
+ "1"
81
+ ]
82
+ }
83
+ },
84
+ {
85
+ "name": "heart_disease",
86
+ "role": "feature",
87
+ "semantic_type": "boolean",
88
+ "nullable": false,
89
+ "missing_tokens": [],
90
+ "parse_format": null,
91
+ "impute_strategy": "mode",
92
+ "profile_stats": {
93
+ "missing_rate": 0.0,
94
+ "unique_count": 2,
95
+ "unique_ratio": 0.000489,
96
+ "example_values": [
97
+ "0",
98
+ "1"
99
+ ]
100
+ }
101
+ },
102
+ {
103
+ "name": "ever_married",
104
+ "role": "feature",
105
+ "semantic_type": "boolean",
106
+ "nullable": false,
107
+ "missing_tokens": [],
108
+ "parse_format": null,
109
+ "impute_strategy": "mode",
110
+ "profile_stats": {
111
+ "missing_rate": 0.0,
112
+ "unique_count": 2,
113
+ "unique_ratio": 0.000489,
114
+ "example_values": [
115
+ "Yes",
116
+ "No"
117
+ ]
118
+ }
119
+ },
120
+ {
121
+ "name": "work_type",
122
+ "role": "feature",
123
+ "semantic_type": "categorical",
124
+ "nullable": false,
125
+ "missing_tokens": [],
126
+ "parse_format": null,
127
+ "impute_strategy": "mode",
128
+ "profile_stats": {
129
+ "missing_rate": 0.0,
130
+ "unique_count": 5,
131
+ "unique_ratio": 0.001223,
132
+ "example_values": [
133
+ "Private",
134
+ "Govt_job",
135
+ "Self-employed",
136
+ "children",
137
+ "Never_worked"
138
+ ]
139
+ }
140
+ },
141
+ {
142
+ "name": "Residence_type",
143
+ "role": "target",
144
+ "semantic_type": "categorical",
145
+ "nullable": false,
146
+ "missing_tokens": [],
147
+ "parse_format": null,
148
+ "impute_strategy": "mode",
149
+ "profile_stats": {
150
+ "missing_rate": 0.0,
151
+ "unique_count": 2,
152
+ "unique_ratio": 0.000489,
153
+ "example_values": [
154
+ "Rural",
155
+ "Urban"
156
+ ]
157
+ }
158
+ },
159
+ {
160
+ "name": "avg_glucose_level",
161
+ "role": "feature",
162
+ "semantic_type": "numeric",
163
+ "nullable": false,
164
+ "missing_tokens": [],
165
+ "parse_format": null,
166
+ "impute_strategy": "median",
167
+ "profile_stats": {
168
+ "missing_rate": 0.0,
169
+ "unique_count": 3337,
170
+ "unique_ratio": 0.816292,
171
+ "example_values": [
172
+ "100.42",
173
+ "62.21",
174
+ "106.68",
175
+ "106.03",
176
+ "86.39"
177
+ ]
178
+ }
179
+ },
180
+ {
181
+ "name": "bmi",
182
+ "role": "feature",
183
+ "semantic_type": "numeric",
184
+ "nullable": true,
185
+ "missing_tokens": [
186
+ "N/A"
187
+ ],
188
+ "parse_format": null,
189
+ "impute_strategy": "median",
190
+ "profile_stats": {
191
+ "missing_rate": 0.039873,
192
+ "unique_count": 396,
193
+ "unique_ratio": 0.100892,
194
+ "example_values": [
195
+ "39.5",
196
+ "28.3",
197
+ "29.3",
198
+ "30.2",
199
+ "48.9"
200
+ ]
201
+ }
202
+ },
203
+ {
204
+ "name": "smoking_status",
205
+ "role": "feature",
206
+ "semantic_type": "text",
207
+ "nullable": false,
208
+ "missing_tokens": [],
209
+ "parse_format": null,
210
+ "impute_strategy": "keep_raw",
211
+ "profile_stats": {
212
+ "missing_rate": 0.0,
213
+ "unique_count": 4,
214
+ "unique_ratio": 0.000978,
215
+ "example_values": [
216
+ "smokes",
217
+ "Unknown",
218
+ "never smoked",
219
+ "formerly smoked"
220
+ ]
221
+ }
222
+ },
223
+ {
224
+ "name": "stroke",
225
+ "role": "feature",
226
+ "semantic_type": "boolean",
227
+ "nullable": false,
228
+ "missing_tokens": [],
229
+ "parse_format": null,
230
+ "impute_strategy": "mode",
231
+ "profile_stats": {
232
+ "missing_rate": 0.0,
233
+ "unique_count": 2,
234
+ "unique_ratio": 0.000489,
235
+ "example_values": [
236
+ "0",
237
+ "1"
238
+ ]
239
+ }
240
+ }
241
+ ]
242
+ }
syntheticSuccess/m7/bayesnet/bayesnet-m7-20260420_035052/public_gate/public_gate_report.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset_id": "m7",
3
+ "status": "pass",
4
+ "checks": [
5
+ {
6
+ "check_id": "PG001_csv_parse_ok",
7
+ "status": "pass"
8
+ },
9
+ {
10
+ "check_id": "PG002_split_header_consistent",
11
+ "status": "pass"
12
+ },
13
+ {
14
+ "check_id": "PG003_profile_header_match",
15
+ "status": "pass"
16
+ },
17
+ {
18
+ "check_id": "PG004_missing_token_normalized",
19
+ "status": "pass"
20
+ },
21
+ {
22
+ "check_id": "PG005_semantic_type_validated",
23
+ "status": "pass"
24
+ },
25
+ {
26
+ "check_id": "PG006_target_defined_and_valid",
27
+ "status": "pass"
28
+ }
29
+ ],
30
+ "target_column": "Residence_type",
31
+ "task_type": "classification",
32
+ "input_splits": {
33
+ "train": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/m7/m7-train.csv",
34
+ "val": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/m7/m7-val.csv",
35
+ "test": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/m7/m7-test.csv"
36
+ }
37
+ }
syntheticSuccess/m7/bayesnet/bayesnet-m7-20260420_035052/public_gate/staged_input_manifest.json ADDED
@@ -0,0 +1,247 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset_id": "m7",
3
+ "target_column": "Residence_type",
4
+ "task_type": "classification",
5
+ "train_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/m7/bayesnet/bayesnet-m7-20260420_035052/staged/public/train.csv",
6
+ "val_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/m7/bayesnet/bayesnet-m7-20260420_035052/staged/public/val.csv",
7
+ "test_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/m7/bayesnet/bayesnet-m7-20260420_035052/staged/public/test.csv",
8
+ "features_json": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/m7/bayesnet/bayesnet-m7-20260420_035052/staged/public/staged_features.json",
9
+ "public_gate_report": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/m7/bayesnet/bayesnet-m7-20260420_035052/public_gate/public_gate_report.json",
10
+ "column_schema": [
11
+ {
12
+ "name": "id",
13
+ "role": "feature",
14
+ "semantic_type": "numeric",
15
+ "nullable": false,
16
+ "missing_tokens": [],
17
+ "parse_format": null,
18
+ "impute_strategy": "median",
19
+ "profile_stats": {
20
+ "missing_rate": 0.0,
21
+ "unique_count": 4088,
22
+ "unique_ratio": 1.0,
23
+ "example_values": [
24
+ "35296",
25
+ "36710",
26
+ "32733",
27
+ "1077",
28
+ "13223"
29
+ ]
30
+ }
31
+ },
32
+ {
33
+ "name": "gender",
34
+ "role": "feature",
35
+ "semantic_type": "categorical",
36
+ "nullable": false,
37
+ "missing_tokens": [],
38
+ "parse_format": null,
39
+ "impute_strategy": "mode",
40
+ "profile_stats": {
41
+ "missing_rate": 0.0,
42
+ "unique_count": 2,
43
+ "unique_ratio": 0.000489,
44
+ "example_values": [
45
+ "Female",
46
+ "Male"
47
+ ]
48
+ }
49
+ },
50
+ {
51
+ "name": "age",
52
+ "role": "feature",
53
+ "semantic_type": "numeric",
54
+ "nullable": false,
55
+ "missing_tokens": [],
56
+ "parse_format": null,
57
+ "impute_strategy": "median",
58
+ "profile_stats": {
59
+ "missing_rate": 0.0,
60
+ "unique_count": 104,
61
+ "unique_ratio": 0.02544,
62
+ "example_values": [
63
+ "58",
64
+ "64",
65
+ "28",
66
+ "77",
67
+ "53"
68
+ ]
69
+ }
70
+ },
71
+ {
72
+ "name": "hypertension",
73
+ "role": "feature",
74
+ "semantic_type": "boolean",
75
+ "nullable": false,
76
+ "missing_tokens": [],
77
+ "parse_format": null,
78
+ "impute_strategy": "mode",
79
+ "profile_stats": {
80
+ "missing_rate": 0.0,
81
+ "unique_count": 2,
82
+ "unique_ratio": 0.000489,
83
+ "example_values": [
84
+ "0",
85
+ "1"
86
+ ]
87
+ }
88
+ },
89
+ {
90
+ "name": "heart_disease",
91
+ "role": "feature",
92
+ "semantic_type": "boolean",
93
+ "nullable": false,
94
+ "missing_tokens": [],
95
+ "parse_format": null,
96
+ "impute_strategy": "mode",
97
+ "profile_stats": {
98
+ "missing_rate": 0.0,
99
+ "unique_count": 2,
100
+ "unique_ratio": 0.000489,
101
+ "example_values": [
102
+ "0",
103
+ "1"
104
+ ]
105
+ }
106
+ },
107
+ {
108
+ "name": "ever_married",
109
+ "role": "feature",
110
+ "semantic_type": "boolean",
111
+ "nullable": false,
112
+ "missing_tokens": [],
113
+ "parse_format": null,
114
+ "impute_strategy": "mode",
115
+ "profile_stats": {
116
+ "missing_rate": 0.0,
117
+ "unique_count": 2,
118
+ "unique_ratio": 0.000489,
119
+ "example_values": [
120
+ "Yes",
121
+ "No"
122
+ ]
123
+ }
124
+ },
125
+ {
126
+ "name": "work_type",
127
+ "role": "feature",
128
+ "semantic_type": "categorical",
129
+ "nullable": false,
130
+ "missing_tokens": [],
131
+ "parse_format": null,
132
+ "impute_strategy": "mode",
133
+ "profile_stats": {
134
+ "missing_rate": 0.0,
135
+ "unique_count": 5,
136
+ "unique_ratio": 0.001223,
137
+ "example_values": [
138
+ "Private",
139
+ "Govt_job",
140
+ "Self-employed",
141
+ "children",
142
+ "Never_worked"
143
+ ]
144
+ }
145
+ },
146
+ {
147
+ "name": "Residence_type",
148
+ "role": "target",
149
+ "semantic_type": "categorical",
150
+ "nullable": false,
151
+ "missing_tokens": [],
152
+ "parse_format": null,
153
+ "impute_strategy": "mode",
154
+ "profile_stats": {
155
+ "missing_rate": 0.0,
156
+ "unique_count": 2,
157
+ "unique_ratio": 0.000489,
158
+ "example_values": [
159
+ "Rural",
160
+ "Urban"
161
+ ]
162
+ }
163
+ },
164
+ {
165
+ "name": "avg_glucose_level",
166
+ "role": "feature",
167
+ "semantic_type": "numeric",
168
+ "nullable": false,
169
+ "missing_tokens": [],
170
+ "parse_format": null,
171
+ "impute_strategy": "median",
172
+ "profile_stats": {
173
+ "missing_rate": 0.0,
174
+ "unique_count": 3337,
175
+ "unique_ratio": 0.816292,
176
+ "example_values": [
177
+ "100.42",
178
+ "62.21",
179
+ "106.68",
180
+ "106.03",
181
+ "86.39"
182
+ ]
183
+ }
184
+ },
185
+ {
186
+ "name": "bmi",
187
+ "role": "feature",
188
+ "semantic_type": "numeric",
189
+ "nullable": true,
190
+ "missing_tokens": [
191
+ "N/A"
192
+ ],
193
+ "parse_format": null,
194
+ "impute_strategy": "median",
195
+ "profile_stats": {
196
+ "missing_rate": 0.039873,
197
+ "unique_count": 396,
198
+ "unique_ratio": 0.100892,
199
+ "example_values": [
200
+ "39.5",
201
+ "28.3",
202
+ "29.3",
203
+ "30.2",
204
+ "48.9"
205
+ ]
206
+ }
207
+ },
208
+ {
209
+ "name": "smoking_status",
210
+ "role": "feature",
211
+ "semantic_type": "text",
212
+ "nullable": false,
213
+ "missing_tokens": [],
214
+ "parse_format": null,
215
+ "impute_strategy": "keep_raw",
216
+ "profile_stats": {
217
+ "missing_rate": 0.0,
218
+ "unique_count": 4,
219
+ "unique_ratio": 0.000978,
220
+ "example_values": [
221
+ "smokes",
222
+ "Unknown",
223
+ "never smoked",
224
+ "formerly smoked"
225
+ ]
226
+ }
227
+ },
228
+ {
229
+ "name": "stroke",
230
+ "role": "feature",
231
+ "semantic_type": "boolean",
232
+ "nullable": false,
233
+ "missing_tokens": [],
234
+ "parse_format": null,
235
+ "impute_strategy": "mode",
236
+ "profile_stats": {
237
+ "missing_rate": 0.0,
238
+ "unique_count": 2,
239
+ "unique_ratio": 0.000489,
240
+ "example_values": [
241
+ "0",
242
+ "1"
243
+ ]
244
+ }
245
+ }
246
+ ]
247
+ }
syntheticSuccess/m7/bayesnet/bayesnet-m7-20260420_035052/runtime_result.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset_id": "m7",
3
+ "model": "bayesnet",
4
+ "run_id": "bayesnet-m7-20260420_035052",
5
+ "public_gate_status": "pass",
6
+ "adapter_ready_status": "pass",
7
+ "train_status": "success",
8
+ "generate_status": "success",
9
+ "reason_code": null,
10
+ "reason_detail": null,
11
+ "artifacts": {
12
+ "synthetic_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/m7/bayesnet/bayesnet-m7-20260420_035052/bayesnet-m7-4088-20260420_035257.csv",
13
+ "model_path": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/m7/bayesnet/bayesnet-m7-20260420_035052/bayesnet_model.pkl"
14
+ }
15
+ }
syntheticSuccess/m7/bayesnet/bayesnet-m7-20260420_035052/staged/bayesnet/adapter_report.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "adapter_ready_status": "pass",
3
+ "adapter_fail_reason_code": null,
4
+ "adapter_fail_detail": null,
5
+ "adapter_transforms_applied": [],
6
+ "model_input_manifest": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/m7/bayesnet/bayesnet-m7-20260420_035052/staged/bayesnet/model_input_manifest.json"
7
+ }
syntheticSuccess/m7/bayesnet/bayesnet-m7-20260420_035052/staged/bayesnet/adapter_transforms_applied.json ADDED
@@ -0,0 +1 @@
 
 
1
+ []
syntheticSuccess/m7/bayesnet/bayesnet-m7-20260420_035052/staged/bayesnet/model_input_manifest.json ADDED
@@ -0,0 +1,249 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset_id": "m7",
3
+ "model": "bayesnet",
4
+ "target_column": "Residence_type",
5
+ "task_type": "classification",
6
+ "column_schema": [
7
+ {
8
+ "name": "id",
9
+ "role": "feature",
10
+ "semantic_type": "numeric",
11
+ "nullable": false,
12
+ "missing_tokens": [],
13
+ "parse_format": null,
14
+ "impute_strategy": "median",
15
+ "profile_stats": {
16
+ "missing_rate": 0.0,
17
+ "unique_count": 4088,
18
+ "unique_ratio": 1.0,
19
+ "example_values": [
20
+ "35296",
21
+ "36710",
22
+ "32733",
23
+ "1077",
24
+ "13223"
25
+ ]
26
+ }
27
+ },
28
+ {
29
+ "name": "gender",
30
+ "role": "feature",
31
+ "semantic_type": "categorical",
32
+ "nullable": false,
33
+ "missing_tokens": [],
34
+ "parse_format": null,
35
+ "impute_strategy": "mode",
36
+ "profile_stats": {
37
+ "missing_rate": 0.0,
38
+ "unique_count": 2,
39
+ "unique_ratio": 0.000489,
40
+ "example_values": [
41
+ "Female",
42
+ "Male"
43
+ ]
44
+ }
45
+ },
46
+ {
47
+ "name": "age",
48
+ "role": "feature",
49
+ "semantic_type": "numeric",
50
+ "nullable": false,
51
+ "missing_tokens": [],
52
+ "parse_format": null,
53
+ "impute_strategy": "median",
54
+ "profile_stats": {
55
+ "missing_rate": 0.0,
56
+ "unique_count": 104,
57
+ "unique_ratio": 0.02544,
58
+ "example_values": [
59
+ "58",
60
+ "64",
61
+ "28",
62
+ "77",
63
+ "53"
64
+ ]
65
+ }
66
+ },
67
+ {
68
+ "name": "hypertension",
69
+ "role": "feature",
70
+ "semantic_type": "boolean",
71
+ "nullable": false,
72
+ "missing_tokens": [],
73
+ "parse_format": null,
74
+ "impute_strategy": "mode",
75
+ "profile_stats": {
76
+ "missing_rate": 0.0,
77
+ "unique_count": 2,
78
+ "unique_ratio": 0.000489,
79
+ "example_values": [
80
+ "0",
81
+ "1"
82
+ ]
83
+ }
84
+ },
85
+ {
86
+ "name": "heart_disease",
87
+ "role": "feature",
88
+ "semantic_type": "boolean",
89
+ "nullable": false,
90
+ "missing_tokens": [],
91
+ "parse_format": null,
92
+ "impute_strategy": "mode",
93
+ "profile_stats": {
94
+ "missing_rate": 0.0,
95
+ "unique_count": 2,
96
+ "unique_ratio": 0.000489,
97
+ "example_values": [
98
+ "0",
99
+ "1"
100
+ ]
101
+ }
102
+ },
103
+ {
104
+ "name": "ever_married",
105
+ "role": "feature",
106
+ "semantic_type": "boolean",
107
+ "nullable": false,
108
+ "missing_tokens": [],
109
+ "parse_format": null,
110
+ "impute_strategy": "mode",
111
+ "profile_stats": {
112
+ "missing_rate": 0.0,
113
+ "unique_count": 2,
114
+ "unique_ratio": 0.000489,
115
+ "example_values": [
116
+ "Yes",
117
+ "No"
118
+ ]
119
+ }
120
+ },
121
+ {
122
+ "name": "work_type",
123
+ "role": "feature",
124
+ "semantic_type": "categorical",
125
+ "nullable": false,
126
+ "missing_tokens": [],
127
+ "parse_format": null,
128
+ "impute_strategy": "mode",
129
+ "profile_stats": {
130
+ "missing_rate": 0.0,
131
+ "unique_count": 5,
132
+ "unique_ratio": 0.001223,
133
+ "example_values": [
134
+ "Private",
135
+ "Govt_job",
136
+ "Self-employed",
137
+ "children",
138
+ "Never_worked"
139
+ ]
140
+ }
141
+ },
142
+ {
143
+ "name": "Residence_type",
144
+ "role": "target",
145
+ "semantic_type": "categorical",
146
+ "nullable": false,
147
+ "missing_tokens": [],
148
+ "parse_format": null,
149
+ "impute_strategy": "mode",
150
+ "profile_stats": {
151
+ "missing_rate": 0.0,
152
+ "unique_count": 2,
153
+ "unique_ratio": 0.000489,
154
+ "example_values": [
155
+ "Rural",
156
+ "Urban"
157
+ ]
158
+ }
159
+ },
160
+ {
161
+ "name": "avg_glucose_level",
162
+ "role": "feature",
163
+ "semantic_type": "numeric",
164
+ "nullable": false,
165
+ "missing_tokens": [],
166
+ "parse_format": null,
167
+ "impute_strategy": "median",
168
+ "profile_stats": {
169
+ "missing_rate": 0.0,
170
+ "unique_count": 3337,
171
+ "unique_ratio": 0.816292,
172
+ "example_values": [
173
+ "100.42",
174
+ "62.21",
175
+ "106.68",
176
+ "106.03",
177
+ "86.39"
178
+ ]
179
+ }
180
+ },
181
+ {
182
+ "name": "bmi",
183
+ "role": "feature",
184
+ "semantic_type": "numeric",
185
+ "nullable": true,
186
+ "missing_tokens": [
187
+ "N/A"
188
+ ],
189
+ "parse_format": null,
190
+ "impute_strategy": "median",
191
+ "profile_stats": {
192
+ "missing_rate": 0.039873,
193
+ "unique_count": 396,
194
+ "unique_ratio": 0.100892,
195
+ "example_values": [
196
+ "39.5",
197
+ "28.3",
198
+ "29.3",
199
+ "30.2",
200
+ "48.9"
201
+ ]
202
+ }
203
+ },
204
+ {
205
+ "name": "smoking_status",
206
+ "role": "feature",
207
+ "semantic_type": "text",
208
+ "nullable": false,
209
+ "missing_tokens": [],
210
+ "parse_format": null,
211
+ "impute_strategy": "keep_raw",
212
+ "profile_stats": {
213
+ "missing_rate": 0.0,
214
+ "unique_count": 4,
215
+ "unique_ratio": 0.000978,
216
+ "example_values": [
217
+ "smokes",
218
+ "Unknown",
219
+ "never smoked",
220
+ "formerly smoked"
221
+ ]
222
+ }
223
+ },
224
+ {
225
+ "name": "stroke",
226
+ "role": "feature",
227
+ "semantic_type": "boolean",
228
+ "nullable": false,
229
+ "missing_tokens": [],
230
+ "parse_format": null,
231
+ "impute_strategy": "mode",
232
+ "profile_stats": {
233
+ "missing_rate": 0.0,
234
+ "unique_count": 2,
235
+ "unique_ratio": 0.000489,
236
+ "example_values": [
237
+ "0",
238
+ "1"
239
+ ]
240
+ }
241
+ }
242
+ ],
243
+ "public_manifest": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/m7/bayesnet/bayesnet-m7-20260420_035052/public_gate/staged_input_manifest.json",
244
+ "train_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/m7/bayesnet/bayesnet-m7-20260420_035052/staged/public/train.csv",
245
+ "val_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/m7/bayesnet/bayesnet-m7-20260420_035052/staged/public/val.csv",
246
+ "test_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/m7/bayesnet/bayesnet-m7-20260420_035052/staged/public/test.csv",
247
+ "features_json": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/m7/bayesnet/bayesnet-m7-20260420_035052/staged/public/staged_features.json",
248
+ "public_gate_report": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/m7/bayesnet/bayesnet-m7-20260420_035052/public_gate/public_gate_report.json"
249
+ }
syntheticSuccess/m7/bayesnet/bayesnet-m7-20260420_035052/staged/public/staged_features.json ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "feature_name": "id",
4
+ "data_type": "continuous",
5
+ "is_target": false
6
+ },
7
+ {
8
+ "feature_name": "gender",
9
+ "data_type": "categorical",
10
+ "is_target": false
11
+ },
12
+ {
13
+ "feature_name": "age",
14
+ "data_type": "continuous",
15
+ "is_target": false
16
+ },
17
+ {
18
+ "feature_name": "hypertension",
19
+ "data_type": "binary",
20
+ "is_target": false
21
+ },
22
+ {
23
+ "feature_name": "heart_disease",
24
+ "data_type": "binary",
25
+ "is_target": false
26
+ },
27
+ {
28
+ "feature_name": "ever_married",
29
+ "data_type": "binary",
30
+ "is_target": false
31
+ },
32
+ {
33
+ "feature_name": "work_type",
34
+ "data_type": "categorical",
35
+ "is_target": false
36
+ },
37
+ {
38
+ "feature_name": "Residence_type",
39
+ "data_type": "categorical",
40
+ "is_target": true
41
+ },
42
+ {
43
+ "feature_name": "avg_glucose_level",
44
+ "data_type": "continuous",
45
+ "is_target": false
46
+ },
47
+ {
48
+ "feature_name": "bmi",
49
+ "data_type": "continuous",
50
+ "is_target": false
51
+ },
52
+ {
53
+ "feature_name": "smoking_status",
54
+ "data_type": "categorical",
55
+ "is_target": false
56
+ },
57
+ {
58
+ "feature_name": "stroke",
59
+ "data_type": "binary",
60
+ "is_target": false
61
+ }
62
+ ]
syntheticSuccess/m7/bayesnet/bayesnet-m7-20260420_035052/staged/public/test.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ed44e06410b9395c5c85e238168df0c6952d61bdfe49424863c651ef2b1f4bd8
3
+ size 32934
syntheticSuccess/m7/bayesnet/bayesnet-m7-20260420_035052/staged/public/train.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f842ac0ec4c47a15867ef35ae0ceede4ef955e556ad5220f982151d22894e25d
3
+ size 262059
syntheticSuccess/m7/bayesnet/bayesnet-m7-20260420_035052/staged/public/val.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ca541bece6380791dc2c9f7012ec8acbde8a8d270578cc5e031b739f7a761bf8
3
+ size 32704
syntheticSuccess/m7/bayesnet/bayesnet-m7-20260420_035052/train_20260420_035053.log ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6ded2907debedaf80869e394afc9cdbdf5d0f959d8cb6aa37b67fe8d901338fb
3
+ size 1160
syntheticSuccess/m7/ctgan/ctgan-m7-20260422_031259/_ctgan_generate.py ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import sys
2
+ sys.path.insert(0, "/work")
3
+ from src.SpecificModels.ctgan_rdt_inverse_fix import apply_ctgan_inverse_fix
4
+ apply_ctgan_inverse_fix()
5
+ import pandas as pd
6
+ from ctgan.synthesizers.ctgan import CTGAN
7
+ model = CTGAN.load("/work/output-SpecializedModels/m7/ctgan/ctgan-m7-20260422_031259/models_300epochs/ctgan_300epochs.pt")
8
+ total = 4088
9
+ chunk = min(50000, total) if total > 50000 else total
10
+ parts = []
11
+ left = total
12
+ while left > 0:
13
+ take = min(chunk, left)
14
+ parts.append(model.sample(take))
15
+ left -= take
16
+ sampled = pd.concat(parts, ignore_index=True) if len(parts) > 1 else parts[0]
17
+ sampled.to_csv("/work/output-SpecializedModels/m7/ctgan/ctgan-m7-20260422_031259/ctgan-m7-4088-20260422_031701.csv", index=False)
18
+ print("[CTGAN] Generated", total, "rows in", len(parts), "chunks ->", "/work/output-SpecializedModels/m7/ctgan/ctgan-m7-20260422_031259/ctgan-m7-4088-20260422_031701.csv")
syntheticSuccess/m7/ctgan/ctgan-m7-20260422_031259/ctgan-m7-4088-20260422_031701.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1a571fd61abd1274a28afa0afcb2ee0fb10939f6b880b59ea9de73ac8d6c501e
3
+ size 427328
syntheticSuccess/m7/ctgan/ctgan-m7-20260422_031259/ctgan_metadata.json ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "columns": [
3
+ {
4
+ "name": "id",
5
+ "type": "continuous"
6
+ },
7
+ {
8
+ "name": "gender",
9
+ "type": "categorical"
10
+ },
11
+ {
12
+ "name": "age",
13
+ "type": "continuous"
14
+ },
15
+ {
16
+ "name": "hypertension",
17
+ "type": "categorical"
18
+ },
19
+ {
20
+ "name": "heart_disease",
21
+ "type": "categorical"
22
+ },
23
+ {
24
+ "name": "ever_married",
25
+ "type": "categorical"
26
+ },
27
+ {
28
+ "name": "work_type",
29
+ "type": "categorical"
30
+ },
31
+ {
32
+ "name": "Residence_type",
33
+ "type": "categorical"
34
+ },
35
+ {
36
+ "name": "avg_glucose_level",
37
+ "type": "continuous"
38
+ },
39
+ {
40
+ "name": "bmi",
41
+ "type": "continuous"
42
+ },
43
+ {
44
+ "name": "smoking_status",
45
+ "type": "categorical"
46
+ },
47
+ {
48
+ "name": "stroke",
49
+ "type": "categorical"
50
+ }
51
+ ]
52
+ }
syntheticSuccess/m7/ctgan/ctgan-m7-20260422_031259/ctgan_train_continuous_imputed.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7f09f8ffa01150b36a5bb4cbd5592da505fc71b4316387a80989867a26e73579
3
+ size 262711
syntheticSuccess/m7/ctgan/ctgan-m7-20260422_031259/gen_20260422_031701.log ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:737ffb173c2ad801f41a143503ab9c02a0daa3798cc536585def16ff92a50b75
3
+ size 292
syntheticSuccess/m7/ctgan/ctgan-m7-20260422_031259/input_snapshot.json ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset_id": "m7",
3
+ "model": "ctgan",
4
+ "inputs": {
5
+ "train_csv": {
6
+ "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/m7/m7-train.csv",
7
+ "exists": true,
8
+ "size": 257258,
9
+ "sha256": "6458faf5495150c1433a95be37eb8d9605954f8474a3d40d9ab9d10adc4cf71e"
10
+ },
11
+ "val_csv": {
12
+ "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/m7/m7-val.csv",
13
+ "exists": true,
14
+ "size": 32142,
15
+ "sha256": "bb8674674733508f2c6940b78c07c601654827604862334f9b267e50a83ed9f7"
16
+ },
17
+ "test_csv": {
18
+ "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/m7/m7-test.csv",
19
+ "exists": true,
20
+ "size": 32328,
21
+ "sha256": "8b32eb82bd281650cd9f236ef26ec9cd6f02dbaba740770f0e3c4b94a189f3e7"
22
+ },
23
+ "profile_json": {
24
+ "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/artifacts/data_core/tabular/m7/m7-dataset_profile.json",
25
+ "exists": true,
26
+ "size": 5020,
27
+ "sha256": "ab77a37aa06b0bb854623b7f0caab0c4d4ed05cfce61d9aaf0320c279b20fae5"
28
+ },
29
+ "contract_json": {
30
+ "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/artifacts/data_core/tabular/m7/m7-dataset_contract_v1.json",
31
+ "exists": true,
32
+ "size": 5995,
33
+ "sha256": "aa9654fbc1dc4029d109adf4117767c5a5c8e90b53bd3f9c698d7b71345cf5b3"
34
+ }
35
+ }
36
+ }
syntheticSuccess/m7/ctgan/ctgan-m7-20260422_031259/models_300epochs/ctgan_300epochs.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:17bb37f34d315c89708cce912563a5feb49eac543f37dc30b3cddc9cb87aa113
3
+ size 1365155
syntheticSuccess/m7/ctgan/ctgan-m7-20260422_031259/models_300epochs/train_20260422_031300.log ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4cef0e2a964c2e13e32fdee30bc71a5e7afb4945f6ff5bdb8ff062a87139aa6a
3
+ size 2322
syntheticSuccess/m7/ctgan/ctgan-m7-20260422_031259/public_gate/normalized_schema_snapshot.json ADDED
@@ -0,0 +1,242 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset_id": "m7",
3
+ "target_column": "Residence_type",
4
+ "task_type": "classification",
5
+ "columns": [
6
+ {
7
+ "name": "id",
8
+ "role": "feature",
9
+ "semantic_type": "numeric",
10
+ "nullable": false,
11
+ "missing_tokens": [],
12
+ "parse_format": null,
13
+ "impute_strategy": "median",
14
+ "profile_stats": {
15
+ "missing_rate": 0.0,
16
+ "unique_count": 4088,
17
+ "unique_ratio": 1.0,
18
+ "example_values": [
19
+ "35296",
20
+ "36710",
21
+ "32733",
22
+ "1077",
23
+ "13223"
24
+ ]
25
+ }
26
+ },
27
+ {
28
+ "name": "gender",
29
+ "role": "feature",
30
+ "semantic_type": "categorical",
31
+ "nullable": false,
32
+ "missing_tokens": [],
33
+ "parse_format": null,
34
+ "impute_strategy": "mode",
35
+ "profile_stats": {
36
+ "missing_rate": 0.0,
37
+ "unique_count": 2,
38
+ "unique_ratio": 0.000489,
39
+ "example_values": [
40
+ "Female",
41
+ "Male"
42
+ ]
43
+ }
44
+ },
45
+ {
46
+ "name": "age",
47
+ "role": "feature",
48
+ "semantic_type": "numeric",
49
+ "nullable": false,
50
+ "missing_tokens": [],
51
+ "parse_format": null,
52
+ "impute_strategy": "median",
53
+ "profile_stats": {
54
+ "missing_rate": 0.0,
55
+ "unique_count": 104,
56
+ "unique_ratio": 0.02544,
57
+ "example_values": [
58
+ "58",
59
+ "64",
60
+ "28",
61
+ "77",
62
+ "53"
63
+ ]
64
+ }
65
+ },
66
+ {
67
+ "name": "hypertension",
68
+ "role": "feature",
69
+ "semantic_type": "boolean",
70
+ "nullable": false,
71
+ "missing_tokens": [],
72
+ "parse_format": null,
73
+ "impute_strategy": "mode",
74
+ "profile_stats": {
75
+ "missing_rate": 0.0,
76
+ "unique_count": 2,
77
+ "unique_ratio": 0.000489,
78
+ "example_values": [
79
+ "0",
80
+ "1"
81
+ ]
82
+ }
83
+ },
84
+ {
85
+ "name": "heart_disease",
86
+ "role": "feature",
87
+ "semantic_type": "boolean",
88
+ "nullable": false,
89
+ "missing_tokens": [],
90
+ "parse_format": null,
91
+ "impute_strategy": "mode",
92
+ "profile_stats": {
93
+ "missing_rate": 0.0,
94
+ "unique_count": 2,
95
+ "unique_ratio": 0.000489,
96
+ "example_values": [
97
+ "0",
98
+ "1"
99
+ ]
100
+ }
101
+ },
102
+ {
103
+ "name": "ever_married",
104
+ "role": "feature",
105
+ "semantic_type": "boolean",
106
+ "nullable": false,
107
+ "missing_tokens": [],
108
+ "parse_format": null,
109
+ "impute_strategy": "mode",
110
+ "profile_stats": {
111
+ "missing_rate": 0.0,
112
+ "unique_count": 2,
113
+ "unique_ratio": 0.000489,
114
+ "example_values": [
115
+ "Yes",
116
+ "No"
117
+ ]
118
+ }
119
+ },
120
+ {
121
+ "name": "work_type",
122
+ "role": "feature",
123
+ "semantic_type": "categorical",
124
+ "nullable": false,
125
+ "missing_tokens": [],
126
+ "parse_format": null,
127
+ "impute_strategy": "mode",
128
+ "profile_stats": {
129
+ "missing_rate": 0.0,
130
+ "unique_count": 5,
131
+ "unique_ratio": 0.001223,
132
+ "example_values": [
133
+ "Private",
134
+ "Govt_job",
135
+ "Self-employed",
136
+ "children",
137
+ "Never_worked"
138
+ ]
139
+ }
140
+ },
141
+ {
142
+ "name": "Residence_type",
143
+ "role": "target",
144
+ "semantic_type": "categorical",
145
+ "nullable": false,
146
+ "missing_tokens": [],
147
+ "parse_format": null,
148
+ "impute_strategy": "mode",
149
+ "profile_stats": {
150
+ "missing_rate": 0.0,
151
+ "unique_count": 2,
152
+ "unique_ratio": 0.000489,
153
+ "example_values": [
154
+ "Rural",
155
+ "Urban"
156
+ ]
157
+ }
158
+ },
159
+ {
160
+ "name": "avg_glucose_level",
161
+ "role": "feature",
162
+ "semantic_type": "numeric",
163
+ "nullable": false,
164
+ "missing_tokens": [],
165
+ "parse_format": null,
166
+ "impute_strategy": "median",
167
+ "profile_stats": {
168
+ "missing_rate": 0.0,
169
+ "unique_count": 3337,
170
+ "unique_ratio": 0.816292,
171
+ "example_values": [
172
+ "100.42",
173
+ "62.21",
174
+ "106.68",
175
+ "106.03",
176
+ "86.39"
177
+ ]
178
+ }
179
+ },
180
+ {
181
+ "name": "bmi",
182
+ "role": "feature",
183
+ "semantic_type": "numeric",
184
+ "nullable": true,
185
+ "missing_tokens": [
186
+ "N/A"
187
+ ],
188
+ "parse_format": null,
189
+ "impute_strategy": "median",
190
+ "profile_stats": {
191
+ "missing_rate": 0.039873,
192
+ "unique_count": 396,
193
+ "unique_ratio": 0.100892,
194
+ "example_values": [
195
+ "39.5",
196
+ "28.3",
197
+ "29.3",
198
+ "30.2",
199
+ "48.9"
200
+ ]
201
+ }
202
+ },
203
+ {
204
+ "name": "smoking_status",
205
+ "role": "feature",
206
+ "semantic_type": "text",
207
+ "nullable": false,
208
+ "missing_tokens": [],
209
+ "parse_format": null,
210
+ "impute_strategy": "keep_raw",
211
+ "profile_stats": {
212
+ "missing_rate": 0.0,
213
+ "unique_count": 4,
214
+ "unique_ratio": 0.000978,
215
+ "example_values": [
216
+ "smokes",
217
+ "Unknown",
218
+ "never smoked",
219
+ "formerly smoked"
220
+ ]
221
+ }
222
+ },
223
+ {
224
+ "name": "stroke",
225
+ "role": "feature",
226
+ "semantic_type": "boolean",
227
+ "nullable": false,
228
+ "missing_tokens": [],
229
+ "parse_format": null,
230
+ "impute_strategy": "mode",
231
+ "profile_stats": {
232
+ "missing_rate": 0.0,
233
+ "unique_count": 2,
234
+ "unique_ratio": 0.000489,
235
+ "example_values": [
236
+ "0",
237
+ "1"
238
+ ]
239
+ }
240
+ }
241
+ ]
242
+ }
syntheticSuccess/m7/ctgan/ctgan-m7-20260422_031259/public_gate/public_gate_report.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset_id": "m7",
3
+ "status": "pass",
4
+ "checks": [
5
+ {
6
+ "check_id": "PG001_csv_parse_ok",
7
+ "status": "pass"
8
+ },
9
+ {
10
+ "check_id": "PG002_split_header_consistent",
11
+ "status": "pass"
12
+ },
13
+ {
14
+ "check_id": "PG003_profile_header_match",
15
+ "status": "pass"
16
+ },
17
+ {
18
+ "check_id": "PG004_missing_token_normalized",
19
+ "status": "pass"
20
+ },
21
+ {
22
+ "check_id": "PG005_semantic_type_validated",
23
+ "status": "pass"
24
+ },
25
+ {
26
+ "check_id": "PG006_target_defined_and_valid",
27
+ "status": "pass"
28
+ }
29
+ ],
30
+ "target_column": "Residence_type",
31
+ "task_type": "classification",
32
+ "input_splits": {
33
+ "train": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/m7/m7-train.csv",
34
+ "val": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/m7/m7-val.csv",
35
+ "test": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/m7/m7-test.csv"
36
+ }
37
+ }
syntheticSuccess/m7/ctgan/ctgan-m7-20260422_031259/public_gate/staged_input_manifest.json ADDED
@@ -0,0 +1,247 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset_id": "m7",
3
+ "target_column": "Residence_type",
4
+ "task_type": "classification",
5
+ "train_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/m7/ctgan/ctgan-m7-20260422_031259/staged/public/train.csv",
6
+ "val_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/m7/ctgan/ctgan-m7-20260422_031259/staged/public/val.csv",
7
+ "test_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/m7/ctgan/ctgan-m7-20260422_031259/staged/public/test.csv",
8
+ "features_json": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/m7/ctgan/ctgan-m7-20260422_031259/staged/public/staged_features.json",
9
+ "public_gate_report": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/m7/ctgan/ctgan-m7-20260422_031259/public_gate/public_gate_report.json",
10
+ "column_schema": [
11
+ {
12
+ "name": "id",
13
+ "role": "feature",
14
+ "semantic_type": "numeric",
15
+ "nullable": false,
16
+ "missing_tokens": [],
17
+ "parse_format": null,
18
+ "impute_strategy": "median",
19
+ "profile_stats": {
20
+ "missing_rate": 0.0,
21
+ "unique_count": 4088,
22
+ "unique_ratio": 1.0,
23
+ "example_values": [
24
+ "35296",
25
+ "36710",
26
+ "32733",
27
+ "1077",
28
+ "13223"
29
+ ]
30
+ }
31
+ },
32
+ {
33
+ "name": "gender",
34
+ "role": "feature",
35
+ "semantic_type": "categorical",
36
+ "nullable": false,
37
+ "missing_tokens": [],
38
+ "parse_format": null,
39
+ "impute_strategy": "mode",
40
+ "profile_stats": {
41
+ "missing_rate": 0.0,
42
+ "unique_count": 2,
43
+ "unique_ratio": 0.000489,
44
+ "example_values": [
45
+ "Female",
46
+ "Male"
47
+ ]
48
+ }
49
+ },
50
+ {
51
+ "name": "age",
52
+ "role": "feature",
53
+ "semantic_type": "numeric",
54
+ "nullable": false,
55
+ "missing_tokens": [],
56
+ "parse_format": null,
57
+ "impute_strategy": "median",
58
+ "profile_stats": {
59
+ "missing_rate": 0.0,
60
+ "unique_count": 104,
61
+ "unique_ratio": 0.02544,
62
+ "example_values": [
63
+ "58",
64
+ "64",
65
+ "28",
66
+ "77",
67
+ "53"
68
+ ]
69
+ }
70
+ },
71
+ {
72
+ "name": "hypertension",
73
+ "role": "feature",
74
+ "semantic_type": "boolean",
75
+ "nullable": false,
76
+ "missing_tokens": [],
77
+ "parse_format": null,
78
+ "impute_strategy": "mode",
79
+ "profile_stats": {
80
+ "missing_rate": 0.0,
81
+ "unique_count": 2,
82
+ "unique_ratio": 0.000489,
83
+ "example_values": [
84
+ "0",
85
+ "1"
86
+ ]
87
+ }
88
+ },
89
+ {
90
+ "name": "heart_disease",
91
+ "role": "feature",
92
+ "semantic_type": "boolean",
93
+ "nullable": false,
94
+ "missing_tokens": [],
95
+ "parse_format": null,
96
+ "impute_strategy": "mode",
97
+ "profile_stats": {
98
+ "missing_rate": 0.0,
99
+ "unique_count": 2,
100
+ "unique_ratio": 0.000489,
101
+ "example_values": [
102
+ "0",
103
+ "1"
104
+ ]
105
+ }
106
+ },
107
+ {
108
+ "name": "ever_married",
109
+ "role": "feature",
110
+ "semantic_type": "boolean",
111
+ "nullable": false,
112
+ "missing_tokens": [],
113
+ "parse_format": null,
114
+ "impute_strategy": "mode",
115
+ "profile_stats": {
116
+ "missing_rate": 0.0,
117
+ "unique_count": 2,
118
+ "unique_ratio": 0.000489,
119
+ "example_values": [
120
+ "Yes",
121
+ "No"
122
+ ]
123
+ }
124
+ },
125
+ {
126
+ "name": "work_type",
127
+ "role": "feature",
128
+ "semantic_type": "categorical",
129
+ "nullable": false,
130
+ "missing_tokens": [],
131
+ "parse_format": null,
132
+ "impute_strategy": "mode",
133
+ "profile_stats": {
134
+ "missing_rate": 0.0,
135
+ "unique_count": 5,
136
+ "unique_ratio": 0.001223,
137
+ "example_values": [
138
+ "Private",
139
+ "Govt_job",
140
+ "Self-employed",
141
+ "children",
142
+ "Never_worked"
143
+ ]
144
+ }
145
+ },
146
+ {
147
+ "name": "Residence_type",
148
+ "role": "target",
149
+ "semantic_type": "categorical",
150
+ "nullable": false,
151
+ "missing_tokens": [],
152
+ "parse_format": null,
153
+ "impute_strategy": "mode",
154
+ "profile_stats": {
155
+ "missing_rate": 0.0,
156
+ "unique_count": 2,
157
+ "unique_ratio": 0.000489,
158
+ "example_values": [
159
+ "Rural",
160
+ "Urban"
161
+ ]
162
+ }
163
+ },
164
+ {
165
+ "name": "avg_glucose_level",
166
+ "role": "feature",
167
+ "semantic_type": "numeric",
168
+ "nullable": false,
169
+ "missing_tokens": [],
170
+ "parse_format": null,
171
+ "impute_strategy": "median",
172
+ "profile_stats": {
173
+ "missing_rate": 0.0,
174
+ "unique_count": 3337,
175
+ "unique_ratio": 0.816292,
176
+ "example_values": [
177
+ "100.42",
178
+ "62.21",
179
+ "106.68",
180
+ "106.03",
181
+ "86.39"
182
+ ]
183
+ }
184
+ },
185
+ {
186
+ "name": "bmi",
187
+ "role": "feature",
188
+ "semantic_type": "numeric",
189
+ "nullable": true,
190
+ "missing_tokens": [
191
+ "N/A"
192
+ ],
193
+ "parse_format": null,
194
+ "impute_strategy": "median",
195
+ "profile_stats": {
196
+ "missing_rate": 0.039873,
197
+ "unique_count": 396,
198
+ "unique_ratio": 0.100892,
199
+ "example_values": [
200
+ "39.5",
201
+ "28.3",
202
+ "29.3",
203
+ "30.2",
204
+ "48.9"
205
+ ]
206
+ }
207
+ },
208
+ {
209
+ "name": "smoking_status",
210
+ "role": "feature",
211
+ "semantic_type": "text",
212
+ "nullable": false,
213
+ "missing_tokens": [],
214
+ "parse_format": null,
215
+ "impute_strategy": "keep_raw",
216
+ "profile_stats": {
217
+ "missing_rate": 0.0,
218
+ "unique_count": 4,
219
+ "unique_ratio": 0.000978,
220
+ "example_values": [
221
+ "smokes",
222
+ "Unknown",
223
+ "never smoked",
224
+ "formerly smoked"
225
+ ]
226
+ }
227
+ },
228
+ {
229
+ "name": "stroke",
230
+ "role": "feature",
231
+ "semantic_type": "boolean",
232
+ "nullable": false,
233
+ "missing_tokens": [],
234
+ "parse_format": null,
235
+ "impute_strategy": "mode",
236
+ "profile_stats": {
237
+ "missing_rate": 0.0,
238
+ "unique_count": 2,
239
+ "unique_ratio": 0.000489,
240
+ "example_values": [
241
+ "0",
242
+ "1"
243
+ ]
244
+ }
245
+ }
246
+ ]
247
+ }
syntheticSuccess/m7/ctgan/ctgan-m7-20260422_031259/runtime_result.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset_id": "m7",
3
+ "model": "ctgan",
4
+ "run_id": "ctgan-m7-20260422_031259",
5
+ "public_gate_status": "pass",
6
+ "adapter_ready_status": "pass",
7
+ "train_status": "success",
8
+ "generate_status": "success",
9
+ "reason_code": null,
10
+ "reason_detail": null,
11
+ "artifacts": {
12
+ "synthetic_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/m7/ctgan/ctgan-m7-20260422_031259/ctgan-m7-4088-20260422_031701.csv",
13
+ "model_path": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/m7/ctgan/ctgan-m7-20260422_031259/models_300epochs/ctgan_300epochs.pt"
14
+ }
15
+ }