From f95962d53d62e00b384cb508b161e148b33418f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arturo=20Filast=C3=B2?= Date: Fri, 17 Jan 2025 15:39:37 +0100 Subject: [PATCH 1/2] Fix bug in setting the analysis outcome for confirmed censorship --- oonipipeline/src/oonipipeline/analysis/web_analysis.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/oonipipeline/src/oonipipeline/analysis/web_analysis.py b/oonipipeline/src/oonipipeline/analysis/web_analysis.py index 35317c02..e25d6359 100644 --- a/oonipipeline/src/oonipipeline/analysis/web_analysis.py +++ b/oonipipeline/src/oonipipeline/analysis/web_analysis.py @@ -116,9 +116,9 @@ def format_query_analysis_web_fuzzy_logic( length(dns_answers) = 0 AND dns_failure IS NULL, tuple(0.0, 0.0, 0.0), - -- We matches a country blockpage, our possibility of blocking is 1. + -- We matched a country blockpage, our possibility of blocking is 1. dns_blocking_country_consistent, - tuple(1.0, 1.0, 0.0), + tuple(1.0, 0.0, 0.0), -- We got a TLS consistent inside of DNS, this is a very strong signal that -- the answer is good. From 48dd4aab5cb43f3d47f89ba9b3bdc30001db18a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arturo=20Filast=C3=B2?= Date: Fri, 17 Jan 2025 15:40:03 +0100 Subject: [PATCH 2/2] Ensure clickhouse url is passed in the CLI --- oonipipeline/src/oonipipeline/cli/commands.py | 1 + 1 file changed, 1 insertion(+) diff --git a/oonipipeline/src/oonipipeline/cli/commands.py b/oonipipeline/src/oonipipeline/cli/commands.py index 6cbc12f0..25ee1509 100644 --- a/oonipipeline/src/oonipipeline/cli/commands.py +++ b/oonipipeline/src/oonipipeline/cli/commands.py @@ -165,6 +165,7 @@ def run( elif workflow_name == "analysis": make_analysis_in_a_day( MakeAnalysisParams( + clickhouse_url=config.clickhouse_url, probe_cc=probe_cc, test_name=test_name, day=start_day,