Skip to content

Conversation

frances-h
Copy link
Contributor

Resolve #676
CU-86b2ypdtp

@sdv-team
Copy link
Contributor

sdv-team commented Dec 4, 2024

Copy link

codecov bot commented Dec 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.39%. Comparing base (dafd198) to head (285cd08).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #686      +/-   ##
==========================================
+ Coverage   94.29%   94.39%   +0.10%     
==========================================
  Files         106      106              
  Lines        4031     4103      +72     
==========================================
+ Hits         3801     3873      +72     
  Misses        230      230              
Flag Coverage Δ
integration 78.35% <92.85%> (+0.23%) ⬆️
unit 81.72% <100.00%> (+1.51%) ⬆️

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.

@frances-h frances-h force-pushed the issue-675-DisclosureProtection branch from fef7932 to 6d21816 Compare December 4, 2024 20:13
@frances-h frances-h force-pushed the issue-676-DisclosureProtectionEstimate branch 2 times, most recently from 42cd6d3 to 5a624e6 Compare December 5, 2024 16:16
@frances-h frances-h force-pushed the issue-675-DisclosureProtection branch from 7a067fd to 0918f8c Compare December 5, 2024 17:24
Base automatically changed from issue-675-DisclosureProtection to main December 6, 2024 14:29
@frances-h frances-h force-pushed the issue-676-DisclosureProtectionEstimate branch from 5a624e6 to f4a47e2 Compare December 6, 2024 15:04
@frances-h frances-h marked this pull request as ready for review December 6, 2024 15:04
@frances-h frances-h requested a review from a team as a code owner December 6, 2024 15:04
@frances-h frances-h requested review from amontanez24 and pvk-developer and removed request for a team December 6, 2024 15:04
Comment on lines +354 to +355
real_data_samp = real_data.sample(min(num_rows_subsample, len(real_data)))
synth_data_samp = synthetic_data.sample(min(num_rows_subsample, len(synthetic_data)))
Copy link
Contributor

Choose a reason for hiding this comment

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

what happens if the length of these two arrays differ because one has less than the number of rows to subsample and the other doesn't? Does that matter?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

For the underlying CAG metric it doesn't matter, since the metric doesn't need the real/synthetic data to be equally sized.

Copy link
Contributor

@amontanez24 amontanez24 left a comment

Choose a reason for hiding this comment

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

LGTM!

@frances-h frances-h force-pushed the issue-676-DisclosureProtectionEstimate branch from f4a47e2 to 285cd08 Compare December 10, 2024 00:03
@frances-h frances-h merged commit 0bf95d9 into main Dec 10, 2024
47 checks passed
@frances-h frances-h deleted the issue-676-DisclosureProtectionEstimate branch December 10, 2024 15:33
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.

Add DisclosureProtectionEstimate metric
4 participants