Commit 085ed3e
committed
docs: NumPy 1.x deprecation audit — plan, findings, and consolidated bug registry
Systematic comparison of NumSharp against NumPy 2.4.2 (v2.4.2) to identify
every feature corresponding to deprecated, removed, or behaviorally-changed
NumPy 1.x functionality.
numpy-1x-deprecation-audit.md (investigation plan):
- 7-phase audit covering removed APIs, type promotion (NEP 50), behavioral
changes, dead code, documentation URLs, automated scripts, and
NUMPY_NUMSHARP_MAP.md cross-check
- Grep results confirming which deprecated APIs are/aren't in NumSharp
- Python/C# scripts for automated verification
numpy-1x-deprecation-findings.md (results):
- 5 deprecated/removed functions still present (asscalar, find_common_type,
round_, newbyteorder, asfarray reference)
- 13 deprecated aliases/constants in np.cs (NaN, Inf, float_, bool8, etc.)
- 12 type promotion mismatches in _typemap_arr_scalar (unsigned int array +
signed int scalar — NEP 50 "array wins" rule)
- 6 behavioral divergences (floor/ceil int→double, unique return_inverse,
asarray copy semantics, bool+bool, any(axis) broken, random legacy-only)
- 8 new bugs discovered (Bugs 27-63)
- 5 NUMPY_NUMSHARP_MAP.md corrections needed
- 385 stale documentation URLs across 121 files
OpenBugs.md (consolidated bug registry):
- All 54 bugs (7 fixed, 47 open) with full details
- Organized by category: dead code (13), wrong semantics (7), crashes (12),
wrong values (15)
- Architectural root cause analysis (broadcast stride/data mismatch,
multiple iteration paths, comparison operator inconsistency, dead code
pattern)
- Dependency graph and recommended fix order for maximum cascade impact
- NumPy verification code for every bug
CLAUDE.md: Add GitHub Issues section, remove stale quick one-liners.1 parent 171ed77 commit 085ed3e
File tree
4 files changed
+1643
-23
lines changed- .claude
- docs/plans
- test/NumSharp.UnitTest
4 files changed
+1643
-23
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
306 | 306 | | |
307 | 307 | | |
308 | 308 | | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
309 | 312 | | |
310 | 313 | | |
311 | 314 | | |
| |||
339 | 342 | | |
340 | 343 | | |
341 | 344 | | |
342 | | - | |
343 | | - | |
344 | | - | |
345 | | - | |
346 | | - | |
347 | | - | |
348 | | - | |
349 | | - | |
350 | | - | |
351 | | - | |
352 | | - | |
353 | | - | |
354 | | - | |
355 | | - | |
356 | | - | |
357 | | - | |
358 | | - | |
359 | | - | |
360 | | - | |
361 | | - | |
362 | | - | |
363 | | - | |
364 | | - | |
365 | 345 | | |
366 | 346 | | |
367 | 347 | | |
| |||
0 commit comments