Query Relevance Score and Low-Rating Share - Coding problem | OneNoughtOne