is_noop strips the markup and asks whether anything is left. For a role with display text there is prose inside the markup, and stripping takes it away with everything else.
Found while narrowing human_segments to skip code. One entry in the mirror is:
:ref:`Documentation on attributes and methods on classes <class-attrs-and-methods>`.
A person translated it correctly, rendering the display text and leaving the target alone:
:ref:`Tài liệu về các thuộc tính và phương thức trên lớp <class-attrs-and-methods>`.
The classifier calls it noop, which means two things. batch never queues it, so no model is ever asked. And Corpus.prose() skips it, so no check that reads a translation looks at it. It is only visible at all because it happens to be the one non-prose entry a human translated to something other than a copy of the source.
This is the failure the is_version_marker docstring describes, in a different rule: an entry that wants translating, classified as one that does not, invisible from every angle that would report it.
:ref:targetwith no display text is a genuine no-op and should stay one. The distinction is whether the role carries text a reader sees, which is text <target> `` inside the backticks, and P03 and `P06` already parse exactly that shape.
Not urgent on its own, one entry. Worth measuring first: the count of noop entries whose markup contains display text is the real size of this, and it is a lower bound on entries the pipeline will never translate and never report.
is_noopstrips the markup and asks whether anything is left. For a role with display text there is prose inside the markup, and stripping takes it away with everything else.Found while narrowing
human_segmentsto skip code. One entry in the mirror is:A person translated it correctly, rendering the display text and leaving the target alone:
The classifier calls it
noop, which means two things.batchnever queues it, so no model is ever asked. AndCorpus.prose()skips it, so no check that reads a translation looks at it. It is only visible at all because it happens to be the one non-prose entry a human translated to something other than a copy of the source.This is the failure the
is_version_markerdocstring describes, in a different rule: an entry that wants translating, classified as one that does not, invisible from every angle that would report it.:ref:targetwith no display text is a genuine no-op and should stay one. The distinction is whether the role carries text a reader sees, which istext <target>`` inside the backticks, andP03and `P06` already parse exactly that shape.Not urgent on its own, one entry. Worth measuring first: the count of
noopentries whose markup contains display text is the real size of this, and it is a lower bound on entries the pipeline will never translate and never report.