Skip to content

Prune CLI-unreachable modules, figure CLIs, cairosvg dep, and ~38 MB rendered example figures (3.61.0) - #894

Merged
iskandr merged 1 commit into
mainfrom
cleanup/prune-unreachable-modules-and-example-bloat
Nov 20, 2026
Merged

iskandr merged 1 commit into
mainfrom
cleanup/prune-unreachable-modules-and-example-bloat

Conversation

@iskandr

@iskandr iskandr commented Nov 20, 2026

Copy link
Copy Markdown
Contributor

Summary

Removes CLI-unreachable, zero-external-caller modules, 4 companion CLIs, the single-use cairosvg dependency, and ~38.4 MB of rendered example figures.

Changes

  • Removed unreachable modules & HTML templates: safety_policy.py, sequence_context.py, context_audit.py, context_report.py, cleavage_report.py, core_exposure.py, mutation_visualization.py, evidence_visualization.py, complex_variant_visualization.py, and their 2 HTML templates (sequence_context_audit.html, cleavage_profiles.html).
  • Removed 4 companion console_scripts (vaxrank-mutation-figure, vaxrank-evidence-figure, vaxrank-complex-result-figure, vaxrank-window-exposure) and dropped cairosvg from requirements.txt (zero optional installs introduced).
  • Preserved MHCRequest in vaxrank.safety_assessment and kept the ("vaxrank.context_audit", "MHCRequest") alias in native_serialization.py so historical native archives continue to deserialize cleanly.
  • Deleted ~38.4 MB of rendered figures: examples/osteosarc_complex_results/runs/, examples/osteosarc_complex_results/generate.py, examples/osteosarc_evidence_figures/, and examples/osteosarc_mutation_figures/ (preserving examples/osteosarc_complex_results/source/ used by examples/osteosarc_read_corpus/build.py).
  • Updated README.md, mkdocs.yml, docs/, tests, and bumped vaxrank/version.py to 3.61.0 (398 files changed, +18/-17056).

Verification

  • ruff check vaxrank tests: clean
  • AST import check across all vaxrank/ and tests/: 0 broken imports
  • python3 check_release_version.py --base origin/main --head HEAD: passed (3.61.0 > 3.60.6)
  • Targeted pytest (test_cli_errors.py, test_mixed_antigen_selection.py, test_safety_prediction_coverage.py, test_safety_assessment.py, test_release_version.py, test_construct_audit.py, test_epitope_dataset.py): 193/193 offline tests passed

@iskandr
iskandr force-pushed the cleanup/prune-unreachable-modules-and-example-bloat branch from 07f8e85 to e40cefc Compare November 20, 2026 19:07
…d example figures (3.61.0)

- Delete CLI-unreachable, zero-external-caller modules and templates:
  safety_policy, sequence_context, context_audit, context_report,
  cleavage_report, core_exposure, mutation_visualization,
  evidence_visualization, complex_variant_visualization, and their
  HTML templates.
- Remove 4 companion console_scripts (vaxrank-mutation-figure,
  vaxrank-evidence-figure, vaxrank-complex-result-figure,
  vaxrank-window-exposure) and drop single-use cairosvg dependency.
- Keep MHCRequest in vaxrank.safety_assessment (and retain legacy
  native deserialization alias for historical archives).
- Delete ~38.4 MB of rendered figure outputs under
  examples/osteosarc_complex_results/runs/,
  examples/osteosarc_evidence_figures/, and
  examples/osteosarc_mutation_figures/ (preserving
  examples/osteosarc_complex_results/source/ used by read corpus).
- Update docs, mkdocs nav, README, tests, and bump version to 3.61.0.
@iskandr
iskandr force-pushed the cleanup/prune-unreachable-modules-and-example-bloat branch from e40cefc to f6de09b Compare November 20, 2026 20:02
@iskandr
iskandr merged commit 5ec9771 into main Nov 20, 2026
11 checks passed
@iskandr
iskandr deleted the cleanup/prune-unreachable-modules-and-example-bloat branch November 20, 2026 22:48
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