# Dropping items from list based on performance

**URL:** <https://discourse.psychopy.org/t/dropping-items-from-list-based-on-performance/1570>\
**Category:** Builder\
**Created:** [December 2, 2016, 10:19am UTC](https://discourse.psychopy.org/t/dropping-items-from-list-based-on-performance/1570 "2016-12-02T10:19:16Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![daniel.riggs1](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/daniel.riggs1/32/8103_2.png) [@daniel.riggs1](https://discourse.psychopy.org/u/daniel.riggs1)\
**Post date:** [December 2, 2016, 2:07pm UTC](https://discourse.psychopy.org/t/dropping-items-from-list-based-on-performance/1570/2 "2016-12-02T14:07:31Z")

</div>

As for keeping track of items and removing them based on a criterion, I just recently suggested a solution to someone about that. You can download the experiment and tinker with it:

> [@Criterion learning - conditional mapping?](http://discourse.psychopy.org/t/criterion-learning-conditional-mapping/1480/5):
>
> Actually I think I have a solution for this. Let’s see what you and the others think. This is kind of quick and dirty, I’m trying to keep it simple and keep it in the builder. My solution was to create a dictionary at the beginning of the experiment that will keep track of number of times correct for each word. Words aren’t removed from the loop, rather if their score is 2 then the stimulus will not be presented. Lines for skipped items will still appear in your data output file, but with a res…

For typing a response, there are several solutions out there. I made a mockup of one here, please let me know if it works. Unfortunately my system just broke, so I can’t run any experiments at the moment:

[typingDemo.psyexp](https://us1.discourse-cdn.com/flex002/uploads/psychopy/original/1X/504944a8f7058cfe8b02b2d3a643de87009dbf76.psyexp) (6.3 KB)

---

_[View the full topic](https://discourse.psychopy.org/t/dropping-items-from-list-based-on-performance/1570)._
