You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
DRAFT: T043: tests/fixtures/health-corpus, 14.9's corpus, and its test (plan 038) - #98
Falsifier: new tests/test_health_corpus_fixture.py.
Ruled: Brett's word "Write now, land after T027 (Recommended)" (6035546708); the holder's claim 6035574389. Decisions: OQ-H-8, OQ-H-16.
After: T027 (N-6 (a), ruled).
TWO FLAGS (the holder asked for both)
The empty stub keeps its header (a deviation from "empty").empty-stub.md carries title: and summary: and has NO body (the body is blank, which meets data-model.md's criterion "after front matter, the body holds no line that is neither blank nor a heading" under leading_header's convention, the one the adapter and the projection read; a reader that took --- fences for front matter would see the header as body, and no document in this corpus uses a fence). A zero-byte file was not planted because it has no title and, having no heading, none that could be derived, so a second family (missing front matter, non-derivable, human-only) would flag the same document and the stub would not be a document with ONE finding.
The near-duplicate tiebreak pin, for T044: report near-duplicate.md, the greater path. F14.1 commits the corpus in ONE commit, so OQ-H-11's "the later-committed one" is a tie. The pair is compost-bin-sizing.md (the original, which sorts first) and near-duplicate.md (which sorts last). T044's tiebreak MUST raise the ONE finding on near-duplicate.md (the later document by path order). The sibling's name does not contain near-duplicate, so no match by substring selects it too. Measured similarity: word-3-shingle Jaccard 0.953 over each document's whole text (0.943 over the bodies); no other pair of the twelve reaches 0.06 (the maximum is 0.0585; the test's ceiling for those pairs is 0.1). The pin is in the fixture's own notes (README.md) and asserted by test_the_near_duplicate_pair_ties_and_path_order_picks_the_document.
What it adds
tests/fixtures/health-corpus/ (12 documents, each with title: and summary: except the one planted on purpose; every body but the stub's longer than 3 lines):
old id
path
intended kind
class
broken-link
broken-link.md
broken-link (target moved: reference/rain-barrel-checklist.md now exists once, as garden/rain-barrel-checklist.md)
auto-fix
derivable-front-matter
derivable-front-matter.md
derivable-front-matter (NO title: key at all, a # heading, a summary:)
Not planted, and not to be flagged: compost-bin-sizing.md (the original), candidate/path-edging-options.md (a control: stage: candidate inside candidate/), garden/rain-barrel-checklist.md (the moved target), and two entry documents, README.md (also the fixture's own notes) and garden/index.md.
Plant derivable-front-matter with NO title: key, never an empty one (R2-INV-P5 § T043, FIX-IN-SLICE, holder 6028138991): an empty title: makes the pinned validator reject the snapshot, generate-and-open then returns non-zero and serves nothing, and F14.1 stops before its first health run. The test shows it, as a control on the check the corpus passes (test_an_empty_title_is_rejected_by_the_check_that_the_corpus_passes).
Two choices OQ-H-8 left open, made here (T044 reads them from the INTENDED table in the test):human-only-finding is an orphan, and accepted-finding is an unmovable broken link. Both are human-only by OQ-H-8. broken-link therefore names two documents of the corpus, different in path and in class; a selection takes the ONE finding whose path is the document and whose kind is the family.
The inbound-link exemption (OQ-H-16), measured and declared. MEASURED: plain-documents/ holds 8 files and 0 links (grep -cE '\]\(|\[\[' reads 0 in each). Its eight documents would be eight orphans under "nothing links to it", and OQ-H-16 exempts only README and index documents, so the corpus does not take plain-documents as its base and reuses none of its files. The corpus holds exactly two entry documents, README.md and garden/index.md, neither with a link pointing at it, so both exercise the exemption; besides them the ONLY document with no inbound link is the planted orphan (test_only_the_entry_documents_and_the_planted_orphan_have_no_inbound_link; the measurement is pinned by test_the_plain_documents_measurement_is_why_it_is_not_the_base).
Other pins in the test: the exact file set (so a missing, extra or engine file fails by name); each old id is the stem of exactly one document; the neutral fields are missing from exactly one document; a document's location is a top-level role-key directory (R2Q11 (a)), and exactly one mismatches; exactly two links resolve to nothing; the declared-vocabulary sweep that test_plain_documents_fixture.py applies; and the corpus generates through the pinned validator.
Files
tests/fixtures/health-corpus/** (12 documents; T043 is the single owner).
No other file is touched. validate.yml's floors are not edited: the pins are floors that only a loss can trip, and SKIPPED is exact (see below).
The falsifier, run (red first)
$ python -m pytest -q tests/test_health_corpus_fixture.py # corpus absent
E AssertionError: expected .../tests/fixtures/health-corpus to exist
37 failed, 3 passed in 1.79s
$ python -m pytest -q tests/test_health_corpus_fixture.py # corpus present
40 passed in 2.66s
opendox generate over a fresh one-commit repository of the corpus (the F14.1 preamble, fresh_repository + run_module), with --strict: exit 0, documents=12, validation: opendox-snapshot: 0 violations. The same corpus with an empty title: line planted on derivable-front-matter.md:
1 × [title-and-summary-are-text] /documents/6/title: '' is shorter than 1
rc=1
Mutants (each applied to the corpus, the suite run, the corpus restored; all KILLED)
mutant
result
an EMPTY title: planted in derivable-front-matter.md
At the first tree of this PR (d911049b, the same documents and test file as 860d0e7c), run locally with CI=1 and OPENDOX_TEST_DATABASE_URL at a postgres:16 container: 5687 passed, 11 skipped, 2 warnings in 2223.47s. The triple from the JUnit report: selected=5698 passed=5687 skipped=11 failures=0 errors=0. Collection without this suite's new file reads 5658, so SELECTED rises by exactly 40 and SKIPPED stays 11 (CI's pinned EXPECT_SKIPPED). No case of this suite skips.
Since then the PR changes only tests/test_health_corpus_fixture.py, in the two review rounds below (assertion style, the H1 pin, the recursive measurement, a tighter ceiling), and no case was added or removed: 40 passed at the head, every mutant above killed at the head. The required validate job runs the whole suite at the head; its triple is quoted in the report that follows this PR.
Review rounds
SonarCloud at 860d0e7c: 4 new issues, all fixed at adcaf8d9 (0 open at that head):python:S9073 x3 (composite assertions split) and python:S3415 x1 (one expected-first assertion flipped).
Copilot at 860d0e7c: COMMENTED, 0 open findings, 0 threads. At adcaf8d9: COMMENTED, 0 threads, with three findings in the review body ("Previously missed"), each a real gap with a simple payload, all FIXED at 0acb6b59: (1) the ceiling on every other pair was 0.2 against a measured maximum of 0.0585 (now 0.1; not the 0.06 it suggested, because the maximum leaves 0.0015 under 0.06 and a prose edit would trip it); (2) the derivable document's heading may not be level 2 to 6 (now a level-1 heading is asserted); (3) the plain-documents measurement read only top-level .md files (now every file, recursively).
Lane 3's early review at d911049b (REVIEW-W1): GO (EARLY), 2 NITs. One was the commit-message trailer (moot under a squash landing). The other, the docstring's "on any reading of it", is fixed at the head below (a docstring-only commit; the same wording is corrected in flag 1 above).
Codex at 860d0e7c and at adcaf8d9: "Didn't find any major issues", each naming the exact head as "Reviewed commit". At 0acb6b59 and later it answered "You have reached your Codex usage limits for code reviews": no Codex review exists at the later heads (CODEX-SILENT, allowed at DRAFT-CLEAN by the holder's ruling, #656 6069024568 item 4). READY needs Codex at the exact head after the limit resets.
What is NOT done
The families and their findings: T044 (tests/test_health_families.py) proves ONE finding per planted document, of the intended kind and class; this suite asserts the layout and the documents only.
F14.1's amendment (the selection lines) is T065's; this PR makes its documents findable by path.
pack-corpus (lane 3, T055) copies this corpus and adds its own documents; none is added here.
…t (plan 038, HA-3)
Twelve documents, ONE planted finding per kind and nothing else a neutral
family would flag: broken-link, derivable-front-matter (no title key, a
heading), stage-location-mismatch (in candidate/), near-duplicate, one empty
stub, human-only-finding (an orphan) and accepted-finding (a link to a file
that exists nowhere), plus a clean original, a control, two entry documents and
the moved link's target. Each planted document is named after its old literal
id, so batch Q's selection lines find it by path.
tests/test_health_corpus_fixture.py asserts the layout and the documents, the
inbound-link exemption (OQ-H-16) with the plain-documents measurement (8 files,
0 links), the near-duplicate tiebreak pin (near-duplicate.md, the greater
path), and that the corpus generates through the pinned validator over a fresh
one-commit repository; an empty title: is shown to be rejected by that same
check. T044 proves the findings themselves.
Lane: openxfactory-4
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Adds the health-corpus fixture for plan 038 and a comprehensive 40-case contract test. The fixture deliberately encodes the planned health findings and controls, while the test pins its exact layout, document metadata, links, exemptions, duplicate-selection behavior, vocabulary constraints, and strict snapshot-generation behavior without yet testing the health families themselves.
File-Level Changes
Change
Details
Files
Adds the complete health-check fixture corpus with deliberately planted and control documents covering the planned finding scenarios.
Adds 12 Markdown documents with controlled front matter, links, paths, body sizes, and vocabulary.
Introduces a 40-test fixture contract that validates the corpus structure and its compatibility with the snapshot generator.
Pins the exact file set, planted-name uniqueness, Markdown-only content, front-matter omissions, empty-stub semantics, stage/location consistency, link resolution, and declared vocabulary exclusions.
Verifies inbound-link exemptions and the measured plain-documents baseline.
Asserts near-duplicate similarity and path-order tie-breaking, plus the intended finding metadata table for downstream family tests.
Runs strict generation against a fresh repository and confirms the no-title-key case passes while an empty title is rejected.
tests/test_health_corpus_fixture.py
Tips and commands
Interacting with Sourcery
Trigger a new review: Comment @sourcery-ai review on the pull request.
Continue discussions: Reply directly to Sourcery's review comments.
Generate a GitHub issue from a review comment: Ask Sourcery to create an
issue from a review comment by replying to it. You can also reply to a
review comment with @sourcery-ai issue to create an issue from it.
Generate a pull request title: Write @sourcery-ai anywhere in the pull
request title to generate a title at any time. You can also comment @sourcery-ai title on the pull request to (re-)generate the title at any time.
Generate a pull request summary: Write @sourcery-ai summary anywhere in
the pull request body to generate a PR summary at any time exactly where you
want it. You can also comment @sourcery-ai summary on the pull request to
(re-)generate the summary at any time.
Generate reviewer's guide: Comment @sourcery-ai guide on the pull
request to (re-)generate the reviewer's guide at any time.
Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
pull request to resolve all Sourcery comments. Useful if you've already
addressed all the comments and don't want to see them anymore.
Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
request to dismiss all existing Sourcery reviews. Especially useful if you
want to start fresh with a new review - don't forget to comment @sourcery-ai review to trigger a new review!
… order in the new test (SonarCloud python:S9073 x3, S3415)
Four findings at 860d0e7, all in tests/test_health_corpus_fixture.py; no behaviour moves (40 passed, and every mutant still killed).
Lane: openxfactory-4
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The reason will be displayed to describe this comment to others. Learn more.
🔵 Needs a closer look
Several assertions do not fully enforce the fixture invariants they claim to pin.
0 open findings
Previously missed (3)
In code that hasn't changed since last review
Use the documented 0.06 similarity ceiling
tests/test_health_corpus_fixture.py:153
This ceiling does not pin the documented measurement that every non-planted pair stays below 0.06. The current maximum is about 0.0585, so a corpus mutation could raise an unrelated pair to 0.19 and still pass, potentially creating an extra near-duplicate finding. Use the declared 0.06 boundary.
Require an H1 heading in the fixture
tests/test_health_corpus_fixture.py:289
The fixture contract specifically requires a # heading so the missing title is derivable, but _HEADING also accepts levels 2–6. Changing this document to ## Staking… would therefore pass this test without preserving the pinned H1 precondition. Assert an H1 here.
Enumerate all fixture files recursively
tests/test_health_corpus_fixture.py:411
This measurement only sees top-level Markdown files, although the assertion and PR contract claim the entire plain-documents/ fixture contains exactly eight files. A nested document or another file would leave the test green while invalidating the measured reason for not reusing that fixture. Enumerate files recursively, as the corpus does.
…the similarity ceiling to 0.1 (Copilot at adcaf8d)
Three findings in Copilot's review of adcaf8d, each a real gap with a simple payload:
- derivable-front-matter's heading may not be level 2 to 6 (a title derives from a level-1 heading);
- the plain-documents measurement read only top-level .md files, so a nested file left it green;
- the ceiling on every other pair of documents was 0.2 against a measured maximum of 0.0585; it is 0.1 (a pair at 0.103 now fails, one at 0.19 did not).
Lane: openxfactory-4
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.
… NIT)
The module docstring claimed the blank body meets data-model.md's criterion on any reading of it; it holds under leading_header's convention, and a reader that took --- fences for front matter would see the stub's header as body. Docstring only; 40 passed.
Lane: openxfactory-4
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.
REVIEW-W1 of T043 at d6c9f29c (this PR's DRAFT-CLEAN head): GO.
2 findings: 0 BLOCKER, 0 MAJOR, 0 MINOR, 2 NIT.
It follows lane 3's early pass at d911049b.
The early NIT 2 is fixed: the docstring now says "under leading_header's convention (src/opendox/runtime/local_git_adapter.py)", and that matches the code.
Findings
NIT, the messages of commits 860d0e7c, adcaf8d9 and 0acb6b59.
A blank line still separates Lane: openxfactory-4 from Co-Authored-By:, so git interpret-trailers --parse yields only Co-Authored-By. Only d6c9f29c has the pair adjacent.
All four commits end Claude Sonnet 5.5, not WRITER-RULES-R2's Opus (1M context) line.
Fix: none on the branch, since that would need a force-push. The holder rules on the attribution line, and the landing's merge message carries Lane: and Arc: as real trailers.
NIT, tests/test_health_corpus_fixture.py:294-295. The second assertion in test_derivable_front_matter_has_no_title_key_and_a_heading cannot fail while the first ("title" not in header) passes. Both read the same leading lines by the same rule.
Fix: delete it, or leave it as harmless.
Checked OK
The falsifier is red at main (6827cafc). Lone -x: AssertionError: expected …/tests/fixtures/health-corpus to exist. The full file gives 37 failed and 3 passed, as the body says.
The lone CI form at the head: selected=40, passed=40, skipped=0. The test needs no PostgreSQL.
Files against the diff. 13 files changed: the 12 fixtures plus the test. validate.yml, pyproject.toml, the census, the stylesheet pin and plain-documents are untouched. Every file is mode 100644, uses LF, and ends in a newline.
The generate probe on a one-commit copy. It reports 12 documents and opendox-snapshot: 0 violations, with and without --strict. An empty title: planted in the derivable document gives rc=1 and title-and-summary-are-text, as the body quotes.
Mutants.
T1 to T4 and T6 to T9 are killed, and so is T5b.
T5, a weak one-phrase edit, survives as expected, because the test uses a similarity floor of 0.9.
So are 16 extra mutants, among them heading-level changes, a stub with no title, stage drift, vocabulary additions, nested plain-documents, the ceilings, and the path-order rename (9 red). Two equivalent ones survive.
The cites hold:
FR-015 (spec.md:937);
#1144 box 14.9 and batch Q's selection rule;
OQ-H-8, OQ-H-10, OQ-H-11 and OQ-H-16;
R2Q11 (a);
ADV-17, and the data-model kinds (data-model.md:196);
RULED OQ-C;
DECLARED_VOCABULARY against test_plain_documents_fixture.py.
FIXTURES. Every use joins a named subdirectory or file, and nothing sweeps tests/fixtures.
The body. It has the Lane and Arc lines, and its Files line is exactly the 13 files. The mutant table matches the measurement. The cited comments say what the body says, and there is no closing keyword and no host path.
For the holder, not defects. T044 and T065 must honour these:
the corpus holds TWO broken-link findings: broken-link.md (auto-fix) and accepted-finding.md (human-only), so selection goes by path;
the stage mismatch is candidate/stage-location-mismatch.md;
the near-duplicate tie goes to near-duplicate.md, by path order.
Codex. Codex reviewed 860d0e7c and adcaf8d9 ("Didn't find any major issues"). At 0acb6b59 and d6c9f29c it answered "usage limit", so there is no Codex review at the head. READY needs one after the limit resets, or the holder's ruling under 6069024568.
Not reached
No full local suite; CI's triple at the head stands in for it.
No literal pair built at about 0.103 for the 0.1 ceiling. The 0.05 constant mutant is killed, and the measured maximum is 0.0585.
The reason will be displayed to describe this comment to others. Learn more.
Codex expert-panel review of d6c9f29c8919e40495e99de57713f7f5d8882974 against this PR's main base.
No actionable findings. Reviewed fixture layout, planted/control documents, inbound-link exemptions, stage mismatch, near-duplicate separation, neutral vocabulary, and strict-generation coverage. Keeping family-detection assertions in T044/#101 is consistent with this fixture-only slice. Earlier fixture-review adjustments are present in the current code.
Validation: static source/diff/test and review-history inspection. Existing validate, acceptance, and SonarCloud checks report SUCCESS; the fixture test suite was not rerun by this review. Readiness: no code blocker identified in this slice; retain its documented T027/draft landing controls and validate the final integration head before merge. This comment does not change those controls.
This branch has not been deployed
No deployments
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Lane: openxfactory-4 (openXfactory-4-openDox_extraction)
Arc: neutral-product-standalone-operability
Lands after T027 (Brett, 6035546708)
T043:
tests/fixtures/health-corpus, 14.9's corpus, and its test (plan 038, HA-3)DRAFT. It does not land before T027 has pinned phase 4's openDox-code commit (N-6 (a)). Refs opensoft/openXfactory#656 (stays OPEN).
add-neutral-product-standalone-operability; spec FR-015).tests/test_health_corpus_fixture.py.6035546708); the holder's claim6035574389. Decisions: OQ-H-8, OQ-H-16.TWO FLAGS (the holder asked for both)
empty-stub.mdcarriestitle:andsummary:and has NO body (the body is blank, which meets data-model.md's criterion "after front matter, the body holds no line that is neither blank nor a heading" underleading_header's convention, the one the adapter and the projection read; a reader that took---fences for front matter would see the header as body, and no document in this corpus uses a fence). A zero-byte file was not planted because it has no title and, having no heading, none that could be derived, so a second family (missing front matter, non-derivable,human-only) would flag the same document and the stub would not be a document with ONE finding.near-duplicate.md, the greater path. F14.1 commits the corpus in ONE commit, so OQ-H-11's "the later-committed one" is a tie. The pair iscompost-bin-sizing.md(the original, which sorts first) andnear-duplicate.md(which sorts last). T044's tiebreak MUST raise the ONE finding onnear-duplicate.md(the later document by path order). The sibling's name does not containnear-duplicate, so no match by substring selects it too. Measured similarity: word-3-shingle Jaccard 0.953 over each document's whole text (0.943 over the bodies); no other pair of the twelve reaches 0.06 (the maximum is 0.0585; the test's ceiling for those pairs is 0.1). The pin is in the fixture's own notes (README.md) and asserted bytest_the_near_duplicate_pair_ties_and_path_order_picks_the_document.What it adds
tests/fixtures/health-corpus/(12 documents, each withtitle:andsummary:except the one planted on purpose; every body but the stub's longer than 3 lines):broken-linkbroken-link.mdbroken-link(target moved:reference/rain-barrel-checklist.mdnow exists once, asgarden/rain-barrel-checklist.md)derivable-front-matterderivable-front-matter.mdderivable-front-matter(NOtitle:key at all, a#heading, asummary:)stage-location-mismatchcandidate/stage-location-mismatch.mdstage-location-mismatch(stage: selectioninsidecandidate/)near-duplicatenear-duplicate.mdnear-duplicate(see flag 2)empty-stub.mdempty-stub(see flag 1)human-only-findinghuman-only-finding.mdorphan(nothing links to it)accepted-findingaccepted-finding.mdbroken-linkwhose target exists nowhere (archive/shed-plans-2019.md)Not planted, and not to be flagged:
compost-bin-sizing.md(the original),candidate/path-edging-options.md(a control:stage: candidateinsidecandidate/),garden/rain-barrel-checklist.md(the moved target), and two entry documents,README.md(also the fixture's own notes) andgarden/index.md.Plant
derivable-front-matterwith NOtitle:key, never an empty one (R2-INV-P5 § T043, FIX-IN-SLICE, holder6028138991): an emptytitle:makes the pinned validator reject the snapshot,generate-and-openthen returns non-zero and serves nothing, and F14.1 stops before its firsthealth run. The test shows it, as a control on the check the corpus passes (test_an_empty_title_is_rejected_by_the_check_that_the_corpus_passes).Two choices OQ-H-8 left open, made here (T044 reads them from the
INTENDEDtable in the test):human-only-findingis an orphan, andaccepted-findingis an unmovable broken link. Both arehuman-onlyby OQ-H-8.broken-linktherefore names two documents of the corpus, different inpathand in class; a selection takes the ONE finding whosepathis the document and whosekindis the family.The inbound-link exemption (OQ-H-16), measured and declared. MEASURED:
plain-documents/holds 8 files and 0 links (grep -cE '\]\(|\[\['reads 0 in each). Its eight documents would be eight orphans under "nothing links to it", and OQ-H-16 exempts only README and index documents, so the corpus does not takeplain-documentsas its base and reuses none of its files. The corpus holds exactly two entry documents,README.mdandgarden/index.md, neither with a link pointing at it, so both exercise the exemption; besides them the ONLY document with no inbound link is the planted orphan (test_only_the_entry_documents_and_the_planted_orphan_have_no_inbound_link; the measurement is pinned bytest_the_plain_documents_measurement_is_why_it_is_not_the_base).Other pins in the test: the exact file set (so a missing, extra or engine file fails by name); each old id is the stem of exactly one document; the neutral fields are missing from exactly one document; a document's location is a top-level role-key directory (R2Q11 (a)), and exactly one mismatches; exactly two links resolve to nothing; the declared-vocabulary sweep that
test_plain_documents_fixture.pyapplies; and the corpus generates through the pinned validator.Files
tests/fixtures/health-corpus/**(12 documents; T043 is the single owner).tests/test_health_corpus_fixture.py(new, 40 cases).No other file is touched.
validate.yml's floors are not edited: the pins are floors that only a loss can trip, and SKIPPED is exact (see below).The falsifier, run (red first)
opendox generateover a fresh one-commit repository of the corpus (the F14.1 preamble,fresh_repository+run_module), with--strict: exit 0,documents=12,validation: opendox-snapshot: 0 violations. The same corpus with an emptytitle:line planted onderivable-front-matter.md:Mutants (each applied to the corpus, the suite run, the corpus restored; all KILLED)
title:planted inderivable-front-matter.mdtest_derivable_front_matter_has_no_title_key_and_a_heading,test_the_corpus_generates_through_the_pinned_validator)title:key planted thereaccepted-finding.md)test_the_corpus_holds_exactly_the_declared_files,test_each_planted_document_exists_under_its_old_id[accepted-finding], ...)garden/broken-link.md)test_exactly_one_document_answers_to_each_planted_name[broken-link], generate)human-only-finding-copy.md)test_the_empty_stub_is_empty)health/dispositions.yaml) plantedplain-documentsgains a link (the measurement goes stale)## Staking ...)test_derivable_front_matter_has_no_title_key_and_a_heading)plain-documents/(the measurement counts every file, recursively)test_the_near_duplicate_pair_ties_and_path_order_picks_the_document)The whole suite, as CI runs it
At the first tree of this PR (
d911049b, the same documents and test file as860d0e7c), run locally withCI=1andOPENDOX_TEST_DATABASE_URLat apostgres:16container:5687 passed, 11 skipped, 2 warnings in 2223.47s. The triple from the JUnit report:selected=5698 passed=5687 skipped=11 failures=0 errors=0. Collection without this suite's new file reads 5658, so SELECTED rises by exactly 40 and SKIPPED stays 11 (CI's pinnedEXPECT_SKIPPED). No case of this suite skips.Since then the PR changes only
tests/test_health_corpus_fixture.py, in the two review rounds below (assertion style, the H1 pin, the recursive measurement, a tighter ceiling), and no case was added or removed: 40 passed at the head, every mutant above killed at the head. The requiredvalidatejob runs the whole suite at the head; its triple is quoted in the report that follows this PR.Review rounds
860d0e7c: 4 new issues, all fixed atadcaf8d9(0 open at that head):python:S9073x3 (composite assertions split) andpython:S3415x1 (one expected-first assertion flipped).860d0e7c: COMMENTED, 0 open findings, 0 threads. Atadcaf8d9: COMMENTED, 0 threads, with three findings in the review body ("Previously missed"), each a real gap with a simple payload, all FIXED at0acb6b59: (1) the ceiling on every other pair was 0.2 against a measured maximum of 0.0585 (now 0.1; not the 0.06 it suggested, because the maximum leaves 0.0015 under 0.06 and a prose edit would trip it); (2) the derivable document's heading may not be level 2 to 6 (now a level-1 heading is asserted); (3) the plain-documents measurement read only top-level.mdfiles (now every file, recursively).d911049b(REVIEW-W1): GO (EARLY), 2 NITs. One was the commit-message trailer (moot under a squash landing). The other, the docstring's "on any reading of it", is fixed at the head below (a docstring-only commit; the same wording is corrected in flag 1 above).860d0e7cand atadcaf8d9: "Didn't find any major issues", each naming the exact head as "Reviewed commit". At0acb6b59and later it answered "You have reached your Codex usage limits for code reviews": no Codex review exists at the later heads (CODEX-SILENT, allowed at DRAFT-CLEAN by the holder's ruling, #6566069024568item 4). READY needs Codex at the exact head after the limit resets.What is NOT done
tests/test_health_families.py) proves ONE finding per planted document, of the intended kind and class; this suite asserts the layout and the documents only.path.pack-corpus(lane 3, T055) copies this corpus and adds its own documents; none is added here.🤖 Generated with Claude Code