format reportmark and summary based on bastype