891 B
891 B
git diff HEAD~1..HEAD -- piker/tsp/_anal.py
Added detect_time_ordering_errors() to return non-positive timestamp steps as structured rows. dedupe() now warns with those rows before sorting and duplicate removal erase the original ordering evidence.
git diff HEAD~1..HEAD -- piker/tsp/__init__.py
Exported the ordering detector through the public TSP package.
git diff HEAD~1..HEAD -- tests/test_tsp_analysis.py
Changed the negative-delta regression to verify exact predecessor, timestamp, and delta values, confirm exclusion from missing-history gaps, and require explicit normalization reporting.
Verification generated with the patch:
tests/test_tsp_analysis.py: 11 passed- Ruff: passed
git diff --check: passed