Repository navigation
2.0.12: visual acceptance list (themes, GUI scales, ESP geometry, TargetHUD face) - #26
Merged
Merged
Conversation
…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>
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 newdocs/VISUAL_ACCEPTANCE.md.VisualAcceptanceGameTest(own world) runs the automatic half on every PR:410,216 .. 443,336against expected410,217 .. 444,339(1-3 px). ESP label and Nametag above the box and centred on it.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.FramesgainschangedBounds,meanLuminance,pixelsNear,distinctColours. CI uploads every checked frame (NNNN_visual-*.png) as the newvisual-acceptanceartifact for the human half. First finding for review: the Light theme leaves the search box vanilla black.Production code change: only
Hudrecording where it drew the face (allocates only when the card moves).Local validation (Windows, JDK 25):
./gradlew build,runClientGameTestincluding the new test, the real-Baritone acceptance run andproductionAddonInstallationTestpassed. Dedicated-server scenarios skipped (EULA is enabled in the next release).🤖 Generated with Claude Code