Skip to content

Document automatic numba and the backend deprecation - #179

Merged
frazane merged 4 commits into
mainfrom
array-api/p4-docs
Nov 8, 2026
Merged

frazane merged 4 commits into
mainfrom
array-api/p4-docs

Conversation

@frazane

@frazane frazane commented Nov 8, 2026

Copy link
Copy Markdown
Owner

Last PR of the Phase 4 stack. The previous PR made numba automatic for numpy inputs and deprecated the backend argument; this brings the docs in line.

What changed

  • The backend parameter of every public score is documented as deprecated, with a pointer to set_config and config_context. Stale text about passing "numba" is gone, and crps_gtcnormal gets the Parameters section it was missing.
  • The user guide's numba section explains the automatic mode, which inputs always take the array path, set_config, config_context, SCORINGRULES_NUMBA, the first-call compile cost and NUMBA_CACHE_DIR. The deprecations section lists every backend value, register_backend, set_active and the backends registry.
  • The API reference lists the three config functions.
  • The README and index feature bullet say numba is used when installed, and CONTRIBUTING notes that a stale numba cache after a checkout can segfault.

This change was developed in tandem with AI coding agents.

@github-actions github-actions Bot added documentation Improvements or additions to documentation core Core scoring API / numerics labels Nov 8, 2026
@frazane
frazane merged commit 3aabe35 into main Nov 8, 2026
27 checks passed
@frazane
frazane deleted the array-api/p4-docs branch November 8, 2026 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core Core scoring API / numerics documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant