The GitHub Actions job "Required Checks" on 
texera.git/gh-readonly-queue/main/pr-8509-a4d46b789f1ee1f71149ab737f1780c776c88d07
 has succeeded.
Run started by GitHub user aglinxinyuan (triggered by aglinxinyuan).

Head commit for run:
39870fb165da046d13262da15e01c6608e077d4a / Kary Zheng 
<[email protected]>
test(verify): compare the charts the two paths drew (#8509)

### What changes were proposed in this PR?

A visualization operator produces no table, so the table comparison has
nothing to read. It writes a plotly figure and an HTML page, and this
compares those.

A chart's meaning is in the numbers behind it, so the comparison reads
those rather than the rendered picture, which would fail over a layout
detail that carries none. The figure is compared trace by trace.

The page needs two things normalized away first, neither of which is
markup the operator chose: a Styler id, which pandas regenerates on
every run, and the line ending, which on Windows is CRLF for a file
Python opened in text mode while the same markup carried through JSONL
keeps the LF the engine wrote.

#8359 compares two tables, which is a different question, but the figure
comparison here runs the `--plotly` mode of the `compare.py` that #8359
adds, so this merges after it.

### Any related issues, documentation, discussions?

Part of #8325, 7 of 27; that issue lists the set in order.

Closes #8508, the task this change is the whole of.

### How was this PR tested?

`VisualizationHtmlComparatorSpec` pins both normalizations: two pages
differing only in a Styler id compare equal, and so do two differing
only in line endings, while a page differing in the markup itself does
not.

### Was this PR authored or co-authored using generative AI tooling?

Generated-by: Claude Code (Claude Opus 5)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 5 (1M context) <[email protected]>

Report URL: https://github.com/apache/texera/actions/runs/45285678138

With regards,
GitHub Actions via GitBox

Reply via email to