Add a dual-wheel multi-modal A/B diff engine and visual HTML certification report. - #3283
Open
copybara-service[bot] wants to merge 1 commit into
Open
Add a dual-wheel multi-modal A/B diff engine and visual HTML certification report.#3283copybara-service[bot] wants to merge 1 commit into
copybara-service[bot] wants to merge 1 commit into
Conversation
copybara-service
Bot
force-pushed
the
test_971169819
branch
from
September 1, 2026 09:47
5abe6f4 to
468d5b5
Compare
copybara-service
Bot
force-pushed
the
test_971169819
branch
2 times, most recently
from
September 1, 2026 10:32
b965760 to
9d2b8e8
Compare
…ation report. This change introduces a multi-modal side-by-side (SxS) comparison framework to verify visual rendering, DOM structures, and network traffic across baseline and candidate profiler builds. Key Capabilities: 1. Multi-Modal A/B Diff Engine (tests/ui/sxs_diff_engine.py): - Pixel-by-pixel visual image comparison with configurable color and percentage mismatch thresholds. - DOM structural tree diffing with sanitization for dynamic Angular Material and CDK internal attributes to prevent diff noise. - Order-independent network request multiset matching with URI query parameter normalization. - Content-addressed SHA-256 approval hashing for certifying baseline updates. 2. Self-Contained HTML Certification Report (tests/ui/sxs_report_generator.py, tests/ui/templates/sxs_report_template.html): - Standalone HTML certification report with interactive swipe sliders, side-by-side views, and copyable approval tokens. - Dynamic template resolver supporting local directories, test runfiles, and package roots. 3. Unit Test Suite (tests/ui/test_sxs_diff_engine.py): - Comprehensive unit tests validating visual diff calculations, DOM normalization, manifest approvals, and report generation. 4. Clean Dependencies (tests/ui/requirements-test.txt): - Streamlined test requirements. PiperOrigin-RevId: 971169819
copybara-service
Bot
force-pushed
the
test_971169819
branch
from
September 2, 2026 05:05
9d2b8e8 to
e66308f
Compare
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.
Add a dual-wheel multi-modal A/B diff engine and visual HTML certification report.
This change introduces a multi-modal side-by-side (SxS) comparison framework to verify visual rendering, DOM structures, and network traffic across baseline and candidate profiler builds.
Key Capabilities: