andymatuschak / orbit

Experimental spaced repetition platform for exploring ideas in memory augmentation and programmable attention
https://withorbit.com
Other
1.71k stars 54 forks source link

Backfill user data fix for notification state #221

Closed andymatuschak closed 3 years ago

andymatuschak commented 3 years ago

Orbit keeps track of how many notifications it has sent to a user, so that it can gracefully back off if users lose interest. When a user embarks upon a review session, that state is meant to be reset. A bug was preventing that from happening.

I fixed the bug in 71e33966a2 but some users are now stuck in a state where they won't receive notifications because the system incorrectly thinks they've lost interest. I'll need write a script to find all such instances and reset those users' notification states.