batchmind-os / check.py
23f3002638
Initial commit with LFS tracking
038ee19
import os
import pickle
import pandas as pd
import numpy as np
BASE_DIR = r"d:\backmind_os\batchmind_os\data\processed"
files = [
"process_clean.pkl",
"phase_stats.pkl",
"physics_features.pkl",
"chronos_embeddings.pkl",
"X_final.pkl",
"production_clean.pkl"
]
for f in files:
path = os.path.join(BASE_DIR, f)
if not os.path.exists(path):
print(f"{f}: MISSING")
continue
try:
with open(path, "rb") as f_in:
data = pickle.load(f_in)
if hasattr(data, "shape"):
print(f"{f}: {data.shape}")
else:
print(f"{f}: {type(data).__name__}")
except Exception as e:
print(f"{f}: ERROR {str(e)}")