PR checks: the model check reads what is visible under AI use #835
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl!835
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-835"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@Rareuncommon on GitHub · 2026-11-24 06:31 UTC · original
Rareuncommon:scripts/pr-check-ai-use-visible-text→main· +114 −15 · 2 files · 2 commits · openStacked 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 #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 #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
@milas6669 on GitHub · 2026-11-24 06:42 UTC · original
Test report on
1b124f7(PR head; it is based on an older main,2997c9a, and merges intomainbeaa245with no conflict, also with #834).Tested
cd scripts && python pr_check.tests.py: 17 tests, OK on this head.python -m unittest pr_check.testsfails to import (the dot in the file name makes it look like a package), andpython -m unittest discover -s . -p "pr_check.tests.py"runs 0 tests ("NO TESTS RAN"), so the file runs only when started as a script.mainalready hasscripts/test_pr_check.py, whichunittestfinds astest_pr_check; this PR adds a second test file next to it under another name.Not tested
pr-check.ymlon GitHub); only the unit tests ranscripts/test_pr_check.pyon this head (that file is not in this PR's base)AI use
@dcastell1 on GitHub · 2026-11-24 07:09 UTC · original
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.
@DavidM1911 on GitHub · 2026-11-25 10:27 UTC · original
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:cargo test -p xcl --lib: all passed, 0 failed, ~26 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.)Thanks!
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.