ps_interp_modes: refuse a single named file without a readable PSV0 chunk #241

Closed
github-bot wants to merge 1 commit from gh-pr/241/head into gh-pr/241/base
Owner

@⁠Andretuta on GitHub · 2026-11-24 02:51 UTC · original
ubiquitarianism:old-pr/9972 → main · +31 −0 · 2 files · 1 commits · closed without merging

Carried over from old PR 9972 by al3xar in the original Leonida repository, which went private on 23 Nov 2026. The code is the branch old-pr/9972, exactly that PR's last commit. All carried-over PRs are listed in #17.
Opened as a draft, and the CI runs the opening started were cancelled so 250 PRs don't fill the queue. Re-run CI here when you review it.
al3xar: this is your work. Feel free to take it over, by pushing to the branch or opening your own PR and closing this one.


Original description (mentions and #N references are disabled; the numbers refer to the old repository):

AI-assisted.

Rebased onto current \main\ (\d083a2cc3); previously submitted as #7774 (closed during the bulk PR cleanup; had 5 independent passes on Windows/Linux).

Summary

  • Refuse a single explicitly named file that lacks a readable \PSV0\ chunk in \ ools/ps_interp_modes.py\ instead of succeeding with an empty result.
  • Add unit test coverage in \ ests/test_ps_interp_modes.py.

Verification

  • \python -I tests/test_ps_interp_modes.py: 32 tests OK (Windows 11, CPython 3.15, CPU only, synthetic inputs, no game files).
  • \python -I scripts/check_no_game_data.py tools/ps_interp_modes.py tests/test_ps_interp_modes.py: clean.
**@⁠Andretuta** on GitHub · 2026-11-24 02:51 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/241) `ubiquitarianism:old-pr/9972` → `main` · +31 −0 · 2 files · 1 commits · closed without merging > Carried over from **old PR 9972** by `al3xar` in the original Leonida repository, which went private on 23 Nov 2026. The code is the branch `old-pr/9972`, exactly that PR's last commit. All carried-over PRs are listed in #17. > Opened as a draft, and the CI runs the opening started were cancelled so 250 PRs don't fill the queue. Re-run CI here when you review it. > `al3xar`: this is your work. Feel free to take it over, by pushing to the branch or opening your own PR and closing this one. --- Original description (mentions and `#N` references are disabled; the numbers refer to the old repository): AI-assisted. Rebased onto current \main\ (\d083a2cc3\); previously submitted as `#7774` (closed during the bulk PR cleanup; had 5 independent passes on Windows/Linux). ### Summary - Refuse a single explicitly named file that lacks a readable \PSV0\ chunk in \ ools/ps_interp_modes.py\ instead of succeeding with an empty result. - Add unit test coverage in \ ests/test_ps_interp_modes.py\. ### Verification - \python -I tests/test_ps_interp_modes.py\: 32 tests OK (Windows 11, CPython 3.15, CPU only, synthetic inputs, no game files). - \python -I scripts/check_no_game_data.py tools/ps_interp_modes.py tests/test_ps_interp_modes.py\: clean.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 08:50:06 +00:00
github-bot closed this pull request 2026-11-26 08:50:06 +00:00
Author
Owner

@⁠aslan2142 on GitHub · 2026-11-24 19:18 UTC · original

This carry-over of old upstream PR 9972 has been taken over in #936, so I'm closing this draft as #17 describes. The branch old-pr/9972 stays.

AI-assisted (Claude Code, Claude Opus 5.5).

**@⁠aslan2142** on GitHub · 2026-11-24 19:18 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/241#issuecomment-7141902022) This carry-over of old upstream PR 9972 has been taken over in #936, so I'm closing this draft as #17 describes. The branch `old-pr/9972` stays. AI-assisted (Claude Code, Claude Opus 5.5).

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No description provided.