Skip to content

Commit

Permalink
mission tutorial interactions now count towards explore time
Browse files Browse the repository at this point in the history
  • Loading branch information
misaugstad committed May 9, 2024
1 parent d23937d commit c5be18c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/models/audit/AuditTaskInteractionTable.scala
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ object AuditTaskInteractionTable {
| SELECT user_id, timestamp
| FROM audit_task_interaction
| INNER JOIN audit_task ON audit_task.audit_task_id = audit_task_interaction.audit_task_id
| WHERE action IN ('ViewControl_MouseDown', 'LabelingCanvas_MouseDown')
| WHERE action IN ('ViewControl_MouseDown', 'LabelingCanvas_MouseDown', 'NextSlideButton_Click', 'PreviousSlideButton_Click')
| AND audit_task.user_id = '$userId'
| UNION
| SELECT user_id, timestamp
Expand Down Expand Up @@ -251,7 +251,7 @@ object AuditTaskInteractionTable {
| SELECT (timestamp - LAG(timestamp, 1) OVER(PARTITION BY user_id ORDER BY timestamp)) AS diff
| FROM audit_task_interaction
| INNER JOIN audit_task ON audit_task.audit_task_id = audit_task_interaction.audit_task_id
| WHERE action IN ('ViewControl_MouseDown', 'LabelingCanvas_MouseDown')
| WHERE action IN ('ViewControl_MouseDown', 'LabelingCanvas_MouseDown', 'NextSlideButton_Click', 'PreviousSlideButton_Click')
| AND audit_task.user_id = '$userId'
| AND audit_task_interaction.timestamp < '$timeRangeEnd'
| AND audit_task_interaction.timestamp > (
Expand Down

0 comments on commit c5be18c

Please sign in to comment.