pub fn transform_humanization_gate(
df: DataFrame,
threshold: f64,
) -> Result<DataFrame>Expand description
Stage 2: ∂(¬σ⁻¹) — Humanization Gate
Filters rows where prob_generated exceeds threshold, retaining
only text that reads as sufficiently human. threshold is clamped
to [0.0, 1.0].
When a real antitransformer scorer is integrated, it will feed the
prob_generated column that this gate consumes.