Repository navigation
Fix #27: address project_validator issues found during CI - #29
Merged
lefticus merged 5 commits intoNov 23, 2026
Conversation
Member
|
@leftibot evaluate against the current main of project-evaluator and update this branch |
Contributor
Author
|
✅ leftibot finished addressing the review feedback. |
Contributor
Author
|
Addressed review feedback from @lefticus. New commits: |
leftibot
added a commit
to leftibot/mutant_strain
that referenced
this pull request
Nov 22, 2026
…validator asks Requested by @lefticus in PR cpp-best-practices#29 review. project_validator main (28c0eea) --strict reported two new findings on this branch: fuzz-testing failed (no fuzz targets) and mutation-testing warned (no mutation testing in CI). - fuzz/fuzz_mutators.py is an atheris target that feeds arbitrary text to the lexer engine and checks that every token sits at its offset and that every mutant rewrites only its own operator; a new CI job fuzzes it for two minutes. - A new CI job runs mutmut ([tool.mutmut] in pyproject.toml) on the strain modules a pull request (or a push to main) changes, and reports the surviving mutants in the job summary. It only reports; it does not fail on survivors. Mutating all of strain takes hours, so it is never run whole. - atheris and mutmut are locked in requirements-ci.txt; atheris only for Linux and Python 3.12 or later, where it publishes wheels. - mypy, lizard and jscpd cover fuzz/ as they do strain/ and tests/. - tests/test_ci.py checks both jobs. Now: 40 checks, 26 passed, 14 skipped, no failures or warnings. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Member
|
@leftibot fix merge conflicts |
Contributor
Author
|
✅ leftibot finished addressing the review feedback. |
Contributor
Author
|
Addressed review feedback from @lefticus. New commits: |
leftibot
added a commit
to leftibot/mutant_strain
that referenced
this pull request
Nov 22, 2026
Kept the commit-pinned actions in ci.yml, combined both sides of requirements-ci.in (main's coverage, ruff and textual with this branch's atheris, mutmut, mypy and zizmor) and regenerated requirements-ci.txt from main's lock, and dropped strain/dashboard.py and its test, which main replaced with the Textual TUI. Requested by @lefticus in PR cpp-best-practices#29 review. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
leftibot
added a commit
to leftibot/mutant_strain
that referenced
this pull request
Nov 22, 2026
The mypy --strict job this branch adds now covers main's TUI, runner, naming and packaging code. TuiConsole kept its LiveState in Console's bool `live`, so it is now `live_state`; the rest are missing annotations and stale ignores. Also applies ruff format to a blank line main's test_end_to_end.py lacked. Requested by @lefticus in PR cpp-best-practices#29 review. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Member
|
@leftibot fix merge conflicts |
Contributor
Author
|
✅ leftibot finished addressing the review feedback. |
Contributor
Author
|
Addressed review feedback from @lefticus. New commits: |
leftibot
added a commit
to leftibot/mutant_strain
that referenced
this pull request
Nov 23, 2026
Keeps main's normalized() helper in tests/test_name.py alongside this branch's typed pyproject() signature. Requested by @lefticus in PR cpp-best-practices#29 review. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
leftibot
added a commit
to leftibot/mutant_strain
that referenced
this pull request
Nov 23, 2026
mypy --strict flagged the parallel-tests stub of Runner.mutated, an unused ignore, and a read of Console.out as a StringIO; the live-console test now reads RecordingConsole.transcript instead. Requested by @lefticus in PR cpp-best-practices#29 review. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…dings from CI project_validator runs with --strict, so its two failures (no status badges, no type checker) and five warnings (tag-pinned actions, no workflow lint, no dependency audit, no secret scanning, no security policy) each failed the job. CI now pins every action to a commit, runs mypy strictly (with the few type errors it found fixed), zizmor, pip-audit and TruffleHog, and publishes an OpenSSF Scorecard; the README shows CI and Scorecard badges and SECURITY.md says how to report a vulnerability. tests/test_ci.py checks each of these. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…validator asks Requested by @lefticus in PR cpp-best-practices#29 review. project_validator main (28c0eea) --strict reported two new findings on this branch: fuzz-testing failed (no fuzz targets) and mutation-testing warned (no mutation testing in CI). - fuzz/fuzz_mutators.py is an atheris target that feeds arbitrary text to the lexer engine and checks that every token sits at its offset and that every mutant rewrites only its own operator; a new CI job fuzzes it for two minutes. - A new CI job runs mutmut ([tool.mutmut] in pyproject.toml) on the strain modules a pull request (or a push to main) changes, and reports the surviving mutants in the job summary. It only reports; it does not fail on survivors. Mutating all of strain takes hours, so it is never run whole. - atheris and mutmut are locked in requirements-ci.txt; atheris only for Linux and Python 3.12 or later, where it publishes wheels. - mypy, lizard and jscpd cover fuzz/ as they do strain/ and tests/. - tests/test_ci.py checks both jobs. Now: 40 checks, 26 passed, 14 skipped, no failures or warnings. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The mypy --strict job this branch adds now covers main's TUI, runner, naming, packaging and parallel-test code. TuiConsole kept its LiveState in Console's bool `live`, so it is now `live_state`; the rest are missing annotations and stale ignores. RecordingConsole keeps its transcript as a StringIO, so the tests read it from there rather than from Console's TextIO `out`. Requested by @lefticus in PR cpp-best-practices#29 review. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01ByTXNqDWdM7HzezrFtEvQt
--jobs made _add_scheduling_arguments 35 lines, which fails the function-limits job. --compile-time and --no-build-cache, which choose and remember mutants rather than schedule them, move to _add_mutant_arguments; the options and their order in --help are unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01ByTXNqDWdM7HzezrFtEvQt
main's packaging test builds a wheel from pyproject.toml, README.md, LICENSE.txt and strain/, so the mutation-testing job's clean test run, which runs in mutmut's copy of the project, failed for want of LICENSE.txt. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01ByTXNqDWdM7HzezrFtEvQt
leftibot
force-pushed
the
fix/issue-27-address-project-validator-issues-found-d
branch
from
November 23, 2026 02:31
24aeeaf to
a635a5f
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.
Automated fix by @leftibot.
What changed
Files
Closes #27
Triggered by @lefticus.