data-apis / array-api

RFC document, tooling and other content related to the array API standard
https://data-apis.github.io/array-api/latest/
MIT License
211 stars 44 forks source link

tracking issue: array API standard document #27

Closed rgommers closed 3 years ago

rgommers commented 4 years ago

Timeline (high-level)

Array API standard document intermediate steps:

Aug 10:

Aug 17:

Aug 24:

Aug 31:

Added later:

rgommers commented 4 years ago

Current status:

There are 11 open PRs that are either (close to) ready for merging or that need input on specific choices to be made. I'll comment only on the ones that need action:

Still TODO:

rgommers commented 3 years ago

A text search for "TODO" on master:

``` $ grin -C2 TODO ./API_specification/index.rst: 28 - .. _api-versioning: 29 - 30 : TODO: add `__array_api_version__` (or similar) version here, and the way to 31 + retrieve it - see https://github.com/data-apis/workgroup/issues/24 ./API_specification/set_functions.md: 37 - - If `True`, the function must sort the unique elements in ascending order before returning as output. If `False`, the function must sort the unique elements in the same order that they occur in `x`. Default: `False`. 38 - 39 : _TODO: sort order needs discussion. See [gh-40](https://github.com/data-apis/array-api/issues/40)_ 40 + 41 + #### Returns ./design_topics/data_interchange.md: 57 - 58 - 59 : TODO: design an appropriate Python API for DLPACK (`to_dlpack` followed by `from_dlpack` is a little clunky, we'd like it to work more like the buffer protocol does on CPU, with a single constructor function). 60 + 61 : TODO: specify the expected behaviour with copy/view/move/shared-memory semantics in detail. 62 + 63 + ./design_topics/device_support.md: 3 - # Device support 4 - 5 : TODO. See https://github.com/data-apis/array-api/issues/39 6 + ./future_API_evolution.md: 6 - the process documented at: 7 - 8 : TODO: link to specific document in https://github.com/data-apis/governance once 9 + it is available. 10 + ./purpose_and_scope.md: 42 - 43 - The concrete set of functionality that is in scope for this version of the 44 : standard is shown in this diagram (_TODO: update after deciding on how optional 45 + extensions are dealt with_): 46 + ./verification_test_suite.md: 5 - ## Measuring conformance 6 - 7 : TODO: explain how to use the test suite to measure and report on the level of 8 + (non-)conformance. ```

EDIT: some of these are already decided on and can easily be fixed up. The important ones that need significant work are:

EDIT 2: down to:

$ grin -C2 TODO
./API_specification/set_functions.md:
   37 -     -   If `True`, the function must sort the unique elements in ascending order before returning as output. If `False`, the function must sort the unique elements in the same order that they occur in `x`. Default: `False`.
   38 - 
   39 :         _TODO: sort order needs discussion. See [gh-40](https://github.com/data-apis/array-api/issues/40)_
   40 + 
   41 + #### Returns
./design_topics/data_interchange.md:
   57 - 
   58 - 
   59 : TODO: design an appropriate Python API for DLPACK (`to_dlpack` followed by `from_dlpack` is a little clunky, we'd like it to work more like the buffer protocol does on CPU, with a single constructor function).
   60 + 
   61 : TODO: specify the expected behaviour with copy/view/move/shared-memory semantics in detail.
   62 + 
   63 + 
./design_topics/device_support.md:
    3 - # Device support
    4 - 
    5 : TODO. See https://github.com/data-apis/array-api/issues/39
    6 + 
./purpose_and_scope.md:
   42 - 
   43 - The concrete set of functionality that is in scope for this version of the
   44 : standard is shown in this diagram (_TODO: update after deciding on how optional
   45 + extensions are dealt with_):
   46 + 
rgommers commented 3 years ago

I think we're good here, all PRs are merged and there are TODO comments for the things that are left to do. No need for this tracking issue anymore.