Methodology

How we combine 23 AI detectors into one calibrated score (and why 15 get zero weight)

How SlopTotal turns 23 raw engine scores into a calibrated 0-100 scale: log-odds, non-negative weights, live score_range bounds, percentile band edges, and 14-language support.

Running 23 AI detectors side by side solves opacity, yet it creates a summary problem: how do you reduce 23 probabilities into one 0–100 score without letting a loud, outdated classifier ruin the verdict?

Early SlopTotal used a hand-weighted average. On SlopBench, 14.1% of ordinary pre-ChatGPT human passages scored above 45 and 7.7% reached the Likely AI line (≥55): roughly one human text in thirteen was wrongly called AI. In October 2026 I replaced those manual weights with non-negative L2 logistic regression in fit.py and app/calibration.py.

Held-out gain across leave-one-source-out folds

Every number below is cross-validated leave-one-source-out across SlopBench (including paraphrased and humanized variants), meaning the fitted score never saw any text from the source being evaluated:

Metric (SlopBench LOSO) Before (hand-tuned) After (logistic fit)
ROC-AUC 0.904 0.942
AI flagged (>45, Suspicious+) 83.8% 75.0%
AI called AI (≥55, Likely AI+) 65.4% 66.4% (67.3% unedited)
Human flagged (>45) 14.1% 3.9%
Human called AI (≥55) 7.7% 1.7% (4.5x lower)

During fitting, fairness slices (non-native TOEFL essays, news crawls, Wikipedia, and pre-1920 classics) are weighted 3x on the human side so false-positive reduction takes priority over chasing raw recall on easy inputs.

Why 15 engines get 0.00 weight in English

Non-negative weights mean an engine can only push toward AI when it scores high, never invert or subtract. In calibration.json, eight engines receive positive English weights while 15 drop cleanly to 0.0000:

English logistic weights (log-odds) in app/calibration.json · 8 active engines shown; remaining 15 equal 0.0000.
Structural Analysis 0.4081 Desklib DeBERTa 0.3686 Fakespot 0.2621 SuperAnnotate 0.1568 Formulaic Patterns 0.1121 Readability Uniformity 0.0991 Binoculars 0.0951 Burstiness 0.0074 0.0 0.1 0.2 0.3 0.4 0.5

Those 15 zeroed engines in English are TMR Detector, E5-Small, ReMoDetect, BERT-tiny RAID, OpenAI Detector, ChatGPT Detector, Perplexity, Cross-Perplexity, Fast-DetectGPT, GLTR, Log-Rank, DivEye, Linguistic Markers, Vocabulary Richness, and Sentiment & Hedging. Either they no longer separate 2026 LLMs (like GPT-2 statistical checks at 0.62–0.64 AUC and Linguistic Markers at 0.574 AUC), or the three top neural encoders already cover the same signal at much lower human false-positive rates. All 23 still execute on every scan so users can inspect every raw engine score.

Log-odds, percentile band edges, and live score_range()

In app/calibration.py, each raw engine probability p is clipped to [0.01, 0.99], converted to log-odds log(p / (1 - p)), and summed against the weights plus the English intercept (0.9571). Short inputs shrink smoothly toward length_neutral = -3.6 by factor words / (words + 5).

Next, a piecewise-linear knot table (band_knots) maps log-odds onto the 0–100 display scale. Instead of tuning arbitrary percentages, the thresholds sit at measured human held-out percentiles: 30 marks the top 15% of human texts, 45 the top 5%, 55 the top 2% (1.7% in LOSO), and 80 the top 0.5%. Finally, _confidence() clamps confidence to low whenever an input has fewer than 80 words, sits inside 35.0–65.0, or falls in an unsupported language.

Because every engine weight is ≥ 0 and _interpolate() is strictly monotonic, SlopTotal computes exact real-time score_range(engine_scores, text) bounds while slow encoders are still streaming: plugging 0.0 and 1.0 into every uncollected weighted engine yields the guaranteed floor and ceiling of the final score without approximation.

How non-English calibration handles 14 languages

fit_multilingual.py calibrates a separate weight vector and per-language human offset over 713 human texts and 1,118 AI texts across 14 non-English languages (five-fold cross-validation). Overall multilingual AUC moves from 0.731 to 0.910, AI recall above 45 jumps from 28% to 68%, and human false flags fall from 10% to 7%. Fitted on DeepSeek replies alone and tested against four unseen model families, it still catches 72% of AI output.

ReMoDetect dominates non-English detection with weight 0.9038, followed by E5-Small (0.2421), Structural Analysis (0.2295), TMR (0.1802), SuperAnnotate (0.1783), Fast-DetectGPT (0.1581), ChatGPT Detector (0.1155), and Burstiness (0.1096), alongside the short_alpha = 81.9 * (1/words - 1/150) length offset under 150 words.

Support tier Rule Languages
Supported AUC ≥ 0.90 and ≥ 60% AI flagged English, German, Spanish, French, Italian, Japanese, Dutch, Polish, Portuguese, Russian
Experimental AUC ≥ 0.80 Arabic, Korean
Unsupported Always locked to low confidence Hindi (0.54 AUC), Chinese (0.76 AUC), Turkish (0.79 AUC)
Read the code: Exact implementation in app/calibration.py and weights in app/calibration.json. See where even this calibration still errs in our false-positive analysis.

Want to inspect a text across all 23 engines? Run a free check on the detector or read the code on GitHub.

Free and open source.

Star SlopTotal on GitHub 150