From 57a55d7b50367ab45dba465cebc1d171825e1576 Mon Sep 17 00:00:00 2001 From: Samrat Thapa Date: Tue, 24 Feb 2026 21:00:55 +0900 Subject: [PATCH 1/2] fix overlap check --- t4_devkit/dataclass/pointcloud.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/t4_devkit/dataclass/pointcloud.py b/t4_devkit/dataclass/pointcloud.py index d8975944..e639c713 100644 --- a/t4_devkit/dataclass/pointcloud.py +++ b/t4_devkit/dataclass/pointcloud.py @@ -153,6 +153,10 @@ def _validate_metainfo(self, attribute, value) -> None: f"idx_begin={idx_begin}, length={length}, but num_points={num_points}" ) + # Skip sources with zero length as they don't represent any points, and cause failure in non-overlapping check. + if length == 0: + continue + intervals.append((idx_begin, idx_end, source_token)) # Sort intervals by start index From 7309f30c24ee5b715480887fd613b14cd119e235 Mon Sep 17 00:00:00 2001 From: Samrat Thapa <38401989+SamratThapa120@users.noreply.github.com> Date: Tue, 24 Feb 2026 21:06:56 +0900 Subject: [PATCH 2/2] Update t4_devkit/dataclass/pointcloud.py Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- t4_devkit/dataclass/pointcloud.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t4_devkit/dataclass/pointcloud.py b/t4_devkit/dataclass/pointcloud.py index e639c713..7515175a 100644 --- a/t4_devkit/dataclass/pointcloud.py +++ b/t4_devkit/dataclass/pointcloud.py @@ -153,7 +153,7 @@ def _validate_metainfo(self, attribute, value) -> None: f"idx_begin={idx_begin}, length={length}, but num_points={num_points}" ) - # Skip sources with zero length as they don't represent any points, and cause failure in non-overlapping check. + # Skip sources with zero length as they don't represent any points and can cause false positives in coverage validation. if length == 0: continue