def getErrorComponent(result, tag):
return math.sqrt(sum(<EOL>(error*<NUM_LIT:2>)**<NUM_LIT:2><EOL>for (var, error) in result.error_components().items()<EOL>if var.tag == tag<EOL>))<EOL>
get total error contribution for component with specific tag