Skip to content

Feature: --quality flag (low/medium/high) replacing --postfix N #1

Description

@MatMatt

Motivation

The current --postfix N flag takes a numeric pass count that has no relation to the document's actual quality gap. Users have to guess whether N=1 or N=3 is appropriate.

Proposal

--quality low      stop at 90% text coverage, 1 postfix pass max
--quality medium   stop at 95% text coverage, 2 postfix passes max  
--quality high     stop at 98% text coverage, 3 postfix passes max

Effort is tied to the actual gap, not a magic number.

Implementation notes

  • Would need iterative re-verify per pass (compute marginal gain, stop if <1% improvement)
  • Should have a cost ceiling (e.g. max 50% of original conversion cost)
  • --postfix N could remain as a low-level override

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions