array-api-tests icon indicating copy to clipboard operation
array-api-tests copied to clipboard

Add tests for new 2024.12 functionality

Open asmeurer opened this issue 1 year ago • 2 comments

This is a tracking issue for testing new 2024.12 functionality.

There isn't a changelog yet, but the new functionality that I'm aware of is:

New functions

  • [ ] diff
  • [ ] nextafter
  • [x] reciprocal
  • [ ] take_along_axis
  • [x] count_nonzero
  • [x] cumulative_prod

New Functionality

  • [ ] The 'max dimensions' key of __array_namespace_info__().capabilities() (note that capabilities itself is not yet tested at all, see https://github.com/data-apis/array-api-tests/issues/249) -- some smoke-testing in gh-362

Scalar support: most functions are (lightly) tested. After gh-348, the following binary functions are still not tested at all:

  • [ ] bitwise_right_shift
  • [ ] bitwise_left_shift
  • [ ] nextafter
  • [ ] where
  • [ ] pow
  • [x] result_type ( gh-349 )

asmeurer avatar Nov 14 '24 19:11 asmeurer

cross-ref https://github.com/data-apis/array-api-tests/pull/324 for testing reciprocal and cumulative_prod.

ev-br avatar Nov 29 '24 14:11 ev-br

https://github.com/data-apis/array-api-tests/pull/347 adds a test for count_nonzero

ev-br avatar Mar 03 '25 22:03 ev-br

We now officially have the 2024.12 test coverage. At least all new functions are covered, with remaining TODOs tracked in gh-301 and gh-364.

ev-br avatar May 16 '25 20:05 ev-br