Skip to content

Report redesign + --always-top-n/--class search options + MkDocs docs site#12

Merged
sanjaysgk merged 3 commits into
mainfrom
feature/report-ux-topn
May 26, 2026
Merged

Report redesign + --always-top-n/--class search options + MkDocs docs site#12
sanjaysgk merged 3 commits into
mainfrom
feature/report-ux-topn

Conversation

@sanjaysgk

Copy link
Copy Markdown
Collaborator

Summary

Report (standalone HTML):

  • Per-cluster-solution motif carousel with a solution dropdown (All by default) and X-of-N navigation
  • Paginated, searchable Top-N results table; left table-of-contents with scroll-spy
  • Per-section/plot info popovers; static PCC colourbar with a live threshold marker; network group colour legend
  • Canonical allele names matching the embedded reference logo titles; browser favicon
  • Citation + repository links; graceful placeholders for missing logos
  • Fixes: heatmap bottom dead-space; combined-view heatmap overflow

Search:

  • --always-top-n: return each cluster's top-N regardless of threshold (sub-threshold hits flagged "below cutoff"); opt-in, off by default
  • --class {I,II,all}: restrict the reference by MHC class
  • Pearson-correlation method and formula documented in the engine docstrings

Docs:

  • MkDocs Material site with API reference auto-generated from docstrings (mkdocstrings)
  • Standalone report linked as example-report.html; GitHub Pages deploy workflow

Tests: 226 passing.

Manual step after merge

Set repo Settings -> Pages -> Source to "GitHub Actions" so the docs workflow deploys the new site.

sanjaysgk added 3 commits May 26, 2026 10:39
Report:
- carousel per cluster solution with dropdown (All by default) and X-of-N nav
- paginated, searchable Top-N results table; left TOC with scroll-spy
- per-section/plot info popovers; PCC colourbar; network group legend
- canonical allele names matching the reference logo titles; favicon
- citation + repository links; graceful missing-logo placeholders

Search:
- --always-top-n: return each cluster's top-N regardless of threshold
  (below-threshold hits are flagged in the report); opt-in, off by default
- --class {I,II,all}: restrict the reference by MHC class
- document the Pearson-correlation method and formula in engine docstrings

Tests updated for canonical display names and the new search behaviours.
- mkdocs.yml: Material theme + mkdocstrings (API auto-generated from docstrings)
- home / usage / API-reference pages; standalone report linked as example-report.html
- 'docs' optional-dependency group; GitHub Pages deploy workflow (Actions)
- replace the root report demo (docs/index.html) with the docs site
@sanjaysgk sanjaysgk merged commit 30de6f2 into main May 26, 2026
1 check failed
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