Closed vascosmota closed 1 year ago
A solution could be allowing to set a behaviour when items not present on the catalog are seen. Either ignore them (and do not count them for the coverage measure) or throw an exception when these items are present.
Why the code uses random.choices
for? Shouldn't just count existing input elements?
In the example bellow, the coverage measured exceeds 100%, which does not make sense.
This happens when items that are not listed on the catalog are recommended.