import sys
import pathlib
# Ensure the src package is importable during tests
ROOT = pathlib.Path(__file__).resolve().parents[1]
SRC = ROOT / "src"
sys.path.insert(0, str(SRC))