test(suite): exhaustive test suite expansion (~559 tests)#85
Merged
johnmarktaylor91 merged 1 commit intomainfrom Mar 2, 2026
Merged
test(suite): exhaustive test suite expansion (~559 tests)#85johnmarktaylor91 merged 1 commit intomainfrom
johnmarktaylor91 merged 1 commit intomainfrom
Conversation
Add ~76 new tests covering major gaps in architecture and edge-case coverage: - 64 new toy model tests (attention, transformers, containers, conditionals, normalization variants, residual/param sharing, in-place/type ops, scalar/ broadcasting, exemption stress tests, architecture patterns, adversarial edge cases) - 12 new real-world model tests (DistilBERT, ELECTRA, MobileViT, MoE, T5, BART, RoBERTa, BLIP, Whisper, ViT-MAE, Conformer, SentenceTransformer) Merge test_real_world_models_slow.py into test_real_world_models.py organized by architecture/modality, using @pytest.mark.slow for heavy tests. Register the slow marker in pyproject.toml. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
johnmarktaylor91
added a commit
that referenced
this pull request
Mar 4, 2026
- #95: fix mixed LayerLog/LayerPassLog format in vis module containment check - #83: LayerLog.parent_layer_arg_locs returns strings (not sets) for consistency - #99: warn on tensor shape mismatch in fast-path source tensor logging - #23: add case-insensitive exact match and substring lookup for layers/modules - #85: confirmed not-a-bug (any special arg correctly explains output invariance) - #39, #41, #42: confirmed already fixed or correct as-is - Add 6 regression tests for the above fixes Co-Authored-By: Claude Opus 4.6 <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
test_real_world_models_slow.pyintotest_real_world_models.pyorganized by architecture/modality, using@pytest.mark.slowfor heavy testsslowpytest marker inpyproject.tomlseq_input,token_input,input_3d,input_1d_seq) and 5 vis output subdirsTest plan
pytest tests/test_toy_models.py -v --timeout=120— verify new toy model testspytest tests/test_real_world_models.py -m "not slow" -v --timeout=300— verify fast real-world testspytest tests/test_real_world_models.py -m "slow" -v --timeout=600— verify slow real-world testspytest tests/ -v --timeout=600— full regression