style(e2e): ruff auto-fix imports and remove unused imports in e2e suite

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Yuzviak
2026-04-16 22:02:29 +03:00
parent 9173e8d386
commit 1b069e2bb3
11 changed files with 4 additions and 13 deletions
-1
View File
@@ -18,7 +18,6 @@ from gps_denied.testing.datasets.base import (
PlatformClass, PlatformClass,
) )
EARTH_R = 6_378_137.0 EARTH_R = 6_378_137.0
FIXED_ORIGIN_LAT = 49.0 FIXED_ORIGIN_LAT = 49.0
FIXED_ORIGIN_LON = 32.0 FIXED_ORIGIN_LON = 32.0
-1
View File
@@ -31,7 +31,6 @@ from gps_denied.core.vo import SequentialVisualOdometry
from gps_denied.schemas.graph import FactorGraphConfig from gps_denied.schemas.graph import FactorGraphConfig
from gps_denied.testing.datasets.base import DatasetAdapter, PlatformClass from gps_denied.testing.datasets.base import DatasetAdapter, PlatformClass
EARTH_R = 6_378_137.0 EARTH_R = 6_378_137.0
-1
View File
@@ -4,7 +4,6 @@ from pathlib import Path
import pytest import pytest
REPO_ROOT = Path(__file__).resolve().parents[2] REPO_ROOT = Path(__file__).resolve().parents[2]
DATASETS_ROOT = REPO_ROOT / "datasets" DATASETS_ROOT = REPO_ROOT / "datasets"
+1 -1
View File
@@ -7,8 +7,8 @@ from gps_denied.testing.datasets.base import (
DatasetCapabilities, DatasetCapabilities,
DatasetFrame, DatasetFrame,
DatasetIMU, DatasetIMU,
DatasetPose,
DatasetNotAvailableError, DatasetNotAvailableError,
DatasetPose,
PlatformClass, PlatformClass,
) )
+1 -3
View File
@@ -3,13 +3,11 @@
import hashlib import hashlib
from pathlib import Path from pathlib import Path
import pytest
from gps_denied.testing.download import ( from gps_denied.testing.download import (
DATASET_REGISTRY, DATASET_REGISTRY,
DatasetSpec, DatasetSpec,
verify_sha256,
download_dataset, download_dataset,
verify_sha256,
) )
-1
View File
@@ -11,7 +11,6 @@ from gps_denied.testing.datasets.euroc import EuRoCAdapter
from gps_denied.testing.harness import E2EHarness from gps_denied.testing.harness import E2EHarness
from gps_denied.testing.metrics import absolute_trajectory_error from gps_denied.testing.metrics import absolute_trajectory_error
# Initial target — calibrated once real numbers land. # Initial target — calibrated once real numbers land.
EUROC_MH01_RMSE_CEILING_M = 5.0 EUROC_MH01_RMSE_CEILING_M = 5.0
-1
View File
@@ -5,7 +5,6 @@ the harness runs to completion and produces one estimate per input frame.
Correctness of VO on synthetic is out of scope — that's unit-test territory. Correctness of VO on synthetic is out of scope — that's unit-test territory.
""" """
import numpy as np
import pytest import pytest
from gps_denied.testing.datasets.synthetic import SyntheticAdapter from gps_denied.testing.datasets.synthetic import SyntheticAdapter
-1
View File
@@ -7,7 +7,6 @@ import pytest
from gps_denied.testing.datasets.mars_lvig import MARSLVIGAdapter from gps_denied.testing.datasets.mars_lvig import MARSLVIGAdapter
from gps_denied.testing.harness import E2EHarness from gps_denied.testing.harness import E2EHarness
# Stress tier does not gate on RMSE — featureless sequences legitimately cause # Stress tier does not gate on RMSE — featureless sequences legitimately cause
# tracking loss. The gate is whether the pipeline RUNS TO COMPLETION without # tracking loss. The gate is whether the pipeline RUNS TO COMPLETION without
# crashing, and what fraction of frames produced any estimate at all. # crashing, and what fraction of frames produced any estimate at all.
+1 -1
View File
@@ -4,9 +4,9 @@ import numpy as np
import pytest import pytest
from gps_denied.testing.metrics import ( from gps_denied.testing.metrics import (
trajectory_rmse,
absolute_trajectory_error, absolute_trajectory_error,
relative_pose_error, relative_pose_error,
trajectory_rmse,
) )
+1 -1
View File
@@ -2,8 +2,8 @@
import numpy as np import numpy as np
from gps_denied.testing.datasets.synthetic import SyntheticAdapter
from gps_denied.testing.datasets.base import PlatformClass from gps_denied.testing.datasets.base import PlatformClass
from gps_denied.testing.datasets.synthetic import SyntheticAdapter
def test_synthetic_has_raw_imu(): def test_synthetic_has_raw_imu():
-1
View File
@@ -12,7 +12,6 @@ from gps_denied.testing.datasets.vpair import VPAIRAdapter
from gps_denied.testing.harness import E2EHarness from gps_denied.testing.harness import E2EHarness
from gps_denied.testing.metrics import absolute_trajectory_error from gps_denied.testing.metrics import absolute_trajectory_error
VPAIR_SAMPLE_RMSE_CEILING_M = 20.0 # initial target, calibrate after first runs VPAIR_SAMPLE_RMSE_CEILING_M = 20.0 # initial target, calibrate after first runs