Epidemic Module Help Debug

Posted February 1, 2019 by miriam.brown@j…

First of all,  I am so thankful for the help I am getting from this forum.  I really believe this is a great curriculum, but for me the learning curve is steep.  I appreciate the help you give me on this forum.  One of my students is working on the epidemic model and it seems to not be working.  Can someone help me debug this?  https://www.slnova.org/%24-Trip-EEE-%24/projects/662839/edit/


Submitted by sgibbs on Fri, 02/01/2019 - 20:13 · Permalink

This is going to seem like a really petty error.  When I pushed the "Setup" button on the interface, nothing happened.  I looked at the code, and all the setup code was in an event handler (when ___ pushed) that said "setup"  Notice the difference in the capitalization.  When I clicked the drop-down menu to change that to Setup, it seems to work fine.  There are some resources for debugging a model in TeachersWithGUTS and one suggestion is the one you followed - have someone else look at it.  A good lesson for the student on how literal computers are in following instructions.  

Submitted by miriam.brown@j… on Mon, 02/04/2019 - 14:12 · Permalink

Thanks.  This is going to make a great discussion.  I wouldn't have thought to look at the setup block.