-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
We need a way to keep track of 'successful' sessions for each user - regardless of if they've deleted them or not. A successful session is when they've collected a trial that is not calibration or neutral, and its status==done.
Here's a way we could do it:
opencap-core: when a trial finishes processing a dynamic trial and status == done, we could do a POST sessions/session_id/add_successful_session
opencap-api: sessions/add_successful_session checks some list for the user of successful sessions and adds the session if it doesn't yet exist.
Open to other ideas, @olehkorkh-planeks
Metadata
Metadata
Assignees
Labels
No labels