Open samreid opened 6 years ago
Missing features from considering the design:
There may be more problems, but that's what I could find in about 10 minutes. I'll look at the code next.
new DerivedProperty( [new AirborneCrystalMoles( self.saltList )]
self.moreSaltAllowed = new DerivedProperty( [ self.salt.grams, self.airborneSaltGrams ], function() {
return (self.salt.grams.get() + self.airborneSaltGrams.get()) < 100;
} );
Some notes:
function MacroSugarDispenser( x, y, beaker, moreAllowed, sugarDispenserName, distanceScale, selectedType, type, model ) {
self.submergedInWaterNode.addChild( self.conductivityToolboxNode );
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.
@veillette has agreed to help mentor the student working on this project. Assigning to him so he can see @samreid's very quick review.
I fixed the namespaces and got it running with ?ea
@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.