phetsims / rutherford-scattering

"Rutherford Scattering" is an educational simulation in HTML5, by PhET Interactive Simulations.
GNU General Public License v3.0
2 stars 3 forks source link

Rutherford Scattering code-review checklist #30

Closed schmitzware closed 8 years ago

schmitzware commented 8 years ago

PhET code-review checklist

Build and Run Checks

Strings

Repository structure

   my-repo/
      assets/
      audio/
         license.json
      doc/
         model.md
         implementation-notes.md
      images/
         license.json
      js/
         my-repo-config.js
         my-repo-main.js
      .gitignore
      my-repo_en.html
      my-repo-strings_en.json
      Gruntfile.js
      LICENSE
      package.json
      README.md

For a common-code repository, the structure is similar, but some of the files and directories may not be present if the repo doesn’t have audio, images, strings, or a demo application.

   my-repo/
      js/
         common/
            model/
            view/
         custom
            model/
            view/
         introduction
            model/
            view/
         my-repo-config.js
         my-repo-main.js

Coding conventions

Documentation

Common Errors

Organization, Readability, Maintainability

Performance, Usability

Memory Leaks

pixelzoom commented 8 years ago

Put on my plate at 3/3/16 dev meeting. @schmitzware assign to me when ready for review.

schmitzware commented 8 years ago

I just need get IntellJ setup with the formatting bits so I can run it through there. Should be ready after that.

schmitzware commented 8 years ago

So, just so you know - I broke up the Rutherford/Atom screens a bit more but not overly so. I ended up consolidating the gun, target & dashed zoomed line in to it's own node and re-layed out things. I didn't see the need to abstract out further seeing that it's ~125 lines of code, mainly layout, and it looks like things will change (space, legend, etc.) with the addition of that new bits in the design document. If you feel strongly the other way, just say so, it's no problem.

pixelzoom commented 8 years ago

Code review complete, see above for issue (or look for 'dev:code-review' tag). Overall this sim is in great shape, nice job.

@schmitzware said that he had checked for memory leaks (heap comparison), so I've skipped that step, since it would take me some time.

The only issue that I've assigned to myself is #49. I'd like to take a closer look at duplication in ScreenView subtypes.

@schmitzware, Let me know if you have any questions, feel free to "push back" on anything you think is unnecessary. And feel free to proceed with addressing issues, I won't be making any further changes to code without consulting you first.

pixelzoom commented 8 years ago

Btw... The only issues where I made commits are #39, #43, #47.

schmitzware commented 8 years ago

Just waiting on updated images/assets files at this point.

schmitzware commented 8 years ago

Images/Assets have all been updated - checklist looks complete - what's the next step here?

ariel-phet commented 8 years ago

@schmitzware next step would be to publish a "dev" version and have our testers bang on it for a bit to see if there are any bugs.

pixelzoom commented 8 years ago

Next step is for me to note that all code-review issues have been addressed, and close this issue.

pixelzoom commented 8 years ago

To clarify what @ariel-phet said in https://github.com/phetsims/rutherford-scattering/issues/30#issuecomment-194530961...

A "dev test" is an informal test of a "dev" (development) version. It's less rigorous than an "RC" (release candidate) test, in that it doesn't have a format test matrix, etc. The goal is to find any bugs that may be lurking with a minimal investment of tester and developer resources.

The steps are:

(1) Publish dev version 1.0.0.-dev.1. Ask me how, or see https://github.com/phetsims/phet-info/blob/master/sim_deployment.md. Requires that you have an account and permissions on spot.colorado.edu (the dev server).

(2) Create an issue in tasks with title "Dev test Rutherford Scattering 1.0.0-dev.1", assign it to @ariel-phet. See https://github.com/phetsims/tasks/issues/488 for a similar issue.

(3) Evaluate and (likely) fix any issues that testers find. Possibly go to step (1) and do another cycle through the process.

When a sim has passed dev testing, the next phase is typically RC testing, followed by publication. Since this sim isn't going to be published until feature #20 is added, I don't know if RC testing is going to occur right away.

ariel-phet commented 8 years ago

We will actually RC test this sim for one round, even before #20 is added.