Skip to content

Add behavioral coverage for experiment selection - #6

Open
0xMuluh wants to merge 2 commits into
develfrom
fix-altexps-issue3
Open

0xMuluh wants to merge 2 commits into
develfrom
fix-altexps-issue3

Conversation

@0xMuluh

@0xMuluh 0xMuluh commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Related to #3

Summary

This PR adds behavioral regression and characterization coverage for the experiment-selection paths used by multiomics.

The production correction for Issue #3 (alExps() -> altExps()) is already present in devel; this PR supplies the regression evidence and related selection coverage.

Coverage

  • numeric and character altExp selection through getRDA()
  • MAE experiment and assay selection with requested ordering
  • SCE main/alternative experiment selection by name and index
  • invalid experiment and assay selections

Scope

  • test-only; no production, API, dependency, or documentation changes
  • tests use the public getRDA() boundary
  • no private helper call-graph assertions

Validation

  • focused selection tests: 33 passed
  • full test suite: 107 passed
  • R CMD check on the built package: passed; 3 pre-existing warnings and 3 notes

@TuomasBorman

Copy link
Copy Markdown
Contributor

Could you extend the tests for utils.R? There are other helper functions that select experiments. They all could be tested, if test are added

Numeric altExp selection called the undefined alExps() instead of
altExps(), erroring whenever altexps was specified by index. Add a
regression test covering numeric altExp selection through getRDA().
@0xMuluh
0xMuluh force-pushed the fix-altexps-issue3 branch from 6a6ebf5 to 567e7c2 Compare August 25, 2026 07:38
@0xMuluh 0xMuluh changed the title Fix alExps typo in altExp index selection (issue #3) test altExp index selection (issue #3) Aug 25, 2026
@0xMuluh 0xMuluh changed the title test altExp index selection (issue #3) Add behavioral coverage for experiment selection Aug 25, 2026
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.

2 participants