update code format in ch3-results