Repository navigation
Extend import smoke tests to pipeline modules - #7
Merged
Merged
Conversation
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
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
test_imports.pyto coverpipeline/modules in addition tosrc/K_RANGEandRANDOM_SEEDconstants insrc/_config.py(dropped in a prior refactor, caught by the import test)yaml(pyyaml) to the optional packages skip list