AI Tutor: Statsig logging for teacher toggles to en/disable AI Tutor - #60688
#60688Merged
Erin007 merged 1 commit intoAug 28, 2024
stagingcode-dot-org/code-dot-org:stagingfrom
eb-ai-tutor-log-teacher-togglecode-dot-org/code-dot-org:eb-ai-tutor-log-teacher-toggleCopy head branch name to clipboard
Merged
AI Tutor: Statsig logging for teacher toggles to en/disable AI Tutor #60688Erin007 merged 1 commit intostagingcode-dot-org/code-dot-org:stagingfrom eb-ai-tutor-log-teacher-togglecode-dot-org/code-dot-org:eb-ai-tutor-log-teacher-toggleCopy head branch name to clipboard
Erin007 merged 1 commit into
stagingcode-dot-org/code-dot-org:stagingfrom
eb-ai-tutor-log-teacher-togglecode-dot-org/code-dot-org:eb-ai-tutor-log-teacher-toggleCopy head branch name to clipboard
Conversation
Erin007
marked this pull request as draft
August 28, 2024 01:10
Erin007
marked this pull request as ready for review
August 28, 2024 01:10
Erin007
marked this pull request as draft
August 28, 2024 01:11
Erin007
marked this pull request as ready for review
August 28, 2024 01:11
molly-moen
approved these changes
Aug 28, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
In preparation for piloting AI Tutor this fall, we are adding in additional product analytic logging to get a better sense for how students and teachers are interacting with the tools. One interaction we want to track is when teachers toggle AI Tutor on/off for a section.
There are currently two places that teachers can do this:
1.) In the Advanced Settings area of the section edit page

2.) The AI Tutor tab on the Teacher Dashboard

I set up logging to Statsig for enabling and disabling from each UI location and included where from the site the user is taking the action.
I also logged a post-pilot clean up ticket to analyze the toggle usage in both places and then either consolidate the code to share across both or eliminate one.