import os import sys # Ensure repository root is on sys.path so qlm_lab can be imported during tests PROJECT_ROOT = os.path.abspath(os.path.join(os.path.dirname(__file__), "..")) if PROJECT_ROOT not in sys.path: sys.path.insert(0, PROJECT_ROOT)