Lexical mapping - Check out of range for rating
indiranell opened this issue · 0 comments
Steps to Reproduce -
1)Create a csv file(Hospinfo.csv)with the attached Hospinfo.txt
HospInfo.txt
2)Start the server: python run.py
3)Go to localhost:6464 in your browser
4)Input the zipcode '72956'
5)Click search
Expected - The system should throw an exception saying that the rating is out of range or give a approprate text message saying that the rating is not defined for this hospital
Actual - The generated output text is "SPARKS MEDICAL CENTER - VAN BUREN is 0.00 miles away and has 8 overall rating. Their listed phone number is 4794743401."
Issue - Since the hospital overall rating 8 (5 being max rating), the reader of the text should be aware that the rating given is Out Of Range. But in this case, the output summary is showing as the hospital has 8 overall rating which is a bug.