Skip to content

Conversation

@albertomercurio
Copy link
Owner

Fixes #6

@github-actions
Copy link

🤖 Hi @albertomercurio, I've received your request, and I'm working on it now! You can track my progress in the logs for more details.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

📋 Review Summary

This pull request introduces a significant and valuable refactoring by centralizing sparse matrix format conversions into a dedicated conversions.jl file. The addition of comprehensive display functionalities for sparse matrices and the inclusion of extensive tests for the new conversion logic, including edge cases, are excellent improvements.

🔍 General Feedback

  • The code is well-structured, and the separation of concerns with the new conversions file improves maintainability.
  • The defensive copying of input arrays in the constructors is a good practice that enhances robustness.
  • One minor point of feedback is the removal of docstrings for the + operator in src/core.jl. Restoring this documentation would be beneficial for users of the library.

Overall, this is a high-quality contribution that significantly improves the library's functionality and structure.

@codecov
Copy link

codecov bot commented Nov 16, 2025

Codecov Report

❌ Patch coverage is 89.23077% with 7 lines in your changes missing coverage. Please review.
✅ Project coverage is 82.64%. Comparing base (9bb1350) to head (47f613f).
⚠️ Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
src/core.jl 58.33% 5 Missing ⚠️
src/conversions/conversions.jl 95.55% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #26      +/-   ##
==========================================
- Coverage   84.34%   82.64%   -1.70%     
==========================================
  Files          13       14       +1     
  Lines         728      801      +73     
==========================================
+ Hits          614      662      +48     
- Misses        114      139      +25     

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

- Introduced JLArrays as a weak dependency in Project.toml.
- Enabled benchmark conversions for JLArray in runbenchmarks.jl.
- Added helper functions for sorting and cumulative sum using AcceleratedKernels in helpers.jl.
- Updated conversion tests to include JLArray support in shared test conversions.
- Created DeviceSparseArraysJLArraysExt.jl for JLArray specific operations.
@albertomercurio albertomercurio merged commit 59526b2 into main Nov 16, 2025
17 of 18 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.

Display issues

2 participants