Repository navigation
[Parity] Add final standalone audit matrix - #166
suraj-ranganath merged 1 commit into
Conversation
|
Claude finished @suraj-ranganath's task in 2m 22s —— View job Code review
This PR is almost entirely an audit artifact (parity matrix JSON + validator tool + notes/docs) plus one small, well-justified runtime change. I focused review on the runtime change and the validator/tests, since the matrix data and prose are non-runtime. BlockingNone. ImportantNone. Nits
Test gapsNone that matter. The validator tests are mutation-based negative cases (unclassified path, duplicate path, missing optional-dependency contract, bad phase ownership, skip-row phase, missing docs section) rather than tautological assertions — good coverage for the validator's contract. EEGLAB parity notes
Areas checkedCorrectness/regressions in the runamica change, the validator logic and its negative-path tests, the runtime-independence guard, and CLAUDE.md/AGENTS.md standalone-boundary compliance. Looks good. |
|
🤖 Specification Problem: Epic #157 needed a final source-of-truth audit beyond docs/parity/eeglab_core_parity_matrix.json. Bundled plugin depth, functions/@eegobj, functions/@memmapdata, functions/@mmo, optional-toolbox workflows, and EEGLAB tutorial/docs coverage did not have enforceable status or phase ownership, and the standalone runtime boundary was documented but not tested. Approach: Added docs/parity/eeglab_final_parity_matrix.json and tools/eeglab_final_parity_matrix.py. The validator discovers final-epic EEGLAB plugin/object/tutorial paths, excludes third-party MatConvNet and Manopt internals, flattens grouped workflow rows, and fails missing/duplicated source coverage, optional-dependency contract gaps, stale-skip policy errors, docs architecture gaps, and inconsistent phase ownership. Added .notes/eeglab-final-parity-audit.md plus development docs updates for phase workers. Removed the AMICA fallback that searched the vendored EEGLAB plugin tree. Key code: tools/eeglab_final_parity_matrix.py::discover_final_eeglab_paths defines the reference surface. validate_matrix_payload checks every discovered path is classified exactly once. _validate_row enforces status, phase issue, optional_dependency, docs_gap, and stale_policy rules. tests/test_runtime_eeglab_independence.py scans installed package Python files for vendored src/eegprep/eeglab dependency patterns. Tests: uv run --no-sync pytest tests/test_eeglab_final_parity_matrix.py tests/test_runtime_eeglab_independence.py tests/test_runamica.py::TestFindAmicaBinary. Both matrix CLIs pass, including uv run --no-sync python -m tools.eeglab_parity_matrix --json and uv run --no-sync python -m tools.eeglab_final_parity_matrix --json. Ruff check, ruff format --check, ty check, staged pre-commit, and PR-scope pre-commit pass. |
|
🤖 Acknowledged. No code change here: the pinned row and discovered-path counts are intentional snapshot tripwires for the final parity audit. Whoever refreshes the vendored EEGLAB tree should update the final matrix and these expected counts in the same change. |
a2cf79e
into
feature/eeglab-full-standalone-completion
Add the final epic parity matrix, validator, audit notes, and focused tests for issue #158. The matrix assigns Phase 2-8 ownership across bundled plugins, object/storage, optional-toolbox, and docs surfaces while preserving standalone runtime boundaries.
Closes #158