okapi-web

You are doing this logic to decide if something is great, good or bad in a bunch of places. Probably a good oportunity to refactor this into a separate function to avoid duplicated code.