Repository navigation
fix(idtrackerai): CSV without time column, probability shape check, video-info options - #146
Merged
mbel-tech merged 1 commit intoOct 11, 2026
Conversation
…ideo-info options - csv_bundle: column parity decides whether a leading time column exists (F3); id_probabilities follow the trajectories' animal count, mismatches raise IDT_SHAPE_MISMATCH - normaliser: id_probabilities shape is checked against (n_frames, n_animals) (F4) - reader: optional fps/width_px/height_px options fill gaps behind file and session.json (F7) - reader: pickle-only folder without consent raises IDT_PICKLE_REFUSED (F5) - tests: offline regression tests; real-sample idtracker.ai fixtures and tests (7 pinned files) Co-Authored-By: Claude Sonnet 5.5 <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
Acts on the idtracker.ai sample-file handoff (findings F3, F4, F5, F7).
ValueError. The column count decides (2k columns = no time column, 2k+1 = leading time), fortrajectories.csvandid_probabilities.csv.id_probabilitiesthat disagree with the trajectories are refused withIDT_SHAPE_MISMATCH(loader and normaliser).fps,width_px,height_pxoptions. Precedence: trajectory file, thensession.json, then options, so they only fill gaps.IDT_PICKLE_REFUSED(wasIDT_FORMAT_AMBIGUOUS). The UI already accepts either.tests/real_samples/test_idtrackerai_samples.py, plus offline regression tests.Not included: DeepLabCut
.h5support (F6), deferred.Test plan
tests/test_readers,tests/test_scan,tests/test_clipassT2D_REAL_SAMPLES=1 pytest tests/real_samples/test_idtrackerai_samples.py: 13 passedtest_3d_run.py::test_serial_and_parallel_runs_write_identical_files,test_3d_metrics.py::test_serial_and_parallel_runs_agree_for_the_3d_metrics); the first also fails on the base commitFixture licences: movement-data upstream licence is unconfirmed, MoveR_SampleData is GPL-3.0. Fixtures are downloaded at test time, not redistributed.
🤖 Generated with Claude Code