Skip to content

[codex] Add Isovar mutant transcript source - #186

Merged
iskandr merged 2 commits into
masterfrom
codex/mutant-transcript-source
May 15, 2026
Merged

[codex] Add Isovar mutant transcript source#186
iskandr merged 2 commits into
masterfrom
codex/mutant-transcript-source

Conversation

@iskandr

@iskandr iskandr commented May 15, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Replace the old combined VarcodeAdapter with IsovarMutantTranscript, a focused implementation of varcode MutantTranscriptSource protocol.
  • Keep read phasing on IsovarReadPhasing and make the split providers compose safely through ordinary multiple inheritance.
  • Update tests for the new protocol shape, including b16 fixture coverage, the plain multiple-inheritance regression case, and the end-to-end tumor.effects(phase_resolver=...) acceptance path.
  • Bump isovar to 1.7.0 and require varcode>=5.0.0.

Dependency

Requires varcode 5.0.0, which is now released on PyPI: https://pypi.org/project/varcode/5.0.0/

Refs #182 and #184.

Validation

Ran locally against PyPI-installed varcode 5.0.0 from site-packages:

  • uv pip install varcode==5.0.0
  • pytest tests/test_mutant_transcript_source.py tests/test_transcript_edits.py::test_isovar_mutant_transcript_includes_unexplained_edits tests/test_read_phasing.py::test_docstring_examples_run - 8 passed
  • ./lint.sh
  • ./test.sh - 214 passed

@coveralls

coveralls commented May 15, 2026

Copy link
Copy Markdown

Coverage Status

coverage: 93.768% (+0.2%) from 93.592% — codex/mutant-transcript-source into master

@iskandr
iskandr marked this pull request as ready for review May 15, 2026 21:35
@iskandr
iskandr merged commit 9e1966b into master May 15, 2026
6 checks passed
@iskandr
iskandr deleted the codex/mutant-transcript-source branch May 15, 2026 21:40
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