Skip to content

fix: wire EIESN and AdditiveEIESN tests into CI#389

Merged
ChrisRackauckas merged 1 commit intoSciML:masterfrom
ChrisRackauckas-Claude:fix/wire-eiesn-tests
Feb 9, 2026
Merged

fix: wire EIESN and AdditiveEIESN tests into CI#389
ChrisRackauckas merged 1 commit intoSciML:masterfrom
ChrisRackauckas-Claude:fix/wire-eiesn-tests

Conversation

@ChrisRackauckas-Claude
Copy link

Summary

  • Wire 4 existing test files into test/runtests.jl that were never included in the test runner:
    • test/layers/test_eiesncell.jl
    • test/layers/test_additiveeiesncell.jl
    • test/models/test_eiesn.jl
    • test/models/test_additiveeiesn.jl
  • Fix a bug in the no-bias test cases for EIESNCell and AdditiveEIESNCell: the default rand_sparse initializer produces NaN on a 4×4 reservoir matrix (too small for the default sparsity), causing test errors. Pass init_reservoir = _W_I since these tests only verify absence of bias keys.

These files and their source code were added in PRs #364 and #366 but the test runner was never updated to include them.

Test plan

  • GROUP=Core Pkg.test() passes locally (all 887 tests pass including new EIESN tests)
  • GROUP=nopre Pkg.test() passes locally (13/13 QA tests pass)
  • Runic formatting check passes
  • CI passes on all platforms/versions

🤖 Generated with Claude Code

Four test files (test_eiesncell.jl, test_additiveeiesncell.jl,
test_eiesn.jl, test_additiveeiesn.jl) existed on master but were
never added to runtests.jl, so they were never run in CI.

Also fix a bug in the no-bias test cases: the default `rand_sparse`
initializer produces NaN on a 4×4 matrix due to zero spectral radius.
Pass `init_reservoir = _W_I` since these tests only check for the
absence of bias keys.

Co-Authored-By: Chris Rackauckas <[email protected]>
Co-Authored-By: Claude Opus 4.6 <[email protected]>
@ChrisRackauckas ChrisRackauckas merged commit 452b148 into SciML:master Feb 9, 2026
18 checks passed
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.

3 participants