test(fixtures): the STS fixtures and fixture codes are fictitious

Three STS fixtures still carried the section titles and labels of one real
reference document, and three identifiers were copies of its codes with a
letter or a word swapped. They now describe an invented kitchen counter and
cookbook series: the titles, labels and descriptions of sts-identity.xml,
sts-inherit.xml and sts-empty-label.xml, the P350/P351 document codes, the
99-0001 delivery prefix and chapter 7 of the image and accounting corpora.
Generated fixtures are regenerated and the witness inventory's per-document
totals are identical before and after; only names and text move.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Kjell Tore Guttormsen 2026-09-23 14:50:44 +02:00
commit 88cf67f12e
65 changed files with 396 additions and 390 deletions

View file

@ -28,7 +28,7 @@ value a publisher's address needs carries `=` itself.
K3-22 moved one thing here, and it is a refusal: a flow value is written as
given, so every leaf in it must be one a YAML reader and the guard both read
back. The publisher's address with `?languageCode=nb` is not -- PyYAML refused
all 2 761 frontmatters K3-19's flagged build wrote with it -- and the build
all N frontmatters K3-19's flagged build wrote with it (one per concept) -- and the build
tests below now write an address without `?`.
"""
@ -242,7 +242,7 @@ def test_a_pair_that_would_not_read_back_verbatim_is_refused(tmp_path: Path, pai
def test_a_stated_address_no_yaml_reader_reads_back_is_refused(
tmp_path: Path, capsys: pytest.CaptureFixture[str]
) -> None:
"""K3-19's own flagged build wrote this form, and 2 761 of 2 761 of its
"""K3-19's own flagged build wrote this form, and every one of its
frontmatters then failed `yaml.safe_load`. It is refused, never written
(K3-22): `?` ends a PyYAML flow scalar, and the guard refuses the quote."""
bundle = tmp_path / "bundle"