Risk-based inspection system