Approved identity changes: Orbit 2, Play, Tots, Terra, ToonZ Late, and the Chair's briefs

Orbit 2 follows Paul's five dayparts (panel 21-23, Retro Action from 23:00), Robot Wars in the
early evening only, seven additions plus American Gladiators and Banzai. Orbit Play gets tiers
led by its own formats. Tots' calm blocks add Teletubbies (2015) and Bananas in Pyjamas (2011).
Terra Starlight runs 23:00-03:00. ToonZ Late is weighted cult-first with familiar guests. The
Chair's briefs carry Paul's wording for Orbit 2, Play, Sci-Fi and Paradox. Channel docs updated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-23 16:23:26 +00:00
co-authored by Claude Opus 5.5
parent 899a214d09
commit f911a1f8ff
17 changed files with 125 additions and 25 deletions
@@ -0,0 +1,41 @@
package tv.orbit.classic
import org.junit.Assert.assertEquals
import org.junit.Assert.assertFalse
import org.junit.Assert.assertTrue
import org.junit.Test
/** The audit's approved identity changes (Paul, 23 November 2026). */
class IdentityChangesTest {
private fun part(parts: List<DayPart>, hour: Int) = parts.first { it.days.isEmpty() && it.covers(hour) }
@Test fun orbit2FollowsPaulsStructure() {
val p = Orbit2DayParts
assertTrue("Robot Wars" in part(p, 19).titles); assertFalse("Robot Wars" in part(p, 10).titles)
assertTrue(listOf("Wheeler Dealers", "Inside the Factory").all { it in part(p, 10).titles })
assertTrue("American Gladiators" in part(p, 19).titles)
assertTrue("Banzai" in part(p, 22).titles && "QI" in part(p, 22).titles)
assertEquals("orbit2.retro", part(p, 23).key); assertEquals("orbit2.retro", part(p, 2).key)
assertTrue(listOf("The Six Million Dollar Man", "The Bionic Woman", "The Incredible Hulk", "The Greatest American Hero", "T.J. Hooker").all { it in part(p, 1).titles })
assertEquals(TIER_SURPRISE, Orbit2Tiers[seriesKey("The Krypton Factor")])
}
@Test fun terraStarlightIsElevenToThree() {
val p = TerraDayParts
assertEquals("terra.starlight", part(p, 23).key); assertEquals("terra.starlight", part(p, 2).key)
assertTrue(part(p, 22).key.isEmpty() && part(p, 4).key.isEmpty())
assertFalse("How the Universe Works" in part(p, 4).titles)
}
@Test fun toonZLateLeansCultWithFamiliarGuests() {
val late = part(ToonZDayParts, 23)
assertEquals("toonz.late", late.key); assertTrue(late.weighted)
assertEquals(TIER_CORE, late.weights[seriesKey("Daria")]); assertEquals(TIER_SURPRISE, late.weights[seriesKey("Family Guy")])
assertTrue("Family Guy" in late.titles) // still there, just less often
}
@Test fun playLeadsWithItsOwnFormatsAndSharesTheClassics() {
assertEquals(TIER_CORE, PlayTiers[seriesKey("The 1% Club")])
assertEquals(null, PlayTiers[seriesKey("The Crystal Maze")]) // supporting, the default
}
}
@@ -32,7 +32,7 @@ class PresentationTest {
@Test fun anOlderBookingGetsAKeyOnlyFromAnUnambiguousRecordedReason() {
// 2 November 2026 is a Monday. Orbit 2's Retro Action, recorded by name and covering the start.
assertEquals("orbit2.retro", presentationOf(entry(at(3, 1), "block 0-6; next in turn"), Orbit2DayParts, zone))
assertEquals("orbit2.retro", presentationOf(entry(at(3, 1), "block 23-6; next in turn"), Orbit2DayParts, zone))
// Friday's Spooky Teatime is an event recorded as such.
assertEquals("orbit2.spooky", presentationOf(entry(at(6, 17, 30), "event 17-19; next in turn"), Orbit2DayParts, zone))
// Ring X's six nights share a name; the start's own day picks exactly one.
@@ -76,7 +76,8 @@ class TotsTest {
}
@Test fun eveningOnlyOffersCalmShows() {
val calm = TotsWindDown.map(::seriesKey).toSet()
// Wind Down's own four, and since 23 November 2026 two gentle shows Paul approved to give In the Night Garden room around it.
val calm = (TotsWindDown + listOf("Teletubbies (2015)", "Bananas In Pyjamas (2011)")).map(::seriesKey).toSet()
TotsDayParts.filter { it.covers(18) || it.covers(23) }.forEach { part -> assertEquals(calm, part.titles.map(::seriesKey).toSet()) }
}
@@ -190,7 +190,7 @@ class WeightedRotationTest {
}
@Test fun theApprovedChannelsAreWeightedAndTotsBedtimeIsNot() {
assertEquals(listOf(101, 102, 103, 104, 106, 107, 202, 203, 204, 601, 602, 603, 604, 605, 614), SmartChannels.filter { it.tierWeights != null }.map { it.number }.sorted())
assertEquals(listOf(101, 102, 103, 104, 106, 107, 108, 202, 203, 204, 601, 602, 603, 604, 605, 614), SmartChannels.filter { it.tierWeights != null }.map { it.number }.sorted())
// Riot, Terra, Ring X and Junior keep equal turns.
assertTrue(SmartChannels.filter { it.number in setOf(105, 201, 401, 611) }.all { it.tierWeights == null })
assertEquals(setOf(103, 202, 204, 601, 604, 605, 614), SmartChannels.filter { it.catalogueScaleHours != null }.map { it.number }.toSet())
@@ -203,7 +203,8 @@ class WeightedRotationTest {
val tots = SmartChannels.first { it.number == TOTS_NUMBER }
assertEquals(listOf(true, true, false, false), tots.dayParts.map { it.weighted })
val toonz = SmartChannels.first { it.number == 605 }
val teatime = toonz.dayParts.single { it.weights.isNotEmpty() }
// Teatime's trio, and since 23 November 2026 ToonZ Late's cult-first weighting (see IdentityChangesTest).
val teatime = toonz.dayParts.single { it.weights.isNotEmpty() && it.key.isEmpty() }
assertEquals(16 to 18, teatime.fromHour to teatime.toHour)
assertEquals(setOf("Danger Mouse", "Count Duckula", "Bananaman").map(::seriesKey).toSet(), teatime.weights.keys)
assertEquals(TIER_SUPPORTING, toonz.weightOf(show("Danger Mouse", 100, 60)), 0.0)