Skip to content

[Random, Alignment] Refactor np.random.* to match NumPy parity #115

[Random, Alignment] Refactor np.random.* to match NumPy parity

[Random, Alignment] Refactor np.random.* to match NumPy parity #115

Triggered via pull request April 11, 2026 14:30
@NucsNucs
synchronize #602
npalign
Status Success
Total duration 4m 14s
Artifacts 3

build-and-release.yml

on: pull_request
Matrix: test
build-nuget
0s
build-nuget
create-release
0s
create-release
publish-nuget
0s
publish-nuget
Fit to window
Zoom out
Zoom in

Annotations

33 warnings
test (ubuntu-latest)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-dotnet@v4, actions/upload-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
test (ubuntu-latest): src/NumSharp.Core/Backends/Kernels/ILKernelGenerator.MatMul.cs#L65
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (ubuntu-latest): src/NumSharp.Core/Backends/Kernels/ILKernelGenerator.Comparison.cs#L123
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (ubuntu-latest): src/NumSharp.Core/Utilities/Hashset`1.cs#L1078
Type parameter 'T' has the same name as the type parameter from outer type 'Hashset<T>'
test (ubuntu-latest): src/NumSharp.Core/Utilities/Hashset`1.cs#L919
Type parameter 'T' has the same name as the type parameter from outer type 'Hashset<T>'
test (ubuntu-latest): src/NumSharp.Core/Utilities/Hashset`1.cs#L914
Type parameter 'T' has the same name as the type parameter from outer type 'Hashset<T>'
test (ubuntu-latest): src/NumSharp.Core/Backends/Kernels/ILKernelGenerator.Binary.cs#L152
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (ubuntu-latest): src/NumSharp.Core/Backends/Kernels/ILKernelGenerator.Binary.cs#L119
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (ubuntu-latest): src/NumSharp.Core/Backends/NDArray.cs#L88
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (ubuntu-latest): src/NumSharp.Core/Generics/NDArray`1.cs#L199
The member 'NDArray<TDType>.this[params long[]]' does not hide an accessible member. The new keyword is not required.
test (ubuntu-latest): src/NumSharp.Core/Generics/NDArray`1.cs#L179
The member 'NDArray<TDType>.this[int[]]' does not hide an accessible member. The new keyword is not required.
test (macos-latest)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-dotnet@v4, actions/upload-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
test (macos-latest): src/NumSharp.Core/Backends/Kernels/ILKernelGenerator.Reduction.Axis.cs#L46
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (macos-latest): src/NumSharp.Core/Backends/Kernels/ILKernelGenerator.MixedType.cs#L119
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (macos-latest): src/NumSharp.Core/Backends/Kernels/ILKernelGenerator.MatMul.cs#L97
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (macos-latest): src/NumSharp.Core/Backends/Kernels/ILKernelGenerator.MatMul.cs#L65
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (macos-latest): src/NumSharp.Core/Backends/Kernels/ILKernelGenerator.Comparison.cs#L123
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (macos-latest): src/NumSharp.Core/Backends/Kernels/ILKernelGenerator.Binary.cs#L152
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (macos-latest): src/NumSharp.Core/Backends/Kernels/ILKernelGenerator.Binary.cs#L119
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (macos-latest): src/NumSharp.Core/Backends/NDArray.cs#L88
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (macos-latest): src/NumSharp.Core/Generics/NDArray`1.cs#L199
The member 'NDArray<TDType>.this[params long[]]' does not hide an accessible member. The new keyword is not required.
test (macos-latest): src/NumSharp.Core/Generics/NDArray`1.cs#L179
The member 'NDArray<TDType>.this[int[]]' does not hide an accessible member. The new keyword is not required.
test (windows-latest)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-dotnet@v4, actions/upload-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
test (windows-latest): src/NumSharp.Core/Utilities/SpanSource/UnmanagedSpan.cs#L40
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (windows-latest): src/NumSharp.Core/Utilities/SpanSource/UnmanagedSpan.cs#L204
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (windows-latest): src/NumSharp.Core/Utilities/SpanSource/UnmanagedSpan.cs#L187
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (windows-latest): src/NumSharp.Core/Utilities/SpanSource/ReadOnlyUnmanagedSpan.cs#L64
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (windows-latest): src/NumSharp.Core/Utilities/SpanSource/ReadOnlyUnmanagedSpan.cs#L40
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (windows-latest): src/NumSharp.Core/Utilities/SpanSource/ReadOnlyUnmanagedSpan.cs#L199
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (windows-latest): src/NumSharp.Core/Utilities/SpanSource/ReadOnlyUnmanagedSpan.cs#L182
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (windows-latest): src/NumSharp.Core/Backends/NDArray.cs#L88
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (windows-latest): src/NumSharp.Core/Generics/NDArray`1.cs#L199
The member 'NDArray<TDType>.this[params long[]]' does not hide an accessible member. The new keyword is not required.
test (windows-latest): src/NumSharp.Core/Generics/NDArray`1.cs#L179
The member 'NDArray<TDType>.this[int[]]' does not hide an accessible member. The new keyword is not required.

Artifacts

Produced during runtime
Name Size Digest
test-results-macos-latest Expired
977 KB
sha256:66eed4f626744be1194d8c54b243081205d32269a5ec14c21ea0d8defd223dfc
test-results-ubuntu-latest Expired
981 KB
sha256:17040ca524852b46e15c364a66fcf98d412ae9b44f04c6fdff3931110e6e508a
test-results-windows-latest Expired
986 KB
sha256:ef62c4282d2f26f59a1da2fa170b3616fbed3d07121e7735cacacf03a0284fe9