Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Metadata sdtypes should be used instead of inferred sdtypes #263

Merged
merged 6 commits into from
Mar 1, 2024

Conversation

lajohn4747
Copy link
Contributor

resolves #248

No longer default to inferred type. Rely on metadata unless it isn't specified or the sdtype is not supported.

Add a test to confirm it works as intended.

@lajohn4747 lajohn4747 requested a review from a team as a code owner February 23, 2024 19:52
@lajohn4747 lajohn4747 removed the request for review from a team February 23, 2024 19:52
@codecov-commenter
Copy link

codecov-commenter commented Feb 26, 2024

Codecov Report

Attention: Patch coverage is 91.66667% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 49.39%. Comparing base (581e1e7) to head (cd2a650).

Files Patch % Lines
sdgym/synthesizers/uniform.py 91.66% 1 Missing ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #263      +/-   ##
==========================================
+ Coverage   48.00%   49.39%   +1.39%     
==========================================
  Files          19       19              
  Lines        1154     1166      +12     
==========================================
+ Hits          554      576      +22     
+ Misses        600      590      -10     

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

sdgym/synthesizers/uniform.py Outdated Show resolved Hide resolved
sdgym/synthesizers/uniform.py Outdated Show resolved Hide resolved
@lajohn4747 lajohn4747 requested a review from frances-h February 26, 2024 17:42
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!

@lajohn4747 lajohn4747 merged commit 1d55575 into main Mar 1, 2024
45 checks passed
@lajohn4747 lajohn4747 deleted the issue_248_metadata_sdtypes branch March 1, 2024 17:38
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.

The UniformSynthesizer should follow the sdtypes in metadata (not the data's dtypes)
4 participants