Skip to content

Conversation

R-Palazzo
Copy link
Contributor

CU-86b3w6r0k
Resolve #718

@R-Palazzo R-Palazzo self-assigned this Feb 12, 2025
@R-Palazzo R-Palazzo requested a review from a team as a code owner February 12, 2025 15:57
@sdv-team
Copy link
Contributor

@R-Palazzo R-Palazzo removed the request for review from a team February 12, 2025 15:57
Copy link

codecov bot commented Feb 12, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.09%. Comparing base (0602ab6) to head (e5b71c6).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #723   +/-   ##
=======================================
  Coverage   95.09%   95.09%           
=======================================
  Files         111      111           
  Lines        4299     4303    +4     
=======================================
+ Hits         4088     4092    +4     
  Misses        211      211           
Flag Coverage Δ
integration 79.20% <100.00%> (+0.04%) ⬆️
unit 82.54% <100.00%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Base automatically changed from issue-716-num_rows_subsample to main February 12, 2025 16:06
@R-Palazzo R-Palazzo force-pushed the issue-718-speed-up-quality-reports branch from e69e080 to 8990f35 Compare February 12, 2025 16:10
@R-Palazzo R-Palazzo requested a review from frances-h February 12, 2025 16:12
Copy link
Contributor

@frances-h frances-h left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If it doesn't slow down the integration tests too much, could we add an integration test with a large dataset for multitable as well?

Comment on lines 189 to 195
metric_parameters = {}
if (metric == ContingencySimilarity) and (
max(len(data_real), len(data_synthetic)) > DEFAULT_NUM_ROWS_SUBSAMPLE
):
metric_parameters['num_rows_subsample'] = DEFAULT_NUM_ROWS_SUBSAMPLE

return data_real, data_synthetic, metric, metric_parameters
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not just do this in the calling method (_generate_details) instead of adding another return value to this method?

@R-Palazzo R-Palazzo merged commit 7261608 into main Feb 13, 2025
47 checks passed
@R-Palazzo R-Palazzo deleted the issue-718-speed-up-quality-reports branch February 13, 2025 17:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Speed up calculation of the QualityReport
4 participants