Repository navigation
Ignore non-advancing tess-point sector midtimes - #42
Merged
Merged
Conversation
tess-point 0.9.5 ships a placeholder midtime for sector 135 (BTJD 4058.5, ~950 d before sector 134), which made all_known_windows() non-monotonic and broke test_all_known_windows_are_monotonic_in_start. Stop loading midtimes at the first one that doesn't advance. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0117Lzq78TmMPd1FXyxq2SXF
eagnespuerto
marked this pull request as ready for review
October 10, 2026 14:41
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.
Problem
test_microlensing_coverage.py::test_all_known_windows_are_monotonic_in_startfails onmain. tess-point 0.9.5 ships a placeholder midtime for sector 135 (BTJD 4058.5, about 950 days before sector 134). That gives S135 a bogus window, soall_known_windows()goes backwards in time.Fix (
backend/app/tess_sector_dates.py, mirrored inpios/vetstar_pi/tess_sector_dates.py)_load_tess_point_midtimesstops at the first midtime that doesn't advance. S135 is now dropped instead of being given the wrong window.Testing
test_microlensing_coverage.py: 13 passed (was 1 failed).🤖 Generated with Claude Code
https://claude.ai/code/session_0117Lzq78TmMPd1FXyxq2SXF
Generated by Claude Code