You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In looking into the image comparison tests for PR #4939, @neutrinoceros and I were both confused about which nose test image was produced with the pull request branch, and which was the standard it was being compared against. This caused some real confusion when we thought the images looked worse after the suggested bug fix in that PR. It would be great if the images (or their file names) were labelled to avoid such confusion in the future.
Example of the problem
I'm not sure how long this specific page will remain accessible, but on for example this page, the images made with the two yt versions are labelled as
'tmpgibl3qlg.png' and
'tmpvym0ts42.png',
which gives no indication of which image is the standard/baseline and which is the version produced after the changes proposed in the PR. There is also a difference image provided, called 'tmpvym0ts42-failed-diff.png', but this image does not seem to be very helpful either: it still doesn't indicate what the baseline is, and it doesn't seem to show which image was subtracted from which. (As far as I can tell, it is a direct difference of the images, not a plot showing the differences in the plotted data. I'm sure it's useful for telling if a difference is due to data changes or plotting changes.)
I reached the page with those images from PR #4939 by clicking the 'details' link (here) in the 'Full testsuite (nose)' row of the tests section of the PR. This section is at the bottom of the main PR page, below the comments. From there, it's just the first link in the 'test results' section or page.
Suggestion
Renaming the images to something like 'baseline_<unique numbers/letters>.png' and 'proposed_<unique numbers/letters>.png' or 'thisPR_<unique numbers/letters>.png' would help a lot. I'm not familiar enough with nose to know if that is actually possible though.
Version Information
nose test suite used in yt on 2024-07-21
viewed on github.com
browser: Chrome version 126.0.6478.183
OS: macOS Sonoma 14.5, running on a 2021 M1 mac.
The text was updated successfully, but these errors were encountered:
If I remember correctly this used to be clearer before Jenkins went through some visual overhaul, but I agree that it's now left for the reader to guess that the first image is the baseline and the second is the new one.
Enhancement suggestion
Problem to solve
In looking into the image comparison tests for PR #4939, @neutrinoceros and I were both confused about which nose test image was produced with the pull request branch, and which was the standard it was being compared against. This caused some real confusion when we thought the images looked worse after the suggested bug fix in that PR. It would be great if the images (or their file names) were labelled to avoid such confusion in the future.
Example of the problem
I'm not sure how long this specific page will remain accessible, but on for example this page, the images made with the two yt versions are labelled as
'tmpgibl3qlg.png' and
'tmpvym0ts42.png',
which gives no indication of which image is the standard/baseline and which is the version produced after the changes proposed in the PR. There is also a difference image provided, called 'tmpvym0ts42-failed-diff.png', but this image does not seem to be very helpful either: it still doesn't indicate what the baseline is, and it doesn't seem to show which image was subtracted from which. (As far as I can tell, it is a direct difference of the images, not a plot showing the differences in the plotted data. I'm sure it's useful for telling if a difference is due to data changes or plotting changes.)
I reached the page with those images from PR #4939 by clicking the 'details' link (here) in the 'Full testsuite (nose)' row of the tests section of the PR. This section is at the bottom of the main PR page, below the comments. From there, it's just the first link in the 'test results' section or page.
Suggestion
Renaming the images to something like 'baseline_<unique numbers/letters>.png' and 'proposed_<unique numbers/letters>.png' or 'thisPR_<unique numbers/letters>.png' would help a lot. I'm not familiar enough with nose to know if that is actually possible though.
Version Information
The text was updated successfully, but these errors were encountered: