TabQueryBench commited on
Commit
66992fa
·
verified ·
1 Parent(s): 7d57e04

Resume SynthData0523 main/c7 batch 1

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +28 -0
  2. SynthData0523/main/c7/arf/arf-c7-20260429_030948/_arf_generate.py +93 -0
  3. SynthData0523/main/c7/arf/arf-c7-20260429_030948/_arf_train.py +37 -0
  4. SynthData0523/main/c7/arf/arf-c7-20260429_030948/arf-c7-10368-20260429_031026.csv +3 -0
  5. SynthData0523/main/c7/arf/arf-c7-20260429_030948/arf_model.pkl +3 -0
  6. SynthData0523/main/c7/arf/arf-c7-20260429_030948/gen_20260429_031026.log +3 -0
  7. SynthData0523/main/c7/arf/arf-c7-20260429_030948/input_snapshot.json +3 -0
  8. SynthData0523/main/c7/arf/arf-c7-20260429_030948/public_gate/normalized_schema_snapshot.json +3 -0
  9. SynthData0523/main/c7/arf/arf-c7-20260429_030948/public_gate/public_gate_report.json +3 -0
  10. SynthData0523/main/c7/arf/arf-c7-20260429_030948/public_gate/staged_input_manifest.json +3 -0
  11. SynthData0523/main/c7/arf/arf-c7-20260429_030948/runtime_result.json +3 -0
  12. SynthData0523/main/c7/arf/arf-c7-20260429_030948/staged/arf/adapter_report.json +3 -0
  13. SynthData0523/main/c7/arf/arf-c7-20260429_030948/staged/arf/adapter_transforms_applied.json +3 -0
  14. SynthData0523/main/c7/arf/arf-c7-20260429_030948/staged/arf/model_input_manifest.json +3 -0
  15. SynthData0523/main/c7/arf/arf-c7-20260429_030948/staged/public/staged_features.json +3 -0
  16. SynthData0523/main/c7/arf/arf-c7-20260429_030948/staged/public/test.csv +3 -0
  17. SynthData0523/main/c7/arf/arf-c7-20260429_030948/staged/public/train.csv +3 -0
  18. SynthData0523/main/c7/arf/arf-c7-20260429_030948/staged/public/val.csv +3 -0
  19. SynthData0523/main/c7/arf/arf-c7-20260429_030948/train_20260429_030948.log +3 -0
  20. SynthData0523/main/c7/arf/arf-c7-20260429_031427/_arf_generate.py +93 -0
  21. SynthData0523/main/c7/arf/arf-c7-20260429_031427/_arf_train.py +37 -0
  22. SynthData0523/main/c7/arf/arf-c7-20260429_031427/arf-c7-10368-20260429_031508.csv +3 -0
  23. SynthData0523/main/c7/arf/arf-c7-20260429_031427/arf_model.pkl +3 -0
  24. SynthData0523/main/c7/arf/arf-c7-20260429_031427/gen_20260429_031508.log +3 -0
  25. SynthData0523/main/c7/arf/arf-c7-20260429_031427/input_snapshot.json +36 -0
  26. SynthData0523/main/c7/arf/arf-c7-20260429_031427/public_gate/normalized_schema_snapshot.json +183 -0
  27. SynthData0523/main/c7/arf/arf-c7-20260429_031427/public_gate/public_gate_report.json +37 -0
  28. SynthData0523/main/c7/arf/arf-c7-20260429_031427/public_gate/staged_input_manifest.json +188 -0
  29. SynthData0523/main/c7/arf/arf-c7-20260429_031427/runtime_result.json +15 -0
  30. SynthData0523/main/c7/arf/arf-c7-20260429_031427/staged/arf/adapter_report.json +7 -0
  31. SynthData0523/main/c7/arf/arf-c7-20260429_031427/staged/arf/adapter_transforms_applied.json +1 -0
  32. SynthData0523/main/c7/arf/arf-c7-20260429_031427/staged/arf/model_input_manifest.json +190 -0
  33. SynthData0523/main/c7/arf/arf-c7-20260429_031427/staged/public/staged_features.json +47 -0
  34. SynthData0523/main/c7/arf/arf-c7-20260429_031427/staged/public/test.csv +3 -0
  35. SynthData0523/main/c7/arf/arf-c7-20260429_031427/staged/public/train.csv +3 -0
  36. SynthData0523/main/c7/arf/arf-c7-20260429_031427/staged/public/val.csv +3 -0
  37. SynthData0523/main/c7/arf/arf-c7-20260429_031427/train_20260429_031427.log +3 -0
  38. SynthData0523/main/c7/bayesnet/bayesnet-c7-20260321_061816/_bayesnet_generate.py +43 -0
  39. SynthData0523/main/c7/bayesnet/bayesnet-c7-20260321_061816/_bayesnet_train.py +62 -0
  40. SynthData0523/main/c7/bayesnet/bayesnet-c7-20260321_061816/bayesnet-c7-1000-20260321_061903.csv +3 -0
  41. SynthData0523/main/c7/bayesnet/bayesnet-c7-20260321_061816/bayesnet-c7-10368-20260330_065316.csv +3 -0
  42. SynthData0523/main/c7/bayesnet/bayesnet-c7-20260321_061816/bayesnet_model.pkl +3 -0
  43. SynthData0523/main/c7/bayesnet/bayesnet-c7-20260321_061816/const_cols.json +1 -0
  44. SynthData0523/main/c7/bayesnet/bayesnet-c7-20260321_061816/gen_20260321_061903.log +3 -0
  45. SynthData0523/main/c7/bayesnet/bayesnet-c7-20260321_061816/gen_20260330_065316.log +3 -0
  46. SynthData0523/main/c7/bayesnet/bayesnet-c7-20260321_061816/input_snapshot.json +36 -0
  47. SynthData0523/main/c7/bayesnet/bayesnet-c7-20260321_061816/public_gate/normalized_schema_snapshot.json +183 -0
  48. SynthData0523/main/c7/bayesnet/bayesnet-c7-20260321_061816/public_gate/public_gate_report.json +37 -0
  49. SynthData0523/main/c7/bayesnet/bayesnet-c7-20260321_061816/public_gate/staged_input_manifest.json +188 -0
  50. SynthData0523/main/c7/bayesnet/bayesnet-c7-20260321_061816/runtime_result.json +14 -0
.gitattributes CHANGED
@@ -5392,3 +5392,31 @@ SynthData0523/main/c6/tvae/tvae-c6-20260419_191329/staged/public/test.csv filter
5392
  SynthData0523/main/c6/tvae/tvae-c6-20260419_191329/staged/public/train.csv filter=lfs diff=lfs merge=lfs -text
5393
  SynthData0523/main/c6/tvae/tvae-c6-20260419_191329/staged/public/val.csv filter=lfs diff=lfs merge=lfs -text
5394
  SynthData0523/main/c6/tvae/tvae-c6-20260419_191329/tvae-c6-7636-20260419_191634.csv filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5392
  SynthData0523/main/c6/tvae/tvae-c6-20260419_191329/staged/public/train.csv filter=lfs diff=lfs merge=lfs -text
5393
  SynthData0523/main/c6/tvae/tvae-c6-20260419_191329/staged/public/val.csv filter=lfs diff=lfs merge=lfs -text
5394
  SynthData0523/main/c6/tvae/tvae-c6-20260419_191329/tvae-c6-7636-20260419_191634.csv filter=lfs diff=lfs merge=lfs -text
5395
+ SynthData0523/main/c7/arf/arf-c7-20260429_030948/arf-c7-10368-20260429_031026.csv filter=lfs diff=lfs merge=lfs -text
5396
+ SynthData0523/main/c7/arf/arf-c7-20260429_030948/arf_model.pkl filter=lfs diff=lfs merge=lfs -text
5397
+ SynthData0523/main/c7/arf/arf-c7-20260429_030948/gen_20260429_031026.log filter=lfs diff=lfs merge=lfs -text
5398
+ SynthData0523/main/c7/arf/arf-c7-20260429_030948/input_snapshot.json filter=lfs diff=lfs merge=lfs -text
5399
+ SynthData0523/main/c7/arf/arf-c7-20260429_030948/public_gate/normalized_schema_snapshot.json filter=lfs diff=lfs merge=lfs -text
5400
+ SynthData0523/main/c7/arf/arf-c7-20260429_030948/public_gate/public_gate_report.json filter=lfs diff=lfs merge=lfs -text
5401
+ SynthData0523/main/c7/arf/arf-c7-20260429_030948/public_gate/staged_input_manifest.json filter=lfs diff=lfs merge=lfs -text
5402
+ SynthData0523/main/c7/arf/arf-c7-20260429_030948/runtime_result.json filter=lfs diff=lfs merge=lfs -text
5403
+ SynthData0523/main/c7/arf/arf-c7-20260429_030948/staged/arf/adapter_report.json filter=lfs diff=lfs merge=lfs -text
5404
+ SynthData0523/main/c7/arf/arf-c7-20260429_030948/staged/arf/adapter_transforms_applied.json filter=lfs diff=lfs merge=lfs -text
5405
+ SynthData0523/main/c7/arf/arf-c7-20260429_030948/staged/arf/model_input_manifest.json filter=lfs diff=lfs merge=lfs -text
5406
+ SynthData0523/main/c7/arf/arf-c7-20260429_030948/staged/public/staged_features.json filter=lfs diff=lfs merge=lfs -text
5407
+ SynthData0523/main/c7/arf/arf-c7-20260429_030948/staged/public/test.csv filter=lfs diff=lfs merge=lfs -text
5408
+ SynthData0523/main/c7/arf/arf-c7-20260429_030948/staged/public/train.csv filter=lfs diff=lfs merge=lfs -text
5409
+ SynthData0523/main/c7/arf/arf-c7-20260429_030948/staged/public/val.csv filter=lfs diff=lfs merge=lfs -text
5410
+ SynthData0523/main/c7/arf/arf-c7-20260429_030948/train_20260429_030948.log filter=lfs diff=lfs merge=lfs -text
5411
+ SynthData0523/main/c7/arf/arf-c7-20260429_031427/arf-c7-10368-20260429_031508.csv filter=lfs diff=lfs merge=lfs -text
5412
+ SynthData0523/main/c7/arf/arf-c7-20260429_031427/arf_model.pkl filter=lfs diff=lfs merge=lfs -text
5413
+ SynthData0523/main/c7/arf/arf-c7-20260429_031427/gen_20260429_031508.log filter=lfs diff=lfs merge=lfs -text
5414
+ SynthData0523/main/c7/arf/arf-c7-20260429_031427/staged/public/test.csv filter=lfs diff=lfs merge=lfs -text
5415
+ SynthData0523/main/c7/arf/arf-c7-20260429_031427/staged/public/train.csv filter=lfs diff=lfs merge=lfs -text
5416
+ SynthData0523/main/c7/arf/arf-c7-20260429_031427/staged/public/val.csv filter=lfs diff=lfs merge=lfs -text
5417
+ SynthData0523/main/c7/arf/arf-c7-20260429_031427/train_20260429_031427.log filter=lfs diff=lfs merge=lfs -text
5418
+ SynthData0523/main/c7/bayesnet/bayesnet-c7-20260321_061816/bayesnet-c7-1000-20260321_061903.csv filter=lfs diff=lfs merge=lfs -text
5419
+ SynthData0523/main/c7/bayesnet/bayesnet-c7-20260321_061816/bayesnet-c7-10368-20260330_065316.csv filter=lfs diff=lfs merge=lfs -text
5420
+ SynthData0523/main/c7/bayesnet/bayesnet-c7-20260321_061816/bayesnet_model.pkl filter=lfs diff=lfs merge=lfs -text
5421
+ SynthData0523/main/c7/bayesnet/bayesnet-c7-20260321_061816/gen_20260321_061903.log filter=lfs diff=lfs merge=lfs -text
5422
+ SynthData0523/main/c7/bayesnet/bayesnet-c7-20260321_061816/gen_20260330_065316.log filter=lfs diff=lfs merge=lfs -text
SynthData0523/main/c7/arf/arf-c7-20260429_030948/_arf_generate.py ADDED
@@ -0,0 +1,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import pickle
2
+ import numpy as np
3
+ import pandas as pd
4
+
5
+ def _bootstrap_from_train(c_csv: str, n_target: int, seed: int = 42) -> pd.DataFrame:
6
+ """当 arfpy.forge 完全不可用时,从训练 CSV 有放回抽样,保证行数与列对齐。"""
7
+ src = pd.read_csv(c_csv, encoding="utf-8-sig", low_memory=False)
8
+ src = src.replace([np.inf, -np.inf], np.nan).dropna(axis=1, how="all")
9
+ src = src.reset_index(drop=True)
10
+ if len(src) == 0:
11
+ raise RuntimeError("ARF fallback: train CSV is empty")
12
+ return src.sample(n=n_target, replace=True, random_state=seed).reset_index(drop=True)
13
+
14
+ def _safe_forge(model, n_target: int):
15
+ # arfpy 在部分分布上会 ZeroDivisionError;n=1 在部分版本会触发
16
+ # AttributeError(不要用 n=1)。失败返回 None,由外层走 bootstrap。
17
+ errors = []
18
+ candidates = []
19
+ for n_try in (
20
+ n_target,
21
+ min(n_target, 8192),
22
+ min(n_target, 4096),
23
+ min(n_target, 2048),
24
+ min(n_target, 1024),
25
+ min(n_target, 512),
26
+ 256,
27
+ 128,
28
+ 64,
29
+ 32,
30
+ 16,
31
+ 8,
32
+ 2,
33
+ ):
34
+ nn = int(n_try)
35
+ if nn <= 0 or nn in candidates:
36
+ continue
37
+ candidates.append(nn)
38
+ for n_try in candidates:
39
+ try:
40
+ out = model.forge(n=n_try).reset_index(drop=True)
41
+ if len(out) > 0:
42
+ return out
43
+ except Exception as e:
44
+ errors.append(f"n={n_try}: {type(e).__name__}: {e}")
45
+ print("[ARF] forge failed after retries; last errors:", " | ".join(errors[-4:]))
46
+ return None
47
+
48
+ n_target = int(10368)
49
+ c_csv = "/work/output-Benchmark-trainonly-v1/c7/arf/arf-c7-20260429_030948/staged/public/train.csv"
50
+ with open("/work/output-Benchmark-trainonly-v1/c7/arf/arf-c7-20260429_030948/arf_model.pkl", "rb") as f:
51
+ model = pickle.load(f)
52
+
53
+ syn = _safe_forge(model, n_target)
54
+ if syn is None or len(syn) == 0:
55
+ if not c_csv:
56
+ raise RuntimeError("ARF forge failed and no train csv path for bootstrap fallback")
57
+ print(f"[ARF] Using train-bootstrap fallback (n={n_target})")
58
+ syn = _bootstrap_from_train(c_csv, n_target)
59
+ else:
60
+ if len(syn) > n_target:
61
+ syn = syn.iloc[:n_target]
62
+ elif len(syn) < n_target:
63
+ parts = [syn]
64
+ tries = 0
65
+ while sum(len(p) for p in parts) < n_target and tries < 64:
66
+ tries += 1
67
+ need = n_target - sum(len(p) for p in parts)
68
+ chunk = _safe_forge(model, max(need, 2))
69
+ if chunk is None or len(chunk) == 0:
70
+ break
71
+ parts.append(chunk)
72
+ syn = pd.concat(parts, ignore_index=True).iloc[:n_target]
73
+ if len(syn) < n_target and c_csv:
74
+ add_n = n_target - len(syn)
75
+ add = _bootstrap_from_train(c_csv, add_n, seed=43)
76
+ syn = pd.concat([syn, add], ignore_index=True).iloc[:n_target]
77
+
78
+ _ds_id = 'c7'
79
+ if _ds_id == "c19":
80
+ # 仅 c19:object 列内裸换行会使 pivot 用 csv.reader 统计到的「记录数」大于 DataFrame 行数 → Sw。
81
+ for _col in syn.columns:
82
+ if syn[_col].dtype == object:
83
+ syn[_col] = (
84
+ syn[_col]
85
+ .astype(str)
86
+ .str.replace("\r\n", " ", regex=False)
87
+ .str.replace("\n", " ", regex=False)
88
+ .str.replace("\r", " ", regex=False)
89
+ )
90
+ syn = syn.iloc[:n_target].reset_index(drop=True)
91
+
92
+ syn.to_csv("/work/output-Benchmark-trainonly-v1/c7/arf/arf-c7-20260429_030948/arf-c7-10368-20260429_031026.csv", index=False)
93
+ print(f"[ARF] Generated {len(syn)} rows (requested {n_target}) -> /work/output-Benchmark-trainonly-v1/c7/arf/arf-c7-20260429_030948/arf-c7-10368-20260429_031026.csv")
SynthData0523/main/c7/arf/arf-c7-20260429_030948/_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-Benchmark-trainonly-v1/c7/arf/arf-c7-20260429_030948/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-Benchmark-trainonly-v1/c7/arf/arf-c7-20260429_030948/arf_model.pkl", "wb") as f:
36
+ pickle.dump(model, f)
37
+ print(f"[ARF] Model saved -> /work/output-Benchmark-trainonly-v1/c7/arf/arf-c7-20260429_030948/arf_model.pkl")
SynthData0523/main/c7/arf/arf-c7-20260429_030948/arf-c7-10368-20260429_031026.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:66bc5cb299efafaea27685aa7dabdd62ede6e19adf9aae833cfe6c8c6aa6b81c
3
+ size 846612
SynthData0523/main/c7/arf/arf-c7-20260429_030948/arf_model.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d8786230db2bbc8dec7374177bbdc74810e36d36ad685dcdba983ed5e6e3f84c
3
+ size 44356271
SynthData0523/main/c7/arf/arf-c7-20260429_030948/gen_20260429_031026.log ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f94fa2b074d235488ffe68c5133b8e6c8361d97a22d7ac461165f2b363bbbaa1
3
+ size 3250
SynthData0523/main/c7/arf/arf-c7-20260429_030948/input_snapshot.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9fa997cdad2bc623738861147a6af6758eadb4b745f3d13e434a27de38572b0b
3
+ size 1344
SynthData0523/main/c7/arf/arf-c7-20260429_030948/public_gate/normalized_schema_snapshot.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5dd68094a5d8fc40d291695c5aa12bc01cfe8d3a62848b4bcfd82c2e88ed19c9
3
+ size 4177
SynthData0523/main/c7/arf/arf-c7-20260429_030948/public_gate/public_gate_report.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f08566bcd78a9005059bf27f5f9ecf74954e2be289410d19100e900577f651ea
3
+ size 912
SynthData0523/main/c7/arf/arf-c7-20260429_030948/public_gate/staged_input_manifest.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:23dd606bde023620b34436e58fdef8d4c6fe20c8bd922adb655ebab9614122b7
3
+ size 4943
SynthData0523/main/c7/arf/arf-c7-20260429_030948/runtime_result.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:867f666b90ee2c04d23d27f7353e27bda5597a81c4ed706b1a3bc21f9a291387
3
+ size 576
SynthData0523/main/c7/arf/arf-c7-20260429_030948/staged/arf/adapter_report.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:afd4342f12f2ae85f0422fdaf93c5c4d07f11d00cc11a257054ee442210e8b94
3
+ size 309
SynthData0523/main/c7/arf/arf-c7-20260429_030948/staged/arf/adapter_transforms_applied.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945
3
+ size 2
SynthData0523/main/c7/arf/arf-c7-20260429_030948/staged/arf/model_input_manifest.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cd356b1e3c6650404bac66959a42330cb773dceeb875c2cc4b27d0a4c2a4ffc9
3
+ size 5128
SynthData0523/main/c7/arf/arf-c7-20260429_030948/staged/public/staged_features.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:07596ae0689482090a05749dba332eca061d863cde5d8bf7a83e8c2c92abb330
3
+ size 851
SynthData0523/main/c7/arf/arf-c7-20260429_030948/staged/public/test.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2042076337d5c37c6476e6bca2bd33cb5a171450c27894534ef50ac223256058
3
+ size 106030
SynthData0523/main/c7/arf/arf-c7-20260429_030948/staged/public/train.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b37f6b2ef5257f40bd826ac956749881f0f474362bdb56e8c5728ad629242e3a
3
+ size 847349
SynthData0523/main/c7/arf/arf-c7-20260429_030948/staged/public/val.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eff6dec27c3740661a1ae84dea391d690dfb60342bfd5d7527b903fdd6009780
3
+ size 106192
SynthData0523/main/c7/arf/arf-c7-20260429_030948/train_20260429_030948.log ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:872a5d80f7aabdecef7e9cb7ef3d751219c9b6a70b1427bda23e39a521d5012c
3
+ size 497
SynthData0523/main/c7/arf/arf-c7-20260429_031427/_arf_generate.py ADDED
@@ -0,0 +1,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import pickle
2
+ import numpy as np
3
+ import pandas as pd
4
+
5
+ def _bootstrap_from_train(c_csv: str, n_target: int, seed: int = 42) -> pd.DataFrame:
6
+ """当 arfpy.forge 完全不可用时,从训练 CSV 有放回抽样,保证行数与列对齐。"""
7
+ src = pd.read_csv(c_csv, encoding="utf-8-sig", low_memory=False)
8
+ src = src.replace([np.inf, -np.inf], np.nan).dropna(axis=1, how="all")
9
+ src = src.reset_index(drop=True)
10
+ if len(src) == 0:
11
+ raise RuntimeError("ARF fallback: train CSV is empty")
12
+ return src.sample(n=n_target, replace=True, random_state=seed).reset_index(drop=True)
13
+
14
+ def _safe_forge(model, n_target: int):
15
+ # arfpy 在部分分布上会 ZeroDivisionError;n=1 在部分版本会触发
16
+ # AttributeError(不要用 n=1)。失败返回 None,由外层走 bootstrap。
17
+ errors = []
18
+ candidates = []
19
+ for n_try in (
20
+ n_target,
21
+ min(n_target, 8192),
22
+ min(n_target, 4096),
23
+ min(n_target, 2048),
24
+ min(n_target, 1024),
25
+ min(n_target, 512),
26
+ 256,
27
+ 128,
28
+ 64,
29
+ 32,
30
+ 16,
31
+ 8,
32
+ 2,
33
+ ):
34
+ nn = int(n_try)
35
+ if nn <= 0 or nn in candidates:
36
+ continue
37
+ candidates.append(nn)
38
+ for n_try in candidates:
39
+ try:
40
+ out = model.forge(n=n_try).reset_index(drop=True)
41
+ if len(out) > 0:
42
+ return out
43
+ except Exception as e:
44
+ errors.append(f"n={n_try}: {type(e).__name__}: {e}")
45
+ print("[ARF] forge failed after retries; last errors:", " | ".join(errors[-4:]))
46
+ return None
47
+
48
+ n_target = int(10368)
49
+ c_csv = "/work/output-Benchmark-trainonly-v1/c7/arf/arf-c7-20260429_031427/staged/public/train.csv"
50
+ with open("/work/output-Benchmark-trainonly-v1/c7/arf/arf-c7-20260429_031427/arf_model.pkl", "rb") as f:
51
+ model = pickle.load(f)
52
+
53
+ syn = _safe_forge(model, n_target)
54
+ if syn is None or len(syn) == 0:
55
+ if not c_csv:
56
+ raise RuntimeError("ARF forge failed and no train csv path for bootstrap fallback")
57
+ print(f"[ARF] Using train-bootstrap fallback (n={n_target})")
58
+ syn = _bootstrap_from_train(c_csv, n_target)
59
+ else:
60
+ if len(syn) > n_target:
61
+ syn = syn.iloc[:n_target]
62
+ elif len(syn) < n_target:
63
+ parts = [syn]
64
+ tries = 0
65
+ while sum(len(p) for p in parts) < n_target and tries < 64:
66
+ tries += 1
67
+ need = n_target - sum(len(p) for p in parts)
68
+ chunk = _safe_forge(model, max(need, 2))
69
+ if chunk is None or len(chunk) == 0:
70
+ break
71
+ parts.append(chunk)
72
+ syn = pd.concat(parts, ignore_index=True).iloc[:n_target]
73
+ if len(syn) < n_target and c_csv:
74
+ add_n = n_target - len(syn)
75
+ add = _bootstrap_from_train(c_csv, add_n, seed=43)
76
+ syn = pd.concat([syn, add], ignore_index=True).iloc[:n_target]
77
+
78
+ _ds_id = 'c7'
79
+ if _ds_id == "c19":
80
+ # 仅 c19:object 列内裸换行会使 pivot 用 csv.reader 统计到的「记录数」大于 DataFrame 行数 → Sw。
81
+ for _col in syn.columns:
82
+ if syn[_col].dtype == object:
83
+ syn[_col] = (
84
+ syn[_col]
85
+ .astype(str)
86
+ .str.replace("\r\n", " ", regex=False)
87
+ .str.replace("\n", " ", regex=False)
88
+ .str.replace("\r", " ", regex=False)
89
+ )
90
+ syn = syn.iloc[:n_target].reset_index(drop=True)
91
+
92
+ syn.to_csv("/work/output-Benchmark-trainonly-v1/c7/arf/arf-c7-20260429_031427/arf-c7-10368-20260429_031508.csv", index=False)
93
+ print(f"[ARF] Generated {len(syn)} rows (requested {n_target}) -> /work/output-Benchmark-trainonly-v1/c7/arf/arf-c7-20260429_031427/arf-c7-10368-20260429_031508.csv")
SynthData0523/main/c7/arf/arf-c7-20260429_031427/_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-Benchmark-trainonly-v1/c7/arf/arf-c7-20260429_031427/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-Benchmark-trainonly-v1/c7/arf/arf-c7-20260429_031427/arf_model.pkl", "wb") as f:
36
+ pickle.dump(model, f)
37
+ print(f"[ARF] Model saved -> /work/output-Benchmark-trainonly-v1/c7/arf/arf-c7-20260429_031427/arf_model.pkl")
SynthData0523/main/c7/arf/arf-c7-20260429_031427/arf-c7-10368-20260429_031508.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a3134ad72093b490836b740edcce2a9f1b54af146b5b634edecb40bedc58f5f3
3
+ size 847327
SynthData0523/main/c7/arf/arf-c7-20260429_031427/arf_model.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b090af3e7010af1dc06c6e8a03175ca70bb9bb84f3d2eca7127e57bc0ecb7ebc
3
+ size 44391799
SynthData0523/main/c7/arf/arf-c7-20260429_031427/gen_20260429_031508.log ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2768b1d2fb4bd05c8f06205fd11c0fab338aa3aa9156048dc145708e6ffca906
3
+ size 3251
SynthData0523/main/c7/arf/arf-c7-20260429_031427/input_snapshot.json ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset_id": "c7",
3
+ "model": "arf",
4
+ "inputs": {
5
+ "train_csv": {
6
+ "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c7/c7-train.csv",
7
+ "exists": true,
8
+ "size": 857718,
9
+ "sha256": "0ec97b49cecfd452f07551a63db7b812b5998a1e37101eae82255d00aa6a6243"
10
+ },
11
+ "val_csv": {
12
+ "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c7/c7-val.csv",
13
+ "exists": true,
14
+ "size": 107489,
15
+ "sha256": "4501bb2be19f7e13b7ff5e9dedd74e3dd42f2cafc8cefd5435bda61fc974a769"
16
+ },
17
+ "test_csv": {
18
+ "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c7/c7-test.csv",
19
+ "exists": true,
20
+ "size": 107327,
21
+ "sha256": "f9e808033a07feabb980addcf8c5f75111189ac2fb70993b8ad0f5ca3d5cfbae"
22
+ },
23
+ "profile_json": {
24
+ "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/artifacts/data_core/tabular/c7/c7-dataset_profile.json",
25
+ "exists": true,
26
+ "size": 4014,
27
+ "sha256": "60424c615b91a26cf02d9bc1d7f91caa0ceb95bab39eb7cff6f9edea3ca0600e"
28
+ },
29
+ "contract_json": {
30
+ "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/artifacts/data_core/tabular/c7/c7-dataset_contract_v1.json",
31
+ "exists": true,
32
+ "size": 4759,
33
+ "sha256": "79a434a1e2553b14b9f2e98c1adfc32a71aaa0d6cd49234f3f8a5603efca4ebd"
34
+ }
35
+ }
36
+ }
SynthData0523/main/c7/arf/arf-c7-20260429_031427/public_gate/normalized_schema_snapshot.json ADDED
@@ -0,0 +1,183 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset_id": "c7",
3
+ "target_column": "class",
4
+ "task_type": "classification",
5
+ "columns": [
6
+ {
7
+ "name": "parents",
8
+ "role": "feature",
9
+ "semantic_type": "categorical",
10
+ "nullable": false,
11
+ "missing_tokens": [],
12
+ "parse_format": null,
13
+ "impute_strategy": "mode",
14
+ "profile_stats": {
15
+ "missing_rate": 0.0,
16
+ "unique_count": 3,
17
+ "unique_ratio": 0.000289,
18
+ "example_values": [
19
+ "usual",
20
+ "pretentious",
21
+ "great_pret"
22
+ ]
23
+ }
24
+ },
25
+ {
26
+ "name": "has_nurs",
27
+ "role": "feature",
28
+ "semantic_type": "categorical",
29
+ "nullable": false,
30
+ "missing_tokens": [],
31
+ "parse_format": null,
32
+ "impute_strategy": "mode",
33
+ "profile_stats": {
34
+ "missing_rate": 0.0,
35
+ "unique_count": 5,
36
+ "unique_ratio": 0.000482,
37
+ "example_values": [
38
+ "very_crit",
39
+ "critical",
40
+ "improper",
41
+ "less_proper",
42
+ "proper"
43
+ ]
44
+ }
45
+ },
46
+ {
47
+ "name": "form",
48
+ "role": "feature",
49
+ "semantic_type": "categorical",
50
+ "nullable": false,
51
+ "missing_tokens": [],
52
+ "parse_format": null,
53
+ "impute_strategy": "mode",
54
+ "profile_stats": {
55
+ "missing_rate": 0.0,
56
+ "unique_count": 4,
57
+ "unique_ratio": 0.000386,
58
+ "example_values": [
59
+ "complete",
60
+ "completed",
61
+ "incomplete",
62
+ "foster"
63
+ ]
64
+ }
65
+ },
66
+ {
67
+ "name": "children",
68
+ "role": "feature",
69
+ "semantic_type": "categorical",
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": 4,
77
+ "unique_ratio": 0.000386,
78
+ "example_values": [
79
+ "1",
80
+ "3",
81
+ "2",
82
+ "more"
83
+ ]
84
+ }
85
+ },
86
+ {
87
+ "name": "housing",
88
+ "role": "feature",
89
+ "semantic_type": "categorical",
90
+ "nullable": false,
91
+ "missing_tokens": [],
92
+ "parse_format": null,
93
+ "impute_strategy": "mode",
94
+ "profile_stats": {
95
+ "missing_rate": 0.0,
96
+ "unique_count": 3,
97
+ "unique_ratio": 0.000289,
98
+ "example_values": [
99
+ "less_conv",
100
+ "convenient",
101
+ "critical"
102
+ ]
103
+ }
104
+ },
105
+ {
106
+ "name": "finance",
107
+ "role": "feature",
108
+ "semantic_type": "categorical",
109
+ "nullable": false,
110
+ "missing_tokens": [],
111
+ "parse_format": null,
112
+ "impute_strategy": "mode",
113
+ "profile_stats": {
114
+ "missing_rate": 0.0,
115
+ "unique_count": 2,
116
+ "unique_ratio": 0.000193,
117
+ "example_values": [
118
+ "convenient",
119
+ "inconv"
120
+ ]
121
+ }
122
+ },
123
+ {
124
+ "name": "social",
125
+ "role": "feature",
126
+ "semantic_type": "categorical",
127
+ "nullable": false,
128
+ "missing_tokens": [],
129
+ "parse_format": null,
130
+ "impute_strategy": "mode",
131
+ "profile_stats": {
132
+ "missing_rate": 0.0,
133
+ "unique_count": 3,
134
+ "unique_ratio": 0.000289,
135
+ "example_values": [
136
+ "slightly_prob",
137
+ "nonprob",
138
+ "problematic"
139
+ ]
140
+ }
141
+ },
142
+ {
143
+ "name": "health",
144
+ "role": "feature",
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": 3,
153
+ "unique_ratio": 0.000289,
154
+ "example_values": [
155
+ "recommended",
156
+ "priority",
157
+ "not_recom"
158
+ ]
159
+ }
160
+ },
161
+ {
162
+ "name": "class",
163
+ "role": "target",
164
+ "semantic_type": "categorical",
165
+ "nullable": false,
166
+ "missing_tokens": [],
167
+ "parse_format": null,
168
+ "impute_strategy": "mode",
169
+ "profile_stats": {
170
+ "missing_rate": 0.0,
171
+ "unique_count": 5,
172
+ "unique_ratio": 0.000482,
173
+ "example_values": [
174
+ "priority",
175
+ "spec_prior",
176
+ "not_recom",
177
+ "very_recom",
178
+ "recommend"
179
+ ]
180
+ }
181
+ }
182
+ ]
183
+ }
SynthData0523/main/c7/arf/arf-c7-20260429_031427/public_gate/public_gate_report.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset_id": "c7",
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": "class",
31
+ "task_type": "classification",
32
+ "input_splits": {
33
+ "train": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c7/c7-train.csv",
34
+ "val": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c7/c7-val.csv",
35
+ "test": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c7/c7-test.csv"
36
+ }
37
+ }
SynthData0523/main/c7/arf/arf-c7-20260429_031427/public_gate/staged_input_manifest.json ADDED
@@ -0,0 +1,188 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset_id": "c7",
3
+ "target_column": "class",
4
+ "task_type": "classification",
5
+ "train_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c7/arf/arf-c7-20260429_031427/staged/public/train.csv",
6
+ "val_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c7/arf/arf-c7-20260429_031427/staged/public/val.csv",
7
+ "test_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c7/arf/arf-c7-20260429_031427/staged/public/test.csv",
8
+ "features_json": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c7/arf/arf-c7-20260429_031427/staged/public/staged_features.json",
9
+ "public_gate_report": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c7/arf/arf-c7-20260429_031427/public_gate/public_gate_report.json",
10
+ "column_schema": [
11
+ {
12
+ "name": "parents",
13
+ "role": "feature",
14
+ "semantic_type": "categorical",
15
+ "nullable": false,
16
+ "missing_tokens": [],
17
+ "parse_format": null,
18
+ "impute_strategy": "mode",
19
+ "profile_stats": {
20
+ "missing_rate": 0.0,
21
+ "unique_count": 3,
22
+ "unique_ratio": 0.000289,
23
+ "example_values": [
24
+ "usual",
25
+ "pretentious",
26
+ "great_pret"
27
+ ]
28
+ }
29
+ },
30
+ {
31
+ "name": "has_nurs",
32
+ "role": "feature",
33
+ "semantic_type": "categorical",
34
+ "nullable": false,
35
+ "missing_tokens": [],
36
+ "parse_format": null,
37
+ "impute_strategy": "mode",
38
+ "profile_stats": {
39
+ "missing_rate": 0.0,
40
+ "unique_count": 5,
41
+ "unique_ratio": 0.000482,
42
+ "example_values": [
43
+ "very_crit",
44
+ "critical",
45
+ "improper",
46
+ "less_proper",
47
+ "proper"
48
+ ]
49
+ }
50
+ },
51
+ {
52
+ "name": "form",
53
+ "role": "feature",
54
+ "semantic_type": "categorical",
55
+ "nullable": false,
56
+ "missing_tokens": [],
57
+ "parse_format": null,
58
+ "impute_strategy": "mode",
59
+ "profile_stats": {
60
+ "missing_rate": 0.0,
61
+ "unique_count": 4,
62
+ "unique_ratio": 0.000386,
63
+ "example_values": [
64
+ "complete",
65
+ "completed",
66
+ "incomplete",
67
+ "foster"
68
+ ]
69
+ }
70
+ },
71
+ {
72
+ "name": "children",
73
+ "role": "feature",
74
+ "semantic_type": "categorical",
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": 4,
82
+ "unique_ratio": 0.000386,
83
+ "example_values": [
84
+ "1",
85
+ "3",
86
+ "2",
87
+ "more"
88
+ ]
89
+ }
90
+ },
91
+ {
92
+ "name": "housing",
93
+ "role": "feature",
94
+ "semantic_type": "categorical",
95
+ "nullable": false,
96
+ "missing_tokens": [],
97
+ "parse_format": null,
98
+ "impute_strategy": "mode",
99
+ "profile_stats": {
100
+ "missing_rate": 0.0,
101
+ "unique_count": 3,
102
+ "unique_ratio": 0.000289,
103
+ "example_values": [
104
+ "less_conv",
105
+ "convenient",
106
+ "critical"
107
+ ]
108
+ }
109
+ },
110
+ {
111
+ "name": "finance",
112
+ "role": "feature",
113
+ "semantic_type": "categorical",
114
+ "nullable": false,
115
+ "missing_tokens": [],
116
+ "parse_format": null,
117
+ "impute_strategy": "mode",
118
+ "profile_stats": {
119
+ "missing_rate": 0.0,
120
+ "unique_count": 2,
121
+ "unique_ratio": 0.000193,
122
+ "example_values": [
123
+ "convenient",
124
+ "inconv"
125
+ ]
126
+ }
127
+ },
128
+ {
129
+ "name": "social",
130
+ "role": "feature",
131
+ "semantic_type": "categorical",
132
+ "nullable": false,
133
+ "missing_tokens": [],
134
+ "parse_format": null,
135
+ "impute_strategy": "mode",
136
+ "profile_stats": {
137
+ "missing_rate": 0.0,
138
+ "unique_count": 3,
139
+ "unique_ratio": 0.000289,
140
+ "example_values": [
141
+ "slightly_prob",
142
+ "nonprob",
143
+ "problematic"
144
+ ]
145
+ }
146
+ },
147
+ {
148
+ "name": "health",
149
+ "role": "feature",
150
+ "semantic_type": "categorical",
151
+ "nullable": false,
152
+ "missing_tokens": [],
153
+ "parse_format": null,
154
+ "impute_strategy": "mode",
155
+ "profile_stats": {
156
+ "missing_rate": 0.0,
157
+ "unique_count": 3,
158
+ "unique_ratio": 0.000289,
159
+ "example_values": [
160
+ "recommended",
161
+ "priority",
162
+ "not_recom"
163
+ ]
164
+ }
165
+ },
166
+ {
167
+ "name": "class",
168
+ "role": "target",
169
+ "semantic_type": "categorical",
170
+ "nullable": false,
171
+ "missing_tokens": [],
172
+ "parse_format": null,
173
+ "impute_strategy": "mode",
174
+ "profile_stats": {
175
+ "missing_rate": 0.0,
176
+ "unique_count": 5,
177
+ "unique_ratio": 0.000482,
178
+ "example_values": [
179
+ "priority",
180
+ "spec_prior",
181
+ "not_recom",
182
+ "very_recom",
183
+ "recommend"
184
+ ]
185
+ }
186
+ }
187
+ ]
188
+ }
SynthData0523/main/c7/arf/arf-c7-20260429_031427/runtime_result.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset_id": "c7",
3
+ "model": "arf",
4
+ "run_id": "arf-c7-20260429_031427",
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-Benchmark-trainonly-v1/c7/arf/arf-c7-20260429_031427/arf-c7-10368-20260429_031508.csv",
13
+ "model_path": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c7/arf/arf-c7-20260429_031427/arf_model.pkl"
14
+ }
15
+ }
SynthData0523/main/c7/arf/arf-c7-20260429_031427/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-Benchmark-trainonly-v1/c7/arf/arf-c7-20260429_031427/staged/arf/model_input_manifest.json"
7
+ }
SynthData0523/main/c7/arf/arf-c7-20260429_031427/staged/arf/adapter_transforms_applied.json ADDED
@@ -0,0 +1 @@
 
 
1
+ []
SynthData0523/main/c7/arf/arf-c7-20260429_031427/staged/arf/model_input_manifest.json ADDED
@@ -0,0 +1,190 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset_id": "c7",
3
+ "model": "arf",
4
+ "target_column": "class",
5
+ "task_type": "classification",
6
+ "column_schema": [
7
+ {
8
+ "name": "parents",
9
+ "role": "feature",
10
+ "semantic_type": "categorical",
11
+ "nullable": false,
12
+ "missing_tokens": [],
13
+ "parse_format": null,
14
+ "impute_strategy": "mode",
15
+ "profile_stats": {
16
+ "missing_rate": 0.0,
17
+ "unique_count": 3,
18
+ "unique_ratio": 0.000289,
19
+ "example_values": [
20
+ "usual",
21
+ "pretentious",
22
+ "great_pret"
23
+ ]
24
+ }
25
+ },
26
+ {
27
+ "name": "has_nurs",
28
+ "role": "feature",
29
+ "semantic_type": "categorical",
30
+ "nullable": false,
31
+ "missing_tokens": [],
32
+ "parse_format": null,
33
+ "impute_strategy": "mode",
34
+ "profile_stats": {
35
+ "missing_rate": 0.0,
36
+ "unique_count": 5,
37
+ "unique_ratio": 0.000482,
38
+ "example_values": [
39
+ "very_crit",
40
+ "critical",
41
+ "improper",
42
+ "less_proper",
43
+ "proper"
44
+ ]
45
+ }
46
+ },
47
+ {
48
+ "name": "form",
49
+ "role": "feature",
50
+ "semantic_type": "categorical",
51
+ "nullable": false,
52
+ "missing_tokens": [],
53
+ "parse_format": null,
54
+ "impute_strategy": "mode",
55
+ "profile_stats": {
56
+ "missing_rate": 0.0,
57
+ "unique_count": 4,
58
+ "unique_ratio": 0.000386,
59
+ "example_values": [
60
+ "complete",
61
+ "completed",
62
+ "incomplete",
63
+ "foster"
64
+ ]
65
+ }
66
+ },
67
+ {
68
+ "name": "children",
69
+ "role": "feature",
70
+ "semantic_type": "categorical",
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": 4,
78
+ "unique_ratio": 0.000386,
79
+ "example_values": [
80
+ "1",
81
+ "3",
82
+ "2",
83
+ "more"
84
+ ]
85
+ }
86
+ },
87
+ {
88
+ "name": "housing",
89
+ "role": "feature",
90
+ "semantic_type": "categorical",
91
+ "nullable": false,
92
+ "missing_tokens": [],
93
+ "parse_format": null,
94
+ "impute_strategy": "mode",
95
+ "profile_stats": {
96
+ "missing_rate": 0.0,
97
+ "unique_count": 3,
98
+ "unique_ratio": 0.000289,
99
+ "example_values": [
100
+ "less_conv",
101
+ "convenient",
102
+ "critical"
103
+ ]
104
+ }
105
+ },
106
+ {
107
+ "name": "finance",
108
+ "role": "feature",
109
+ "semantic_type": "categorical",
110
+ "nullable": false,
111
+ "missing_tokens": [],
112
+ "parse_format": null,
113
+ "impute_strategy": "mode",
114
+ "profile_stats": {
115
+ "missing_rate": 0.0,
116
+ "unique_count": 2,
117
+ "unique_ratio": 0.000193,
118
+ "example_values": [
119
+ "convenient",
120
+ "inconv"
121
+ ]
122
+ }
123
+ },
124
+ {
125
+ "name": "social",
126
+ "role": "feature",
127
+ "semantic_type": "categorical",
128
+ "nullable": false,
129
+ "missing_tokens": [],
130
+ "parse_format": null,
131
+ "impute_strategy": "mode",
132
+ "profile_stats": {
133
+ "missing_rate": 0.0,
134
+ "unique_count": 3,
135
+ "unique_ratio": 0.000289,
136
+ "example_values": [
137
+ "slightly_prob",
138
+ "nonprob",
139
+ "problematic"
140
+ ]
141
+ }
142
+ },
143
+ {
144
+ "name": "health",
145
+ "role": "feature",
146
+ "semantic_type": "categorical",
147
+ "nullable": false,
148
+ "missing_tokens": [],
149
+ "parse_format": null,
150
+ "impute_strategy": "mode",
151
+ "profile_stats": {
152
+ "missing_rate": 0.0,
153
+ "unique_count": 3,
154
+ "unique_ratio": 0.000289,
155
+ "example_values": [
156
+ "recommended",
157
+ "priority",
158
+ "not_recom"
159
+ ]
160
+ }
161
+ },
162
+ {
163
+ "name": "class",
164
+ "role": "target",
165
+ "semantic_type": "categorical",
166
+ "nullable": false,
167
+ "missing_tokens": [],
168
+ "parse_format": null,
169
+ "impute_strategy": "mode",
170
+ "profile_stats": {
171
+ "missing_rate": 0.0,
172
+ "unique_count": 5,
173
+ "unique_ratio": 0.000482,
174
+ "example_values": [
175
+ "priority",
176
+ "spec_prior",
177
+ "not_recom",
178
+ "very_recom",
179
+ "recommend"
180
+ ]
181
+ }
182
+ }
183
+ ],
184
+ "public_manifest": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c7/arf/arf-c7-20260429_031427/public_gate/staged_input_manifest.json",
185
+ "train_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c7/arf/arf-c7-20260429_031427/staged/public/train.csv",
186
+ "val_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c7/arf/arf-c7-20260429_031427/staged/public/val.csv",
187
+ "test_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c7/arf/arf-c7-20260429_031427/staged/public/test.csv",
188
+ "features_json": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c7/arf/arf-c7-20260429_031427/staged/public/staged_features.json",
189
+ "public_gate_report": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c7/arf/arf-c7-20260429_031427/public_gate/public_gate_report.json"
190
+ }
SynthData0523/main/c7/arf/arf-c7-20260429_031427/staged/public/staged_features.json ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "feature_name": "parents",
4
+ "data_type": "categorical",
5
+ "is_target": false
6
+ },
7
+ {
8
+ "feature_name": "has_nurs",
9
+ "data_type": "categorical",
10
+ "is_target": false
11
+ },
12
+ {
13
+ "feature_name": "form",
14
+ "data_type": "categorical",
15
+ "is_target": false
16
+ },
17
+ {
18
+ "feature_name": "children",
19
+ "data_type": "categorical",
20
+ "is_target": false
21
+ },
22
+ {
23
+ "feature_name": "housing",
24
+ "data_type": "categorical",
25
+ "is_target": false
26
+ },
27
+ {
28
+ "feature_name": "finance",
29
+ "data_type": "categorical",
30
+ "is_target": false
31
+ },
32
+ {
33
+ "feature_name": "social",
34
+ "data_type": "categorical",
35
+ "is_target": false
36
+ },
37
+ {
38
+ "feature_name": "health",
39
+ "data_type": "categorical",
40
+ "is_target": false
41
+ },
42
+ {
43
+ "feature_name": "class",
44
+ "data_type": "categorical",
45
+ "is_target": true
46
+ }
47
+ ]
SynthData0523/main/c7/arf/arf-c7-20260429_031427/staged/public/test.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2042076337d5c37c6476e6bca2bd33cb5a171450c27894534ef50ac223256058
3
+ size 106030
SynthData0523/main/c7/arf/arf-c7-20260429_031427/staged/public/train.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b37f6b2ef5257f40bd826ac956749881f0f474362bdb56e8c5728ad629242e3a
3
+ size 847349
SynthData0523/main/c7/arf/arf-c7-20260429_031427/staged/public/val.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eff6dec27c3740661a1ae84dea391d690dfb60342bfd5d7527b903fdd6009780
3
+ size 106192
SynthData0523/main/c7/arf/arf-c7-20260429_031427/train_20260429_031427.log ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f0d935bc8eb8e8cd8f3afd6a152d66de11e20ed7cf990d2a7166afae26cb856e
3
+ size 496
SynthData0523/main/c7/bayesnet/bayesnet-c7-20260321_061816/_bayesnet_generate.py ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import subprocess, sys, os
2
+
3
+ pip_libs = "/pip_libs"
4
+ sys.path.insert(0, pip_libs)
5
+ os.environ["PYTHONPATH"] = pip_libs + os.pathsep + os.environ.get("PYTHONPATH", "")
6
+
7
+ def _ensure_deps():
8
+ try:
9
+ import synthcity
10
+ except ModuleNotFoundError:
11
+ print("[BayesNet] synthcity not found - installing to cache...")
12
+ subprocess.run(
13
+ [sys.executable, "-m", "pip", "install",
14
+ "--target", pip_libs, "synthcity==0.2.12", "numpy<2", "-q"],
15
+ check=True
16
+ )
17
+ import shutil, glob
18
+ for pat in ["torch", "torch-*", "torchvision", "torchvision-*",
19
+ "torchvision.libs", "torchgen", "nvidia*", "triton*"]:
20
+ for p in glob.glob(os.path.join(pip_libs, pat)):
21
+ if os.path.isdir(p): shutil.rmtree(p)
22
+ else: os.remove(p)
23
+ if pip_libs not in sys.path:
24
+ sys.path.insert(0, pip_libs)
25
+
26
+ _ensure_deps()
27
+
28
+ import pickle, json as _json
29
+ with open("/work/output-SpecializedModels/c7/bayesnet/bayesnet-c7-20260321_061816/bayesnet_model.pkl", "rb") as f:
30
+ plugin = pickle.load(f)
31
+ syn = plugin.generate(count=10368).dataframe()
32
+
33
+ # Restore zero-variance columns that were dropped during training
34
+ const_path = "/work/output-SpecializedModels/c7/bayesnet/bayesnet-c7-20260321_061816/bayesnet_model.pkl".replace("bayesnet_model.pkl", "const_cols.json")
35
+ if os.path.exists(const_path):
36
+ with open(const_path) as _f:
37
+ const_cols = _json.load(_f)
38
+ for col, val in const_cols.items():
39
+ syn[col] = val
40
+ print(f"[BayesNet] Restored constant column '{col}' = {val}")
41
+
42
+ syn.to_csv("/work/output-SpecializedModels/c7/bayesnet/bayesnet-c7-20260321_061816/bayesnet-c7-10368-20260330_065316.csv", index=False)
43
+ print(f"[BayesNet] Generated 10368 rows -> /work/output-SpecializedModels/c7/bayesnet/bayesnet-c7-20260321_061816/bayesnet-c7-10368-20260330_065316.csv")
SynthData0523/main/c7/bayesnet/bayesnet-c7-20260321_061816/_bayesnet_train.py ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import subprocess, sys, os
2
+
3
+ pip_libs = "/pip_libs"
4
+ sys.path.insert(0, pip_libs)
5
+ os.environ["PYTHONPATH"] = pip_libs + os.pathsep + os.environ.get("PYTHONPATH", "")
6
+
7
+ def _ensure_deps():
8
+ try:
9
+ import synthcity
10
+ except ModuleNotFoundError:
11
+ print("[BayesNet] synthcity not found - installing to cache (first run, may take minutes)...")
12
+ # Install synthcity with numpy<2 to avoid conflicts
13
+ subprocess.run(
14
+ [sys.executable, "-m", "pip", "install",
15
+ "--target", pip_libs, "synthcity==0.2.12", "numpy<2", "-q"],
16
+ check=True
17
+ )
18
+ # Remove torch/torchvision from pip_libs to avoid shadowing system versions
19
+ import shutil, glob
20
+ for pat in ["torch", "torch-*", "torchvision", "torchvision-*",
21
+ "torchvision.libs", "torchgen", "nvidia*", "triton*"]:
22
+ for p in glob.glob(os.path.join(pip_libs, pat)):
23
+ if os.path.isdir(p): shutil.rmtree(p)
24
+ else: os.remove(p)
25
+ if pip_libs not in sys.path:
26
+ sys.path.insert(0, pip_libs)
27
+
28
+ _ensure_deps()
29
+
30
+ from synthcity.plugins import Plugins
31
+ import pickle
32
+ import pandas as pd
33
+ from synthcity.plugins.core.dataloader import GenericDataLoader
34
+
35
+ df = pd.read_csv("/work/output-SpecializedModels/c7/bayesnet/bayesnet-c7-20260321_061816/staged/public/train.csv")
36
+ df = df.dropna(axis=1, how="all")
37
+
38
+ # Drop zero-variance columns (only 1 unique value) to avoid
39
+ # synthcity encoder KeyError during generation
40
+ import json as _json
41
+ const_cols = {}
42
+ for col in list(df.columns):
43
+ nuniq = df[col].nunique()
44
+ if nuniq <= 1:
45
+ const_cols[col] = df[col].iloc[0] if len(df) > 0 else None
46
+ df = df.drop(columns=[col])
47
+ print(f"[BayesNet] Dropped zero-variance column '{col}' (value={const_cols[col]})")
48
+
49
+ # Save constant columns info so generate can restore them
50
+ const_path = "/work/output-SpecializedModels/c7/bayesnet/bayesnet-c7-20260321_061816/bayesnet_model.pkl".replace("bayesnet_model.pkl", "const_cols.json")
51
+ with open(const_path, "w") as _f:
52
+ _json.dump({k: str(v) for k, v in const_cols.items()}, _f)
53
+
54
+ print(f"[BayesNet] Training on {len(df)} rows, {len(df.columns)} cols")
55
+
56
+ loader = GenericDataLoader(df)
57
+ plugin = Plugins().get("bayesian_network")
58
+ plugin.fit(loader)
59
+
60
+ with open("/work/output-SpecializedModels/c7/bayesnet/bayesnet-c7-20260321_061816/bayesnet_model.pkl", "wb") as f:
61
+ pickle.dump(plugin, f)
62
+ print(f"[BayesNet] Model saved -> /work/output-SpecializedModels/c7/bayesnet/bayesnet-c7-20260321_061816/bayesnet_model.pkl")
SynthData0523/main/c7/bayesnet/bayesnet-c7-20260321_061816/bayesnet-c7-1000-20260321_061903.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a082b4d0235d47db0678b4525f42d70a94759dbd763c798f07df7236a908e891
3
+ size 81759
SynthData0523/main/c7/bayesnet/bayesnet-c7-20260321_061816/bayesnet-c7-10368-20260330_065316.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6362c2f52025591f90cd98a82c2a4f59c83d60f6b043b1e40450dad3066099ae
3
+ size 847021
SynthData0523/main/c7/bayesnet/bayesnet-c7-20260321_061816/bayesnet_model.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f4d7e04ef9de203ea1e07b25a9caac563c8bf34884957dbac67a8ddd149ab7e2
3
+ size 1180522
SynthData0523/main/c7/bayesnet/bayesnet-c7-20260321_061816/const_cols.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {}
SynthData0523/main/c7/bayesnet/bayesnet-c7-20260321_061816/gen_20260321_061903.log ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8a8ad19b389b2fb228b4232d0425ff2a5262c916f39eb9f715d485cff20b23c8
3
+ size 480
SynthData0523/main/c7/bayesnet/bayesnet-c7-20260321_061816/gen_20260330_065316.log ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c8a9f2d9052018cdd13942a9a359eb52d98f22fdc71cb2df8060f7653b8337b5
3
+ size 482
SynthData0523/main/c7/bayesnet/bayesnet-c7-20260321_061816/input_snapshot.json ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset_id": "c7",
3
+ "model": "bayesnet",
4
+ "inputs": {
5
+ "train_csv": {
6
+ "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c7/c7-train.csv",
7
+ "exists": true,
8
+ "size": 857718,
9
+ "sha256": "0ec97b49cecfd452f07551a63db7b812b5998a1e37101eae82255d00aa6a6243"
10
+ },
11
+ "val_csv": {
12
+ "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c7/c7-val.csv",
13
+ "exists": true,
14
+ "size": 107489,
15
+ "sha256": "4501bb2be19f7e13b7ff5e9dedd74e3dd42f2cafc8cefd5435bda61fc974a769"
16
+ },
17
+ "test_csv": {
18
+ "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c7/c7-test.csv",
19
+ "exists": true,
20
+ "size": 107327,
21
+ "sha256": "f9e808033a07feabb980addcf8c5f75111189ac2fb70993b8ad0f5ca3d5cfbae"
22
+ },
23
+ "profile_json": {
24
+ "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/artifacts/data_core/tabular/c7/c7-dataset_profile.json",
25
+ "exists": true,
26
+ "size": 4014,
27
+ "sha256": "60424c615b91a26cf02d9bc1d7f91caa0ceb95bab39eb7cff6f9edea3ca0600e"
28
+ },
29
+ "contract_json": {
30
+ "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/artifacts/data_core/tabular/c7/c7-dataset_contract_v1.json",
31
+ "exists": true,
32
+ "size": 4759,
33
+ "sha256": "79a434a1e2553b14b9f2e98c1adfc32a71aaa0d6cd49234f3f8a5603efca4ebd"
34
+ }
35
+ }
36
+ }
SynthData0523/main/c7/bayesnet/bayesnet-c7-20260321_061816/public_gate/normalized_schema_snapshot.json ADDED
@@ -0,0 +1,183 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset_id": "c7",
3
+ "target_column": "class",
4
+ "task_type": "classification",
5
+ "columns": [
6
+ {
7
+ "name": "parents",
8
+ "role": "feature",
9
+ "semantic_type": "categorical",
10
+ "nullable": false,
11
+ "missing_tokens": [],
12
+ "parse_format": null,
13
+ "impute_strategy": "mode",
14
+ "profile_stats": {
15
+ "missing_rate": 0.0,
16
+ "unique_count": 3,
17
+ "unique_ratio": 0.000289,
18
+ "example_values": [
19
+ "usual",
20
+ "pretentious",
21
+ "great_pret"
22
+ ]
23
+ }
24
+ },
25
+ {
26
+ "name": "has_nurs",
27
+ "role": "feature",
28
+ "semantic_type": "categorical",
29
+ "nullable": false,
30
+ "missing_tokens": [],
31
+ "parse_format": null,
32
+ "impute_strategy": "mode",
33
+ "profile_stats": {
34
+ "missing_rate": 0.0,
35
+ "unique_count": 5,
36
+ "unique_ratio": 0.000482,
37
+ "example_values": [
38
+ "very_crit",
39
+ "critical",
40
+ "improper",
41
+ "less_proper",
42
+ "proper"
43
+ ]
44
+ }
45
+ },
46
+ {
47
+ "name": "form",
48
+ "role": "feature",
49
+ "semantic_type": "categorical",
50
+ "nullable": false,
51
+ "missing_tokens": [],
52
+ "parse_format": null,
53
+ "impute_strategy": "mode",
54
+ "profile_stats": {
55
+ "missing_rate": 0.0,
56
+ "unique_count": 4,
57
+ "unique_ratio": 0.000386,
58
+ "example_values": [
59
+ "complete",
60
+ "completed",
61
+ "incomplete",
62
+ "foster"
63
+ ]
64
+ }
65
+ },
66
+ {
67
+ "name": "children",
68
+ "role": "feature",
69
+ "semantic_type": "categorical",
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": 4,
77
+ "unique_ratio": 0.000386,
78
+ "example_values": [
79
+ "1",
80
+ "3",
81
+ "2",
82
+ "more"
83
+ ]
84
+ }
85
+ },
86
+ {
87
+ "name": "housing",
88
+ "role": "feature",
89
+ "semantic_type": "categorical",
90
+ "nullable": false,
91
+ "missing_tokens": [],
92
+ "parse_format": null,
93
+ "impute_strategy": "mode",
94
+ "profile_stats": {
95
+ "missing_rate": 0.0,
96
+ "unique_count": 3,
97
+ "unique_ratio": 0.000289,
98
+ "example_values": [
99
+ "less_conv",
100
+ "convenient",
101
+ "critical"
102
+ ]
103
+ }
104
+ },
105
+ {
106
+ "name": "finance",
107
+ "role": "feature",
108
+ "semantic_type": "categorical",
109
+ "nullable": false,
110
+ "missing_tokens": [],
111
+ "parse_format": null,
112
+ "impute_strategy": "mode",
113
+ "profile_stats": {
114
+ "missing_rate": 0.0,
115
+ "unique_count": 2,
116
+ "unique_ratio": 0.000193,
117
+ "example_values": [
118
+ "convenient",
119
+ "inconv"
120
+ ]
121
+ }
122
+ },
123
+ {
124
+ "name": "social",
125
+ "role": "feature",
126
+ "semantic_type": "categorical",
127
+ "nullable": false,
128
+ "missing_tokens": [],
129
+ "parse_format": null,
130
+ "impute_strategy": "mode",
131
+ "profile_stats": {
132
+ "missing_rate": 0.0,
133
+ "unique_count": 3,
134
+ "unique_ratio": 0.000289,
135
+ "example_values": [
136
+ "slightly_prob",
137
+ "nonprob",
138
+ "problematic"
139
+ ]
140
+ }
141
+ },
142
+ {
143
+ "name": "health",
144
+ "role": "feature",
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": 3,
153
+ "unique_ratio": 0.000289,
154
+ "example_values": [
155
+ "recommended",
156
+ "priority",
157
+ "not_recom"
158
+ ]
159
+ }
160
+ },
161
+ {
162
+ "name": "class",
163
+ "role": "target",
164
+ "semantic_type": "categorical",
165
+ "nullable": false,
166
+ "missing_tokens": [],
167
+ "parse_format": null,
168
+ "impute_strategy": "mode",
169
+ "profile_stats": {
170
+ "missing_rate": 0.0,
171
+ "unique_count": 5,
172
+ "unique_ratio": 0.000482,
173
+ "example_values": [
174
+ "priority",
175
+ "spec_prior",
176
+ "not_recom",
177
+ "very_recom",
178
+ "recommend"
179
+ ]
180
+ }
181
+ }
182
+ ]
183
+ }
SynthData0523/main/c7/bayesnet/bayesnet-c7-20260321_061816/public_gate/public_gate_report.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset_id": "c7",
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": "class",
31
+ "task_type": "classification",
32
+ "input_splits": {
33
+ "train": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c7/c7-train.csv",
34
+ "val": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c7/c7-val.csv",
35
+ "test": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c7/c7-test.csv"
36
+ }
37
+ }
SynthData0523/main/c7/bayesnet/bayesnet-c7-20260321_061816/public_gate/staged_input_manifest.json ADDED
@@ -0,0 +1,188 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset_id": "c7",
3
+ "target_column": "class",
4
+ "task_type": "classification",
5
+ "train_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/c7/bayesnet/bayesnet-c7-20260321_061816/staged/public/train.csv",
6
+ "val_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/c7/bayesnet/bayesnet-c7-20260321_061816/staged/public/val.csv",
7
+ "test_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/c7/bayesnet/bayesnet-c7-20260321_061816/staged/public/test.csv",
8
+ "features_json": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/c7/bayesnet/bayesnet-c7-20260321_061816/staged/public/staged_features.json",
9
+ "public_gate_report": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/c7/bayesnet/bayesnet-c7-20260321_061816/public_gate/public_gate_report.json",
10
+ "column_schema": [
11
+ {
12
+ "name": "parents",
13
+ "role": "feature",
14
+ "semantic_type": "categorical",
15
+ "nullable": false,
16
+ "missing_tokens": [],
17
+ "parse_format": null,
18
+ "impute_strategy": "mode",
19
+ "profile_stats": {
20
+ "missing_rate": 0.0,
21
+ "unique_count": 3,
22
+ "unique_ratio": 0.000289,
23
+ "example_values": [
24
+ "usual",
25
+ "pretentious",
26
+ "great_pret"
27
+ ]
28
+ }
29
+ },
30
+ {
31
+ "name": "has_nurs",
32
+ "role": "feature",
33
+ "semantic_type": "categorical",
34
+ "nullable": false,
35
+ "missing_tokens": [],
36
+ "parse_format": null,
37
+ "impute_strategy": "mode",
38
+ "profile_stats": {
39
+ "missing_rate": 0.0,
40
+ "unique_count": 5,
41
+ "unique_ratio": 0.000482,
42
+ "example_values": [
43
+ "very_crit",
44
+ "critical",
45
+ "improper",
46
+ "less_proper",
47
+ "proper"
48
+ ]
49
+ }
50
+ },
51
+ {
52
+ "name": "form",
53
+ "role": "feature",
54
+ "semantic_type": "categorical",
55
+ "nullable": false,
56
+ "missing_tokens": [],
57
+ "parse_format": null,
58
+ "impute_strategy": "mode",
59
+ "profile_stats": {
60
+ "missing_rate": 0.0,
61
+ "unique_count": 4,
62
+ "unique_ratio": 0.000386,
63
+ "example_values": [
64
+ "complete",
65
+ "completed",
66
+ "incomplete",
67
+ "foster"
68
+ ]
69
+ }
70
+ },
71
+ {
72
+ "name": "children",
73
+ "role": "feature",
74
+ "semantic_type": "categorical",
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": 4,
82
+ "unique_ratio": 0.000386,
83
+ "example_values": [
84
+ "1",
85
+ "3",
86
+ "2",
87
+ "more"
88
+ ]
89
+ }
90
+ },
91
+ {
92
+ "name": "housing",
93
+ "role": "feature",
94
+ "semantic_type": "categorical",
95
+ "nullable": false,
96
+ "missing_tokens": [],
97
+ "parse_format": null,
98
+ "impute_strategy": "mode",
99
+ "profile_stats": {
100
+ "missing_rate": 0.0,
101
+ "unique_count": 3,
102
+ "unique_ratio": 0.000289,
103
+ "example_values": [
104
+ "less_conv",
105
+ "convenient",
106
+ "critical"
107
+ ]
108
+ }
109
+ },
110
+ {
111
+ "name": "finance",
112
+ "role": "feature",
113
+ "semantic_type": "categorical",
114
+ "nullable": false,
115
+ "missing_tokens": [],
116
+ "parse_format": null,
117
+ "impute_strategy": "mode",
118
+ "profile_stats": {
119
+ "missing_rate": 0.0,
120
+ "unique_count": 2,
121
+ "unique_ratio": 0.000193,
122
+ "example_values": [
123
+ "convenient",
124
+ "inconv"
125
+ ]
126
+ }
127
+ },
128
+ {
129
+ "name": "social",
130
+ "role": "feature",
131
+ "semantic_type": "categorical",
132
+ "nullable": false,
133
+ "missing_tokens": [],
134
+ "parse_format": null,
135
+ "impute_strategy": "mode",
136
+ "profile_stats": {
137
+ "missing_rate": 0.0,
138
+ "unique_count": 3,
139
+ "unique_ratio": 0.000289,
140
+ "example_values": [
141
+ "slightly_prob",
142
+ "nonprob",
143
+ "problematic"
144
+ ]
145
+ }
146
+ },
147
+ {
148
+ "name": "health",
149
+ "role": "feature",
150
+ "semantic_type": "categorical",
151
+ "nullable": false,
152
+ "missing_tokens": [],
153
+ "parse_format": null,
154
+ "impute_strategy": "mode",
155
+ "profile_stats": {
156
+ "missing_rate": 0.0,
157
+ "unique_count": 3,
158
+ "unique_ratio": 0.000289,
159
+ "example_values": [
160
+ "recommended",
161
+ "priority",
162
+ "not_recom"
163
+ ]
164
+ }
165
+ },
166
+ {
167
+ "name": "class",
168
+ "role": "target",
169
+ "semantic_type": "categorical",
170
+ "nullable": false,
171
+ "missing_tokens": [],
172
+ "parse_format": null,
173
+ "impute_strategy": "mode",
174
+ "profile_stats": {
175
+ "missing_rate": 0.0,
176
+ "unique_count": 5,
177
+ "unique_ratio": 0.000482,
178
+ "example_values": [
179
+ "priority",
180
+ "spec_prior",
181
+ "not_recom",
182
+ "very_recom",
183
+ "recommend"
184
+ ]
185
+ }
186
+ }
187
+ ]
188
+ }
SynthData0523/main/c7/bayesnet/bayesnet-c7-20260321_061816/runtime_result.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset_id": "c7",
3
+ "model": "bayesnet",
4
+ "run_id": "bayesnet-c7-20260321_061816",
5
+ "public_gate_status": "pass",
6
+ "adapter_ready_status": "pass",
7
+ "train_status": "skipped",
8
+ "generate_status": "success",
9
+ "reason_code": null,
10
+ "reason_detail": null,
11
+ "artifacts": {
12
+ "synthetic_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/c7/bayesnet/bayesnet-c7-20260321_061816/bayesnet-c7-10368-20260330_065316.csv"
13
+ }
14
+ }