-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomerspriority:highShould be addressed as soon as possible (next release)Should be addressed as soon as possible (next release)
Description
The attribute completeness indicator gives to high numbers for certain topic / attribute combinations.
I think this is due an incorrect concatenation of topic filter and attribute filter. Also the topic filter needs to be wrapped in brackets.
wrong topic filter + attribute filter:
- (power=line) or (power=minor_line) and geometry:line and (voltage=*)
correct topic filter + attribute filter:
- ( (power=line) or (power=minor_line) and geometry:line ) and (voltage=*)
This should be fixed in
def build_attribute_filter(attribute_key: List[str] | str, topic_key: str) -> str: |
Example:

When querying separately then it becomes clear that the value should be around 75% instead.

Ly0nLy0n
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomerspriority:highShould be addressed as soon as possible (next release)Should be addressed as soon as possible (next release)