Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: Adding inconsistent members computation #26

Open
wants to merge 4 commits into
base: development
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions discord_analyzer/analysis/compute_member_activity.py
Original file line number Diff line number Diff line change
Expand Up @@ -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())

Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 1 addition & 0 deletions tests/integration/utils/mock_graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions tests/integration/utils/mock_memberactivities.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ def create_empty_memberactivities_data(
"all_lurker": [],
"all_about_to_disengage": [],
"all_disengaged_in_past": [],
"all_inconsistent": [],
}

data.append(document)
Expand Down
Loading