[Refactoring] Comparison result classes