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

Add tests for Power Transformer #430

Merged

Conversation

veni-vidi-vici-dormivi
Copy link
Collaborator

No description provided.

@veni-vidi-vici-dormivi
Copy link
Collaborator Author

So these fail because the bounds and first guess are not good. Hopefully, after merging #429 and #427 in here, the tests pass. They do locally with the new bounds and fg.

@veni-vidi-vici-dormivi
Copy link
Collaborator Author

Hm why are we not getting a codecov report here?

@mathause
Copy link
Member

mathause commented May 6, 2024

Hm why are we not getting a codecov report here?

The log gives a hint: https://github.com/MESMER-group/mesmer/pull/430/checks#step:8:55

Can't say that I understand it, though 🤭. I thought codecov was moving away from tokens, but they seem to recommend it again. Let me check what xarray does... Also why only this PR and why consistently?

@mathause
Copy link
Member

mathause commented May 6, 2024

Ah I think it's here: https://docs.codecov.com/docs/codecov-uploader#supporting-token-less-uploads-for-forks-of-open-source-repos-using-codecov (the last paragraph)

Copy link
Member

@mathause mathause left a comment

Choose a reason for hiding this comment

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

I had a look from my smartphone...

Copy link

codecov bot commented May 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.79%. Comparing base (9b0b76b) to head (c21905f).
Report is 85 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #430      +/-   ##
==========================================
- Coverage   87.90%   86.79%   -1.12%     
==========================================
  Files          40       44       +4     
  Lines        1745     1954     +209     
==========================================
+ Hits         1534     1696     +162     
- Misses        211      258      +47     
Flag Coverage Δ
unittests 86.79% <ø> (-1.12%) ⬇️

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.

@veni-vidi-vici-dormivi
Copy link
Collaborator Author

Ah now also the Codecov report's here :)

@veni-vidi-vici-dormivi
Copy link
Collaborator Author

We could add another test, but it is not really code related but rather of scientific nature: transform skewed data and test if it is actually less skewed afterwards. What do you think @mathause ?

Copy link
Member

@mathause mathause left a comment

Choose a reason for hiding this comment

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

Ok I add some more suggestions after I understand it a bit better. However, this whole thing is a quite a mess (not your PR - the thing overall). I'll need another pass once we cleaned this up some more and we start to see through.

Copy link
Member

@mathause mathause left a comment

Choose a reason for hiding this comment

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

You ignored some two of my comments, which I think are still valid.

@veni-vidi-vici-dormivi
Copy link
Collaborator Author

You ignored two of my comments, which I think are still valid.

Sorry, hadn't pushed them yet.

@veni-vidi-vici-dormivi
Copy link
Collaborator Author

Okay this got messy but now it's ready to merge.

Copy link
Member

@mathause mathause left a comment

Choose a reason for hiding this comment

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

Nice! Thanks.

@veni-vidi-vici-dormivi veni-vidi-vici-dormivi merged commit 0ff1cc5 into MESMER-group:main May 24, 2024
9 checks passed
@veni-vidi-vici-dormivi veni-vidi-vici-dormivi deleted the pt_testing branch May 24, 2024 08:54
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.

2 participants