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

Adding key ctor field in all RawFeatureFilter results #348

Merged
merged 4 commits into from
Jul 2, 2019
Merged

Conversation

michaelweilsalesforce
Copy link
Contributor

@michaelweilsalesforce michaelweilsalesforce commented Jun 28, 2019

Related issues
FeatureDistribution contains the field key which is the map key associated with distribution (when the feature is a map). But why not having the same field in RawFeatureFilterMetrics and ExclusionReasons?

Describe the proposed solution
Adding the same field in RawFeatureFilterMetrics and ExclusionReasons

Describe alternatives you've considered

Additional context

@codecov
Copy link

codecov bot commented Jun 28, 2019

Codecov Report

Merging #348 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff            @@
##           master     #348    +/-   ##
========================================
  Coverage   86.65%   86.65%            
========================================
  Files         335      335            
  Lines       10763    10763            
  Branches      344      562   +218     
========================================
  Hits         9327     9327            
  Misses       1436     1436
Impacted Files Coverage Δ
...alesforce/op/filters/RawFeatureFilterResults.scala 100% <ø> (ø) ⬆️
...a/com/salesforce/op/filters/RawFeatureFilter.scala 92.93% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update afc910c...a8e7794. Read the comment docs.

Copy link
Contributor

@sanmitra sanmitra left a comment

Choose a reason for hiding this comment

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

  1. Please add key comparison in the comparison functions of RawFeatureFilterMetrics and ExclusionReasons in file RawFeatureFilterResultsComparison.scala.

  2. Please update the tests in RawFeatureFilterTest.scala to include key.

@michaelweilsalesforce michaelweilsalesforce changed the title WIP Adding key ctor field in all RawFeatureFilter results Adding key ctor field in all RawFeatureFilter results Jul 1, 2019
Copy link
Contributor

@sanmitra sanmitra left a comment

Choose a reason for hiding this comment

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

LGTM.

Copy link
Collaborator

@tovbinm tovbinm left a comment

Choose a reason for hiding this comment

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

Lgtm, see minor comment

@tovbinm tovbinm merged commit 2d49809 into master Jul 2, 2019
@tovbinm tovbinm deleted the mw/keyNameRFF branch July 2, 2019 21:32
This was referenced Jul 10, 2019
@salesforce-cla
Copy link

Thanks for the contribution! It looks like @mweilsalesforce is an internal user so signing the CLA is not required. However, we need to confirm this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants