Skip to content

ndarray ops#12

Closed
0Mayank wants to merge 14 commits intomasterfrom
ndarray-ops
Closed

ndarray ops#12
0Mayank wants to merge 14 commits intomasterfrom
ndarray-ops

Conversation

@0Mayank
Copy link
Copy Markdown
Contributor

@0Mayank 0Mayank commented Mar 18, 2026

  • feat: base paste impls
  • feat: implemented channel, color and image pasters
  • chore: cleanup warnings and expose prelude
  • chore: refactor
  • feat: Added opts struct for all pasters to unify opt logic
  • feat: move prelude to lib, change all modules to public
  • chore: change paster module names
  • chore: expose wide
  • feat: round instead of float
  • feat: change other mask to subject mask
  • feat: invert alpha to keep it consistent with earlier behaviour
  • feat: change default mask to 0.
  • fix: alpha not working as intended with subject mask
  • feat: add absolute pos option, paste bbox and docs

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 18, 2026

Codecov Report

❌ Patch coverage is 85.77406% with 102 lines in your changes missing coverage. Please review.
✅ Project coverage is 70.20%. Comparing base (1e26059) to head (6b38ae5).

Files with missing lines Patch % Lines
ndarray-ops/src/paste.rs 82.22% 40 Missing ⚠️
ndarray-ops/src/paste/channel.rs 84.21% 24 Missing ⚠️
ndarray-ops/src/paste/image.rs 87.12% 17 Missing ⚠️
ndarray-ops/src/paste/color.rs 90.54% 14 Missing ⚠️
ndarray-ops/src/lib.rs 81.08% 7 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master      #12      +/-   ##
==========================================
+ Coverage   66.91%   70.20%   +3.28%     
==========================================
  Files          27       33       +6     
  Lines        3854     4571     +717     
==========================================
+ Hits         2579     3209     +630     
- Misses       1275     1362      +87     
Flag Coverage Δ
unittests 70.20% <85.77%> (+3.28%) ⬆️

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.

@0Mayank 0Mayank requested review from CeNiEi and uttarayan21 March 18, 2026 13:17
@uttarayan21
Copy link
Copy Markdown
Member

Actually I'm not sure if it makes sense to put this here instead of a different repo. This might be a lot more volatile than the other stuff.

@0Mayank
Copy link
Copy Markdown
Contributor Author

0Mayank commented Mar 23, 2026

Agreed, was thinking the same, i think ill make a different repo for this

@0Mayank 0Mayank closed this Mar 24, 2026
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