Skip to content

Conversation

fealho
Copy link
Member

@fealho fealho commented Aug 28, 2025

CU-86b68xxqa, Resolve #2648

@sdv-team
Copy link
Contributor

Copy link

codecov bot commented Aug 28, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.14%. Comparing base (2066086) to head (ed8383a).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2659      +/-   ##
==========================================
+ Coverage   98.13%   98.14%   +0.01%     
==========================================
  Files          70       70              
  Lines        7487     7490       +3     
==========================================
+ Hits         7347     7351       +4     
+ Misses        140      139       -1     
Flag Coverage Δ
integration 76.26% <100.00%> (+0.02%) ⬆️
unit 96.90% <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.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@fealho fealho marked this pull request as ready for review August 29, 2025 14:06
@fealho fealho requested a review from a team as a code owner August 29, 2025 14:06
@fealho fealho requested review from gsheni and removed request for a team August 29, 2025 14:06
@fealho fealho requested review from frances-h and amontanez24 and removed request for gsheni August 29, 2025 14:07
Comment on lines +287 to +290
if numerical_distributions:
existing = getattr(synthesizer, 'numerical_distributions', {}) or {}
merged = {**existing, **numerical_distributions}
synthesizer._set_numerical_distributions(merged)
Copy link
Contributor

Choose a reason for hiding this comment

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

doesn't this function only apply to the child table parameter columns?

Copy link
Member Author

Choose a reason for hiding this comment

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

That is what we want. The issue is that _set_numerical_distributions overwrites the existing numerical_distributions attribute, so the existing distributions the user chose get erased.

@fealho fealho requested a review from amontanez24 September 2, 2025 15:07
@fealho fealho merged commit 0b05343 into main Sep 3, 2025
47 checks passed
@fealho fealho deleted the issue-2648-hma-numerical-distributions branch September 3, 2025 14:25
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.

"numerical_distributions" in HMASynthesizer get ignored
4 participants