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

IntelPython / dpnp / 42434092273
84%

Build:
DEFAULT BRANCH: master
Ran 08 Nov 2026 03:14AM UTC
Jobs 1
Files 264
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

08 Nov 2026 01:24AM UTC coverage: 84.397%. Remained the same
42434092273

push

github

web-flow
Fix the duplicate-indices example in the `dpnp.tensor.put` docstring (#3165)

The example of handling duplicate indices in the `dpnp.tensor.put`
docstring could not be run as written:
- it imported `dpctl.tensor` instead of `dpnp.tensor`;
- `assert vec.ndim, ind.ndim, vals.ndim == 1, 1, 1` is a `SyntaxError`,
so the snippet did not parse; it is now `assert vec.ndim == ind.ndim ==
vals.ndim == 1`;
- the positions of the last occurrences, found in the flipped `ind`,
were mapped back with `vec.size - 1` instead of `ind.size - 1`. The
example itself passed only because there `x.size == ind.size`; with a
longer array writes were lost:

```python
import dpnp.tensor as dpt

vec = dpt.zeros(10, dtype="int32")
put_vec_duplicates(vec, dpt.asarray([1, 1, 3]), dpt.asarray([10, 20, 30], dtype="int32"))
# before: [ 0  0  0 30  0  0  0  0  0  0]
# after:  [ 0 20  0 30  0  0  0  0  0  0]
```

The example from the updated docstring, extracted and run as is, passes
on a Level Zero GPU and an OpenCL CPU device, together with the case
above.

1792 of 2998 branches covered (59.77%)

Branch coverage included in aggregate %.

29619 of 34220 relevant lines covered (86.55%)

39090.05 hits per line

Jobs
ID Job ID Ran Files Coverage
1 42434092273.1 08 Nov 2026 03:14AM UTC 264
84.4
GitHub Action Run
Source Files on build 42434092273
  • Tree
  • List 264
  • Changed 1
  • Source Changed 1
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #42434092273
  • 9a48310f on github
  • Prev Build on master (#42382013630)
  • Next Build on master (#42512226378)
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