mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 23:55:52 +01:00
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#1329
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/1299
Author: @muhammadumairmustafa
Created: 11/24/2026
Status: 🔄 Open
Base:
main← Head:old-9807📝 Commits (3)
b306f1bbuffer_bounds_probe: exit 2 on non-numeric --waves (OLD-9807, carries #80 by nino-exe)0a5a8adtests: add test_waves_that_are_not_numbers for buffer_bounds_probe (OLD-9807, carries #80 by nino-exe)cfc9913style: restore blank lines around test_waves_that_are_not_numbers📊 Changes
2 files changed (+10 additions, -1 deletions)
View changed files
📝
tests/test_buffer_bounds_probe.py(+6 -0)📝
tools/buffer_bounds_probe.py(+4 -1)📄 Description
Claimed in the coordination issue as: OLD-9807 (in #14)
What and why
Carries forward
old-pr/9807(draft #80, originally bynino-exe).A non-numeric
--wavesargument (e.g.--waves 32,abc) intools/buffer_bounds_probe.pyraised an uncaughtValueErrortraceback and exited1, whereas the docstring specifies bad arguments exit2. Wrapping the integer parse intry / except ValueErrorlets invalid values fall through to the existing validation check that prints the error and returns2. Addstest_waves_that_are_not_numbersintests/test_buffer_bounds_probe.py.Tested
Ran
python -I tests/test_buffer_bounds_probe.pylocally on Windows (CPU-only, synthetic tests only, no game files): 6 tests run in 0.830s, OK.AI-assisted: yes
Checklist
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.