The relative import from .douyin_detection was looking in the douyin/detection/pixel/ package, but douyin_detection.py lives at douyin/detection/douyin_detection.py. This caused every fudai detail page detection to fail with detection_exception, making the system always treat successful detail page opens as misclicks.