From 82cb2e6ad99050586fb047d1f8a08bb82ffdef3f Mon Sep 17 00:00:00 2001 From: Taha Yassine Kraiem Date: Sun, 5 Mar 2023 19:29:30 +0100 Subject: [PATCH] feat(chalice): fixed funnels --- api/chalicelib/core/significance.py | 8 ++++---- ee/api/chalicelib/core/significance.py | 8 ++++---- ee/api/chalicelib/core/significance_exp.py | 8 ++++---- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/api/chalicelib/core/significance.py b/api/chalicelib/core/significance.py index 937f00af2..64028a8df 100644 --- a/api/chalicelib/core/significance.py +++ b/api/chalicelib/core/significance.py @@ -574,10 +574,10 @@ def get_top_insights(filter_d, project_id): # Obtain the first part of the output stages_list = get_stages(stages, rows) # Obtain the second part of the output - n_critical_issues, issues_dict, total_drop_due_to_issues = get_issues(stages, rows, - first_stage=filter_d.get("firstStage"), - last_stage=filter_d.get("lastStage"), - drop_only=True) + total_drop_due_to_issues = get_issues(stages, rows, + first_stage=filter_d.get("firstStage"), + last_stage=filter_d.get("lastStage"), + drop_only=True) return stages_list, total_drop_due_to_issues diff --git a/ee/api/chalicelib/core/significance.py b/ee/api/chalicelib/core/significance.py index ac6eef548..ae1f0c867 100644 --- a/ee/api/chalicelib/core/significance.py +++ b/ee/api/chalicelib/core/significance.py @@ -580,10 +580,10 @@ def get_top_insights(filter_d, project_id): # Obtain the first part of the output stages_list = get_stages(stages, rows) # Obtain the second part of the output - n_critical_issues, issues_dict, total_drop_due_to_issues = get_issues(stages, rows, - first_stage=filter_d.get("firstStage"), - last_stage=filter_d.get("lastStage"), - drop_only=True) + total_drop_due_to_issues = get_issues(stages, rows, + first_stage=filter_d.get("firstStage"), + last_stage=filter_d.get("lastStage"), + drop_only=True) return stages_list, total_drop_due_to_issues diff --git a/ee/api/chalicelib/core/significance_exp.py b/ee/api/chalicelib/core/significance_exp.py index ac6eef548..ae1f0c867 100644 --- a/ee/api/chalicelib/core/significance_exp.py +++ b/ee/api/chalicelib/core/significance_exp.py @@ -580,10 +580,10 @@ def get_top_insights(filter_d, project_id): # Obtain the first part of the output stages_list = get_stages(stages, rows) # Obtain the second part of the output - n_critical_issues, issues_dict, total_drop_due_to_issues = get_issues(stages, rows, - first_stage=filter_d.get("firstStage"), - last_stage=filter_d.get("lastStage"), - drop_only=True) + total_drop_due_to_issues = get_issues(stages, rows, + first_stage=filter_d.get("firstStage"), + last_stage=filter_d.get("lastStage"), + drop_only=True) return stages_list, total_drop_due_to_issues