The Role of Codeword-to-Class Assignments in Error-Correcting Codes: An Empirical Study