# Data collection is stopped after 5 test trials

**URL:** <https://discourse.psychopy.org/t/data-collection-is-stopped-after-5-test-trials/37440>\
**Category:** Online experiments\
**Tags:** pavlovia\
**Created:** [November 8, 2023, 5:19pm UTC](https://discourse.psychopy.org/t/data-collection-is-stopped-after-5-test-trials/37440 "2023-11-08T17:19:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jackson\_Leb](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/jackson_leb/32/39556_2.png) [@Jackson\_Leb](https://discourse.psychopy.org/u/Jackson_Leb)\
**Post date:** [November 8, 2023, 5:19pm UTC](https://discourse.psychopy.org/t/data-collection-is-stopped-after-5-test-trials/37440/1 "2023-11-08T17:19:11Z")

</div>

URL of experiment: [html · master · COVID Cognition Group / forcedresponse-iat · GitLab](https://gitlab.pavlovia.org/covid_cognition/forcedresponse-iat/tree/master/html)

Description of the problem: For some reason, the data collection for this experiment is faulty. There is a timing practice in the beginning, and all of the timing practice trials have their data recorded. However, afterward, only the first 5 test trials have their data recorded and there is nothing else recorded afterward. The code is in OpenIAT.js. If anyone has any suggestions on what might be causing this, it would be greatly appreciated!

---

<div class="post-metadata">

**Author:** ![wakecarter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/wakecarter/32/5753_2.png) [@wakecarter](https://discourse.psychopy.org/u/wakecarter)\
**Post date:** [November 9, 2023, 6:46pm UTC](https://discourse.psychopy.org/t/data-collection-is-stopped-after-5-test-trials/37440/2 "2023-11-09T18:46:28Z")

</div>

I can’t see a psyexp file. Please could you explain where the JS file came from?

---

<div class="post-metadata">

**Author:** ![Jackson\_Leb](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/jackson_leb/32/39556_2.png) [@Jackson\_Leb](https://discourse.psychopy.org/u/Jackson_Leb)\
**Post date:** [November 14, 2023, 11:35pm UTC](https://discourse.psychopy.org/t/data-collection-is-stopped-after-5-test-trials/37440/3 "2023-11-14T23:35:20Z")

</div>

Sorry for the late reply. We have been doing a lot of the coding in the JS file because there were issues with transfering from local to pavlovia. the JS code has all of the important logic and data.
