Skip to content

~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.

fix: harden scanner-flagged code, repair 17 test failures, skip flaky integration tests in CI (#3111)

LearningCircuit9f319a77384d
diff --git a/.github/workflows/docker-tests.yml b/.github/workflows/docker-tests.yml
index 1f20b0abcd..042e33d641 100644
--- a/.github/workflows/docker-tests.yml
+++ b/.github/workflows/docker-tests.yml
@@ -190,6 +190,7 @@ jobs:
-q \
--durations=20 \
-n auto \
+ -m 'not integration' \
--ignore=tests/ui_tests \
--ignore=tests/infrastructure_tests \
--ignore=tests/api_tests_with_login \
diff --git a/tests/advanced_search_system/constraint_checking/test_strict_checker.py b/tests/advanced_search_system/constraint_checking/test_strict_checker.py
index cac4824c6d..97ffac395c 100644
--- a/tests/advanced_search_system/constraint_checking/test_strict_checker.py
+++ b/tests/advanced_search_system/constraint_checking/test_strict_checker.py
@@ -211,8 +211,8 @@ class TestCheckNamePatternStrictly:
assert score == 0.95
mock_model.invoke.assert_called_once()
- def test_llm_pattern_returns_zero_on_exception(self):
- """Returns 0.0 when LLM fails for pattern check."""
+ def test_llm_pattern_returns_uncertain_on_exception(self):
+ """Returns 0.5 (uncertain) when LLM fails for pattern check."""
from local_deep_research.advanced_search_system.constraint_checking.strict_checker import (
StrictChecker,
)
@@ -225,7 +225,7 @@ class TestCheckNamePatternStrictly:
"Test Name", "starts with T"
)
- assert score == 0.0
+ assert score == 0.5
class TestEvaluateConstraintStrictly:
diff --git a/tests/routes/test_settings_routes.py b/tests/routes/test_settings_routes.py
index 919d16a0ae..ae35fd27ce 100644
--- a/tests/routes/test_settings_routes.py
+++ b/tests/routes/test_settings_routes.py
@@ -255,6 +255,9 @@ class TestCalculateWarnings:
"app.warnings.dismiss_high_context": False,
"app.warnings.dismiss_model_mismatch": False,
"app.warnings.dismiss_context_reduced": False,
+ "app.warnings.dismiss_no_backups": True,
+ "app.warnings.dismiss_backup_disabled": False,
+ "backup.enabled": True,
"llm.model": "gpt-4",
}.get(key, default)
)