def METHOD_NAME(self) -> float:
    r = 0.01
    if self._total_seqs > 0:
        r = (
            (
                self._seq_counters[SequenceLikelihood.POSITIVE]
                + 0.25 * self._seq_counters[SequenceLikelihood.LIKELY]
            )
            / self._total_seqs
            / self._model.typical_positive_ratio
        )
        # The more control characters (proportionnaly to the size
        # of the text), the less confident we become in the current
        # charset.
        r = r * (self._total_char - self._control_char) / self._total_char
        r = r * self._freq_char / self._total_char
        if r >= 1.0:
            r = 0.99
    return r