xkcd-Bucket icon indicating copy to clipboard operation
xkcd-Bucket copied to clipboard

Insufficient alias flattening while teaching

Open dgw opened this issue 6 years ago • 0 comments

Only one level of aliases is removed when learning. Teaching to a chain of aliases can end up adding the new factoid to an alias still.

For example, say the database contains these aliases: 'foo' <alias> 'bar' 'bar' <alias> 'baz'

Teaching "Bucket, foo is spam eggs": 'bar' is 'spam eggs' added to database.

This doesn't seem right. Aliases shouldn't have other factoids. It can lead to e.g. #45.

dgw avatar Dec 29 '19 07:12 dgw