Skip to content

Ct and changes to differentiation#518

Merged
pat-alt merged 81 commits intomainfrom
ct-and-changes-to-differentiation
Feb 14, 2026
Merged

Ct and changes to differentiation#518
pat-alt merged 81 commits intomainfrom
ct-and-changes-to-differentiation

Conversation

@pat-alt
Copy link
Member

@pat-alt pat-alt commented Feb 3, 2026

Additions

closes #515 #371 #499 #500 #501 #513

@codecov
Copy link

codecov bot commented Feb 13, 2026

Codecov Report

❌ Patch coverage is 93.04813% with 26 lines in your changes missing coverage. Please review.
✅ Project coverage is 91.08%. Comparing base (eab93a0) to head (0e76044).
⚠️ Report is 82 commits behind head on main.

Files with missing lines Patch % Lines
src/data_preprocessing/data_contraints.jl 66.66% 7 Missing ⚠️
src/generators/gradient_based/loss.jl 91.89% 3 Missing ⚠️
src/counterfactuals/flatten.jl 0.00% 2 Missing ⚠️
src/counterfactuals/search.jl 90.00% 2 Missing ⚠️
src/generators/optimizers/JSMADescent.jl 92.30% 2 Missing ⚠️
src/global_utils.jl 50.00% 2 Missing ⚠️
src/objectives/traits.jl 95.23% 2 Missing ⚠️
src/counterfactuals/encodings.jl 50.00% 1 Missing ⚠️
src/evaluation/benchmark.jl 87.50% 1 Missing ⚠️
src/evaluation/divergence/mmd.jl 80.00% 1 Missing ⚠️
... and 3 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #518      +/-   ##
==========================================
- Coverage   91.83%   91.08%   -0.76%     
==========================================
  Files          94       92       -2     
  Lines        2095     2265     +170     
==========================================
+ Hits         1924     2063     +139     
- Misses        171      202      +31     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@pat-alt pat-alt merged commit 1dfcfa2 into main Feb 14, 2026
6 of 9 checks passed
ϕ = Distributions.cdf(Distributions.Normal(0, 1), z[1])

# Compute gradient:
grad = DI.gradient(f, get_global_ad_backend(), ce_state)
Copy link

Choose a reason for hiding this comment

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

Note that if you want to try Mooncake, you probably need to leverage DI's preparation mechanism at some point

Copy link
Member Author

Choose a reason for hiding this comment

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

Ah yeh thanks, had added that in other places but not here

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