phetsims / sugar-and-salt-solutions

"Sugar And Salt Solutions" is an educational simulation in HTML5, by PhET Interactive Simulations.
GNU General Public License v3.0
1 stars 1 forks source link

Review the 1st screen #30

Open samreid opened 6 years ago

samreid commented 6 years ago

@ariel-phet asked if I could do a 1-hour review of the 1st screen and report back on the status. Elevating priority so I can try to get to it before Wednesday.

samreid commented 6 years ago

Missing features from considering the design:

image

There may be more problems, but that's what I could find in about 10 minutes. I'll look at the code next.

samreid commented 6 years ago
    self.moreSaltAllowed = new DerivedProperty( [ self.salt.grams, self.airborneSaltGrams ], function() {
      return (self.salt.grams.get() + self.airborneSaltGrams.get()) < 100;
    } );

Some notes:

samreid commented 6 years ago
function MacroSugarDispenser( x, y, beaker, moreAllowed, sugarDispenserName, distanceScale, selectedType, type, model ) {
self.submergedInWaterNode.addChild( self.conductivityToolboxNode );
samreid commented 6 years ago

To summarize, I do not believe that the above list of problems is complete--it is more of a sampling of the kind of problems we may find as we work on bringing the simulation to production. Furthermore, it is certain that new problems will be uncovered as we work through the original list of known problems.

A note about my methodology, a more thorough following of the code review checklist will reveal other trouble. (This review was more "freehand").

I would also recommend having a QA member or simulation design member spend some time looking at the functionality of the simulation and comparing it to the published Java version, to see what I missed in https://github.com/phetsims/sugar-and-salt-solutions/issues/30#issuecomment-357409959

@ariel-phet I'm sure I could find more trouble given more time but this feels like a reasonable stopping point for a first pass. Over to you.

ariel-phet commented 6 years ago

@veillette has agreed to help mentor the student working on this project. Assigning to him so he can see @samreid's very quick review.

samreid commented 6 years ago

I fixed the namespaces and got it running with ?ea