Orbit Premiere: Paul's editorial calls kept; no filler proposals
pauljd/davidson-ci: Davidson CI / quality (push) Failing after 2m1s
pauljd/davidson-ci: Davidson CI / ai-review (push) Failing after 1m41s

Avatar: Fire and Ash (then Orbit Sci-Fi) and Spider-Man: Brand New Day
(then Orbit Action) are approved Premiere debuts, both keeping Premiere
eligibility; Mayday is not a theatrical premiere (Apple Original Film,
Apple TV, 4 September 2026) and goes to regular Orbit Action. Called films
are never proposed again and count towards that week's three. Only films
over the bar are proposed, so a week can show fewer than three. Nothing is
booked or listed: the approved debuts wait for the booking workflow.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-11-05 15:17:16 +00:00
co-authored by Claude Opus 5.5
parent c0bf6d377f
commit 5309a013bb
3 changed files with 44 additions and 7 deletions
@@ -67,6 +67,19 @@ class PremiereSelectionTest {
assertTrue(weeklyPremiereProposals(all, setOf(week.first().facts.id), 0).none { it.facts.id == week.first().facts.id })
}
@Test fun yourCallsStickAndNoFillerIsMade() {
// Paul's calls: Avatar and Spider-Man approved, Mayday not a theatrical premiere. None is proposed again.
val called = PremiereCalls.map { it.itemId }
val films = called.map { id -> candidate(facts(id, "Called $id", listOf("Universal Pictures")), trending = true) }
assertTrue(weeklyPremiereProposals(films, emptySet(), 0).isEmpty())
assertEquals(setOf(303, 302), PremiereCalls.filter { it.premiere }.map { it.home }.toSet())
assertFalse(PremiereCalls.single { it.title == "Mayday" }.premiere)
// One worthwhile film and weaker ones: one proposal, not three.
val week = weeklyPremiereProposals(listOf(candidate(facts("31", "Big One", listOf("Pixar")), trending = true),
candidate(facts("32", "Small One", listOf("Tiny Films")), fit = .1, community = 5.0), candidate(facts("33", "Old One", listOf("Pixar"), premiere = "2022-01-01"))), emptySet(), 0)
assertEquals(listOf("31"), week.map { it.facts.id })
}
/** Hand-run on saved inputs: ORBIT_DIRECTOR_FIXTURE with premiere-facts.json, evidence-0.jsonl and the channels' episodes files. Writes premiere-selection.json. */
@Test fun replayOnTheLibrary() {
val dir = System.getenv("ORBIT_DIRECTOR_FIXTURE")?.let(::File)