kind-airplane-15946
08/01/2022, 4:24 PM''
, then it is filtered out from the experiment, and the callback function doesn't run, and the feature value is the default one. Expected behavior.
• A null value, None
, then it is NOT filtered out from the experiment, the callback function runs, and the feature value is assigned based on the hashing function and splitting logic. I find it kind of unexpected behaviour, as I would expect the same behavior as if it was an empty string
WDYT?future-teacher-7046
kind-airplane-15946
08/01/2022, 5:36 PMNone
value and makes it 'None'
It seems like a bug isn't it? So the expected behavior would be casting the None
to an empty string, isn't it?
This way, the empty string, and the null value will behave the same wayfuture-teacher-7046
str(self._attributes[attr] or "")
I can fix this and add an automated test case for it todaykind-airplane-15946
08/01/2022, 7:24 PMfuture-teacher-7046
kind-airplane-15946
08/02/2022, 7:33 AMfuture-teacher-7046
kind-airplane-15946
08/04/2022, 6:41 AM