Assessing compatibility with safety goals using risk analysis results