Skip to content

Remove the unused nnscore() accessor - #76

Merged
OVVO-Financial merged 1 commit into
mainfrom
remove-dead-nnscore-accessor
Jul 4, 2026
Merged

Remove the unused nnscore() accessor#76
OVVO-Financial merged 1 commit into
mainfrom
remove-dead-nnscore-accessor

Conversation

@gitRasheed

Copy link
Copy Markdown
Collaborator

Follow-up to #75. native_fn() is now the only native-dispatch seam, leaving nnscore() with zero callers across src, tests, scripts, docs, and workflows (verified by repo-wide grep). Deleted.

Notes:

  • The nnscore CMake target (extern/NNS-core's C++ library name) is unrelated build-system naming and is unchanged.
  • nns._native is a private module, so no deprecation period is needed.
  • Verified: ruff, mypy --strict, invariants suite (296 passed), and an import smoke test confirming the native backend still loads and computes.

native_fn() has been the only dispatch seam since the native-dispatch
cleanup; nnscore() had no remaining callers anywhere in the repo. The
'is the native backend loaded' diagnostic is still available as
native_fn("lpm") is not None. The nnscore CMake target name for the
NNS-core C++ library is unrelated and unchanged.
@OVVO-Financial
OVVO-Financial merged commit e344317 into main Jul 4, 2026
8 checks passed
@OVVO-Financial
OVVO-Financial deleted the remove-dead-nnscore-accessor branch July 5, 2026 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants