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 to cross correlation tests, trigger other fails. #73

Merged
merged 7 commits into from
Aug 8, 2022

Conversation

itrharrison
Copy link
Collaborator

We had somehow picked up a number of test failures. This fixes some to do with mis-specified yaml files and skips the tests for Xcorr, which need to be dealt with.

There are still a couple of now-failing tests.

  • Those involving the lensing likelihood (including multi likelihood tests) as this now fails to install properly

I will merge this set of test fixes, which will also trigger the other failing tests so we can see them. Then open Issues for the failing tests and we can work on them.

@itrharrison itrharrison added the bug Something isn't working label Jun 29, 2022
@itrharrison itrharrison self-assigned this Jun 29, 2022
@itrharrison
Copy link
Collaborator Author

There is now one tests (test_galaxykappa) which passes on my laptop, but fails on the github actions run (signficantly: a loglike of -49 rather than +88). I will look at this further.

@itrharrison
Copy link
Collaborator Author

Looking further, this seems to be to do with difference in how tracer n(z) are dealt with between pyccl 2.3.0 and 2.4.0, see: LSSTDESC/CCL#928

itrharrison added a commit that referenced this pull request Jun 29, 2022
#72)

* updated clusters likelihood and added loglike test

* updated survey q read functions to nbatta version

* codestyle

Tests for this feature pass, so merging even though others fail (see #73 )
@codecov-commenter
Copy link

codecov-commenter commented Aug 8, 2022

Codecov Report

Merging #73 (40b1e4c) into master (5351ca2) will increase coverage by 6.91%.
The diff coverage is 52.54%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #73      +/-   ##
==========================================
+ Coverage   67.34%   74.26%   +6.91%     
==========================================
  Files          29       29              
  Lines        1666     1690      +24     
==========================================
+ Hits         1122     1255     +133     
+ Misses        544      435     -109     
Impacted Files Coverage Δ
soliket/clusters/survey.py 53.22% <41.37%> (+37.00%) ⬆️
soliket/clusters/clusters.py 86.23% <60.71%> (+53.58%) ⬆️
soliket/mflike/theoryforge_MFLike.py 86.20% <100.00%> (ø)
soliket/xcorr/limber.py 10.52% <0.00%> (-89.48%) ⬇️
soliket/xcorr/xcorr.py 16.30% <0.00%> (-59.79%) ⬇️
soliket/utils.py 60.71% <0.00%> (-32.15%) ⬇️
soliket/gaussian.py 69.33% <0.00%> (-16.00%) ⬇️
soliket/lensing/lensing.py 95.06% <0.00%> (-2.47%) ⬇️
soliket/mflike/mflike.py 86.00% <0.00%> (-1.00%) ⬇️
soliket/poisson.py 82.60% <0.00%> (+26.08%) ⬆️
... and 5 more

@itrharrison itrharrison merged commit 1d91868 into master Aug 8, 2022
@itrharrison itrharrison deleted the bug-testfixes branch March 3, 2023 09:49
mgerbino pushed a commit that referenced this pull request Oct 4, 2023
#72)

* updated clusters likelihood and added loglike test

* updated survey q read functions to nbatta version

* codestyle

Tests for this feature pass, so merging even though others fail (see #73 )
mgerbino pushed a commit that referenced this pull request Oct 4, 2023
* fixed shearkappa test

* fixes to tests (some still fail, to be fixed separately)

* codestyle

* fix lensing test package path

* revert lensing test packages path

* marked lensing lhood tests as xfail, see #77
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants