Skip to content

Add expanded model mapping unit tests#1172

Merged
Jammy2211 merged 2 commits intomain_buildfrom
feature/model_docs
Apr 3, 2026
Merged

Add expanded model mapping unit tests#1172
Jammy2211 merged 2 commits intomain_buildfrom
feature/model_docs

Conversation

@Jammy2211
Copy link
Copy Markdown
Collaborator

Summary

  • Adds 81 new unit tests for the model mapping API in test_autofit/mapper/test_model_mapping_expanded.py
  • Covers collection composition, shared priors, vector mapping, tree navigation, assertions, model subsetting, freezing, serialization, and edge cases
  • Addresses coverage gaps in the mapper module's core functionality

Test plan

  • All 81 new tests pass locally
  • Full test suite (1191 tests) verified with no regressions

🤖 Generated with Claude Code

Jammy2211 and others added 2 commits April 2, 2026 19:06
81 new tests covering collection composition, shared priors, vector mapping,
tree navigation, assertions, subsetting, freezing, serialization and edge cases.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Coverage improved from 63% to 96% across prior/abstract.py, prior/uniform.py,
prior/gaussian.py, prior_model/abstract.py, prior_model/collection.py, and
prior_model/array.py. Uses numpy-style docstrings matching existing conventions.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.

1 participant