docs(readme): a visible table for all 13 file types, pinned to the registry
The extractor registry reads 13 extensions. The README's opening line named five of them, and the full list existed only in a hidden `<!-- extract-formats: ... -->` comment, which no reader reads -- so the README undersold what the code does and stated no evidence class anywhere a consumer would look. A `## Supported file types` table now carries one row per extension: reader, dependency (core or the `[extract]` extra), the evidence class `_EVIDENCE` records for the row, and one honest note. The three `constructed` office rows carry their denominators (N = 1, N = 2, N = 1) in the table itself, so a row that has met no document anyone wrote cannot read as a supported one; `.htm` does not borrow `.html`'s 828-file class, because the code records none for it. A `Not read today` section states the absences (`.doc`, `.epub`, `.eml`/`.msg`, image files, source files, `.one`/`.vsd`) as facts, not as a queue. Test first, red before the table existed: four assertions in `tests/test_docs_promises.py` pin the table's row set to `_CORE_EXTRACTORS | _OPTIONAL_EXTRACTORS`, each evidence cell to `_EVIDENCE` (and to a fixed `stdlib, no corpus class` where the code records none), the core/extra split to the registries, and the opening to the table. No change to `extract.py` and no version bump: nothing about what is read moved, only what the README says about it. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
parent
313a1497b7
commit
2d3c2707c7
3 changed files with 151 additions and 3 deletions
18
CHANGELOG.md
18
CHANGELOG.md
|
|
@ -7,6 +7,24 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
|
||||
## [Unreleased]
|
||||
|
||||
### Changed
|
||||
|
||||
- **The README states every file type the extractor registry reads (K3-26).**
|
||||
It read 13 extensions (`.md`, `.txt`, `.csv`, `.json`, `.html`, `.htm`,
|
||||
`.xml`, `.pdf`, `.docx`, `.xlsx`, `.pptx`, `.odt`, `.rtf`) while the opening
|
||||
line named five of them and the full list existed only in a hidden
|
||||
`<!-- extract-formats: ... -->` comment, which no reader reads. A visible
|
||||
`## Supported file types` table now carries one row per extension with its
|
||||
reader, its dependency (core or the `[extract]` extra), the evidence class
|
||||
the code records for it, and one honest note -- so a `constructed` row at
|
||||
N = 1 cannot read as a supported one. A `Not read today` section states what
|
||||
is absent (`.doc`, `.epub`, `.eml`/`.msg`, image files, source files,
|
||||
`.one`/`.vsd`) as facts rather than as a queue. Four new assertions in
|
||||
`tests/test_docs_promises.py` pin the table's row set, its evidence cells and
|
||||
its core/extra split to the registry, and the opening to the table. No change
|
||||
to `extract.py`: nothing about what is read moved, only what the README says
|
||||
about it.
|
||||
|
||||
## [0.8.5] — 2026-09-12
|
||||
|
||||
### Added
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue