This commit is contained in:
dgtlmoon
2025-12-16 15:21:54 +01:00
parent a5621ba9f8
commit 3973d7e853
7 changed files with 168 additions and 348 deletions

View File

@@ -50,12 +50,8 @@ class perform_site_check(difference_detection_processor):
import io
import numpy as np
# Get comparison method (per-watch > global > env default)
comparison_method = (
watch.get('comparison_method') or
self.datastore.data['settings']['application'].get('comparison_method') or
DEFAULT_COMPARISON_METHOD
)
# Use hardcoded comparison method (can be overridden via COMPARISON_METHOD env var)
comparison_method = DEFAULT_COMPARISON_METHOD
# Get threshold (per-watch > global > env default)
threshold = watch.get('comparison_threshold')