"""Smoke test: explorer module is importable without DB or heavy computation."""

import importlib


def test_explorer_importable():
    mod = importlib.import_module("explorer")
    assert hasattr(mod, "run_app")
    assert callable(mod.run_app)
    assert hasattr(mod, "load_positions")
    assert hasattr(mod, "load_motions_df")
    assert hasattr(mod, "query_similar")
    assert hasattr(mod, "build_compass_tab")
    assert hasattr(mod, "build_search_tab")
