-
Notifications
You must be signed in to change notification settings - Fork 1
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
Seemingly impossible level #60
Comments
Could be why |
Didn't try for as long, but it seems like this may be a problem in Fractions: Intro as well. |
@jonathanolson found this problem again for phetsims/qa#250. Occurs in Build a Fraction > Build a Fraction > Level 6 (lower level with shapes). Katie also found the same problem on the corresponding introduction sim on the same level. |
Found again on phetsims/qa#250 Build a Fraction > Build a Fraction > Level 7 (lower with shapes) |
Since this seems to be happening most on Build a Fraction and corresponding Fraction Intro game screens where you are matching the fraction to the shape, I collected some more exact data. I played each of those 10 levels on Fractions Intro and recorded the possible vs impossible levels |
@jonathanolson I believe this is another example. Found on iPad, Mixed Numbers sim, Level 4, building fractions to match shapes. phetsims/qa#253 |
Would the following solve it?:
|
@jonathanolson It would. Good catch. |
I believe I caught the refactoring error I made that introduced the main case for this (fixed above). I'll run a number of tests to make sure current levels are always solvable. |
Using the following hack code in console to test: const generators = _.flatten( _.range( 1, 11 ).map( n => [
phet.fractionsCommon.FractionLevel[ `level${n}Numbers` ],
phet.fractionsCommon.FractionLevel[ `level${n}Shapes` ],
phet.fractionsCommon.FractionLevel[ `level${n}NumbersMixed` ],
phet.fractionsCommon.FractionLevel[ `level${n}ShapesMixed` ],
] ) );
generators.forEach( generator => {
console.log( generator.name );
for ( let i = 0; i < 100; i++ ) {
const challenge = generator( 1, phet.fractionsCommon.FractionsCommonColorProfile.shapeBlueProperty );
challenge.cheat();
}
} ); As expected, numbers level 7 is still failing (has a different root cause of unsolvability). |
@ariel-phet and @amanda-phet: I believe the level 7 numbers design doc has a mistake in the following line:
Instead of 2/3, 4/6, 3/9, I believe it should have 6/9. The resulting unsolvable levels look were resulting from this. Can I get confirmation? (Should be patched with the above commit). |
Automated testing is showing 1000 generated challenges of each level are now passing. @KatieWoe could you spot-check master to ensure levels 6/7/10 are looking solvable in general (should be the only ones affected by the changes). |
Looks good on master |
I'm assigned. Should I close the issue or keep it open (and unassign), or is there something to do? |
Close if you feel its done. If you think it will need more testing during rc or next dev test keep open, label appropriately, and link in next test. Its up to your discretion. @jonathanolson |
Closing, thanks! |
Test device:
Dell Laptop
Operating System:
Win 10
Browser:
Chrome
Problem description:
For phetsims/qa#250
Upon first starting the Level 10 matching fractions to shape level on the Build a Fraction screen, I encountered a seemingly impossible level. Neither @phet-steele or I could solve it. I haven't seen other impossible levels, but will keep looking and update this issue with other instances.
Conversation:
Steps to reproduce:
Screenshots:
Troubleshooting information (do not edit):
Name: Build a Fraction
URL: https://phet-dev.colorado.edu/html/build-a-fraction/1.0.0-dev.17/phet/build-a-fraction_en_phet.html
Version: 1.0.0-dev.17 2019-01-04 01:10:24 UTC
Features missing: touch
Flags: pixelRatioScaling
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36
Language: en-US
Window: 1536x732
Pixel Ratio: 2.5/1
WebGL: WebGL 1.0 (OpenGL ES 2.0 Chromium)
GLSL: WebGL GLSL ES 1.0 (OpenGL ES GLSL ES 1.0 Chromium)
Vendor: WebKit (WebKit WebGL)
Vertex: attribs: 16 varying: 30 uniform: 4096
Texture: size: 16384 imageUnits: 16 (vertex: 16, combined: 32)
Max viewport: 16384x16384
OES_texture_float: true
Dependencies JSON: {}
The text was updated successfully, but these errors were encountered: