oTree Forum >

Chat-data deleted after group-rematching

#1 by seng (edited )


I have an experiment with multiple supergames, each of which consist of multiple rounds.

Participants are placed into groups of three which stay constant within a supergame, but are then rematched between supergames. In each round, participants can chat with their other group members. I save their chat messages using an ExtraModel and then export them using the custom_export() function.

My problem is that at the end of each session, only the chat messages from the final supergame are actually saved in the data. So, it seems that when the groups are rematched, the database starts overwriting the data from the previous supergame. I haven't been able to figure out how to make it simply append each supergame's chat-data. Is there a way to achieve this?

I would appreciate any help! I can of course provided code examples if needed.

Write a reply

Set forum username