TEST: Read H5OINA out-of-core batch-tail fixture is not a valid raster grid
Maintainer thường phản hồi trong vòng 3 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 84/100
Hướng nghiên cứu
Đọc ReadH5OinaDataTest.cpp, đặc biệt là các dòng 1308–1354 và những trường hợp .OocStoreContract khác trong tệp đó; so sánh vị trí X/Y của các fixture với kích thước raster và bước của từng header. Cập nhật fixture ở cuối batch để mô tả một lưới hoàn chỉnh 65537 × 1, đồng thời giữ nguyên các giá trị đặc biệt của tuple cuối. Chạy OrientationAnalysisOocStoreContracts trong bản build out-of-core và xác nhận bài kiểm thử thành công.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Summary
An out-of-core test fixture for Read Oxford Instruments Data (.h5oina) does not describe a valid raster grid, so the test fails with EbsdLib 3.1.3. This test is not in #1908 because the filter has a V&V report.
Location
ReadH5OinaDataTest.cpp#L1308-L1354, test case "genuine HDF5 batch-tail and slab oracle" (tag [.OocStoreContract]).
Problem
The fixture describes a 65537 x 1 grid, but it writes the same X value (0.5) and Y value (0.25) for every point except the last one:
scan.x.assign(k_ScanTuples, scanIdx == 0 ? 0.5F : 1.5F);
scan.y.assign(k_ScanTuples, scanIdx == 0 ? 0.25F : 1.25F);
EbsdLib 3.1.3 now builds the scan order from the X/Y positions (BuildScanGridOrderFromPositions, used since #1812). It checks that the positions cover the grid in the header. So execute fails:
ReadH5OinaDataTest.cpp:1354: FAILED: simplnxCheckedResult.valid() ... '-8970 : Attempting to read scan '1' from file '.../read_h5oina_vv_ooc_batch_tail.h5oina' produced an error from the 'H5OINAReader' class.
Error Code: -101105
Message: H5OINAReader Error: The 'X'/'Y' datasets of scan '1' do not describe a complete 65537 x 1 raster grid: the X/Y positions span 1 x 1 cells (X 0.5 to 0.75 step 1, Y 0.25 to 0.5 step 1) but the header describes a 65537 x 1 grid.'
Reproduced on macOS with the DREAM3D-NX preset NX-OOC-Qt69-Vtk96-Rel, test OrientationAnalysisOocStoreContracts, run serially.
Why CI does not see it
The test case is hidden and runs only in the out-of-core contracts target. PR #1905 registers that target again in DREAM3D-NX out-of-core builds. After #1905 merges, this test will fail there.
Suggested fix
Write real raster positions in the fixture: x[i] = x0 + i * xStep and y[i] = y0 for a 65537 x 1 grid, with the header step equal to xStep. Keep the special values of the last tuple for the batch-tail check, but not a special position. Check that the other .OocStoreContract cases in this file also use real raster positions. Run OrientationAnalysisOocStoreContracts in an out-of-core build.
Found during review of branch topic/correct_feature_am_updates.
- Ngôn ngữ chính
- C++
- Star
- 18
- Fork
- 15
- Merge trung bình
- 3 ngày 20 giờ
- Pull request đã merge (30 ngày)
- 27
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của BlueQuartzSoftware/simplnx
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
BlueQuartzSoftware/simplnx#1906 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
bug Filter
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
BlueQuartzSoftware/simplnx#1891 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
bug Filter
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
BlueQuartzSoftware/simplnx#1860 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 3 ngày
-
documentation
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 88/100
BlueQuartzSoftware/simplnx#1847 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
documentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
BlueQuartzSoftware/simplnx#1846 ·
Maintainer thường phản hồi trong vòng 3 ngày
Tất cả issue của BlueQuartzSoftware/simplnx
Issue tương tự
-
documentation enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
QuantStack/git2cpp#203 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
BaptisteHudyma/Lamp-Da#588 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug macOS networking
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
docling-project/docling-parse#448 ·
Maintainer thường phản hồi trong vòng 5 ngày