Skip to content

doc: add docstrings to the result anlysis methods for sparse matrix preparations#984

Merged
gdalle merged 2 commits intoJuliaDiff:mainfrom
franckgaga:main
Apr 1, 2026
Merged

doc: add docstrings to the result anlysis methods for sparse matrix preparations#984
gdalle merged 2 commits intoJuliaDiff:mainfrom
franckgaga:main

Conversation

@franckgaga
Copy link
Copy Markdown
Contributor

Closes #981

This PR add docstrings to the methods :

  1. SMC.sparsity_pattern(prep::DI.SparseJacobianPrep)
  2. SMC.column_colors(prep::DI.SparseJacobianPrep)
  3. SMC.column_groups(prep::DI.SparseJacobianPrep)
  4. SMC.row_colors(prep::DI.SparseJacobianPrep)
  5. SMC.row_groups(prep::DI.SparseJacobianPrep)
  6. SMC.ncolors(prep::DI.SparseJacobianPrep)
  7. SMC.sparsity_pattern(prep::DI.SparseHessianPrep)
  8. SMC.column_colors(prep::DI.SparseHessianPrep)
  9. SMC.column_groups(prep::DI.SparseHessianPrep)
  10. SMC.ncolors(prep::DI.SparseHessianPrep)

Having them documented send a signal that the methods can be safely used publicly.

@franckgaga franckgaga requested a review from gdalle as a code owner March 31, 2026 14:52
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 31, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.20%. Comparing base (1a1ff88) to head (5a04461).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #984   +/-   ##
=======================================
  Coverage   98.20%   98.20%           
=======================================
  Files         135      135           
  Lines        8000     8000           
=======================================
  Hits         7856     7856           
  Misses        144      144           
Flag Coverage Δ
DI 98.96% <ø> (ø)
DIT 96.22% <ø> (ø)

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.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@franckgaga
Copy link
Copy Markdown
Contributor Author

I do not understand the failing test related to Runic.jl formatting.

@franckgaga franckgaga closed this Mar 31, 2026
@franckgaga franckgaga reopened this Mar 31, 2026
@franckgaga
Copy link
Copy Markdown
Contributor Author

Oopsie, I clicked close by mistake. Now all the CI need to run again 🥲

Copy link
Copy Markdown
Member

@gdalle gdalle left a comment

Choose a reason for hiding this comment

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

thanks! I'll re-run the formatter and merge

@gdalle gdalle merged commit 9780927 into JuliaDiff:main Apr 1, 2026
65 of 67 checks passed
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.

Using ncolors(::SparseJacobianPrep) / ncolors(::SparseHessianPrep) publicly ?

2 participants