Tangerine-Community / Tangerine

Digitize your offline data collection. Create your Forms online with Tangerine Editor, conduct them offline with the Tangerine Android App. All results you collect can be exported as a CSV file, easy for processing in a spreadsheet. Tangerine has been used in over 1 million assessments and surveys in over 60 countries and in 100 languages.
http://www.tangerinecentral.org/
GNU General Public License v3.0
48 stars 30 forks source link

Grid autostop incositent results when items after autostop limit are marked #3661

Open lachko opened 7 months ago

lachko commented 7 months ago

Expected behavior

If autostop is triggered all items after the stopped item must be marked as not attempted and all items recorded have to be incorrect

Actual behavior

in a grid of 50 items and autostop at 5, I can mark items 10, 11, 15 as incorrect and then start marking items 1,2,3,4,5 hence triggering autostop. This created an inconstancy in the results becuase we have reached numberofattemepted items as 5 but we have more items marked as incorrect then those that have been reached thus resulting in negative values:

Screenshot 2023-11-24 at 2 04 07 PM

This is how it looks on the interface: I first marked the third row as incorrect and then the first one to trigger autostop

Screenshot 2023-11-24 at 2 04 52 PM

Steps to reproduce the behavior