Repository navigation
PR checks: the model check reads what is visible under AI use - #835
Open
Rareuncommon wants to merge 2 commits into
Open
Rareuncommon wants to merge 2 commits into
Rareuncommon wants to merge 2 commits into
Conversation
Contributor
|
Test report on Tested
Not tested
AI use
|
|
Ran the script tests on this tree after applying the PR (Debian 13, Python 3.13.14, no other changes): Covers the visible-AI-use scan the PR describes, and the stacked #527 part is not needed for these 17. AI-assisted (opencode): applied, ran, reverted. |
phantomic12
pushed a commit
to phantomic12/xcl
that referenced
this pull request
Nov 24, 2026
…ree surveys The harness reads d3d12.last_frame_dump from report.json (sampled_pixels / non_dark_samples) instead of parsing BMPs - that is the number XCL already computes, and it is what issue ivall#717 proposes to put in the smoke block. -MinLitPct (default 1) fails a run whose last frame is dark, so a black screen cannot be reported as a pass. Surveys committed (docs/): - bcpack-decoder-plan.md: BCPack is already staked out upstream by ivall#888/ivall#856/ivall#832, and no public bit layout exists - the seam is definable but every stream detail is 'unknown - needs a sample'. - upstream-scan.md: 17 PRs and 25 issues touch this area; the smoke block format is maintainer-owned (ivall#834/ivall#835/ivall#717) and our summary.md is not an xcl-smoke v1 block. - trap-695-not-reproduced.md: issue ivall#695's int3 at +0x4dcbc9d does not happen on this AMD RDNA2 machine over 6 consecutive 120 s runs, with the same shader and PSO refusals - a data point for that issue. Windows PowerShell 5.1's Get-Content -Raw mangles the en-dash in the 'backend' line, so the GPU name is read with [IO.File]::ReadAllText.
Open
… removed first Rebuilt on main after xcl-dev#965 / xcl-dev#1037, which took over the empty-section and template-placeholder part of this change. What is left: - A section name in bold at the end of a sentence was taken for the section's heading. When the sentence came before the real section, the real one was never read: a filled description was reported empty. - The heading search could start inside an HTML comment, so a section commented out as a whole passed. - An unclosed <!-- hides the rest of the description on GitHub but was still read as text. section_texts() returns what is under each heading (comments removed, heading lines of their own at both ends); section_has_content() keeps main's placeholder rule over it. scripts/test_pr_check.py: SectionHeadingTests, seven tests; three fail on main's check. Assisted-by: Claude Code (Claude Fable 5.2)
The check for models this repository does not accept looked for the first **AI use** anywhere in the raw description and stopped at the next bold line. So a comment or a sentence that named the section before the real one hid it, a bold line inside the section ended the scan, and a model named only inside a comment was refused. It now reads section_texts(), the text the section check reads: comments removed, the section from its heading line to the next heading line. scripts/test_pr_check.py: BannedModelTests, five tests; three fail on the check before. Assisted-by: Claude Code (Claude Fable 5.2)
Rareuncommon
force-pushed
the
scripts/pr-check-ai-use-visible-text
branch
from
November 24, 2026 14:50
1b124f7 to
9df3fd1
Compare
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Stacked on #527; only the top commit (
9df3fd1) belongs here. It is point 3 of @Kalmarv's review there. Rebuilt on #527's new head5bdaffa(main930e8b4).The check for models this repository does not accept looked for the first
**AI use**anywhere in the raw description and stopped at the next bold line. So a comment or a sentence that named the section before the real one hid it, a bold line inside the section ended the scan, and a model named only inside a comment was refused.What is in it
scripts/pr_check.py: the model check reads PR checks: a section with nothing under it is refused as empty #527'ssection_texts(), the text the section check reads. +2 −2 in the top commit.scripts/test_pr_check.py:BannedModelTests, five tests on hand-written descriptions. +39. The separatescripts/pr_check.tests.pyis gone; the tests are in main's file, whichunittestfinds.Tested
cd scripts && python3 -m unittest test_pr_check: 21 passed. Against PR checks: a section with nothing under it is refused as empty #527'spr_check.py(5bdaffa): 3 of the 5 new tests fail (a section named earlier in a comment or a sentence, a bold line inside the section, a model named only in a comment).check()at5bdaffaand at this commit compared on the descriptions of 1,029 PRs of this repository (all states): no verdict changes.930e8b4: 25 tests pass.Regression run
Not tested
cargo test --workspaceand the GPU suite were not run; this PR changes no Rust.PR checksworkflow on GitHub's runner.AI use