← All projectsGitHub
Machine learning on qualitative data

Should the hand-coded audit for a group gap be stratified by group?

research/qual-stratified

Should the hand-coded audit for a group gap be stratified by group? On 3,188 GoEmotions comments, it made no difference for a 36% group and a random audit gave intervals 1.7 times as wide for an 11% group at 100 items. Equal numbers per group matched the optimal split. Not an LLM; one corpus.

6 tests

What it found

On 3,188 real GoEmotions comments, with the group-wise prediction-powered gap estimator, the design of the hand-coded audit mattered a great deal for a rare group and not at all for a common one. For a short-vs-long split (36% of the corpus in the smaller group) a random audit, equal numbers per group and the variance-minimising split gave interval widths within 1–2% of each other at every size from 100 to 1,600 items. For a rare group (the longest 11% of comments, 352 items) a random audit gave intervals 1.7 times as wide at 100 items (0.75 against 0.44) and 1.2 times at 1,600, left 1–2% of 100-item draws with under 5 audited items in the group, and had worst-case 95% coverage of 0.91 at 100 items against 0.96 for stratified audits. The oracle optimal split (about 55% to the rare group) was indistinguishable from an even split. A z test on the gap bias had less power under random sampling for the rare group (a coder with a gap error was trusted in 25% of draws at 400 items, against 0% stratified). Coders are naive-Bayes classifiers with a moved cut-off and a word list, not LLMs; one corpus, one split, one seed.

A figure from its own output

Figure produced by research/qual-stratified: width_rare_group
qual-stratified/experiments/width_rare_group.svg, written by the project's own experiment code.

Paper, code and results

More in Machine learning on qualitative data

All 23 Machine learning on qualitative data projects →

Other research topics

Proper scoring & elicitation28Effort & peer prediction9Verification games & slashing19Detection & tolerances14Markets as routers13Prediction-market design9Paying contributors8Decentralised training systems23Digital twins & sim-to-real164LLM chip design loops40Robot manufacturing loops53Ambient AI assistant46Self-replicating manufacturing34Simulation-first design64Engineered clothing45Task-specific AI accelerators40Algorithmic chip-design loops42Open-source purpose-built robots44The software-engineering loop43Adversarial human imitation41Open-source residential construction41Autonomous multi-angle capture34Sensing, imaging and 3D31Energy supply and dense energy storage39Robot societies among people31Agentic co-design of low-cost robots27Laundry-hanging robots25Machine learning on qualitative data23Robots on the building site27Civilizations & group psychology1History & human sciences1

Produced with AI assistance (Claude). Results are from the code in this repository and are simulated or stylised unless the abstract says otherwise; nothing here implies affiliation with or endorsement by any lab, researcher or company cited. MIT licensed.