Function name and logic modified for ML grading making score consistent.
ORA-72
Added more definations and comments for tests and modified instance states.
ORA-72