You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 18, 2023. It is now read-only.
Expected Behavior
If model is untagged and evidence requirement specifies no tags, model should satisfy requirements.
Actual Behavior
Governance._unique_tags is an empty list by default. When a model with no tags is checked against requirements, the fact that there is no empty dictionary in the empty list causes the requirement to be marked as non-matching.
Unique tags default set here: https://github.com/credo-ai/credoai_connect/blob/develop/connect/governance/governance.py#L74
Comparison on this line https://github.com/credo-ai/credoai_lens/blob/develop/credoai/lens/lens.py#L456
Example output here:
Steps to Reproduce the Problem
Solution Options
unique_tags
to be[{}]
or similarmodel.tags
orself.gov.unique_tags
is non-empty. If both are empty, we shouldn't have an error.The text was updated successfully, but these errors were encountered: