If the committing court determines that an inmate’s conduct, diligence, and general attitude merit a diminution of sentence, the court may allow diminution of one-fourth of the inmate’s term of confinement.