Skip to content

feat: agree event times across channels and report conflicts (#175, event slice 2) - #255

Merged
Jumpstile merged 2 commits into
mainfrom
feat/event-time-agreement
Nov 14, 2026
Merged

Jumpstile merged 2 commits into
mainfrom
feat/event-time-agreement

Conversation

@Jumpstile

Copy link
Copy Markdown
Owner

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).

  • New: Get-ChannelForgeEventTimeAgreement, Get-ChannelForgeEventTimeSummaryLines, 4 tests.
  • The detector's filler list and title normalizer moved into two small helpers so both share them. Detector behavior is unchanged.
  • Build-Lineup.ps1: 3 lines inside the existing event try/catch.

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

Jumpstile and others added 2 commits November 14, 2026 16:56
…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
@Jumpstile
Jumpstile merged commit ea479dd into main Nov 14, 2026
11 checks passed
@Jumpstile
Jumpstile deleted the feat/event-time-agreement branch November 14, 2026 22:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant