rtkm: beautify the eval type definition, and add a piece of internal doc.