mahir_data
easyNinja Van · experimentation

Users assigned to both variants

Ninja Van's experiment platform is supposed to assign each user to exactly one variant and keep them there. A bug in the assignment service means some users were bucketed twice, which contaminates the comparison.

From assignments, return the user_id of every user assigned to more than one distinct variant, ordered by user_id.

Schema

assignments
idSERIAL
user_idINT
variantTEXT
assigned_atTIMESTAMP

Example input

assignments