Skip to content

Build guide evidence from a playlist and one guide so readiness can run (#191) - #274

Merged
Jumpstile merged 1 commit into
mainfrom
feat/guide-evidence-from-playlist
Nov 17, 2026
Merged

Jumpstile merged 1 commit into
mainfrom
feat/guide-evidence-from-playlist

Conversation

@Jumpstile

@Jumpstile Jumpstile commented Nov 17, 2026 •

Copy link
Copy Markdown
Owner

Part of #191 (Phase 1 guide truth) and #175 step 8.

  • Gap: guide readiness needs evidence records, but nothing in the product built them from a real playlist plus guide (only tests did). Availability stayed NotMeasured on real data.
  • Change: one new private function and its test file (new files only; no existing file, manifest, schema or contract changed). One record per channel via the existing builder. Channel with programmes: safe candidate, one source, never cross-checked, relationship unknown. Channel without programmes or without a usable id: unresolved, never dropped. Sorted first, so channel order does not change the result.
  • Real 404-channel lineup copy (read only; no URLs or provider details copied): readiness now runs. 332 safe candidates, 72 unresolved. Availability goes from NotMeasured to Review. Accuracy stays NotMeasured, which is right with one guide.
  • Known gap, not fixed here: the existing builder rejects 71 real tvg-ids (spaces and symbols), 10 of which have programmes, so those 10 show as unresolved with reason InvalidGuideId. Follow-up: hash the id in the mapper (smaller option) rather than change the frozen builder.
  • Tests (pwsh 7): new GuideEvidenceFromPlaylist tests plus ModuleManifest and GuideQualityScorecard tests: 31 passed, 0 failed. Not tested: the existing readiness tests (no separate readiness or evidence test file was found by name), the full suite, Windows PowerShell 5.1. Not wired into any command yet.

🤖 Generated with Claude Code

https://claude.ai/code/session_01NzHAcjThVoUGWWfXrYWsNh

…un (#191)

Guide readiness needs evidence records, but nothing built them from a real playlist and guide, so the Availability gate stayed NotMeasured. New private function ConvertTo-ChannelForgeGuideEvidenceFromPlaylist makes one evidence record per channel with the existing builder: a channel with programmes is a safe candidate backed by one source, never cross-checked; a channel without programmes or without a usable id stays unresolved and is never dropped. Channel order does not change the result. No schema or contract changed.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NzHAcjThVoUGWWfXrYWsNh
@Jumpstile
Jumpstile merged commit cbd1fab into main Nov 17, 2026
11 checks passed
@Jumpstile
Jumpstile deleted the feat/guide-evidence-from-playlist branch November 17, 2026 14:10
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