-
Notifications
You must be signed in to change notification settings - Fork 4
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
Slight discrepency in shift-key step size when using Shift + W #314
Comments
Do I need to tag phetsims/qa#582? |
@zepumph, I just noticed that this slight difference only happens if I move the right hand first and then the left hand. This might have something to do with the left hand trying to find ratio with the right hand??? If I move the left hand up first and then the right had up, the Shift + W and the shift + Up Arrow seem to make the same size step. |
This is a biproduct of using small values, and our positional fitness algorithm. This didn't happen when the no-success value threshold was at .021, but it is now at .01. Please recommend how to proceed.
I was unable to reproduce this until your tip in #314 (comment). Then, using ?log, I was able to see that the model actually is giving the wrong value:
I'll investigate. |
The above doesn't fix the problem, but I wanted to make sure that the shift key step size was as accurate as possible, and since #243, we need to apply |
Oh! The issue is that the "conservation of snap" logic is acting upon this, where since we are passing over the "ideal" value with the left value, it goes directly to that value. I think the fix here is to make sure that that behavior doesn't happen when we are < the no-success threshold. |
Ok, I was able to fix this by having the snapping function ignore the snap-to-ratio feature when it is in the no-success range. This should solve all of the problems you mentioned. Also note that please ignore my initial thoughts in #314 (comment):
Anything else here? |
Awesome work :-) |
While testing issue #275, I noticed a slight discrepancy in shift-key step size when using Shift + W when using Both Hands. I've opened a new issue in case this is a separate from #275.
The discrepancy might be a little random (not sure). It might also have to do with intended or unintended snapping behaviour (again not sure).
Both Hands at Tick Mark zero
Both Hands at bottom
Both Hands 1 shift-key step up
The part that seems a bit strange is that sometimes, I can get to the challenge ratio by moving the left hand up 2 shift-key steps and the right hand up only 3 shift-key steps. THIS MIGHT BE INTENDED BEHAVIOUR AS THINGS ARE FUZZY close to zero/close to the bottom.
Steps to reproduce 2 steps: 3 steps:
If you move the left hand up 2 shift-key steps first, it doesn't seem to happen.
To reproduce or see the difference is step sizes:
Again, this might be intended behaviour as THINGS ARE FUZZY near the bottom.
The text was updated successfully, but these errors were encountered: