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

feat: s2s auto metadata #777

Merged
merged 7 commits into from
Oct 18, 2023
Merged

feat: s2s auto metadata #777

merged 7 commits into from
Oct 18, 2023

Conversation

@shortcut-integration
Copy link

This pull request has been linked to Shortcut Story #8226: [DQ] Auto support for logging metadata.

@codecov-commenter
Copy link

codecov-commenter commented Oct 17, 2023

Codecov Report

Merging #777 (9b90df4) into main (b335d1d) will decrease coverage by 0.01%.
The diff coverage is 87.50%.

❗ Current head 9b90df4 differs from pull request most recent head 0e235d2. Consider uploading reports for the commit 0e235d2 to get more accurate results

@@            Coverage Diff             @@
##             main     #777      +/-   ##
==========================================
- Coverage   87.69%   87.69%   -0.01%     
==========================================
  Files         184      184              
  Lines       15089    15104      +15     
==========================================
+ Hits        13232    13245      +13     
- Misses       1857     1859       +2     
Files Coverage Δ
dataquality/dq_auto/text_classification.py 98.48% <100.00%> (-0.03%) ⬇️
dataquality/integrations/setfit.py 84.76% <100.00%> (ø)
dataquality/loggers/data_logger/seq2seq.py 70.71% <ø> (ø)
dataquality/utils/auto.py 92.07% <100.00%> (+0.50%) ⬆️
dataquality/utils/setfit.py 81.65% <100.00%> (-0.25%) ⬇️
dataquality/integrations/seq2seq/auto.py 0.00% <0.00%> (ø)

... and 8 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@elboy3 elboy3 marked this pull request as ready for review October 17, 2023 22:11
@elboy3 elboy3 requested review from dcaustin33 and a team as code owners October 17, 2023 22:11
Copy link
Member

@setu4993 setu4993 left a comment

Choose a reason for hiding this comment

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

Would be nice to add a couple tests for this.

C.split_.value: [self.split] * len(self.ids),
C.token_label_positions.value: pa.array(self.token_label_positions),
C.token_label_offsets.value: pa.array(self.token_label_offsets),
**self.meta,
Copy link
Member

Choose a reason for hiding this comment

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

Just for my understanding: This could have been as a part of the previous way it was done, too, right? Or is there something special / specific here for which it needs to be different?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ahh yes it can, i'll fix. i broke it into 2 separate cause i had a breakpoint in there, but will revert

Copy link
Member

Choose a reason for hiding this comment

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

No worries, this is fine, I was just asking because it was a larger diff than it should've been :).

@elboy3 elboy3 merged commit 672c905 into main Oct 18, 2023
@elboy3 elboy3 deleted the feat/s2s-auto-metadata branch October 18, 2023 14:57
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.

3 participants