Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ws vocabularies > 680 #359

Closed
mcfrank opened this issue Sep 9, 2021 · 4 comments
Closed

ws vocabularies > 680 #359

mcfrank opened this issue Sep 9, 2021 · 4 comments

Comments

@mcfrank
Copy link
Member

mcfrank commented Sep 9, 2021

seems like when we download data from WS English (American) we get some kids with Total_Produced > 680. maybe @vmarchman can give a reprex or example of subjects that have this issue?

@HenryMehta HenryMehta self-assigned this Aug 4, 2022
@HenryMehta
Copy link
Collaborator

@vmarchman @mcfrank
The way this program works is when the calculation starts, values are set to 0 and then amended incrementally as records are checked. The problem is sometimes, and I think this is people double clicking the finish button, the calculations are performed twice and the second overlaps the first. So the first sets values to zero, starts amending them, then the second sets values to zero, first and second continue to amend, first finishes and second finishes.

I've tried fixing this many times and many ways without success so I propose a different approach. Instead of doing the calculation during form filling or at the end, we move it to an action for the researcher. We'll give then a checkbox to highlight those they want to process and we'll do the processing in the background and send them a message once complete.

This still runs the risk of a researcher running the process twice at the same time, so I'll think about how to sort that at the same time if you're happy with the approach

@vmarchman
Copy link
Contributor

vmarchman commented Aug 8, 2022 via email

@HenryMehta
Copy link
Collaborator

@vmarchman blast, I had forgotten about that. Will think again

@HenryMehta HenryMehta moved this from To do to In progress in Brookes / Benchmark Changes Aug 9, 2022
@HenryMehta
Copy link
Collaborator

@vmarchman @mcfrank
I have been trying to replicate the issue locally, without success.

I've one more idea which I got while typing the above sentence which I will try once I've sent this. In the meantime, I'm running an update to correct all the existing values and ensure they're ok

@HenryMehta HenryMehta moved this from In progress to Reviewer approved in Brookes / Benchmark Changes May 2, 2023
Brookes / Benchmark Changes automation moved this from Reviewer approved to Done May 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

No branches or pull requests

3 participants