Skip to content

📊 Update Inactive Users Script + Visualization #1043

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

JGreenlee
Copy link
Contributor

ignore test.nrel-op.json for run_on_all_deployments


update script to identify inactive users; add notebook for viz

We are now storing several stats like 'last_call_ts' and 'last_loc_ts' in the profile, and we have run a migration script to fill in these stats for all users
Thus, this script does not need to make any timeseries queries; it just needs to retrieve the profiles.

To support more detailed visualization of user activity, inactive.py now creates a JSON dump of the profiles, which can be read by plot_active.ipynb to visualize the number of inactive users as well as the trend and distribution of user activity
Notebook outputs these charts: e-mission/e-mission-docs#1103 (comment)

We are now storing several stats like 'last_call_ts' and 'last_loc_ts' in the profile, and we have run a migration script to fill in these stats for all users
Thus, this script does not need to make any timeseries queries; it just needs to retrieve the profiles.

To support more detailed visualization of user activity, inactive.py now creates a JSON dump of the profiles, which can be read by plot_active.ipynb to visualize the number of inactive users as well as the trend and distribution of user activity
Notebook outputs these charts: e-mission/e-mission-docs#1103 (comment)
@JGreenlee JGreenlee moved this to PRs for review by peers in OpenPATH Tasks Overview Apr 9, 2025
@JGreenlee JGreenlee moved this from PRs for review by peers to Ready for review by Shankari in OpenPATH Tasks Overview Apr 9, 2025
@shankari shankari force-pushed the master branch 4 times, most recently from a2a9a44 to e50e9f3 Compare June 4, 2025 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Ready for review by Shankari
Development

Successfully merging this pull request may close these issues.

1 participant