Repository navigation
Conversation
…ions The PR description check found a section only as the template's bold `**Tested**`, case-sensitively. Descriptions written with markdown headings (`## Tested`, `## Not Tested`, `## AI Use`) were refused with "the **Tested** section is missing or empty" though the sections were there and filled; about 20 open PRs fail only on this. A section heading is now `**Name**` as before, or a markdown heading `#`..`######` on a line of its own (optionally with the name in bold), with the name in any case. The same heading form starts the **AI use** text the banned-model check reads, so a model named under `## AI use` is still refused. Empty sections and template placeholders still fail. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Tested on Apple Silicon (arm64 macOS), Python 3.14.7. In direct
Not tested: Windows runtime, GPU, or the hosted workflow. These results are for the Python checker only. AI use: OpenCode (GPT-6.2 Astra) ran the comparisons and wrote this report. |
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
Thanks! |
… use Two descriptions that main's checker refused passed with the markdown headings (RobertAndreiGit on xcl-dev#1645): - A sub-heading inside **AI use** (`### Tools`) ended its text, so a banned model named below it was not seen. The **AI use** text now runs to the next section of the template, in either heading form. - A description quoted whole in a code fence counted as one. Lines in a ``` or ~~~ fence are no headings now; the fence still counts as the text of the section it sits in, and the banned-model check still reads it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Thanks @RobertAndreiGit, both were real regressions. Fixed in e0682e1: the AI use text now runs to the next template section (a AI use: Claude Code (Claude Opus 5.5). |
|
Tested the I checked the first bytes, CRLF line endings and non-ASCII content, then ran
Follow-up on the indentation feedback. I tested three heading forms at eight line prefixes. Candidate d4b2e2a3da5f recognized each form at zero through three leading spaces and kept indented code, quotes and inline examples out of the section list. The commit includes the earlier UTF-8 body and adjacent-section changes on the same PR head ( |
|
Re-verification on RTX 3060 Ti (Windows 11), new head merged with current
Thanks! — Devin |
luckyteagirl
left a comment
There was a problem hiding this comment.
On e0682e1, mask_fences recognizes an opening fence only with 0–3 absolute leading spaces, while heading() accepts any indentation. A normal fenced example nested under a top-level list item has four spaces before its fence and contents. With a body containing only - Example only: and a four-space-indented ```markdown block that contains ## Tested, ## Not tested, and ## AI use with sample text, the fence is never masked and those example headings satisfy all three required sections. The base/current-main checker reports all three missing for the same body. This reopens the quoted-template acceptance case the follow-up commit intended to close.
Could the checker recognize fences relative to their containing list item, or require the actual template headings at top level? A nested-fence fixture with all three headings would cover it while retaining the current top-level fence tests. This is an exact-head source and in-memory Python differential; I did not run the hosted PR-check workflow.
scripts/pr_check.pyfound a required section only as the template's bold**Tested**, case-sensitively. Descriptions that use markdown headings (## Tested,## Not Tested,## AI Use) were refused with "the Tested section is missing or empty" though the sections were there and filled, e.g. #1633, #1634, #1635. A section heading is now**Name**as before, or a markdown heading on a line of its own, with the name in any case.What is in it
scripts/pr_check.py:heading()matches**Name**or#..######Name(the name may be in bold), case-insensitive.section_has_content()uses it for the section's start and for the next heading that ends it; the AI use text read by the banned-model check starts at the same heading and runs to the next section of the template, so a model named under## AI useor below a sub-heading of it (### Tools) is still refused.mask_fences(): a heading inside a ``` or ~~~ code fence is no heading (a fence still counts as the text of the section it sits in). Empty sections and template placeholders still fail. +37 -10.scripts/test_pr_check.py:HeadingFormTests, 8 tests: markdown headings and other cases pass, empty markdown sections fail, a markdown heading ends the section before it,## Tested thingsis not a heading, a banned model under## AI Useor under### Toolsin AI use is refused, headings inside a code fence are not sections, a fence inside a section is its text. +56. The### Toolsand fence cases are RobertAndreiGit's (comment below).Tested
cd scripts && python -B -m unittest test_pr_check: 21 passed (main's 13 and the 8 new). Main'spr_check.pypasses its own 13; with the new tests it gives 8 failures, the previous head 2068275 gives 5 (the### Toolsand fence cases; subtests counted separately).check()of main and of this branch on the descriptions of the last 1,000 PRs of this repository (all states, a README-only file list, fetched 2026-11-25): 52 get fewer problems, none gets a problem main does not report. The previous head 2068275 gives the same result on all 1,000.py scripts/pr_check.py --body <this> --head <head> --files <files.tsv> --localon this branch.Regression run
Not tested
PR checksworkflow on GitHub's runner (it runs main's copy of the checker, so this PR's own check uses the old rules).AI use
🤖 Generated with Claude Code