Skip to content

Bring docs in line with the code; drop abmil from the CLI - #249

Merged
guillaumejaume merged 1 commit into
mainfrom
docs/quick-fixes
Nov 18, 2026
Merged

guillaumejaume merged 1 commit into
mainfrom
docs/quick-fixes

Conversation

@guillaumejaume

Copy link
Copy Markdown
Contributor

Small fixes found by checking the docs against the code (encoder registries, CLI flags, reader lists, versions).

Changes

  • docs/index.rst: said "22+ patch encoders" and "6+ slide encoders". Now 34 and 12, matching the registries, with complete name lists. Missing names included Phaet, Mascaret, Gemma 4, GigaPath-Flash, PRISM2, CARE and Feather-UNI2.
  • README: both encoder_factory links pointed to load.py#L14, but the functions are at lines 63 (patch) and 15 (slide). They now link to the files without a line anchor, so they won't go stale.
  • Patch encoder_factory docstring: added midnight12k, the only registered encoder missing from the list.
  • --slide_encoder abmil: the CLI offered it, but it always failed with a TypeError, because ABMIL is an untrained aggregator that needs hyperparameters only the Python API can pass. It is no longer offered on the CLI. The README and skill reference now say so instead of documenting the crash. New test included.

Checked and already up to date

Encoder tables in the README, docs/api.rst and the skill reference; all CLI flags of both scripts; reader lists; version (0.3.2) in pyproject.toml and docs/conf.py.

Verification

Unit suite: 107 passed, 71 integration tests skipped. Sphinx docs build without errors.

🤖 Generated with Claude Code

- docs/index.rst: 34 patch and 12 slide encoders (was 22+ and 6+), with
  complete name lists
- README: link encoder_factory files without stale line anchors
- Patch encoder_factory docstring: add midnight12k
- run_batch_of_slides: do not offer abmil, which always failed with a
  TypeError from the CLI (untrained, needs Python API hyperparameters)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@guillaumejaume
guillaumejaume merged commit c07bf25 into main Nov 18, 2026
3 checks passed
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