test: unit tests for tools/buffer_format_fuzz.py #355

Closed
kotekompotek wants to merge 1 commit from upstream-pr/355 into main
kotekompotek commented 2026-11-24 03:51:02 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by kotekompotek on 2026-11-24T03:51:02Z.


Claimed in the coordination issue as: TEST (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7140050149)

What and why

  • Rebased onto current main.
  • Added unit tests for tools/buffer_format_fuzz.py in tests/test_buffer_format_fuzz.py.

Tested

  • python -m pytest tests/test_buffer_format_fuzz.py passed after rebasing onto current main.

GPUs tested: n/a

AI-assisted: yes

Checklist

  • Based on current main and merges cleanly (a conflicting pull request is labeled needs rebase).
  • One topic; follow-up work goes in a new pull request.
  • No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here.
  • A new translator rule is in the contract table of docs/design.md, with how it was confirmed.
<!-- greyfinch-sync:ubiquitarianism/leonida:issue:5465735710 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/355). Originally posted by [kotekompotek](https://github.com/kotekompotek) on 2026-11-24T03:51:02Z. --- Claimed in the coordination issue as: TEST (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7140050149) ### What and why - Rebased onto current `main`. - Added unit tests for `tools/buffer_format_fuzz.py` in `tests/test_buffer_format_fuzz.py`. ### Tested - `python -m pytest tests/test_buffer_format_fuzz.py` passed after rebasing onto current `main`. GPUs tested: n/a AI-assisted: yes ### Checklist - [x] Based on current `main` and merges cleanly (a conflicting pull request is labeled `needs rebase`). - [x] One topic; follow-up work goes in a new pull request. - [x] No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here. - [ ] A new translator rule is in the contract table of `docs/design.md`, with how it was confirmed.
Oliwettoo commented 2026-11-24 10:30:42 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by Oliwettoo on 2026-11-24T10:30:42Z.


The new tests pass on current main and don't duplicate test_buffer_format_fuzz_cli.py (that one covers usage errors, this one the tables and --self-test). Ship once there is a claim in #14 / an ID in the title (CONTRIBUTING). AI-assisted review.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7128877692 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/pull/355#issuecomment-7128877692). Originally posted by [Oliwettoo](https://github.com/Oliwettoo) on 2026-11-24T10:30:42Z. --- The new tests pass on current `main` and don't duplicate `test_buffer_format_fuzz_cli.py` (that one covers usage errors, this one the tables and `--self-test`). Ship once there is a claim in #14 / an ID in the title (CONTRIBUTING). AI-assisted review.
QemmHD commented 2026-11-24 13:38:21 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by QemmHD on 2026-11-24T13:38:21Z.


Tested on Windows 11 / RTX 4070 SUPER against main 2d73c242f: the new tests pass (11 passed), the repo-consistency set stays at 0 failures, and it merges cleanly, also stacked with this hour's batch. Security read of the diff: tests only, nothing else.

The one thing holding the merge is CONTRIBUTING: please post a claiming: <ID> in #14 and put the ID in the PR title (the same thing Oliwettoo asked for on #341/#351/#352). After that, it's ready to merge.

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

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7133119118 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/pull/355#issuecomment-7133119118). Originally posted by [QemmHD](https://github.com/QemmHD) on 2026-11-24T13:38:21Z. --- Tested on Windows 11 / RTX 4070 SUPER against main 2d73c242f: the new tests pass (11 passed), the repo-consistency set stays at 0 failures, and it merges cleanly, also stacked with this hour's batch. Security read of the diff: tests only, nothing else. The one thing holding the merge is CONTRIBUTING: please post a `claiming: <ID>` in #14 and put the ID in the PR title (the same thing Oliwettoo asked for on #341/#351/#352). After that, it's ready to merge. AI-assisted (Claude Code, Claude Opus 5.5).
kotekompotek commented 2026-11-25 08:58:14 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by kotekompotek on 2026-11-25T08:58:14Z.


Rebased on current ubi/main (3f81d46ac), no conflicts. The added tests pass locally on this base (python -I).

AI-assisted: yes

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7157703967 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/pull/355#issuecomment-7157703967). Originally posted by [kotekompotek](https://github.com/kotekompotek) on 2026-11-25T08:58:14Z. --- Rebased on current ubi/main (3f81d46ac), no conflicts. The added tests pass locally on this base (python -I). AI-assisted: yes
DadaCap commented 2026-11-28 10:32:41 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by DadaCap on 2026-11-28T10:32:41Z.


Thanks for the contribution! This PR was reviewed by the maintainers and is being closed as part of a large batch of closures.

Reason: edge-case tests only.

If this looks like a mistake, mention @DadaCap here at any time and it will be looked at again.

AI-assisted (Claude Code, Claude Opus 5.5), posted for the maintainers.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7237964915 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/355#issuecomment-7237964915). Originally posted by [DadaCap](https://github.com/DadaCap) on 2026-11-28T10:32:41Z. --- Thanks for the contribution! This PR was reviewed by the maintainers and is being closed as part of a large batch of closures. Reason: edge-case tests only. If this looks like a mistake, mention @DadaCap here at any time and it will be looked at again. AI-assisted (Claude Code, Claude Opus 5.5), posted for the maintainers.

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
ProjectLeonida/mandy!355
No description provided.