Skip to content

Phase 1: Validation harness & test repair #10

Closed

Description

@neuromechanist

Part of epic #9. Foundation gate: everything else depends on a trustworthy parity comparison.

Scope

  • Fix the data-loader bug: ValueError: cannot reshape array of size 64 into shape (32,1) (sample data is 32-channel; loader/params mismatch in torch_impl/utils.py:load_eeglab_data and sample_data/sample_params.json).
  • Repair or retire stale tests referencing dead APIs (create_output_dirs, num_models kwarg, preprocess_data signature, AMICATorch.save, load_data_file dtype). Fix the collection error in tests/test_pyAMICA.py.
  • Make validate_implementations.py run end-to-end against sample_data/amica15mac and produce a baseline report: per-channel LL and mean/best/worst component correlation (Hungarian-matched).
  • No synthetic data; real sample EEG + Fortran binary only.

Done when

uv run pytest collects cleanly and the previously-passing tests pass; validate_implementations.py runs and prints a baseline parity report.

Activity

  1. added
    feature
    on Jul 2, 2026
  2. neuromechanist commented on Jul 3, 2026

    @neuromechanist
    MemberAuthor

    Phase 1 (validation harness & test repair) delivered via epic #9, on main in PR #28. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions