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

IntelPython / dpnp / 33437278403
78%

Build:
DEFAULT BRANCH: master
Ran 31 Aug 2026 10:24PM UTC
Jobs 1
Files 263
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

31 Aug 2026 08:39PM UTC coverage: 78.501% (+0.006%) from 78.495%
33437278403

push

github

web-flow
Fix dpnp.insert ignoring out-of-bounds negative indices in multi-element obj (#3041)

`dpnp.insert` has two index paths: the singleton path
(`_insert_singleton_index`) already validated bounds, but the
multi-element array path (`_insert_array_indices`) normalized negative
indices with `indices[indices < 0] += n` without any bounds check. As a
result, an out-of-bounds negative index mixed with in-bounds ones — e.g.
`dpnp.insert([0, 1, 2], [-6, 0], [9, 8])` — silently produced a wrong
result instead of raising.

This PR adds the same bounds validation NumPy introduced: if any index
is `< -n` or `> n`, `IndexError` is raised with the standard `index {i}
is out of bounds for axis {axis} with size {n}` message. In-bounds and
out-of-bounds indices mixed in a single call now consistently raise.

1546 of 2898 branches covered (53.35%)

Branch coverage included in aggregate %.

14 of 14 new or added lines in 1 file covered. (100.0%)

1 existing line in 1 file now uncovered.

26617 of 32978 relevant lines covered (80.71%)

8465.3 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
99.62
-0.12% dpnp/dpnp_iface_manipulation.py
Jobs
ID Job ID Ran Files Coverage
1 33437278403.1 31 Aug 2026 10:24PM UTC 263
78.5
GitHub Action Run
Source Files on build 33437278403
  • Tree
  • List 263
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #33437278403
  • 1d7c6fa4 on github
  • Prev Build on master (#33424584271)
  • Next Build on master (#33486717872)
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