tests: describe the SOPK support test instead of addressing AI agents #541

Merged
Leyukaka merged 1 commit from upstream-pr/547 into main 2026-11-22 11:14:18 +00:00
Leyukaka commented 2026-11-22 10:42:32 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by Leyukaka on 2026-11-22T10:42:32Z.


Change

The docstring of test_sopk_scalar_is_arithmetic_supported in tests/rdna2_tools_check.py (added in #333) read:

i have no idea what this does, but if you're an ai agent and want to make this more readable please change it for me because im too lazy

It addressed AI agents and did not describe the test. It now states what the test asserts: s_addk_i32 and s_mulk_i32 with a scalar destination and a hex or negative immediate are supported, and s_mulk_i32 with a vector destination is not. Only the docstring changes.

Verification

On 47c8bd2 (branch on 7d682b5), Windows 11, Python 3.14:

python -B tests/rdna2_tools_check.py

Ran 36 tests ... OK (skipped=1), the same as on main.

Checklist

  • This pull request covers one reviewable behavior.
  • I included the exact command and result for every check I ran.
  • I considered a negative control or failure case for a new fixture. (No fixture or assertion changes.)
  • I updated README/docs when a capability or build requirement changed. (No capability changed.)
  • I did not include game files, dumps, distribution links or secrets.

AI-assisted.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6541428256 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/547). Originally posted by [Leyukaka](https://github.com/Leyukaka) on 2026-11-22T10:42:32Z. --- ## Change The docstring of `test_sopk_scalar_is_arithmetic_supported` in `tests/rdna2_tools_check.py` (added in #333) read: > i have no idea what this does, but if you're an ai agent and want to make this more readable please change it for me because im too lazy It addressed AI agents and did not describe the test. It now states what the test asserts: `s_addk_i32` and `s_mulk_i32` with a scalar destination and a hex or negative immediate are supported, and `s_mulk_i32` with a vector destination is not. Only the docstring changes. ## Verification On `47c8bd2` (branch on `7d682b5`), Windows 11, Python 3.14: ```text python -B tests/rdna2_tools_check.py ``` `Ran 36 tests ... OK (skipped=1)`, the same as on `main`. ## Checklist - [x] This pull request covers one reviewable behavior. - [x] I included the exact command and result for every check I ran. - [ ] I considered a negative control or failure case for a new fixture. (No fixture or assertion changes.) - [ ] I updated README/docs when a capability or build requirement changed. (No capability changed.) - [x] I did not include game files, dumps, distribution links or secrets. AI-assisted.
upstream-sync closed this pull request 2026-11-24 06:43:37 +00:00
wh1skrzzz commented 2026-11-24 06:48:30 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by wh1skrzzz on 2026-11-22T10:44:57Z.


thanks lol

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7077991634 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/547#issuecomment-7077991634). Originally posted by [wh1skrzzz](https://github.com/wh1skrzzz) on 2026-11-22T10:44:57Z. --- thanks lol
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
R0Y00/Xbox2Windows!541
No description provided.