• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

AxFoundation / strax / 11832740559

14 Nov 2024 07:37AM UTC coverage: 90.074% (+0.009%) from 90.065%
11832740559

push

github

web-flow
Add enforcement for `np.sort` and `np.argsort` (#918)

* set mergesort as default and disable unstable kinds

* add unittest

* formatting

* formatting

* change name to sort_enforcement

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* break long error messages

* keep the original sorting in numpy

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* reemove unused import

* always use stablesort

* add numba-supported version of stableargsort

* use better naming for stablesort

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* use jitable to allow both regular function and numba-decorated function for highest_density_region

* remove redundant numba_sort

* explicitly import stablesort from strax for numba decorated functions

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* consistent import style within one module

* remove unused import

* add sorting error

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* disable numba support for stable_sort

* consistent import style for stable sort

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* add kwargs

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* modify docstring for stable_sort

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* remove kwargs

* update variable name

* update test_sort with hypothesis

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* rewrite hithest_density_region to decoupld stable_sort fr... (continued)

97 of 104 new or added lines in 9 files covered. (93.27%)

5708 of 6337 relevant lines covered (90.07%)

1.8 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

93.26
/strax/processing/general.py


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc