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

1.0 release #61

Merged
merged 13 commits into from
Mar 3, 2025
Merged

1.0 release #61

merged 13 commits into from
Mar 3, 2025

Conversation

cgarling
Copy link
Owner

@cgarling cgarling commented Mar 3, 2025

This PR removes the old AMR API (e.g., fit_templates_mdf, calculate_coeffs_mdf and so on) which has been superceded (see #56, #58). It should also fix our threading implementations (#60). This version will be the reference for the code version the paper results were produced with.

Some smaller changes are listed below

  • mcmc_sample : argument nwalkers has been removed
  • TaskLocalValues is being used for task-local buffers
  • examples have been updated to follow new APIs
  • some tests were moved out of runtests.jl and into separate files to be included with SafeTestsets.jl

This used the unsafe `[Threads.threadid()]` indexing pattern
Also add one test to make sure call works and shape of return object is correct
Also move `hmc_sample` tests
Moved `construct_x0_mdf` to new file
Think I fixed what ambiguities there were
Removes the old AMR API. This version (1.0) will be the reference for the code version used in the paper.
@codecov-commenter
Copy link

codecov-commenter commented Mar 3, 2025

Codecov Report

Attention: Patch coverage is 84.88372% with 13 lines in your changes missing coverage. Please review.

Project coverage is 87.17%. Comparing base (6302b84) to head (54d84e1).

Files with missing lines Patch % Lines
src/fitting/mcmc_sample_distance.jl 0.00% 8 Missing ⚠️
src/fitting/mcmc_sample.jl 85.00% 3 Missing ⚠️
src/fitting/hmc_sample.jl 90.00% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             main      #61       +/-   ##
===========================================
+ Coverage   69.92%   87.17%   +17.25%     
===========================================
  Files          25       21        -4     
  Lines        2128     1677      -451     
===========================================
- Hits         1488     1462       -26     
+ Misses        640      215      -425     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@cgarling cgarling merged commit 6aecaba into main Mar 3, 2025
8 checks passed
@cgarling cgarling deleted the onepointoh branch March 3, 2025 22:06
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