Flaky tests (16b, 16c) despite controlled test env

Đang mở
#157 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
45/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python

Hướng nghiên cứu

Start by reading the test environment in cfplot-test-env.yml and the two integration tests, test_example_16b_basic_stream_plot and test_example_16c_enhanced_stream_plot. Compare their image outputs across Ubuntu and Manjaro to trace why some stream plot arrowheads differ. Done means both tests produce consistent image comparisons across the reported environments.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

testing

Towards #135 I set up a dedicated conda environment cfplot-test-env.yml (Python 3.14) to facilitate deterministic image comparison testing. This seems to produce consistent results at least according to the CI jobs across Mac and Ubuntu platforms and my local Manjaro OS for all test except, two of the integration tests, both concerning stream plots:

  • test_example_16b_basic_stream_plot
  • test_example_16c_enhanced_stream_plot

where the difference image shows just one set of arrow heads which appear on the Ubuntu case but not my local Manjaro. Mac case TBC since that CI job auto-cancels on failure of the Ubuntu one.

Image comparison diff

Comparison for the plot image which is produced locally on Manjaro and the one from the Ubuntu CI job. This is essentially the same image for each case, since the examples underlying them are very similar, so I will only embed one here. There are a few arrowheads appearing in one env that don't in the other, somehow.

16b (same by eyeball as for 16c)
Image
Ngôn ngữ chính
Python
Star
21
Fork
11
Merge trung bình
2 ngày 21 giờ
Pull request đã merge (30 ngày)
7

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của NCAS-CMS/cf-plot

Tất cả issue của NCAS-CMS/cf-plot

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.