Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Suggestion] Don't commit images with low visual change in dev docs sync #2524

Closed
wants to merge 2 commits into from

Conversation

frankharkins
Copy link
Member

@frankharkins frankharkins commented Dec 23, 2024

Experiment to avoid diffs for images with basically no change. Threshold was chosen by eyeballing. Here's two examples:

Example below similarity threshold
below-threshold

Example above similarity threshold
above-threshold

@frankharkins
Copy link
Member Author

Closing for now after discussion with team.

@Eric-Arellano
Copy link
Collaborator

Closing for now after discussion with team.

For posterity, it was closed because of concerns that we would miss changes like the label for a Gate changing. It's tricky to get the threshold right, and we found it tricky in qiskit-sphinx-theme with visual regression testing.

We may want to make this change, but we should start with #2517

@Eric-Arellano Eric-Arellano deleted the FH/compare-api-images branch December 23, 2024 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants