Skip to content
#small language model Open access

How Much Junk Do Rules Catch? Evaluating and Tuning pygarble, a Dependency-Free Gibberish Screener, on Survey Responses and Social-Media Text

Oct 2026 · Zenodo (CERN European Organization for Nuclear Research)
Spam and Phishing Detection

Abstract

Text that reaches a language model, a survey database or a training corpus is not always text. Keyboard mashing, random strings and placeholder answers are common, and the usual detectors for them are either trained classifiers with model downloads or hand-written rules that are rarely measured. pygarble is a Python library with no runtime dependencies that screens text with 32 rule-based and statistical strategies combined into named profiles. We evaluate it on two public English short-text datasets, a Kaggle collection of 3,513 free-text survey responses labelled as junk and a Hugging Face collection of 9,971 English rows that pairs 4,000 random strings with 5,971 tweets, against a character Markov-chain gibberish detector and a language identifier, every method at its own default decision. Out of the box, the english_fusion profile captures 89.5% of the survey junk and recalls 99.1% of the random strings at a precision of 0.906, from a 1.05 MB install that processes a thousand short texts in 62.0 ms; no baseline captures more survey junk while also flagging fewer tweets. A small labelled sample shifts the trade-off: a weight for every strategy and a threshold learned with Optuna from 20% of the rows, in about 17 seconds of search, cuts the false-positive rate on tweets from 6.9% to 4.9% and raises precision from 0.906 to 0.930 on the held-out 80%, with capture about level (89.7% against 89.6%) and recall lower (97.6% against 99.1%; means over five draws). The learned weights are interpretable at the extremes: word lookup gets full weight in every draw, and the two encoding checks, which fire on tweets this dataset labels clean, get almost none. A dependency-free rule ensemble is therefore competitive on real junk as shipped and adapts to a domain in seconds, with every decision explainable strategy by strategy. Code, per-row predictions and a verification script are released so that every number can be recomputed.

View source

Similar papers

#small language model Dataset Open access Oct 2026

Socratic guiding questions in synthetic arithmetic data: matched LoRA runs (revision v2)

Supporting data, adapters, predictions and code for the article *Low-Cost LoRA Fine-Tuning of Small Language Models for Multi-Step Arithmetic Reasoning* by Jake O'Grady, Asena Isik Gürhan, Chee Fong Ting and Effirul Ramlan (University of Galway). We generated 20,000 GSM8K-derived arithmetic problems with step-by-step s...

O'Grady, Jake, Gürhan, Asena Isik, Chee, Fong Ting et al. · 465 citations
#computer vision Open access Jun 2016

Software Development in Startup Companies: The Greenfield Startup Model

The results are packaged in the Greenfield Startup Model (GSM), which explains the priority of startups to release the product as quickly as possible, and the need to shorten time-to-market, by speeding up the development through low-precision engineering activities.

Carmine Giardino, Nicolò Paternoster, M. Unterkalmsteiner et al. · 178 citations · ⚡14
#computer vision Open access Oct 2016

Software Startups - A Research Agenda

Software startup companies develop innovative, software-intensive products within limited timeframes and with few resources, searching for sustainable and scalable business models.

M. Unterkalmsteiner, P. Abrahamsson, Xiaofeng Wang et al. · 157 citations · ⚡17
#machine learning Review Open access Oct 2016

“Failures” to be celebrated: an analysis of major pivots of software startups

This study conducts a case survey study based on the secondary data of the major pivots happened in 49 software startups, and demonstrates that customer need pivot is the most common among all pivot types.

Sohaib Shahid Bajwa, Xiaofeng Wang, Anh Nguyen-Duc et al. · 127 citations · ⚡15
#computer vision Review Open access May 2015

A survey study on major technical barriers affecting the decision to adopt cloud services

The comparison of adopter and non-adopter sample reveals three potential adoption inhibitor, security, data privacy, and portability, which underlines the importance of the technical and security perspectives for research investigating the adoption of technology.

Nattakarn Phaphoom, Xiaofeng Wang, S. Samuel et al. · 111 citations · ⚡8
#computer vision Open access Feb 2018

Lean Internal Startups for Software Product Innovation in Large Companies: Enablers and Inhibitors

This study investigates how Lean internal startup facilitates software product innovation in large companies and identifies its enablers and inhibitors, and shows the potential of the method-in-action framework to investigate the Lean startup approach in non-startup context.

Henry Edison, Nina M. Smørsgård, Xiaofeng Wang et al. · 78 citations · ⚡6

Related blog posts

MIT News · Artificial Intelligence Oct 15, 2026

AI model decodes the language cells use to communicate

A new computational approach reveals how cells communicate to assemble into tissues. This could accelerate stem cell engineering, improve disease models, and inform therapies.

Microsoft Research Blog Oct 15, 2026

Proof-based general-purpose computing with Magnetar

Zero-knowledge proofs can verify computing results without rerunning workloads or exposing sensitive data. Magnetar helps bring them into the mainstream with support for standard programming languages, major speed gains, and quantum-resistant security. The post Proof-based general-purpose computing with Magnetar appeared first on Microsoft Research.

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.