Stage D: horror-comedy rule keeps tone and audience in play; gore is After Dark's

Paul, 5 November 2026: a family-friendly or mainstream-rated horror-comedy
(Family genre, children's ratings, PG-13/12A/15) keeps its usual channels;
an unknown rating isn't held against it. 'Gore' joins After Dark's themes.
No placements change on the current 392 titles beyond Deathgasm 2 scoring
higher; samples hold; Kotlin matches the Python reference.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-11-05 11:31:44 +00:00
co-authored by Claude Opus 5.5
parent c4d0060d22
commit 652139a5ee
5 changed files with 6934 additions and 3 deletions
@@ -129,6 +129,22 @@ class DirectorChairTest {
assertThrows(IllegalArgumentException::class.java) { placeFromChair(store, user, "5000003", "A Season", "Season", null, 201, 201) }
}
@Test fun aHorrorComedyIsAfterDarksWhateverItsYear() {
// Paul, 5 November 2026, on Mum, I'm Alien Pregnant: context over category.
val alien = TitleEvidence.of(line("hc", "Mum, I'm Alien Pregnant", "Movie", listOf("Horror", "Science Fiction", "Comedy"),
"When a messy underachiever accidentally gets alien-pregnant, she must overcome skeptical doctors and her oversharing mum to survive.", countries = listOf("New Zealand")))
val straight = TitleEvidence.of(line("sh", "The Haunting Below", "Movie", listOf("Horror"), "A demon haunts a family; a curse and a killer in the night."))
val text = ChannelText(emptyMap(), mapOf("hc" to alien, "sh" to straight))
val placed = placeTitle(alien, text)
assertEquals(305, placed.top.number)
assertTrue(placed.why.any { "horror-comedy" in it })
assertNotEquals(305, placeTitle(straight, text).top.number) // straight horror isn't moved
// A family-friendly or mainstream-rated horror-comedy keeps its usual channels.
val family = TitleEvidence.of(line("fh", "Spooky Sleepover", "Movie", listOf("Horror", "Comedy", "Family"), "Kids at a sleepover meet a friendly ghost.", rating = "PG"))
val pg13 = TitleEvidence.of(line("p13", "Haunted Mansion Party", "Movie", listOf("Horror", "Comedy"), "A family moves into a haunted mansion full of ghosts.", rating = "PG-13"))
listOf(family, pg13).forEach { t -> assertTrue(channelScore(t, Briefs.first { it.number == 305 }, text).second.none { "horror-comedy" in it }) }
}
@Test fun aReportReadsBackAsItWasSaved() {
val r = DeskReport(10, 2, 9, 1, listOf("Terra" to 1), 1, listOf(DeskPick("A", "Terra", "STRONG MATCH", "Line")), listOf(DeskAsk("B", "Sci-Fi", "Horror")), 0, false, 0, 5, 6)
val back = DeskReport.of(r.toJson())