# Experiment practice feedback: reach the correct rate but can not break the practice loop in the code component

**URL:** <https://discourse.psychopy.org/t/experiment-practice-feedback-reach-the-correct-rate-but-can-not-break-the-practice-loop-in-the-code-component/11283>\
**Category:** Online experiments\
**Created:** [March 2, 2020, 3:40pm UTC](https://discourse.psychopy.org/t/experiment-practice-feedback-reach-the-correct-rate-but-can-not-break-the-practice-loop-in-the-code-component/11283 "2020-03-02T15:40:07Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Bobby\_Thomas](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/bobby_thomas/32/6618_2.png) [@Bobby\_Thomas](https://discourse.psychopy.org/u/Bobby_Thomas)\
**Post date:** [March 4, 2020, 5:47pm UTC](https://discourse.psychopy.org/t/experiment-practice-feedback-reach-the-correct-rate-but-can-not-break-the-practice-loop-in-the-code-component/11283/4 "2020-03-04T17:47:50Z")

</div>

You might be running into the same issue as I was with the updated PsychoPy. They updated how you break out of loops. See this thread:

> [@Loop.finished=true No longer working](https://discourse.psychopy.org/t/loop-finished-true-no-longer-working/11190):
>
> URL of experiment: [https://pavlovia.org/bobbyTUCI/sandwich2020](https://pavlovia.org/bobbyTUCI/sandwich2020) Description of the problem: My experiment involves two places where I break a loop using a conditional such as Iter.finished=True, or Iter.finished=true (for JS). This was working perfectly fine both on my computer and on Pavlovia until the most recent update to PsychoPy. Now whenever I get to the spots in the study that use this code, even if the specified condition is true (in my case whether they pressed a certain key), the st…

---

_[View the full topic](https://discourse.psychopy.org/t/experiment-practice-feedback-reach-the-correct-rate-but-can-not-break-the-practice-loop-in-the-code-component/11283)._
