Repository navigation
Reorganize vaccine report for clarity: survey -> enriched top-candidate ranking -> focused products & appendices (v3.64.0) - #901
Merged
Conversation
…cused products & appendices (#900) (v3.64.0)
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.
Closes #900
Summary
Overhauls HTML/PDF/ASCII report organization and readability so the report leads with an executive survey, then high-signal ranking information per top candidate, then emitted products and focused biology/longitudinal views, with full bulk audit tables cleanly collapsible in HTML without flooding the PDF:
template.html,input_coverage.html):Emitted designcounts +selected / rankedtargets + active families).Input evidence = Suppliedcolumn from theInput coveragetable (unsupplied families are already listed cleanly in the one-line footnote)."Original VCF/BAM stage counts: unknown"and"Host ORF catalogue coverage was not recorded"notes out of Page 1 intoMethods and provenancewhen not recorded.Candidate rankingmoved right after Overview (report.py,ranking.html,template.html,template.txt):Candidate rankingfrom the back of the report to immediately afterInput coverage(Page 3 in Sid's multi-omics PDF instead of Page 141).MSbadge, qualifying longitudinal timepoints (T0, T1, T2), matched-normal status badge (Normal DNA clean/Normal review), and clickable product ID links (peptide_001_OTUD7A-FMN1_SV,mrna_001).<details>.Emitted products,Longitudinal support,Antigen biology, and audit appendices:products.htmlto once at the section top, combined Product ID + end-modification status + window rationale onto one compact line, renderedManufacturabilityas a compact inline flex grid instead of a 10-row vertical table, and collapsed per-modality assembly config tables into<details>.Longitudinal and library support(with compact.longitudinal-tableprint styling) andAntigen biology and targetingon Selected targets, putting unselected candidates in<details>.details:not([open]) > :not(summary) { display: none; }instylesheet.cssso WeasyPrint respects closed<details>in PDFs (keeping 100% of every unselected row, score algebra trace,W1..W102window decision, CTA admission table, source directory, input lineage receipt, and 50 parser defaults clickable in HTML while shrinking Sid's multi-omics PDF from 1.94 MB / 200+ pages down to 285 KB / 56 pages and cutting WeasyPrint render time from ~15 min to ~6 s).3.63.0→3.64.0.Testing
ruff check vaxrank tests— passed.pytest tests/test_report_clarity.py tests/test_product_reports.py tests/test_input_coverage.py tests/test_longitudinal_and_normal_evidence.py tests/test_antigen_biology.py tests/test_reference_coverage.py tests/test_effective_prediction_policy.py tests/test_window_selection.py tests/test_selection_policy.py tests/test_antigen_evidence_report.py tests/test_antigen_input.py tests/test_cta_input.py tests/test_construct_ranking.py— 210 passed.