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

visual testing needs an update (and maybe some regressions?) #9760

Closed
4 tasks
1ucian0 opened this issue Mar 9, 2023 · 5 comments
Closed
4 tasks

visual testing needs an update (and maybe some regressions?) #9760

1ucian0 opened this issue Mar 9, 2023 · 5 comments
Labels
type: qa Issues and PRs that relate to testing and code quality

Comments

@1ucian0
Copy link
Member

1ucian0 commented Mar 9, 2023

Currently (0.24.0.dev0+126c9ba), the images in the visual testing are falling behind. Some, they might even highlight regressions. Here a list of the suspicious ones:

Run jupyter notebook test/ipynb/mpl_tester.ipynb to check details

This issue is to update the reference images and submit issues for regressions when confirmed

@1ucian0 1ucian0 added the type: qa Issues and PRs that relate to testing and code quality label Mar 9, 2023
@jakelishman
Copy link
Member

All of these look familiar to me as changes made within the last year, but I don't remember exactly the PRs. For test_plot_barriers: I had a look briefly at that test, and the "barrier" with a label is actually an ancient Snapshot instruction, so it probably changed when the handling around barrier labels changed.

The Hinton one is smaller because it needs to be for a bugfix #8847. The plot histogram change was deliberate in #7481 or something, though I remain unconvinced that number_to_keep can have a sensible meaning when you're plotting multiple datasets.

@1ucian0
Copy link
Member Author

1ucian0 commented Mar 10, 2023

So, none of these are regressions?

test_plot_barriers seems to me that it should have the snapshot name on top.

@jakelishman
Copy link
Member

Yeah, that one I'm not sure about, but the others are all deliberate changes I believe.

@enavarro51
Copy link
Contributor

For test_idle_wires_barrier, the reference should be changed to match the new image.

For test_plot_barriers, when I run the tests locally, I get the reference displayed rather than your new image. The label should appear at the top of the barrier or snapshot if there is one.

Don't know about the other 2.

@1ucian0
Copy link
Member Author

1ucian0 commented Aug 4, 2023

I think this is not valid anymore after #9961

@1ucian0 1ucian0 closed this as not planned Won't fix, can't repro, duplicate, stale Aug 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: qa Issues and PRs that relate to testing and code quality
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants