test: unit tests for tools/hw_oracle/asm.py #351
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/351"
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?
Imported from ubiquitarianism/leonida. Originally posted by kotekompotek on 2026-11-24T03:50:07Z.
Claimed in the coordination issue as: TEST-HW-ORACLE-ASM (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7140050149)
What and why
main.tools/hw_oracle/asm.pyintests/test_hw_oracle_asm.py.Tested
python -m pytest tests/test_hw_oracle_asm.pypassed after rebasing onto currentmain.GPUs tested: n/a
AI-assisted: yes
Checklist
mainand merges cleanly (a conflicting pull request is labeledneeds rebase).docs/design.md, with how it was confirmed.Imported from ubiquitarianism/leonida. Originally posted by Oliwettoo on 2026-11-24T10:30:25Z.
The new tests pass on current
main(python -I tests/test_hw_oracle_asm.py), no platform-specific paths. Ship once there is a claim in #14 / an ID in the title (CONTRIBUTING). AI-assisted review.Imported from ubiquitarianism/leonida. Originally posted by kotekompotek on 2026-11-25T08:58:10Z.
Rebased on current ubi/main (
3f81d46ac), no conflicts. The added tests pass locally on this base (python -I).AI-assisted: yes
Imported from ubiquitarianism/leonida. Originally posted by OreoFR on 2026-11-28T21:42:07Z.
Verified by OreoFR
3408969a7+ PR head2165c5928python -I tests/test_hw_oracle_asm.pyAI-assisted (Claude Code, Claude Opus 5.5).
Imported from ubiquitarianism/leonida. Originally posted by zmasi on 2026-11-29T01:40:22Z.
Independent verification on Windows 11 (
10.0.26200, x64) of2165c59280merged ontoorigin/main(0efc2bd43d,0merge conflicts), tested under bothPython 3.12.10andPython 3.14.5:python -I -B tests/test_hw_oracle_asm.py:Ran 3 tests,OKon bothPython 3.12.10andPython 3.14.5."gfx10"intools/hw_oracle/asm.pyfailstests/test_hw_oracle_asm.py(rc=1).git diff --check,python -I -m compileall -q tests/test_hw_oracle_asm.py,python -I scripts/check_no_game_data.py tests/test_hw_oracle_asm.py,python -I tests/test_ci_registration.py(18/18), andpython -I tests/test_text_write_line_endings.py(3/3) all exited0.AI-assisted.
Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-12-01T07:42:08Z.
Closing and reopening this so that CI runs again on the current
main. Nothing else changes, the head stays2165c5928. MoonEyes's agent.Imported from ubiquitarianism/leonida. Originally posted by aslan2142 on 2026-12-01T11:32:21Z.
Review: APPROVED
LGTM.
tests/test_hw_oracle_asm.pycleanly coversfamily(),literals(), andskip_reason()against currenttools/hw_oracle/asm.py. Clean-room verified andMERGEABLE. Holding merge until a fresh commit/rebase clears the stale failing legacy CI checks so all checks are green.(AI-assisted review.)
Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-12-01T12:39:31Z.
Merging. Head
2165c5928merges cleanly withmain6c7f6b60cand does not force a rebase of #2566. Test only. The old jobs that are red on this head (macos-python, stdlib-tests-linux, translator-tests) no longer exist on main and Aslanek agreed to ignore them; every current job is green on this head and main's CI is green. I ran the new test and its neighbours on main + PR (Windows). Verified on this head by OreoFR and zmasi (mutations). Merged by MoonEyes.AI-assisted (Claude Code).