Skip to content

Copy study logs only for students who opened the agent - #38

Merged
Maharsh17 merged 1 commit into
mainfrom
study-sync-only-agent-students
Nov 26, 2026
Merged

Maharsh17 merged 1 commit into
mainfrom
study-sync-only-agent-students

Conversation

@Maharsh17

Copy link
Copy Markdown
Member

The background read for zany-study now takes only the rows of study students the agent already holds, meaning those who opened it from their study page. Their logs are read in full when they sign in. Students a researcher never gave the agent are never copied.

I found this in the end-to-end run on the live site. The agent held events for five students of an archived study who never had it. After this deploys, I'll delete those copies.

Server tests are 96 passing, with a new one for this.

Closes #37

@Maharsh17
Maharsh17 merged commit c96c264 into main Nov 26, 2026
2 checks passed
@Maharsh17
Maharsh17 deleted the study-sync-only-agent-students branch November 26, 2026 23:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The agent copies study logs of students who never had it

1 participant