Open fsaad opened 7 years ago
Updating the schema of bayesdb_cgpm_category
https://github.com/probcomp/bayeslite/blob/master/src/metamodels/cgpm_metamodel.py#L58-L65
to use value TEXT COLLATE NOCASE NOT NULL
will likely solve the issue.
git blame
shows that @riastradh-probcomp is author of the schema, perhaps he can weigh in as to why the NOCASE COLLATE
was not used, and similarly for the categorical code map for crosscat.py
in
https://github.com/probcomp/bayeslite/blob/master/src/metamodels/crosscat.py#L78-L87.
Consider using lower case
meo
, which is being converted tonull
and hence probability 1:versus using upper case
MEO
, which is being converted to the correct small integer code