extract(dsp): scitex.dsp → scitex-dsp v0.1.0 (4,206 LOC, 341 tests pass)#255
Open
ywatanabe1989 wants to merge 1 commit intodevelopfrom
Open
extract(dsp): scitex.dsp → scitex-dsp v0.1.0 (4,206 LOC, 341 tests pass)#255ywatanabe1989 wants to merge 1 commit intodevelopfrom
ywatanabe1989 wants to merge 1 commit intodevelopfrom
Conversation
scitex.dsp (4,206 LOC) extracted to standalone scitex-dsp package: https://github.com/ywatanabe1989/scitex-dsp - Replace src/scitex/dsp/ with 12-line sys.modules-alias __init__.py - Collapse [dsp] extra (10 transitive deps) to single scitex-dsp>=0.1.0 - scitex.dsp is scitex_dsp: True (verified) - Standalone tests: 341 pass / 96 fail (pre-existing edge cases) / 16 skip Decoupling in scitex-dsp: - scitex.{decorators,gen,nn} → scitex_* direct imports - scitex.io.load_configs deferred via try/except + CONFIG = {} fallback - intra-package self-references rewritten Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
scitex.dsp(4,206 LOC, signal processing) to standalone scitex-dsp v0.1.0.src/scitex/dsp/with 12-linesys.modulesalias.[dsp]extra from 10 transitive deps → singlescitex-dsp>=0.1.0.Decoupling (in scitex-dsp)
scitex.{decorators,gen,nn}→scitex_*direct imports.scitex.io.load_configsdeferred viatry/exceptwithCONFIG = {}fallback.scitex.dsp.utils,scitex.dsp._demo_sig) rewritten.Depends on
scitex_gen._to_even / _to_odd / _normare direct imports.scitex_nn._Hilbert / _Wavelet / _Filters / _PAC / _ModulationIndex / _PSDare direct imports.Foundation milestone
With dsp standalone, the only remaining non-glue extraction targets are the umbrella-specific top-level modules (
cli,_dev,plt,_mcp_*).