Skip to content

Extend import smoke tests to pipeline modules - #7

Merged
Neclow merged 1 commit into
sbhattlab:mainfrom
Neclow:test/pipeline-imports
Sep 23, 2026
Merged

Neclow merged 1 commit into
sbhattlab:mainfrom
Neclow:test/pipeline-imports

Conversation

@Neclow

@Neclow Neclow commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Extend test_imports.py to cover pipeline/ modules in addition to src/
  • Restore missing K_RANGE and RANDOM_SEED constants in src/_config.py (dropped in a prior refactor, caught by the import test)
  • Add yaml (pyyaml) to the optional packages skip list

Expand test_imports.py to discover and test both src/ and pipeline/
modules. Add yaml (pyyaml) to the optional packages skip list.

Restore K_RANGE and RANDOM_SEED constants to src/_config.py — these
were dropped during a prior refactor but are still imported by
pipeline/clustering_grid.py.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@Neclow
Neclow merged commit 0ca215d into sbhattlab:main Sep 23, 2026
1 check passed
Neclow pushed a commit that referenced this pull request Sep 24, 2026
Conflict resolution rule: where upstream already fixed the same text,
keep upstream's version and correct only facts that are still wrong.

- src/_config.py: upstream's typed K_RANGE/RANDOM_SEED; branch's module
  docstring and DEFAULT_CHECKPOINT_DIR (data/results/eval_classification).
- src/tracker_eval: delete create_ablation_table.py and
  render_poster_figures.py (stale: pooled aggregation, no A1 variant).
  evaluate.py keeps the per-video mean/std aggregation and A1; drop the
  defaultdict import upstream added for the old pooled code.
  paths.py: keep upstream's SCAN_RUNS_ROOT/RAW_VIDEO_ROOT, drop the
  branch's duplicate definitions; docstring no longer places tracker run
  parquets under tracker_benchmark/.
  manifest.py: scan layout is day_{N}/{stem}/, not timestamped runs.
  frame_selection.py: keep upstream's path, restore the three-source
  summary after the truncated "this script:".
- src/tracking/scan.py: upstream docstring with BoT-SORT (not ByteTrack);
  install hint needs `-e tracker` (ultralytics is tracker-only).
- pipeline/extract_embeddings_vjepa2.py, docs/6_embeddings.md: keep
  `bash scripts/setup_vjepa2.1.sh`, drop the model argument it ignores;
  embedding env is `default` (no `embeddings` env exists).
- README.md, docs/4_postprocessing.md, docs/5_dataset.md,
  src/dataset/README.md, pipeline/clustering_grid.py: upstream.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant