diff --git a/discord_analyzer/analysis/compute_member_activity.py b/discord_analyzer/analysis/compute_member_activity.py index 3e53443..c703ee5 100644 --- a/discord_analyzer/analysis/compute_member_activity.py +++ b/discord_analyzer/analysis/compute_member_activity.py @@ -151,6 +151,11 @@ def compute_member_activity( "all_lurker": {}, "all_about_to_disengage": {}, "all_disengaged_in_past": {}, + "all_inconsistent": {}, + "all_new_consistent": {}, + "all_new_vital": {}, + "all_became_not_consistent": {}, + "all_became_unvital": {}, } activities_name = list(activity_dict.keys()) diff --git a/requirements.txt b/requirements.txt index a686689..16c3ca4 100644 --- a/requirements.txt +++ b/requirements.txt @@ -22,5 +22,5 @@ tc-messageBroker==1.4.0 sentry-sdk rq redis -tc-core-analyzer-lib==1.0.2 +tc-core-analyzer-lib==1.1.0 tc-neo4j-lib==1.0.0 diff --git a/tests/integration/utils/mock_graph.py b/tests/integration/utils/mock_graph.py index d244e3a..e33545e 100644 --- a/tests/integration/utils/mock_graph.py +++ b/tests/integration/utils/mock_graph.py @@ -33,6 +33,7 @@ def generate_mock_graph(int_matrix, acc_names): "all_lurker": {}, "all_about_to_disengage": {}, "all_disengaged_in_past": {}, + "all_inconsistent": {}, } WINDOW_D = 7 diff --git a/tests/integration/utils/mock_memberactivities.py b/tests/integration/utils/mock_memberactivities.py index a1fa351..10dcd77 100644 --- a/tests/integration/utils/mock_memberactivities.py +++ b/tests/integration/utils/mock_memberactivities.py @@ -35,6 +35,7 @@ def create_empty_memberactivities_data( "all_lurker": [], "all_about_to_disengage": [], "all_disengaged_in_past": [], + "all_inconsistent": [], } data.append(document)