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
Please indicate the following details about the environment in which you found the bug:
SDMetrics version: 0.11.1 (latest)
Python version: 3.10
Operating System: Linux (Colab Notebook)
Error Description
When any metric or property in the report can't be easily computed, I expect the report to be fault tolerant: The report should skip over the metric/property (recording a NaN for the score). This will allow me to still see the other metrics/properties that can be computed. So overall, the report should not crash.
In practice, I see that the report crashes in a specific case: If there is no 'relationships' section in the metadata.
Note that multi-table metadata without any 'relationships' is invalid from the SDV perspective. However, SDMetrics should still be able to handle it in a fault-tolerant way.
The properties that rely on relationships (such as Cardinality or the new Intertable Trends) should be recorded as NaN instead of causing the report to crash. The tqdm progress bar can progress to 100%.
Environment Details
Please indicate the following details about the environment in which you found the bug:
Error Description
When any metric or property in the report can't be easily computed, I expect the report to be fault tolerant: The report should skip over the metric/property (recording a NaN for the score). This will allow me to still see the other metrics/properties that can be computed. So overall, the report should not crash.
In practice, I see that the report crashes in a specific case: If there is no
'relationships'
section in the metadata.Note that multi-table metadata without any 'relationships' is invalid from the SDV perspective. However, SDMetrics should still be able to handle it in a fault-tolerant way.
Steps to reproduce
Output:
See stack trace below.
stack_trace.txt
Expected
The properties that rely on relationships (such as
Cardinality
or the newIntertable Trends
) should be recorded as NaN instead of causing the report to crash. The tqdm progress bar can progress to 100%.The text was updated successfully, but these errors were encountered: