Repository navigation
feat: agree event times across channels and report conflicts (#175, event slice 2) - #255
Merged
Merged
Conversation
…vent slice 2) Report only. Groups programmes of rated event channels by title, compares starts as instants, keeps each channel's own time, and flags conflicts in the build summary. Nothing in the guide or playlist output changes. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NzHAckAcs78Lu3rv8Gqgrf
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.
Event slice 2 (#175, issue #30). Report only: nothing in the guide or playlist output changes.
For channels the detector rated, this reads each channel's own programmes, groups them by title with starts inside a 15 minute window, and compares the starts as instants. Each event is agreed, conflict (every channel keeps its own time and the conflict is listed) or single-source. Programmes with no parseable start or a placeholder title are skipped and counted. The build summary gets an Event Times block (up to 5 conflicts, times in Eastern).
Tests (PowerShell 7): EventTimeAgreement, EventChannelCandidate, CategorySummary, XguideSummary and BuildLineupCandidateOnly all 0 failed, also after merging main.
Not verified: real provider guides, Windows PowerShell 5.1, the full suite (CI). Agreed means the exact same instant; any difference is flagged as a conflict. The time label shows EST or EDT depending on the date.
🤖 Generated with Claude Code
https://claude.ai/code/session_01NzHAckAcs78Lu3rv8Gqgrf