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

fix erroranalysis erroring on serialization with numpy int64 feature names #1537

Merged
merged 1 commit into from
Jul 6, 2022

Conversation

imatiach-msft
Copy link
Contributor

@imatiach-msft imatiach-msft commented Jul 6, 2022

Description

During benchmarking, we discovered that datasets which had indexes for feature names - specifically numpy int64 values - would cause erroranalysis ErrorReports to fail to serialize.

Checklist

  • I have added screenshots above for all UI changes.
  • I have added e2e tests for all UI changes.
  • Documentation was updated if it was needed.

@imatiach-msft imatiach-msft requested a review from gaugup as a code owner July 6, 2022 19:16
@imatiach-msft imatiach-msft force-pushed the ilmat/fix-ea-int64-feat-names branch 2 times, most recently from 431affb to df55da2 Compare July 6, 2022 19:48
@codecov-commenter
Copy link

codecov-commenter commented Jul 6, 2022

Codecov Report

Merging #1537 (df55da2) into main (05945f8) will increase coverage by 0.07%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #1537      +/-   ##
==========================================
+ Coverage   87.34%   87.41%   +0.07%     
==========================================
  Files         108      108              
  Lines        5103     5101       -2     
==========================================
+ Hits         4457     4459       +2     
+ Misses        646      642       -4     
Flag Coverage Δ
unittests 87.41% <100.00%> (+0.07%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...is/erroranalysis/_internal/surrogate_error_tree.py 86.91% <100.00%> (ø)
erroranalysis/erroranalysis/report/error_report.py 94.04% <100.00%> (+4.51%) ⬆️
erroranalysis/erroranalysis/version.py 100.00% <100.00%> (ø)

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 05945f8...df55da2. Read the comment docs.

2 similar comments
@imatiach-msft imatiach-msft merged commit 9e0693b into main Jul 6, 2022
@imatiach-msft imatiach-msft deleted the ilmat/fix-ea-int64-feat-names branch July 6, 2022 22:32
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