Examples have no systematic test coverage; GPU example tests must be hand-registered
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- bash, cmake, docker, dockerfile, python
- 領域
- build-system, devops, testing-qa
調査の方向性
scripts/run_tests_with_cloudxr.sh、deps/cloudxr/Dockerfile.test、CMake のサンプルテストエントリ、そして PR #879 の議論から始めてください。CXR_PYTHON_GPU_TESTS と、ハードコードされた examples/oxr/python/ のコピーがどのように機能するかを追い、camera_viz と oxr の規約を比較してください。サンプルテストを検出できるか明示的に扱えており、ビルドされていないサンプルにチェックがあり、その規約が文書化されていれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Problem
There is no systematic way to test an example, and no convention for where an example test belongs. Examples are separate uv projects, so nothing in a normal build imports or runs them — an example can drift away from the library beside it and only fail when a user runs it. That is not hypothetical: mcap_record_replay and deviceio_live_view shipped pinned to isaacteleop==1.3.9rc1 and every script died on ImportError: cannot import name 'BodyJointIndex' before it started.
Survey of examples/ (15 examples)
| State | Examples |
|---|---|
| Tests that run | teleop_ros2 (C++ integration tests + topic verifier in the ROS2 CI job — the only real end-to-end coverage), camera_viz (3 pytest files via ctest, but behind if(BUILD_VIZ)), oxr (3 python + 2 C++ via run_tests_with_cloudxr.sh), native_openxr (xdev_list, same script) |
| No tests at all | haptic_feedback, retargeting, teleop, teleop_session_manager, schemaio, cloudxr_mujoco_teleop, lerobot, noitom, oglo_tactile |
| Not built by CMake at all | teleop, cloudxr_mujoco_teleop, lerobot, noitom, oglo_tactile — nothing compiles or imports them in CI |
Orphaned tests. examples/oxr/python/ holds nine test_*.py; only three are listed in CXR_PYTHON_GPU_TESTS. These six are copied into the test container by Dockerfile.test and then never invoked:
test_controller_tracker.pytest_full_body_tracker.pytest_hand_inactive_on_plugin_stop.pytest_oak_camera.pytest_session_sharing.pytest_synthetic_hands.py
Why it keeps happening
- GPU/runtime tests are hand-registered in a bash array in
scripts/run_tests_with_cloudxr.sh. Nothing discovers them, so adding a file next to nine others silently does nothing — which is how six accumulated. - The container only sees one example.
deps/cloudxr/Dockerfile.testhardcodesCOPY examples/oxr/python/ /app/tests/, so no other example's tests can reach the CloudXR runtime without editing the Dockerfile. - No home for non-GPU example tests.
camera_vizputs them intests/with its own pyproject;oxrputs them beside the scripts. Neither is documented as the convention.
What would fix it
- Discover GPU example tests instead of listing them, and generalise the
COPYso any example can contribute tests to the CloudXR container. - Pick one convention for headless example tests (ctest entry +
uv run --no-project, isaacteleop from the build tree onPYTHONPATH) and document it. - Decide the six orphans' fate: wire them up or delete them.
- Give the five unbuilt examples at least an import/lint check so they cannot silently rot.
Starting point for the headless half: PR #879 discussion.
- 主要言語
- Python
- スター
- 412
- フォーク
- 97
- 平均マージ
- 2日 3時間
- マージ済み PR(30日)
- 141
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
NVIDIA/IsaacCapture のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
NVIDIA/IsaacCapture#910 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
NVIDIA/IsaacCapture#891 ·
メンテナーはふだん 1 日以内に返信
-
Expose per-glove health and data freshness in the Avatar SDK and Isaac Teleop plugin対応中かも @zihanjiang321 が 1 日前に担当しました。 オープン
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
NVIDIA/IsaacCapture#1319 ·
メンテナーはふだん 1 日以内に返信
-
Add OneRobotics A1 asset and Isaac Teleop example対応中かも @WangXuechun-woan が 7 日前に担当しました。 オープン
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
NVIDIA/IsaacCapture#1291 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
NVIDIA/IsaacCapture#1217 ·
メンテナーはふだん 1 日以内に返信
NVIDIA/IsaacCapture の issue をすべて見る
似ている issue
-
bug P1
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
Toloka/tolokaforge#1947 ·
メンテナーはふだん 1 日以内に返信
-
SageMaker provider: streaming fails with NoStreamDataError on DJL Serving (LMI) endpoints対応中かも @balajiaru が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
UKGovernmentBEIS/inspect_ai#6127 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
letsencrypt/cp-cps#361 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100