def METHOD_NAME():
    detector = Detector(encoding_confidence=0.9)
    assert detector.encoding_confidence == 0.9
    detector.encoding_confidence = 0.8
    assert detector.encoding_confidence == 0.8