import os import sys # Ensure the repository root is on sys.path so imports like # `from idea157_openfederatedcompiler_privacy_preserving import ...` work # reliably across environments where the working directory isn't on PYTHONPATH. ROOT = os.path.abspath(os.path.join(os.path.dirname(__file__), "..")) if ROOT not in sys.path: sys.path.insert(0, ROOT)