Skip to content

2.0.12: visual acceptance list (themes, GUI scales, ESP geometry, TargetHUD face) - #26

Merged
MrHakan merged 3 commits into
mainfrom
visual-acceptance
Oct 10, 2026
Merged

MrHakan merged 3 commits into
mainfrom
visual-acceptance

Conversation

@MrHakan

@MrHakan MrHakan commented Oct 10, 2026

Copy link
Copy Markdown
Owner

E2 of the 2.1.00 plan (docs/MAJOR_GELISTIRME_PLANI.md): a repeatable visual acceptance list, automatic where a frame can decide and marked Human approval (İnsan onayı) where it cannot. See the new docs/VISUAL_ACCEPTANCE.md.

VisualAcceptanceGameTest (own world) runs the automatic half on every PR:

  • ClickGUI under Default Dark, AMOLED, Light and high contrast at every GUI scale the window allows (1-3 at CI's 1280x720): no visible widget outside the window, at least 20 pixels in the accent colour the theme actually applied, and Light brighter than the three dark themes at every scale.
  • ESP box around a stand six blocks ahead vs the stand's bounding box projected through the camera's own position and field of view: locally drawn 410,216 .. 443,336 against expected 410,217 .. 444,339 (1-3 px). ESP label and Nametag above the box and centred on it.
  • TargetHUD face: Hud.lastFaceBounds() reports where the card drew the face; that patch must hold at least four colours (9 locally), which a skin does and a flat card or missing texture does not.

Frames gains changedBounds, meanLuminance, pixelsNear, distinctColours. CI uploads every checked frame (NNNN_visual-*.png) as the new visual-acceptance artifact for the human half. First finding for review: the Light theme leaves the search box vanilla black.

Production code change: only Hud recording where it drew the face (allocates only when the card moves).

Local validation (Windows, JDK 25): ./gradlew build, runClientGameTest including the new test, the real-Baritone acceptance run and productionAddonInstallationTest passed. Dedicated-server scenarios skipped (EULA is enabled in the next release).

🤖 Generated with Claude Code

MrHakan and others added 2 commits October 10, 2026 15:51
…reenshots

E2 of the 2.1.00 plan: a repeatable visual acceptance list, automatic where a frame can decide and
marked for a person where it cannot (docs/VISUAL_ACCEPTANCE.md).

VisualAcceptanceGameTest, with its own world, runs the automatic half:
- the ClickGUI under Default Dark, AMOLED, Light and high contrast at every GUI scale the window
  allows: no visible widget outside the window, at least 20 pixels in the accent colour the theme
  actually applied, and the light theme brighter than the three dark ones at every scale;
- ESP's box around a stand six blocks ahead against the stand's bounding box projected through the
  camera's own position and field of view (drawn within 1-3 px of it locally), then ESP labels
  and Nametags above the box and centred on it;
- the TargetHUD face: Hud.lastFaceBounds() says where the card drew it, and that patch must hold at
  least four colours, which a skin does and a flat card or a missing texture does not.

Frames gains changedBounds, meanLuminance, pixelsNear and distinctColours for these. CI uploads
every checked frame (NNNN_visual-*.png) as the visual-acceptance artifact for the human half.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Raises mod_version to 2.0.12 and records E2 in the changelog, the plan and the handover notes,
including the first finding for human review (the Light theme leaves the search box black) and how
to run the visual test on its own.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings October 10, 2026 12:51

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

PR #26's CI showed two gaps in the visual acceptance run. The harness window is 854x480 on CI as
well as locally, which allows GUI scale 2 at most, so scales 3 and 4 were never shot; and the
visual-acceptance artifact was empty, because the Baritone run that follows the game tests
recreates build/run/clientGameTest and its screenshots with it.

The theme and scale pass now enlarges the window to 1280x960 (vanilla needs 320x240 of scaled space
per step) and puts it back afterwards, so all four scales are shot and checked; ESP geometry and
the TargetHUD run afterwards at the original size, with unchanged results. CI copies the frames to
build/visual-acceptance right after the game tests and uploads them from there.

The first scale-4 frames show two layout faults for review, now listed under known findings in
docs/VISUAL_ACCEPTANCE.md: cut quick-action labels and module rows whose on/off button overlaps
the module name. The automatic check (every widget inside the window) passes there; it does not
measure overlap between widgets and text.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@MrHakan
MrHakan merged commit a34c7ea into main Oct 10, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants