• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

thanos / ExZarr / b4e1451e29ef9b5c71de93a2647bbbaab180633c-PR-140
75%
main: 75%

Build:
Build:
LAST BUILD BRANCH: v1.1.0/review_fixes
DEFAULT BRANCH: main
Ran 26 Jan 2026 05:39AM UTC
Jobs 1
Files 36
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

26 Jan 2026 05:36AM UTC coverage: 74.509% (-0.8%) from 75.315%
b4e1451e29ef9b5c71de93a2647bbbaab180633c-PR-140

Pull #140

github

thanos
closed #139 - Complete Multi-dimensional Array Indexing
✅ Completed Features

  1. Basic Slicing with Enhanced Features

  - Full multi-dimensional slicing
  - Step support (positive steps: 1, 2, 3, 5, etc.)
  - Map format: start: %{0 => 0}, stop: %{0 => 10}, step: 2
  - Empty slice handling
  - Edge case validation

  2. Fancy Indexing

  - get_fancy/2 - integer array indexing (vindex)
  - get_orthogonal/2 - Cartesian product indexing (oindex)
  - Negative index support

  3. Boolean Indexing

  - get_boolean/2 - mask-based selection
  - 1D and 2D mask support
  - Validation of mask size and type

  4. Block Indexing

  - get_blocks/2 - chunk-aligned access
  - Efficient multi-chunk operations

  5. Array Manipulation

  - resize/2 - grow or shrink dimensions
    - Returns {:ok, updated_array}
    - Handles fill values for new space
    - Deletes out-of-bounds chunks when shrinking
  - append/3 - add data along axis
    - Returns {:ok, updated_array}
    - Efficient chunk-aligned appends

  6. Return Type Consistency

  - get_slice/2 returns nested tuples (not binary)
  - All indexing functions return tuples
  - Proper dtype decoding
Pull Request #140: closed #139 - Complete Multi-dimensional Array Indexing

349 of 499 new or added lines in 3 files covered. (69.94%)

218 existing lines in 2 files now uncovered.

2543 of 3413 relevant lines covered (74.51%)

922.34 hits per line

Uncovered Changes

Lines Coverage ∆ File
84
81.73
-1.63% lib/ex_zarr/array.ex
65
12.16
lib/ex_zarr/indexing.ex
1
69.47
-0.05% lib/ex_zarr/storage.ex

Coverage Regressions

Lines Coverage ∆ File
167
81.73
-1.63% lib/ex_zarr/array.ex
51
69.47
-0.05% lib/ex_zarr/storage.ex
Jobs
ID Job ID Ran Files Coverage
1 b4e1451e29ef9b5c71de93a2647bbbaab180633c-PR-140.1 26 Jan 2026 05:39AM UTC 36
74.51
GitHub Action Run
Source Files on build b4e1451e29ef9b5c71de93a2647bbbaab180633c-PR-140
  • Tree
  • List 36
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #140
  • PR Base - main (#4D0C92DE...)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc