Skip to content

Fix incorrect code generated for Symbolics.build_function(Symbolics.derivative(mod(x), x)) #1123#1514

Open
savaliyabhargav wants to merge 8 commits into
JuliaSymbolics:masterfrom
savaliyabhargav:master
Open

Fix incorrect code generated for Symbolics.build_function(Symbolics.derivative(mod(x), x)) #1123#1514
savaliyabhargav wants to merge 8 commits into
JuliaSymbolics:masterfrom
savaliyabhargav:master

Conversation

@savaliyabhargav

Copy link
Copy Markdown

This PR adds a new rule for handling derivatives of the mod function and introduces corresponding test cases. Additionally, we integrate FiniteDiff for testing derivative values to ensure correctness. These changes aim to improve the accuracy and reliability of derivative calculations.

Comment thread Project.toml Outdated
@codecov-commenter

codecov-commenter commented Apr 1, 2025

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

Attention: Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.

Project coverage is 15.87%. Comparing base (9df148a) to head (65b40d8).
Report is 99 commits behind head on master.

Files with missing lines Patch % Lines
src/diff.jl 0.00% 2 Missing ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1514      +/-   ##
==========================================
+ Coverage    8.79%   15.87%   +7.08%     
==========================================
  Files          51       51              
  Lines        4924     5007      +83     
==========================================
+ Hits          433      795     +362     
+ Misses       4491     4212     -279     

☔ 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.

@AayushSabharwal

Copy link
Copy Markdown
Member

Test failures

@AayushSabharwal

Copy link
Copy Markdown
Member

Tests still fail

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