Khushal: Added logic to model to calculate passing percentage for pyramid view