If maven compliance is showing ‘ERROR’ not FAIL because of ATR/QM, it just means the combo of ATR/QM QM.X23 and QM.X24 are not correct.
Take a look at the field IDs QM.X23 and QM.X24. If QM.X23 is not “Qualified Mortgage” then the ‘type’ of Qualified Mortgage (qm.x24) needs to be blank. Otherwise, if the type of Qualified Mortgage is filled in then QM.X23 must be Qualified Mortgage.