CS 101 HW8 Grading Notes 30 points total Overall: - must have name and lab section in a comment at the top of code (-2 points) - each function must have docstring (-2 point total) - submitted code must compile and run (-5 points) - program must produce NO OUTPUT when run, ie, when pressing green arrow in Thonny (-2 points total) - our test script must run without crashing (-3 points) analyzeFile: - must work correctly as outlined in instructions (up to -15 points) - NO usage of input() or print() (-2 points) - must have NO hardcoded filenames (-2 points) - must properly clean words (external-only punctuation OR all punctuation are acceptable) (-2 points) - dictionary must properly count word occurences (-5 points) - returned value must be a 4-item tuple in the order: Most Common Word, Least Common Word, Longest Word, Shortest Word (-2 points) - must only iterate over the file one time (-2 points) - must only iterate over the dictionary one time (-2 points) - must submit a sample output text file or PDF (-3 points) weather: - must work correctly as outlined in instructions (up to -15 points) - NO usage of input() or print() (-2 points) - must accept a single String (the zipcode) as input (-2 points) - must properly send a request to openweathermap.org, NOT be hardcoded for cs.middlebury.edu (-5 points) - must return the temperature in fahrenheit (-1 point) - must use your own unique API identification string in the URL (-1 point) Testing code we will run on every submission -- to be erased before submitting (-2 points) print("analyzeFile('angelou.txt') = ", analyzeFile("angelou.txt")) print("weather('05753') = ", weather("05753")) print("weather('33111') = ", weather("33111"))