SShortSingh.
Back to feed

Sample Ratio Mismatch Undermines A/B Test Results Before Statistical Significance Is Checked

0
·6 views

A team nearly rolled out a flawed architecture change after a dashboard showed a 4.8% conversion lift with a significant p-value. An audit of raw assignment counts revealed the traffic split was 50.58% to 49.42% instead of the intended 50/50. A chi-square test flagged this as a Sample Ratio Mismatch with p = 0.000244, meaning the experiment was compromised. Investigators traced the missing treatment traffic to bot-filtering rules, timeouts on flaky mobile connections, and client crashes, which introduced selection bias. The article argues that checking conversion p-values before validating sample ratios is a fundamental error, and it notes that low statistical power is a second common obstacle in experiments.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Browser-Only Tool Generates OSHA LOTO Placards Without Uploading Machine Photos

A developer has built LotoCard, a tool that creates machine-specific Lockout/Tagout placards entirely within the user's web browser. Because plant photos can reveal proprietary equipment and layouts, all images and callout data stay local and are saved in a portable .lotocard.json file. Energy-isolation pins are stored as relative coordinates so they stay aligned across screen previews and printed 8.5x11 and 11x17 PDFs. Rather than certifying legal compliance, the tool checks that required OSHA 1910.147 procedural elements are documented and flags any missing steps before printing. The developer also offers a free viewer with presets for 16 common industrial machines.

0
ProgrammingDEV Community ·

Key questions to settle before hiring a website developer

A website project can fail even when the code is sound, usually because ownership, scope and post-launch arrangements were never agreed. A freelance developer advises clients to get written answers before paying, covering who owns the domain, hosting account and code. Clients should also clarify what is included, who supplies content such as text and photos, and how changes and support are charged. The guidance stresses checking for licensed rather than owned assets and understanding the difference between bug fixes and new changes. Finally, it recommends asking who handles updates, backups and renewals, and verifying the developer's approach to site speed.

0
ProgrammingDEV Community ·

Linux Tips for Cybersecurity Beginners: Terminal Habits and Practice Skills

A free Linux masterclass, the final episode of its series, outlines practical guidance for beginners in cybersecurity. It focuses on the terminal habits that distinguish active learners from passive ones, including shortcuts and privilege checks. The episode argues that regular hands-on drills in a safe environment build the speed and precision needed for real-world work. The comparison likens this practice to flight simulator training for pilots. The article is written for those pursuing careers in security or penetration testing.

0
ProgrammingDEV Community ·

3dbrowser Streams a 2.9GB, 186M-Triangle BIM Model in a Browser Tab

An open-source project called 3dbrowser, released under the GPL-3.0 license, aims to render very large industrial and BIM assemblies in the browser without exhausting memory. Its developer built it on React 19, Three.js, TypeScript and WebAssembly, using a custom NBIM v11 container and octree chunk streaming so the first frame appears in about 3 to 4.5 seconds. The tool merges components with Three.js BatchedMesh to reduce draw calls and resolves property data only when a component is selected. In a test, a 2.9 GB file with 231,353 components and 186 million triangles loaded in one tab while keeping the JavaScript heap under about 3 GB. Raw multi-GB IFC or STEP files still require conversion to NBIM v11 first, because client-side WASM memory limits direct loading.