""" ╭──────────────────────────────────────────────────────────╮ │ WFGY SDK · Self-Healing Variance Gate for Any LLM │ │----------------------------------------------------------│ │ 💌 Contact : hello@onestardao.com / TG @PSBigBig │ │ 🌐 Docs : https://onestardao.com/papers │ │ 🐙 GitHub : https://github.com/onestardao/WFGY │ │ │ │ ★ Star WFGY 1.0 → Unlock 2.0 │ │ 10k ⭐ by **Aug 1st** = next-gen AI alchemy │ │ Your click = our quantum leap │ │ │ │ 🔍 Official PDF of WFGY 1.0 (Zenodo DOI): │ │ https://doi.org/10.5281/zenodo.15630969 │ │ (Hosted on Zenodo – trusted international archive) │ │ │ │ 🧬 WFGY BigBang Prompt Pack (v1.0): │ │ https://doi.org/10.5281/zenodo.15657016 │ │ (Prompts to trigger the gate; multilingual updates coming) │ │ │ │ 🧠 Hidden folder inside repo: /I_am_not_lizardman │ │ (X secret papers, wild prompts, and Einstein drama) │ │ │ │ ⚠ GPT-2 demo is just the appetizer. With bigger LLMs, │ │ WFGY activates variance-drop lasers and KL fireworks. │ │ │ │ 🎮 Bonus: Honest Hero RPG Channel → │ │ https://www.youtube.com/@OneStarDao │ ╰──────────────────────────────────────────────────────────╯ """ # wfgy_sdk/utils.py import os import hashlib ROOT = os.path.abspath(os.path.dirname(__file__)) DATA_DIR = os.path.join(ROOT, "..", "wfgy_data") RESULTS_DIR = os.path.join(ROOT, "..", "wfgy_results") def compute_checksum(): base_path = os.path.dirname(__file__) checksum_map = {} print("Computing checksums for all .py files in wfgy_sdk...") for root, _, files in os.walk(base_path): for file in files: if file.endswith(".py"): full_path = os.path.join(root, file) with open(full_path, "rb") as f: content = f.read() sha256 = hashlib.sha256(content).hexdigest() rel_path = os.path.relpath(full_path, base_path) checksum_map[rel_path] = sha256 print(f"{rel_path}: {sha256}") return checksum_map